/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green-primary: #4CAF50;
  --green-dark: #388E3C;
  --green-darker: #2E7D32;
  --green-light: #81C784;
  --green-pale: #E8F5E9;
  --green-bg: #F1F8E9;
  --text-dark: #1B2A1B;
  --text-mid: #37474F;
  --text-light: #607D8B;
  --white: #FFFFFF;
  --off-white: #FAFFFE;
  --border: #C8E6C9;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--green-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--green-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== Utility ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-primary);
  background: var(--green-pale);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 48px;
}

.text-center {
  text-align: center;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
}

.fade-in-up.delay-1 { animation-delay: 0.1s; }
.fade-in-up.delay-2 { animation-delay: 0.2s; }
.fade-in-up.delay-3 { animation-delay: 0.3s; }
.fade-in-up.delay-4 { animation-delay: 0.4s; }
.fade-in-up.delay-5 { animation-delay: 0.5s; }

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(76, 175, 80, 0.1);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
  text-decoration: none;
}

.nav-logo .logo-emoji {
  font-size: 1.6rem;
}

.nav-logo span {
  color: var(--green-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--green-primary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--green-primary);
  color: var(--white) !important;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.nav-cta:hover {
  background: var(--green-dark);
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== Hero ===== */
.hero {
  padding: 140px 0 100px;
  background: linear-gradient(170deg, var(--green-pale) 0%, var(--off-white) 60%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(76,175,80,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--green-primary);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

.hero h1 {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.hero h1 .highlight {
  color: var(--green-primary);
  position: relative;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--green-primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(76, 175, 80, 0.35);
}

.btn-outline {
  background: var(--white);
  color: var(--green-primary);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--green-primary);
  color: var(--green-dark);
  transform: translateY(-2px);
}

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

.phone-mockup {
  width: 280px;
  height: 560px;
  background: var(--white);
  border-radius: 36px;
  border: 3px solid #ddd;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: float 6s ease-in-out infinite;
  overflow: hidden;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  width: 80px;
  height: 24px;
  background: #e0e0e0;
  border-radius: 12px;
}

.phone-mockup-inner {
  text-align: center;
  padding: 40px 20px 20px;
}

.phone-mockup-inner .emoji-big {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 16px;
}

.phone-mockup-inner h3 {
  font-size: 1.2rem;
  color: var(--green-primary);
  font-weight: 700;
  margin-bottom: 8px;
}

.phone-mockup-inner p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.phone-mockup-bars {
  width: 80%;
  margin-top: 24px;
}

.mock-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--green-pale);
  border-radius: 10px;
  margin-bottom: 8px;
  font-size: 0.8rem;
}

.mock-bar .label {
  color: var(--text-mid);
  font-weight: 600;
}

.mock-bar .amount {
  color: var(--green-dark);
  font-weight: 700;
}

/* ===== Email Signup ===== */
.email-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin-top: 12px;
}

.email-form input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
  font-family: inherit;
}

.email-form input:focus {
  border-color: var(--green-primary);
}

.email-form button {
  padding: 14px 28px;
  background: var(--green-primary);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  font-family: inherit;
}

.email-form button:hover {
  background: var(--green-dark);
}

.email-note {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 10px;
}

/* ===== Features ===== */
.features {
  padding: 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green-primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-light);
}

.feature-card:hover::after {
  transform: scaleX(1);
}

.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 18px;
  display: block;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== How It Works ===== */
.how-it-works {
  padding: 100px 0;
  background: var(--green-pale);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 48px;
  left: calc(16.66% + 24px);
  right: calc(16.66% + 24px);
  height: 3px;
  background: var(--border);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.step:hover .step-number {
  background: var(--green-primary);
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(76,175,80,0.25);
}

.step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.step p {
  font-size: 0.95rem;
  color: var(--text-light);
  max-width: 280px;
  margin: 0 auto;
}

/* ===== Pricing ===== */
.pricing {
  padding: 100px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 820px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  position: relative;
  transition: all var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  border-color: var(--green-primary);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-primary);
  color: var(--white);
  padding: 5px 20px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.pricing-price .amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-dark);
}

.pricing-price .period {
  font-size: 1rem;
  color: var(--text-light);
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text-mid);
}

.pricing-features li .check {
  color: var(--green-primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.pricing-features li.disabled {
  color: var(--text-light);
  opacity: 0.5;
}

.pricing-features li.disabled .check {
  color: var(--text-light);
}

.pricing-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition);
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text-mid);
  cursor: pointer;
  font-family: inherit;
}

.pricing-card.featured .pricing-btn {
  background: var(--green-primary);
  color: var(--white);
  border-color: var(--green-primary);
}

.pricing-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.pricing-card.featured .pricing-btn:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

/* ===== App Preview ===== */
.preview {
  padding: 100px 0;
  background: linear-gradient(170deg, var(--green-pale) 0%, var(--off-white) 100%);
}

.preview-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preview-screens {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.preview-screen {
  width: 220px;
  height: 400px;
  background: var(--white);
  border-radius: 24px;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  text-align: center;
  transition: all var(--transition);
}

.preview-screen:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.preview-screen:nth-child(2) {
  transform: translateY(-20px);
}

.preview-screen:nth-child(2):hover {
  transform: translateY(-26px);
}

.preview-screen .screen-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.preview-screen h4 {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.preview-screen p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 80px 0;
  background: var(--green-primary);
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -5%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cta-section h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.cta-section .btn {
  background: var(--white);
  color: var(--green-primary);
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.cta-section .btn:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

/* ===== Footer ===== */
.footer {
  padding: 60px 0 40px;
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ===== Legal Pages ===== */
.legal-page {
  padding: 120px 0 80px;
}

.legal-page h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.legal-page .last-updated {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 48px;
}

.legal-content {
  max-width: 780px;
}

.legal-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-content p {
  margin-bottom: 16px;
  color: var(--text-mid);
  line-height: 1.8;
}

.legal-content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
  color: var(--text-mid);
  line-height: 1.7;
}

.legal-content a {
  color: var(--green-primary);
  text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .email-form {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    order: -1;
  }

  .phone-mockup {
    width: 240px;
    height: 480px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps::before {
    display: none;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .preview-screens {
    flex-direction: column;
    align-items: center;
  }

  .preview-screen:nth-child(2) {
    transform: none;
  }

  .preview-screen:nth-child(2):hover {
    transform: translateY(-6px);
  }

  .email-form {
    flex-direction: column;
  }

  .email-form button {
    width: 100%;
  }

  .cta-section h2 {
    font-size: 1.8rem;
  }
}
