/* Base Styles & Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #39B54A;
  --secondary: #00AEEF;
  --dark: #222;
  --light: #f9f9f9;
  --gray: #666;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --shadow: 0 5px 15px rgba(0,0,0,0.1);
  --radius: 8px;
}

body {
  font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  background-color: var(--light);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.3s ease;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: var(--gradient);
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  border-radius: 2px;
}

p {
  margin-bottom: 1rem;
}

section {
  padding: 80px 0;
}

/* Header Styles */
header {
  background: white;
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 15px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-icon {
  margin-right: 15px;
}

.logo h1 {
  font-size: 1.5rem;
  margin: 0;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--dark);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

nav ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
}

nav ul li a:hover {
  color: var(--primary);
}

nav ul li a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  position: relative;
  height: 20px;
  width: 30px;
  cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle-label span {
  top: 9px;
}

.nav-toggle-label span::before {
  content: '';
  top: -8px;
}

.nav-toggle-label span::after {
  content: '';
  top: 8px;
}

/* Hero Section */
.hero {
  padding: 150px 0 100px;
  background-color: #f0fcf0;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero-text h2 {
  font-size: 2.8rem;
  text-align: left;
  margin-bottom: 1.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text h2::after {
  left: 0;
  transform: none;
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 2rem;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.wave {
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  text-align: center;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.btn.primary {
  background: var(--gradient);
  color: white;
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(57, 181, 74, 0.3);
}

.btn.large {
  padding: 15px 40px;
  font-size: 1.1rem;
}

.btn.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(57, 181, 74, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(57, 181, 74, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(57, 181, 74, 0);
  }
}

/* Features Section */
.features {
  background-color: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature {
  background: var(--light);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.feature-icon {
  margin-bottom: 20px;
}

.feature h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.feature p {
  color: var(--gray);
}

/* Generator / How it Works */
.generator {
  background-color: #f0faff;
}

.steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--gradient);
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.step-content h3 {
  margin-bottom: 10px;
}

.step-content p {
  color: var(--gray);
}

.cta-container {
  text-align: center;
  margin-top: 40px;
}

/* About Section */
.about {
  background-color: white;
}

.about .container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-content {
  flex: 1;
}

.about-content h2 {
  text-align: left;
}

.about-content h2::after {
  left: 0;
  transform: none;
}

.about-content p {
  color: var(--gray);
  margin-bottom: 20px;
}

.stats {
  display: flex;
  margin-top: 30px;
  gap: 30px;
}

.stat {
  text-align: center;
}

.stat h3 {
  font-size: 2rem;
  margin-bottom: 0;
  color: var(--primary);
}

.tech-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* Testimonials */
.testimonials {
  background-color: #f0faff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial {
  background: white;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.stars {
  color: gold;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.testimonial p {
  font-style: italic;
}

.user {
  font-weight: 600;
  color: var(--primary);
}

/* Final CTA */
.final-cta {
  background: var(--gradient);
  color: white;
  text-align: center;
}

.final-cta h2 {
  color: white;
}

.final-cta h2::after {
  background: white;
}

.final-cta p {
  max-width: 700px;
  margin: 0 auto 30px;
}

.final-cta .btn {
  background: white;
  color: var(--primary);
}

.final-cta .btn:hover {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Footer */
footer {
  background-color: var(--dark);
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo p {
  margin-left: 15px;
  margin-bottom: 0;
}

.footer-links {
  display: flex;
}

.footer-col {
  margin-left: 60px;
}

.footer-col h4 {
  position: relative;
  margin-bottom: 20px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 3px;
  background: var(--secondary);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.7);
}

.footer-col ul li a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Styles */
@media (max-width: 991px) {
  h2 {
    font-size: 2.2rem;
  }
  
  .hero-text h2 {
    font-size: 2.5rem;
  }
  
  .steps {
    flex-direction: column;
    gap: 40px;
  }
  
  .about .container {
    flex-direction: column;
  }
  
  .tech-visual {
    order: -1;
  }
}

@media (max-width: 768px) {
  .nav-toggle-label {
    display: block;
    z-index: 101;
  }
  
  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  }
  
  nav ul li {
    margin: 20px 0;
  }
  
  .nav-toggle:checked ~ ul {
    right: 0;
  }
  
  .nav-toggle:checked + .nav-toggle-label span {
    background: transparent;
  }
  
  .nav-toggle:checked + .nav-toggle-label span::before {
    transform: rotate(45deg);
    top: 0;
  }
  
  .nav-toggle:checked + .nav-toggle-label span::after {
    transform: rotate(-45deg);
    top: 0;
  }
  
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text {
    margin-bottom: 40px;
  }
  
  .hero-text h2 {
    text-align: center;
  }
  
  .hero-text h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .about-content h2 {
    text-align: center;
  }
  
  .about-content h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-links {
    width: 100%;
    justify-content: space-between;
  }
  
  .footer-col {
    margin-left: 0;
  }
}

@media (max-width: 576px) {
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-text h2 {
    font-size: 2rem;
  }
  
  .btn {
    padding: 10px 25px;
  }
  
  .btn.large {
    padding: 12px 30px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
}
