/* ========================
   CSS VARIABLES & RESET - Earthy Green Design System
   ======================== */
:root {
  /* Earthy green palette from oklch conversion */
  --earthy-green: #65a30d;
  --earthy-green-light: #a3e635;
  --earthy-green-powder: #d9f99d;
  --earthy-green-dark: #3f6212;
  
  /* Neutral palette */
  --background: #fafaf9;
  --foreground: #1c1917;
  --card: #ffffff;
  --card-foreground: #1c1917;
  --popover: #ffffff;
  --popover-foreground: #1c1917;
  --primary: #65a30d;
  --primary-foreground: #ffffff;
  --secondary: #f5f5f4;
  --secondary-foreground: #1c1917;
  --muted: #f5f5f4;
  --muted-foreground: #78716c;
  --accent: #f5f5f4;
  --accent-foreground: #1c1917;
  --destructive: #dc2626;
  --destructive-foreground: #ffffff;
  --border: #e7e5e4;
  --input: #e7e5e4;
  --ring: #65a30d;
  --radius: 1rem;
  
  /* Legacy compatibility mappings */
  --primary-light: #a3e635;
  --primary-dark: #3f6212;
  --primary-faint: #d9f99d;
  --primary-border: #bef264;
  --text: #1c1917;
  --text-muted: #78716c;
  --bg: #fafaf9;
  --bg-alt: #f5f5f4;
  --shadow: 0 4px 24px rgba(0,0,0,0.07);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* ========================
   LAYOUT
   ======================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

/* ========================
   TYPOGRAPHY
   ======================== */
h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

.highlight {
  color: var(--earthy-green);
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--earthy-green), var(--earthy-green-light));
  border-radius: 4px;
  opacity: 0.5;
}

/* ========================
   BUTTONS - Earthy Green Design
   ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  background: var(--primary);
  color: var(--primary-foreground);
  border: 2px solid transparent;
}

.btn:hover {
  background: var(--earthy-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(101, 163, 13, 0.35);
}

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--bg-alt);
  box-shadow: none;
  color: var(--text);
}

.btn-outline {
  background: transparent;
  color: var(--earthy-green);
  border-color: var(--primary-border);
}

.btn-outline:hover {
  background: var(--primary-faint);
  box-shadow: none;
  border-color: var(--earthy-green);
}

.btn-white {
  background: #fff;
  color: var(--earthy-green-dark);
  border-color: transparent;
}

.btn-white:hover {
  background: #ffffff;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ========================
   NAVIGATION - Glassmorphism
   ======================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(231, 229, 228, 0.6);
  padding: 14px 0;
}

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

.logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo-icon { font-size: 1.3rem; }

/* ========================
   HERO - Earthy Green Design
   ======================== */
.hero {
  padding: 80px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--background) 0%, #ffffff 100%);
}

.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(101, 163, 13, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.badge {
  display: inline-block;
  background: rgba(101, 163, 13, 0.1);
  color: var(--earthy-green-dark);
  border: 1px solid rgba(101, 163, 13, 0.2);
  border-radius: 9999px;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero h1 { margin-bottom: 20px; }

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========================
   HOW IT WORKS - Earthy Green
   ======================== */
.how { background: var(--bg); }

.section-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--earthy-green);
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 500px;
  margin: 12px auto 56px;
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.step {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(231, 229, 228, 0.6);
  border-radius: var(--radius);
  padding: 32px 28px;
  flex: 1;
  min-width: 240px;
  max-width: 300px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(101, 163, 13, 0.3);
  background: rgba(255, 255, 255, 0.9);
}

.step-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--earthy-green);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.step-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

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

.step p { font-size: 0.9rem; color: var(--text-muted); }

.step-arrow {
  font-size: 1.8rem;
  color: rgba(101, 163, 13, 0.3);
  align-self: center;
  padding-bottom: 20px;
}

/* ========================
   PRICING - Earthy Green
   ======================== */
.pricing {
  background: var(--bg-alt);
}

.plans {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: stretch;
}

.plan {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(231, 229, 228, 0.6);
  border-radius: var(--radius);
  padding: 36px 32px;
  flex: 1;
  min-width: 280px;
  max-width: 360px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(101, 163, 13, 0.3);
  background: rgba(255, 255, 255, 0.9);
}

.plan-featured {
  background: var(--earthy-green);
  border-color: var(--earthy-green);
  color: #fff;
  transform: scale(1.02);
  box-shadow: var(--shadow-2xl);
}

.plan-featured:hover {
  background: var(--earthy-green);
  border-color: var(--earthy-green);
  transform: scale(1.02) translateY(-4px);
}

.plan-featured .plan-price,
.plan-featured .plan-name,
.plan-featured p,
.plan-featured li {
  color: #fff;
}

.plan-featured .price-period,
.plan-featured .plan-features li.muted {
  color: rgba(255,255,255,0.65);
}

.plan-featured .check { color: var(--earthy-green-light); }
.plan-featured .cross { color: rgba(255,255,255,0.35); }

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--earthy-green-light);
  color: var(--earthy-green-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 9999px;
  white-space: nowrap;
}

.plan-header { margin-bottom: 28px; }

.plan-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-amount {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.plan-featured .plan-features li {
  border-color: rgba(255,255,255,0.15);
}

.plan-features li:last-child { border-bottom: none; }

.plan-features li.muted { color: var(--text-muted); }

.check { color: var(--earthy-green); font-weight: 700; font-size: 1rem; }
.cross { color: #cbd5e1; font-weight: 700; }

.coming-soon {
  font-size: 0.72rem;
  background: rgba(255,255,255,0.2);
  padding: 2px 8px;
  border-radius: 8px;
  font-weight: 600;
}

/* ========================
   FINAL CTA - Earthy Green
   ======================== */
.cta-section {
  background: linear-gradient(135deg, var(--earthy-green) 0%, var(--earthy-green-dark) 100%);
  text-align: center;
  color: #fff;
}

.cta-section h2 { color: #fff; }

.cta-section p {
  color: rgba(255,255,255,0.8);
  margin: 12px 0 32px;
  font-size: 1.05rem;
}

/* ========================
   FOOTER
   ======================== */
.footer {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

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

.legal-page {
  max-width: 760px;
}

.legal-toc {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-alt);
}

.legal-toc-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 8px;
}

.legal-toc-list {
  margin: 0;
  padding-left: 18px;
  columns: 2;
  column-gap: 24px;
}

.legal-toc-list li {
  margin-bottom: 4px;
  break-inside: avoid;
}

.legal-toc-list a {
  color: var(--earthy-green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-toc-list a:hover,
.legal-toc-list a:focus-visible {
  color: var(--earthy-green-dark);
}

.legal-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 8px;
}

.legal-intro {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.legal-meta {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.legal-section {
  margin-top: 32px;
}

.legal-section h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  text-align: left;
}

.legal-section p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.75;
}

.legal-section ul,
.legal-section ol {
  margin-left: 20px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.legal-section li {
  margin-bottom: 4px;
}

.legal-page a {
  color: var(--earthy-green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page a:hover,
.legal-page a:focus-visible {
  color: var(--earthy-green-dark);
}

/* ========================
   MOBILE
   ======================== */
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .hero { padding: 60px 0 80px; }

  .legal-toc-list {
    columns: 1;
  }

  .step-arrow { display: none; }
  .steps { flex-direction: column; align-items: center; }
  .step { max-width: 100%; width: 100%; }

  .plan { max-width: 100%; width: 100%; }
  .plan-featured { transform: none; }

  .hero-actions { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; justify-content: center; }

  .footer .container { flex-direction: column; text-align: center; }
}

@media (max-width: 820px) {
  .step-arrow { display: none; }
}



