:root {
  --color-primary: #0C5B02;
  --color-primary-light: #1a7a0e;
  --color-secondary: #868E04;
  --color-accent: #D4A005;
  --color-accent-light: #e8b520;
  --color-bg: #FFFFF5;
  --color-bg-alt: #f2f2e6;
  --color-bg-card: rgba(255, 255, 245, 0.35);
  --color-text: #1a1c0a;
  --color-text-secondary: rgba(26, 28, 10, 0.6);
  --color-text-muted: #7a7a6a;
  --color-border: rgba(255, 255, 245, 0.25);
  --font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 30px rgba(12, 91, 2, 0.12);
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 245, 0.4);
  --radius: 16px;
  --max-width: 1080px;
  --glass-blur: blur(50px) saturate(1.8) brightness(1.05);
  --glass-blur-medium: blur(30px) saturate(1.6) brightness(1.03);
  --glass-blur-light: blur(20px) saturate(1.4);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient depth gradient overlays */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 20%, rgba(12, 91, 2, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(212, 160, 5, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 50% 80%, rgba(134, 142, 4, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
}

/* === Scroll Animations === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.scale-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}
.stagger-children .fade-in:nth-child(1) { transition-delay: 0s; }
.stagger-children .fade-in:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .fade-in:nth-child(3) { transition-delay: 0.15s; }
.stagger-children .fade-in:nth-child(4) { transition-delay: 0.2s; }

/* === Nav === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 245, 0.4);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(255, 255, 245, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), inset 0 -1px 0 rgba(255, 255, 245, 0.2);
  z-index: 100;
  padding: 0 24px;
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo { height: 32px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--color-primary); }
.nav-cta {
  background: rgba(12, 91, 2, 0.85);
  color: #FFFFF5 !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: all 0.2s !important;
  border: 1px solid rgba(255, 255, 245, 0.15);
  backdrop-filter: var(--glass-blur-light);
  -webkit-backdrop-filter: var(--glass-blur-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 245, 0.2);
}
.nav-cta:hover {
  background: rgba(26, 122, 14, 0.9) !important;
  box-shadow: 0 4px 16px rgba(12, 91, 2, 0.25), inset 0 1px 0 rgba(255, 255, 245, 0.2);
}

/* === Sections === */
section { padding: 96px 24px; position: relative; z-index: 1; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
.section-subtitle {
  font-size: 16px;
  color: var(--color-text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
  line-height: 1.7;
}

/* === Hero === */
.hero {
  padding-top: 140px;
  padding-bottom: 96px;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(12, 91, 2, 0.06) 0%, transparent 60%),
              radial-gradient(ellipse 60% 40% at 80% 10%, rgba(134, 142, 4, 0.04) 0%, transparent 50%),
              var(--color-bg);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(12, 91, 2, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(212, 160, 5, 0.02) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(2%, -1%) rotate(1deg); }
  50% { transform: translate(-1%, 2%) rotate(-0.5deg); }
  75% { transform: translate(1%, 1%) rotate(0.5deg); }
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 64px;
  position: relative;
  z-index: 1;
}
.hero-content { flex: 1; }
.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 245, 0.4);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 245, 0.3);
  backdrop-filter: var(--glass-blur-light);
  -webkit-backdrop-filter: var(--glass-blur-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 245, 0.5);
}
.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  color: var(--color-text);
}
.hero h1 span {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 18px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(12, 91, 2, 0.85);
  color: #FFFFF5;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 245, 0.15);
  cursor: pointer;
  backdrop-filter: var(--glass-blur-light);
  -webkit-backdrop-filter: var(--glass-blur-light);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 245, 0.2);
}
.btn-primary:hover {
  background: rgba(26, 122, 14, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(12, 91, 2, 0.2), inset 0 1px 0 rgba(255, 255, 245, 0.25);
}
.btn-secondary {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.btn-secondary:hover { color: var(--color-primary); }
.hero-icon { flex-shrink: 0; }
.hero-icon img {
  width: 280px;
  height: 280px;
  border-radius: 56px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 0 80px rgba(12, 91, 2, 0.04);
  border: 1px solid rgba(255, 255, 245, 0.2);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.hero-icon img:hover {
  transform: scale(1.03) rotate(1deg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12), 0 0 120px rgba(12, 91, 2, 0.06);
}

/* === Features === */
.features {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 50%, var(--color-bg) 100%);
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.feature-card {
  background: var(--color-bg-card);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 245, 0.25);
  backdrop-filter: var(--glass-blur-medium);
  -webkit-backdrop-filter: var(--glass-blur-medium);
  box-shadow: var(--shadow-glass);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 245, 0.5);
  border-color: rgba(255, 255, 245, 0.4);
  background: rgba(255, 255, 245, 0.45);
}
.feature-icon {
  width: 48px; height: 48px;
  background: rgba(255, 255, 245, 0.4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 245, 0.3);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 245, 0.5);
}
.feature-card:hover .feature-icon {
  background: rgba(255, 255, 245, 0.6);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 245, 0.6);
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
}
.feature-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* === How It Works === */
.how-it-works { background: var(--color-bg); }
.steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}
.step { text-align: center; }
.step-number {
  width: 56px; height: 56px;
  background: rgba(12, 91, 2, 0.85);
  color: #FFFFF5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  margin: 0 auto 20px;
  border: 1px solid rgba(255, 255, 245, 0.2);
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 245, 0.2);
}
.step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(12, 91, 2, 0.2), inset 0 1px 0 rgba(255, 255, 245, 0.25);
}
.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
}
.step p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: 280px;
  margin: 0 auto;
}

/* === Pricing === */
.pricing {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}
.pricing-card {
  max-width: 440px;
  margin: 0 auto;
  background: rgba(255, 255, 245, 0.35);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  border: 1px solid rgba(255, 255, 245, 0.3);
  position: relative;
  backdrop-filter: blur(40px) saturate(1.7) brightness(1.04);
  -webkit-backdrop-filter: blur(40px) saturate(1.7) brightness(1.04);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-glass);
}
.pricing-card:hover {
  border-color: rgba(255, 255, 245, 0.45);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 245, 0.5);
}
.pricing-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: rgba(12, 91, 2, 0.85);
  color: #FFFFF5;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 245, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 245, 0.2);
  backdrop-filter: var(--glass-blur-light);
  -webkit-backdrop-filter: var(--glass-blur-light);
}
.pricing-price {
  font-size: 48px;
  font-weight: 800;
  margin: 16px 0 4px;
  color: var(--color-text);
}
.pricing-price span {
  font-size: 18px;
  color: var(--color-text-secondary);
  font-weight: 400;
}
.pricing-trial {
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 24px;
}
.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}
.pricing-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-features li::before {
  content: '';
  width: 20px; height: 20px;
  background: rgba(255, 255, 245, 0.5);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 10l2 2 4-4' fill='none' stroke='%230C5B02' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  border: 1px solid rgba(255, 255, 245, 0.3);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 245, 0.5);
}
.pricing-note {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 16px;
}

/* === Download CTA (stays dark for contrast) === */
.download {
  background: linear-gradient(135deg, var(--color-primary) 0%, #073501 50%, #1a1c0a 100%);
  color: #FFFFF5;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.download::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(212, 160, 5, 0.1) 0%, transparent 60%);
  pointer-events: none;
}
.download .section-title { color: #FFFFF5; }
.download .section-subtitle { color: rgba(255, 255, 245, 0.7); }
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 245, 0.9);
  color: var(--color-primary);
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 245, 0.3);
  backdrop-filter: var(--glass-blur-light);
  -webkit-backdrop-filter: var(--glass-blur-light);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 245, 0.4);
}
.btn-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 245, 0.5);
  background: rgba(255, 255, 245, 1);
}
.download-note {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255, 255, 245, 0.5);
  position: relative;
  z-index: 1;
}
.install-instructions {
  margin-top: 48px;
  background: rgba(255, 255, 245, 0.08);
  border-radius: var(--radius);
  padding: 32px;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 245, 0.1);
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 245, 0.1);
}
.install-instructions h3 {
  font-size: 18px; font-weight: 700;
  margin-bottom: 12px;
  color: #FFFFF5;
}
.install-instructions > p {
  font-size: 14px;
  color: rgba(255, 255, 245, 0.7);
  margin-bottom: 16px;
  line-height: 1.6;
}
.install-instructions ol {
  padding-left: 20px;
  color: rgba(255, 255, 245, 0.85);
}
.install-instructions ol li {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 12px;
}
.install-instructions ol li strong { color: #FFFFF5; }
.code-block {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  border: 1px solid rgba(255, 255, 245, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.code-block code {
  flex: 1;
  font-size: 13px;
  color: #FFC105;
  white-space: nowrap;
  overflow-x: auto;
}
.copy-btn {
  background: rgba(255, 255, 245, 0.1);
  color: #FFFFF5;
  border: 1px solid rgba(255, 255, 245, 0.15);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  backdrop-filter: var(--glass-blur-light);
  -webkit-backdrop-filter: var(--glass-blur-light);
}
.copy-btn:hover { background: rgba(255, 255, 245, 0.2); }

/* === Footer === */
.footer {
  background: rgba(255, 255, 245, 0.3);
  padding: 32px 24px;
  border-top: 1px solid rgba(255, 255, 245, 0.2);
  backdrop-filter: var(--glass-blur-light);
  -webkit-backdrop-filter: var(--glass-blur-light);
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy {
  font-size: 13px;
  color: var(--color-text-muted);
}
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a {
  font-size: 13px;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--color-primary); }

/* === Responsive === */
@media (max-width: 768px) {
  .hero-inner { flex-direction: column; text-align: center; }
  .hero h1 { font-size: 36px; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; flex-direction: column; }
  .hero-icon img { width: 180px; height: 180px; border-radius: 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .nav-links { gap: 16px; }
  .nav-links li:not(:last-child) { display: none; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  section { padding: 64px 20px; }
  .hero { padding-top: 120px; }
}
