/* ─── Reset & Tokens ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --green: #2D6A3F;
  --green-light: #3a8a52;
  --green-dark: #1a4a2e;
  --green-glow: rgba(45,106,63,0.35);
  --black: #0a0c0a;
  --surface: #111511;
  --surface-2: #171d17;
  --border: rgba(255,255,255,0.08);
  --text: #f0f4f0;
  --text-muted: #8a9e8d;
  --radius: 16px;
  --radius-lg: 24px;
  --transition: 0.25s ease;
  --shadow: 0 4px 32px rgba(0,0,0,0.5);
  --nav-scrolled-bg: rgba(10,12,10,0.9);
  --hero-gradient-end: #0a0c0a;
  --card-hover-shadow: rgba(45,106,63,0.1);
  --screen-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(45,106,63,0.1);
  --phone-shadow: rgba(0,0,0,0.7);
}

/* ─── Light Mode ─────────────────────────────────── */
[data-theme="light"] {
  --black: #ffffff;
  --surface: #f5f7f5;
  --surface-2: #ebf0eb;
  --border: rgba(0,0,0,0.08);
  --text: #111511;
  --text-muted: #5a6e5d;
  --green-glow: rgba(45,106,63,0.18);
  --shadow: 0 4px 32px rgba(0,0,0,0.08);
  --nav-scrolled-bg: rgba(255,255,255,0.92);
  --hero-gradient-end: #ffffff;
  --card-hover-shadow: rgba(45,106,63,0.08);
  --screen-shadow: 0 32px 80px rgba(0,0,0,0.12), 0 0 0 1px rgba(45,106,63,0.08);
  --phone-shadow: rgba(0,0,0,0.18);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--black); color: var(--text); line-height: 1.6; overflow-x: hidden; transition: background 0.4s ease, color 0.4s ease; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ─── Container ──────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── Buttons ────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 100px; font-size: 15px; font-weight: 600; cursor: pointer; border: none; transition: all var(--transition); white-space: nowrap; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 0 0 0 var(--green-glow); }
.btn-primary:hover { background: var(--green-light); box-shadow: 0 0 24px var(--green-glow); transform: translateY(-1px); }
.btn-ghost { color: var(--text-muted); }
.btn-ghost:hover { color: var(--text); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-full { width: 100%; }

/* ─── Section Helpers ────────────────────────────── */
.section-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); background: rgba(45,106,63,0.15); border: 1px solid rgba(45,106,63,0.3); padding: 4px 14px; border-radius: 100px; margin-bottom: 20px; }
.section-tag--light { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.2); }
[data-theme="light"] .section-tag--light { background: rgba(45,106,63,0.1); color: var(--green); border-color: rgba(45,106,63,0.25); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-title { font-size: clamp(32px, 5vw, 52px); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.section-sub { font-size: 18px; color: var(--text-muted); max-width: 620px; margin: 0 auto; }
.text-green { color: var(--green); }

/* ─── NAV ────────────────────────────────────────── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 0; transition: all var(--transition); }
.nav.scrolled { background: var(--nav-scrolled-bg); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); padding: 12px 0; }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 40px; }
.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 28px; width: auto; }
.footer-logo-img { height: 24px; width: auto; }
.logo-light { display: none; }
.logo-dark { display: block; }
[data-theme="light"] .logo-light { display: block; }
[data-theme="light"] .logo-dark { display: none; }
.nav-links { display: flex; gap: 32px; margin-right: auto; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-muted); transition: color var(--transition); }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }

/* ─── Theme Toggle ───────────────────────────────── */
.theme-toggle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all var(--transition); position: relative; overflow: hidden; flex-shrink: 0; }
.theme-toggle:hover { border-color: var(--green); background: rgba(45,106,63,0.1); }
.theme-toggle-icon { font-size: 18px; transition: transform 0.4s ease, opacity 0.3s ease; line-height: 1; }
.theme-toggle .icon-sun { position: absolute; opacity: 0; transform: rotate(-90deg) scale(0.5); }
.theme-toggle .icon-moon { position: absolute; opacity: 1; transform: rotate(0) scale(1); }
[data-theme="light"] .theme-toggle .icon-sun { opacity: 1; transform: rotate(0) scale(1); }
[data-theme="light"] .theme-toggle .icon-moon { opacity: 0; transform: rotate(90deg) scale(0.5); }

/* ─── Theme Transition ───────────────────────────── */
.nav, .nav.scrolled, .feature-card, .benefit-card, .testimonial-card, .lead-form,
.trust-strip, .how-it-works, .benefits, .cta-section, .footer, .footer-bottom,
.form-group input, .form-group select, .hero-screen-wrap {
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* ─── HERO ───────────────────────────────────────── */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 140px 24px 80px; overflow: hidden; }
.hero-bg-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(45,106,63,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(45,106,63,0.06) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent); }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.hero-blob-1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(45,106,63,0.25), transparent 70%); top: -100px; left: -100px; }
.hero-blob-2 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(45,106,63,0.15), transparent 70%); bottom: 0; right: -150px; }
.hero-content { position: relative; text-align: center; max-width: 860px; z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--green); background: rgba(45,106,63,0.12); border: 1px solid rgba(45,106,63,0.25); padding: 6px 16px; border-radius: 100px; margin-bottom: 28px; }
.badge-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.4)} }
.hero-headline { font-size: clamp(42px, 7vw, 80px); font-weight: 900; line-height: 1.05; letter-spacing: -2px; margin-bottom: 28px; }
.hero-sub { font-size: clamp(16px, 2vw, 20px); color: var(--text-muted); max-width: 640px; margin: 0 auto 40px; line-height: 1.7; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.hero-note { font-size: 13px; color: var(--text-muted); }
.hero-visual { position: relative; margin-top: 80px; width: 100%; max-width: 1000px; z-index: 2; }
.hero-screen-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--screen-shadow); }
.hero-screen { width: 100%; border-radius: var(--radius-lg); }
.hero-screen-glow { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 60%, var(--hero-gradient-end)); pointer-events: none; }

/* ─── TRUST STRIP ────────────────────────────────── */
.trust-strip { padding: 60px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.trust-label { text-align: center; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 36px; }
.trust-stats { display: flex; justify-content: center; align-items: center; gap: 0; flex-wrap: wrap; }
.trust-stat { text-align: center; padding: 0 48px; }
.trust-number { display: block; font-size: 42px; font-weight: 900; color: var(--green); letter-spacing: -1px; }
.trust-desc { font-size: 14px; color: var(--text-muted); }
.trust-divider { width: 1px; height: 60px; background: var(--border); }

/* ─── FEATURES ───────────────────────────────────── */
.features { padding: 120px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; transition: all var(--transition); opacity: 0; transform: translateY(24px); }
.feature-card.visible { opacity: 1; transform: translateY(0); }
.feature-card:hover { border-color: rgba(45,106,63,0.4); box-shadow: 0 8px 40px var(--card-hover-shadow); transform: translateY(-4px); }
.feature-card--large { grid-column: span 2; background: linear-gradient(135deg, var(--surface-2), var(--surface)); border-color: rgba(45,106,63,0.2); }
.feature-icon-wrap { width: 52px; height: 52px; background: rgba(45,106,63,0.15); border: 1px solid rgba(45,106,63,0.25); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--green); margin-bottom: 20px; }
.feature-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.feature-card p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }
.feature-list { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.feature-list li { font-size: 14px; color: var(--text-muted); padding-left: 20px; position: relative; }
.feature-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ─── HOW IT WORKS ───────────────────────────────── */
.how-it-works { padding: 120px 0; background: var(--surface); }
.steps { display: flex; flex-direction: column; gap: 0; max-width: 720px; margin: 0 auto; }
.step { display: flex; gap: 32px; align-items: flex-start; opacity: 0; transform: translateX(-24px); transition: all 0.5s ease; }
.step.visible { opacity: 1; transform: translateX(0); }
.step-number { font-size: 48px; font-weight: 900; color: rgba(45,106,63,0.25); line-height: 1; min-width: 70px; }
.step-content h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.step-content p { font-size: 16px; color: var(--text-muted); line-height: 1.7; }
.step-connector { width: 1px; height: 48px; background: linear-gradient(to bottom, var(--green), transparent); margin-left: 34px; }

/* ─── MOBILE SHOWCASE ────────────────────────────── */
.mobile-showcase { padding: 120px 0; overflow: hidden; }
.mobile-showcase-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.mobile-showcase-text { opacity: 0; transform: translateX(-32px); transition: all 0.6s ease; }
.mobile-showcase-text.visible { opacity: 1; transform: translateX(0); }
.mobile-showcase-text h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.mobile-showcase-text p { font-size: 17px; color: var(--text-muted); line-height: 1.7; margin-bottom: 32px; }
.mobile-feature-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.mobile-feature-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text-muted); }
.check-icon { color: var(--green); font-weight: 700; font-size: 16px; }
.mobile-showcase-visual { position: relative; display: flex; justify-content: center; opacity: 0; transform: translateX(32px); transition: all 0.6s ease; }
.mobile-showcase-visual.visible { opacity: 1; transform: translateX(0); }
.phone-glow { position: absolute; width: 300px; height: 300px; background: radial-gradient(circle, var(--green-glow), transparent 70%); top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.phone-img { max-width: 340px; position: relative; z-index: 1; filter: drop-shadow(0 32px 64px var(--phone-shadow)); }

/* ─── BENEFITS ───────────────────────────────────── */
.benefits { padding: 120px 0; background: var(--surface); }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.benefit-card { background: var(--black); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; transition: all var(--transition); opacity: 0; transform: translateY(24px); }
.benefit-card.visible { opacity: 1; transform: translateY(0); }
.benefit-card:hover { border-color: rgba(45,106,63,0.3); transform: translateY(-4px); }
.benefit-icon { width: 52px; height: 52px; background: rgba(45,106,63,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.benefit-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.benefit-card p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* ─── TESTIMONIALS ───────────────────────────────── */
.testimonials { padding: 120px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.testimonial-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; opacity: 0; transform: translateY(24px); transition: all 0.5s ease; }
.testimonial-card.visible { opacity: 1; transform: translateY(0); }
.testimonial-card--featured { background: linear-gradient(135deg, var(--green-dark), var(--surface-2)); border-color: rgba(45,106,63,0.4); }
.testimonial-stars { color: #f5b100; font-size: 16px; margin-bottom: 20px; letter-spacing: 2px; }
.testimonial-quote { font-size: 16px; color: var(--text-muted); line-height: 1.75; margin-bottom: 28px; font-style: italic; }
.testimonial-card--featured .testimonial-quote { color: rgba(240,244,240,0.85); }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #fff; flex-shrink: 0; }
.testimonial-author strong { display: block; font-size: 15px; font-weight: 700; }
.testimonial-author span { font-size: 13px; color: var(--text-muted); }

/* ─── CTA SECTION ────────────────────────────────── */
.cta-section { padding: 120px 0; background: var(--surface); position: relative; overflow: hidden; }
.cta-bg-pattern { position: absolute; inset: 0; background-image: radial-gradient(rgba(45,106,63,0.12) 1px, transparent 1px); background-size: 32px 32px; }
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 1; }
.cta-text h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.cta-text p { font-size: 17px; color: var(--text-muted); line-height: 1.7; margin-bottom: 32px; }
.cta-perks { display: flex; flex-direction: column; gap: 10px; }
.cta-perks span { font-size: 15px; color: var(--green); font-weight: 600; }
.lead-form { background: var(--black); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
.form-title { font-size: 22px; font-weight: 700; margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.form-group input, .form-group select { width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; font-size: 15px; color: var(--text); font-family: 'Inter', sans-serif; transition: border-color var(--transition); outline: none; }
.form-group input:focus, .form-group select:focus { border-color: var(--green); }
.form-group select option { background: var(--surface); }
.form-group textarea { width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; font-size: 15px; color: var(--text); font-family: 'Inter', sans-serif; transition: border-color var(--transition); outline: none; resize: vertical; min-height: 80px; }
.form-group textarea:focus { border-color: var(--green); }
.form-optional { font-weight: 400; color: var(--text-muted); opacity: 0.7; font-size: 11px; text-transform: none; letter-spacing: 0; }
.form-note { font-size: 13px; color: var(--text-muted); text-align: center; margin-top: 14px; }
.form-success { display: none; flex-direction: column; align-items: center; text-align: center; padding: 24px; gap: 8px; }
.form-success span { font-size: 36px; }
.form-success strong { font-size: 18px; }
.form-success p { font-size: 14px; color: var(--text-muted); }
.form-error { display: none; background: rgba(220,38,38,0.1); border: 1px solid rgba(220,38,38,0.3); color: #ef4444; font-size: 14px; padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; line-height: 1.5; }

/* ─── FOOTER ─────────────────────────────────────── */
.footer { padding: 80px 0 0; border-top: 1px solid var(--border); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; padding-bottom: 60px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); margin-top: 16px; max-width: 260px; line-height: 1.6; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 20px; }
.footer-col a { display: block; font-size: 14px; color: var(--text-muted); margin-bottom: 12px; transition: color var(--transition); }
.footer-col a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid var(--border); padding: 24px; text-align: center; }
.footer-bottom p { font-size: 13px; color: var(--text-muted); }

/* ─── ANIMATIONS ─────────────────────────────────── */
[data-animate] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-animate].visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card--large { grid-column: span 2; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .theme-toggle { display: flex; position: absolute; right: 60px; top: 50%; transform: translateY(-50%); }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: 24px; gap: 20px; z-index: 99; }
  .nav-actions.open { display: flex; flex-direction: column; padding: 0 24px 24px; position: fixed; top: 200px; left: 0; right: 0; background: var(--surface); z-index: 99; }
  .hero { padding: 120px 24px 60px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .trust-stats { gap: 32px; }
  .trust-divider { display: none; }
  .trust-stat { padding: 0 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card--large { grid-column: span 1; }
  .mobile-showcase-inner { grid-template-columns: 1fr; }
  .mobile-showcase-visual { order: -1; }
  .phone-img { max-width: 260px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .steps { gap: 0; }
  .step { flex-direction: column; gap: 12px; }
  .step-number { font-size: 32px; min-width: auto; }
  .step-connector { margin-left: 0; }
}
