/* ========================================================
   HydroSync — "Why Hydroponics?" Animated Infographic
   style.css
   ======================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Greens */
  --green-50:  #e8f5e9;
  --green-100: #c8e6c9;
  --green-200: #a5d6a7;
  --green-300: #81c784;
  --green-400: #66bb6a;
  --green-500: #4caf50;
  --green-600: #43a047;
  --green-700: #388e3c;
  --green-800: #2e7d32;
  --green-900: #1b5e20;

  /* Accent greens */
  --neon-green:   #00ff88;
  --emerald:      #10b981;
  --mint:         #34d399;
  --lime-glow:    #a3e635;

  /* Dark palette */
  --bg-primary:    #0a0f0d;
  --bg-secondary:  #111a16;
  --bg-card:       rgba(17, 26, 22, 0.7);
  --bg-glass:      rgba(16, 185, 129, 0.06);

  /* Surfaces */
  --surface-dark:  #0d1512;
  --surface-mid:   #142019;
  --surface-light: #1a2b23;

  /* Text */
  --text-primary:   #e8f5e9;
  --text-secondary: #81c784;
  --text-muted:     rgba(200, 230, 201, 0.5);
  --text-accent:    #00ff88;

  /* Borders */
  --border-subtle:  rgba(16, 185, 129, 0.12);
  --border-glow:    rgba(0, 255, 136, 0.25);

  /* Gradients */
  --gradient-hero:    linear-gradient(135deg, #0a0f0d 0%, #0d1a12 30%, #112218 60%, #0a0f0d 100%);
  --gradient-card:    linear-gradient(145deg, rgba(16, 185, 129, 0.08), rgba(0, 255, 136, 0.03));
  --gradient-green:   linear-gradient(135deg, #10b981, #00ff88);
  --gradient-section: linear-gradient(180deg, #0a0f0d 0%, #0d1a12 50%, #0a0f0d 100%);
  --gradient-cta:     linear-gradient(135deg, #1b5e20, #2e7d32, #388e3c);

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md:   0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg:   0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(0, 255, 136, 0.15);
  --shadow-neon: 0 0 60px rgba(0, 255, 136, 0.25);

  /* Spacing */
  --section-padding: clamp(4rem, 10vw, 8rem);

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'Space Grotesk', monospace;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Stripe thickness */
  --stripe-size: 2px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.7;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: var(--neon-green); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: var(--emerald);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--neon-green); }

/* ---------- Selection ---------- */
::selection {
  background: rgba(0, 255, 136, 0.3);
  color: #fff;
}

/* ================================================================
   DIAGONAL GREEN STRIPES — Full-page background
   ================================================================ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(0, 255, 136, 0.018) 40px,
    rgba(0, 255, 136, 0.018) 42px
  );
  pointer-events: none;
}

/* Second stripe layer — opposite angle for depth */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 80px,
    rgba(16, 185, 129, 0.012) 80px,
    rgba(16, 185, 129, 0.012) 82px
  );
  pointer-events: none;
}

/* ================================================================
   LOADING SCREEN
   ================================================================ */
#loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  transition: opacity 0.6s var(--ease-out-expo), visibility 0.6s;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 3px solid var(--border-subtle);
  border-top-color: var(--neon-green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loader-text {
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  font-size: 0.9rem;
  letter-spacing: 2px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ================================================================
   CURSOR GLOW (JS-driven)
   ================================================================ */
#cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  will-change: left, top;
}

/* ================================================================
   ANIMATED GRID BACKGROUND
   ================================================================ */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.grid-bg::before {
  content: '';
  position: absolute;
  inset: -50%;
  background-image:
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridPan 40s linear infinite;
  opacity: 0.3;
}

@keyframes gridPan {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

/* ================================================================
   FLOATING PARTICLES
   ================================================================ */
.particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--neon-green);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat var(--dur) var(--delay) infinite ease-in-out;
}

@keyframes particleFloat {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 0.6; }
  50%  { opacity: 0.3; }
  100% { transform: translateY(-20vh) scale(1.5); opacity: 0; }
}

/* ================================================================
   MAIN CONTENT WRAPPER
   ================================================================ */
.main-content {
  position: relative;
  z-index: 2;
}

/* ================================================================
   NAVIGATION BAR
   ================================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 15, 13, 0.75);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.4s var(--ease-out-expo);
}

.navbar.scrolled {
  padding: 0.6rem 2rem;
  background: rgba(10, 15, 13, 0.92);
  box-shadow: var(--shadow-md);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4); }
  50%      { box-shadow: 0 0 20px 4px rgba(0, 255, 136, 0.15); }
}

.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  background: var(--gradient-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.5px;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-green);
  border-radius: 2px;
  transition: width 0.3s var(--ease-out-expo);
}

.nav-links a:hover {
  color: var(--neon-green);
  text-decoration: none;
}

.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 0.55rem 1.5rem;
  background: var(--gradient-green);
  color: var(--bg-primary) !important;
  -webkit-text-fill-color: var(--bg-primary) !important;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
  cursor: pointer;
}

.nav-cta:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem 2rem;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
}

/* Animated green orbs */
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.08) 0%, transparent 70%);
  animation: orbFloat 12s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
  animation: orbFloat 15s ease-in-out infinite reverse;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(50px, -30px) scale(1.1); }
  66%      { transform: translate(-30px, 50px) scale(0.95); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid var(--border-glow);
  border-radius: 30px;
  color: var(--neon-green);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
  animation: fadeSlideDown 0.8s 0.2s both;
}

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

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.6); }
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1rem;
  animation: fadeSlideUp 1s 0.4s both;
  max-width: 900px;
}

.hero-title .highlight {
  background: var(--gradient-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-green);
  border-radius: 2px;
  animation: underlineGrow 1.2s 1s both;
}

@keyframes underlineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 700px;
  margin-bottom: 2rem;
  line-height: 1.6;
  animation: fadeSlideUp 1s 0.6s both;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeSlideUp 1s 0.8s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  background: var(--gradient-green);
  color: var(--bg-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.btn-primary:hover::before { transform: translateX(100%); }

.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: var(--shadow-neon);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid var(--border-glow);
  border-radius: 60px;
  cursor: pointer;
  transition: all 0.3s var(--ease-spring);
  letter-spacing: 0.5px;
}

.btn-secondary:hover {
  background: var(--bg-glass);
  border-color: var(--neon-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Scroll indicator */
.scroll-indicator {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fadeSlideUp 1s 1.2s both;
}

.scroll-indicator .mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--border-glow);
  border-radius: 13px;
  position: relative;
}

.scroll-indicator .mouse::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--neon-green);
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50%      { transform: translateX(-50%) translateY(12px); opacity: 0.3; }
}

.scroll-indicator span {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ================================================================
   SECTION STYLES
   ================================================================ */
section {
  padding: var(--section-padding) 2rem;
  position: relative;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Section headers */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon-green);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-badge::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--gradient-green);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-title .green {
  color: var(--neon-green);
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.8;
}

/* ================================================================
   STATS SECTION — Count-Up Animated Cards
   ================================================================ */
.stats-section {
  background: var(--gradient-section);
  position: relative;
  overflow: hidden;
}

/* Horizontal stripe accent behind stats */
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 100px,
    rgba(0, 255, 136, 0.02) 100px,
    rgba(0, 255, 136, 0.02) 102px
  );
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2rem 1.75rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
  backdrop-filter: blur(10px);
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Top accent bar */
.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out-expo);
  z-index: 2;
}
.stat-card:hover::before { transform: scaleX(1); }

/* Subtle card glow overlay — MUST be behind content */
.stat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 0;
  pointer-events: none;
}
.stat-card:hover::after { opacity: 1; }

.stat-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

/* Icon — sits cleanly above the number, no overlap */
.stat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  transition: all 0.4s var(--ease-spring);
}
.stat-card:hover .stat-icon {
  transform: scale(1.12) rotate(-5deg);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

/* Large hero number */
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--neon-green);
  line-height: 1;
  margin-bottom: 0.6rem;
  position: relative;
  z-index: 1;
  /* no ::after ring — was causing overlap */
}

.stat-suffix {
  font-size: 0.55em;
  font-weight: 700;
  color: var(--mint);
  vertical-align: middle;
}

.stat-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  position: relative;
  z-index: 1;
  letter-spacing: 0.3px;
}

.stat-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* ================================================================
   BENEFITS / FEATURES SECTION
   ================================================================ */
.benefits-section {
  background: var(--bg-primary);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
  backdrop-filter: blur(10px);
}

.benefit-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.benefit-card .card-number {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 900;
  color: rgba(0, 255, 136, 0.05);
  position: absolute;
  top: -10px;
  right: 10px;
  line-height: 1;
  pointer-events: none;
  z-index: 1;
}

.benefit-card .card-icon {
  width: 52px;
  height: 52px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.4s var(--ease-spring);
  position: relative;
  z-index: 2;
}

.benefit-card:hover .card-icon {
  transform: scale(1.1);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.benefit-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 2;
}

.benefit-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

/* ================================================================
   HOW IT WORKS — Timeline
   ================================================================ */
.how-section {
  background: var(--gradient-section);
  position: relative;
}

.timeline {
  position: relative;
  margin-top: 3rem;
  padding-left: 50px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--neon-green), var(--emerald), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 2rem;
}

.timeline-dot {
  position: absolute;
  left: -26px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--neon-green);
  border-radius: 50%;
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
  z-index: 1;
}

.timeline-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid transparent;
  outline: 1px solid rgba(0, 255, 136, 0.12);
  outline-offset: -1px;
  border-radius: 16px;
  padding: 2rem 2rem 2rem 5rem;
  backdrop-filter: blur(10px);
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  background-clip: padding-box;
}

/* Electric border chase: spinning conic gradient border */
.timeline-content::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 17px;
  background: conic-gradient(
    from var(--angle, 0deg),
    transparent 60%,
    rgba(0, 255, 136, 0.9) 75%,
    rgba(0, 220, 255, 0.7) 80%,
    rgba(0, 255, 136, 0.9) 85%,
    transparent 100%
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: spinBorder 3s linear infinite;
}

.timeline-content:hover::after {
  opacity: 1;
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes spinBorder {
  to { --angle: 360deg; }
}

/* Restore the inner background so the conic doesn't show through */
.timeline-content > *:not(.tl-corner):not(.tl-scanline) {
  position: relative;
  z-index: 1;
}

/* Shimmer scanline sweep on hover */
.tl-scanline {
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.08), rgba(0, 255, 136, 0.15), rgba(0, 255, 136, 0.08), transparent);
  transform: skewX(-15deg);
  pointer-events: none;
  z-index: 0;
  transition: 0s;
}

.timeline-content:hover .tl-scanline {
  left: 150%;
  transition: 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Corner brackets — appear on hover */
.tl-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
}

.timeline-content:hover .tl-corner { opacity: 1; }

.tl-corner--tl {
  top: 8px; left: 8px;
  border-top: 2px solid var(--neon-green);
  border-left: 2px solid var(--neon-green);
  border-radius: 4px 0 0 0;
  transform: translate(-4px, -4px);
  box-shadow: -2px -2px 8px rgba(0, 255, 136, 0.5);
}
.timeline-content:hover .tl-corner--tl { transform: translate(0, 0); }

.tl-corner--tr {
  top: 8px; right: 8px;
  border-top: 2px solid var(--neon-green);
  border-right: 2px solid var(--neon-green);
  border-radius: 0 4px 0 0;
  transform: translate(4px, -4px);
  box-shadow: 2px -2px 8px rgba(0, 255, 136, 0.5);
}
.timeline-content:hover .tl-corner--tr { transform: translate(0, 0); }

.tl-corner--bl {
  bottom: 8px; left: 8px;
  border-bottom: 2px solid var(--neon-green);
  border-left: 2px solid var(--neon-green);
  border-radius: 0 0 0 4px;
  transform: translate(-4px, 4px);
  box-shadow: -2px 2px 8px rgba(0, 255, 136, 0.5);
}
.timeline-content:hover .tl-corner--bl { transform: translate(0, 0); }

.tl-corner--br {
  bottom: 8px; right: 8px;
  border-bottom: 2px solid var(--neon-green);
  border-right: 2px solid var(--neon-green);
  border-radius: 0 0 4px 0;
  transform: translate(4px, 4px);
  box-shadow: 2px 2px 8px rgba(0, 255, 136, 0.5);
}
.timeline-content:hover .tl-corner--br { transform: translate(0, 0); }

/* Floating step badge — large ghosted number in background */
.tl-step-badge {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 255, 136, 0.2);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  transition: all 0.5s var(--ease-out-expo);
  animation: badgePulse 4s ease-in-out infinite alternate;
}

.timeline-content:hover .tl-step-badge {
  -webkit-text-stroke: 2px rgba(0, 255, 136, 0.7);
  text-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
  transform: translateY(-50%) scale(1.1);
}

@keyframes badgePulse {
  0%  { -webkit-text-stroke-color: rgba(0, 255, 136, 0.12); }
  100% { -webkit-text-stroke-color: rgba(0, 255, 136, 0.35); }
}

/* ── PER-STEP LED COLOR SYSTEM ───────────────────────────────────── */

/* Step 01 — Neon Green  🌱  (Germinate) */
.step-1 { --led: 0, 255, 136;   --led-mid: 0, 220, 160; }

/* Step 02 — Electric Cyan 💧  (Nutrient Delivery) */
.step-2 { --led: 0, 210, 255;   --led-mid: 0, 170, 255; }

/* Step 03 — Violet 🔮  (Optimized Environment – LED grow lights) */
.step-3 { --led: 180, 0, 255;   --led-mid: 220, 100, 255; }

/* Step 04 — Amber ⚡  (Monitor & Adjust – sensor/tech) */
.step-4 { --led: 255, 165, 0;   --led-mid: 255, 210, 60; }

/* Step 05 — Victory Red 🔴  (Harvest & Repeat) */
.step-5 { --led: 255, 30, 60;   --led-mid: 255, 80, 80; }

/* Wire all LED-driven properties through the custom property */
.timeline-content {
  outline-color: rgba(var(--led, 0, 255, 136), 0.14);
}

.timeline-content::after {
  background: conic-gradient(
    from var(--angle, 0deg),
    transparent 55%,
    rgba(var(--led, 0, 255, 136), 0.95) 70%,
    rgba(var(--led-mid, 0, 220, 160), 0.8) 77%,
    rgba(var(--led, 0, 255, 136), 0.95) 84%,
    transparent 100%
  );
}

.timeline-content:hover {
  border-color: transparent;
  box-shadow: 0 0 50px rgba(var(--led, 0, 255, 136), 0.18),
              0 0 100px rgba(var(--led, 0, 255, 136), 0.06);
  background: rgba(var(--led, 0, 255, 136), 0.04);
}

/* Corners take LED colour */
.tl-corner--tl { border-color: rgba(var(--led, 0, 255, 136), 1); box-shadow: -2px -2px 10px rgba(var(--led, 0, 255, 136), 0.7); }
.tl-corner--tr { border-color: rgba(var(--led, 0, 255, 136), 1); box-shadow:  2px -2px 10px rgba(var(--led, 0, 255, 136), 0.7); }
.tl-corner--bl { border-color: rgba(var(--led, 0, 255, 136), 1); box-shadow: -2px  2px 10px rgba(var(--led, 0, 255, 136), 0.7); }
.tl-corner--br { border-color: rgba(var(--led, 0, 255, 136), 1); box-shadow:  2px  2px 10px rgba(var(--led, 0, 255, 136), 0.7); }

/* Ghost badge takes LED colour */
.tl-step-badge {
  -webkit-text-stroke-color: rgba(var(--led, 0, 255, 136), 0.2);
}
.timeline-content:hover .tl-step-badge {
  -webkit-text-stroke-color: rgba(var(--led, 0, 255, 136), 0.8);
  text-shadow: 0 0 30px rgba(var(--led, 0, 255, 136), 0.5);
}

/* Step label text colour */
.timeline-step {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(var(--led, 0, 255, 136), 1);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
  text-shadow: 0 0 8px rgba(var(--led, 0, 255, 136), 0.5);
}

/* Scanline takes LED tint */
.tl-scanline {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--led, 0, 255, 136), 0.07),
    rgba(var(--led, 0, 255, 136), 0.18),
    rgba(var(--led, 0, 255, 136), 0.07),
    transparent
  );
}


.timeline-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* ================================================================
   EPIC BATTLE COMPARISON TABLE
   ================================================================ */

/* Wrapper gets a glowing animated border */
.comparison-table-wrapper {
  margin-top: 2rem;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: var(--bg-card);
  border: 1px solid transparent;
  box-shadow: 0 0 0 1px rgba(0, 255, 136, 0.15);
  animation: tableWrapperGlow 4s infinite alternate;
}

@keyframes tableWrapperGlow {
  0%  { box-shadow: 0 0 20px rgba(0, 255, 136, 0.08), 0 0 0 1px rgba(0, 255, 136, 0.15); }
  100% { box-shadow: 0 0 60px rgba(0, 255, 136, 0.2),  0 0 0 1px rgba(0, 255, 136, 0.5); }
}

/* Battle Score Bar */
.battle-score-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 2.5rem;
  background: linear-gradient(90deg, rgba(0, 255, 136, 0.08) 0%, rgba(0,0,0,0) 50%, rgba(255, 80, 80, 0.06) 100%);
  border-bottom: 1px solid rgba(0, 255, 136, 0.15);
}

.score-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.score-hydro {
  align-items: flex-start;
  padding-left: 1rem;
}

.score-trad {
  align-items: flex-end;
  padding-right: 1rem;
}

.score-hydro .score-label { color: var(--neon-green); opacity: 0.8; }
.score-trad  .score-label { color: #ff5050;           opacity: 0.6; }

.score-hydro .score-count {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--neon-green);
  line-height: 1;
  animation: scoreCountGlow 2s infinite alternate;
}

@keyframes scoreCountGlow {
  0% { text-shadow: 0 0 10px rgba(0, 255, 136, 0.5); }
  100% { text-shadow: 0 0 30px rgba(0, 255, 136, 1), 0 0 60px rgba(0, 255, 136, 0.5); }
}

.score-trad .score-count {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: #ff5050;
  opacity: 0.45;
  line-height: 1;
}

.score-label {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.score-vs {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  animation: vsFlash 1.5s infinite alternate;
  letter-spacing: 6px;
  text-align: center;
}

@keyframes vsFlash {
  0%  { color: rgba(255, 255, 255, 0.15); text-shadow: none; }
  100% { color: var(--neon-green); text-shadow: 0 0 20px rgba(0, 255, 136, 0.9); }
}

/* Crown badge floating above the Hydroponics th */
.comparison-table th.hydro {
  position: relative;
  overflow: visible;
  background: rgba(0, 255, 136, 0.08);
  border-bottom: 2px solid var(--neon-green);
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.6);
}

.comparison-table th.trad {
  background: rgba(255, 80, 80, 0.04);
  color: rgba(255, 255, 255, 0.4);
}

.crown-wrapper {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.crown-badge {
  font-size: 1.4rem;
  display: block;
  animation: crownFloat 2s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.9));
}

@keyframes crownFloat {
  0% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.7)); }
  100% { transform: translateY(-5px) scale(1.15); filter: drop-shadow(0 0 20px rgba(255, 215, 0, 1)); }
}

/* Win cells (Hydroponics) */
.comparison-table td.win {
  color: var(--neon-green);
  font-weight: 600;
  position: relative;
  transition: all 0.3s ease;
}

.comparison-table td.win::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.4), transparent);
  animation: winUnderline 3s infinite;
}

@keyframes winUnderline {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.comparison-table tbody tr:hover td.win {
  text-shadow: 0 0 15px rgba(0, 255, 136, 0.8);
  color: #fff;
  background: rgba(0, 255, 136, 0.1);
}

/* Lose cells (Traditional) — red on ANY hover, not just row hover */
.comparison-table td.lose {
  color: rgba(255, 255, 255, 0.3);
  font-style: italic;
  transition: all 0.25s ease;
  background: rgba(255, 40, 40, 0.02); /* always subtly red */
}

/* Red when hovering anywhere on the row */
.comparison-table tbody tr:hover td.lose {
  color: rgba(255, 90, 90, 0.85);
  background: rgba(255, 30, 30, 0.09);
  text-shadow: 0 0 10px rgba(255, 60, 60, 0.5);
}

/* Red when directly hovering the traditional cell itself */
.comparison-table td.lose:hover {
  color: #ff4444 !important;
  background: rgba(255, 30, 30, 0.14) !important;
  text-shadow: 0 0 15px rgba(255, 60, 60, 0.8) !important;
  cursor: not-allowed;
}

/* Feature cell */
.feat-cell {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

/* Row hover: entire row gets a dramatic spotlight */
.comparison-table tbody tr {
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
  cursor: default;
}

.comparison-table tbody tr:hover {
  transform: scaleY(1.04);
  z-index: 5;
  box-shadow: inset 0 0 40px rgba(0, 255, 136, 0.05);
}

/* Victory Banner */
.victory-banner {
  padding: 1.2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  border-top: 1px solid rgba(0, 255, 136, 0.2);
  background: linear-gradient(90deg, rgba(0, 255, 136, 0.08), transparent 50%, rgba(0, 255, 136, 0.08));
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.victory-banner.visible {
  opacity: 1;
  transform: translateY(0);
}

.victory-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--neon-green);
  text-shadow: 0 0 15px rgba(0, 255, 136, 0.6);
  animation: victoryPulse 2s infinite alternate;
}

@keyframes victoryPulse {
  0% { opacity: 0.8; }
  100% { opacity: 1; text-shadow: 0 0 30px rgba(0, 255, 136, 0.9); }
}

.victory-bar {
  width: 80%;
  max-width: 500px;
  height: 8px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 99px;
  overflow: hidden;
}

.victory-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00ff88, #00d4ff, #00ff88);
  background-size: 200% 100%;
  border-radius: 99px;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
  transition: width 2s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: barShimmer 2s linear infinite;
}

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

.timeline-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}


/* ================================================================
   COMPARISON SECTION
   ================================================================ */
.comparison-section {
  background: var(--bg-primary);
}

.comparison-table-wrapper {
  margin-top: 3rem;
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.comparison-table thead {
  background: var(--surface-mid);
}

.comparison-table th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 1.2rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.comparison-table th:first-child { border-radius: 20px 0 0 0; }
.comparison-table th:last-child  { border-radius: 0 20px 0 0; }

.comparison-table th.hydro {
  color: var(--neon-green);
}

.comparison-table td {
  padding: 1rem 1.5rem;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(16, 185, 129, 0.06);
  color: var(--text-secondary);
}

.comparison-table tr:last-child td { border-bottom: none; }

.comparison-table tr {
  transition: background 0.3s;
}

.comparison-table tbody tr:hover {
  background: var(--bg-glass);
}

.comparison-table td.win {
  color: var(--neon-green);
  font-weight: 600;
}

.check-icon { color: var(--neon-green); font-size: 1.2rem; }
.cross-icon { color: #ef4444; font-size: 1.2rem; }



/* ================================================================
   FAQ SECTION — Accordion
   ================================================================ */
.faq-section {
  background: var(--bg-primary);
}

.faq-list {
  margin-top: 3rem;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s;
}

.faq-item:hover,
.faq-item.active {
  border-color: var(--border-glow);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
  transition: color 0.3s;
  user-select: none;
}

.faq-question:hover { color: var(--neon-green); }

.faq-toggle {
  width: 28px;
  height: 28px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--neon-green);
  transition: all 0.3s;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  background: var(--neon-green);
  color: var(--bg-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out-expo), padding 0.5s;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* ================================================================
   CTA SECTION
   ================================================================ */
.cta-section {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.cta-wrapper {
  background: var(--gradient-cta);
  border: 1px solid var(--border-glow);
  border-radius: 32px;
  padding: clamp(3rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Animated stripes inside CTA */
.cta-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(0, 255, 136, 0.06) 20px,
    rgba(0, 255, 136, 0.06) 22px
  );
  animation: stripeSlide 8s linear infinite;
  pointer-events: none;
}

@keyframes stripeSlide {
  0%   { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

.cta-wrapper::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.1), transparent 70%);
  pointer-events: none;
  animation: orbFloat 10s ease-in-out infinite;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-description {
  font-size: 1.15rem;
  color: var(--green-200);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: #fff;
  color: var(--green-900);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  transition: all 0.3s var(--ease-spring);
  letter-spacing: 0.5px;
}

.cta-btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
}

.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: transparent;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 60px;
  cursor: pointer;
  transition: all 0.3s var(--ease-spring);
  letter-spacing: 0.5px;
}

.cta-btn-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.cta-trust {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--green-300);
  position: relative;
  z-index: 1;
}

.cta-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--surface-dark);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 300px;
}

.footer h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.footer-socials a:hover {
  background: var(--neon-green);
  color: var(--bg-primary);
  border-color: var(--neon-green);
  transform: translateY(-2px);
}

/* ================================================================
   SCROLL REVEAL ANIMATIONS
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(80px) rotateX(-8deg) scale(0.95);
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) rotateX(0deg) scale(1);
}

/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(50px) rotateY(-10deg) scale(0.9);
  transform-style: preserve-3d;
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo), border-color 0.4s, box-shadow 0.4s;
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0) rotateY(0deg) scale(1); }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0) rotateY(0deg) scale(1); }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0) rotateY(0deg) scale(1); }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0) rotateY(0deg) scale(1); }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0) rotateY(0deg) scale(1); }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0) rotateY(0deg) scale(1); }

/* Scale-in variant */
.reveal-scale {
  opacity: 0;
  transform: scale(0.8) translateY(50px) rotateX(8deg);
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1) translateY(0) rotateX(0deg);
}

/* Slide left/right variants */
.reveal-left {
  opacity: 0;
  transform: translateX(-100px) rotateY(-15deg);
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: opacity 1s var(--ease-out-expo), transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0) rotateY(0deg);
}

.reveal-right {
  opacity: 0;
  transform: translateX(100px) rotateY(15deg);
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: opacity 1s var(--ease-out-expo), transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0) rotateY(0deg);
}

/* ================================================================
   MARQUEE BANNER
   ================================================================ */
.marquee-section {
  overflow: hidden;
  padding: 1.5rem 0;
  background: var(--surface-mid);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 2.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.marquee-item .sep {
  color: var(--neon-green);
  font-size: 0.6rem;
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ================================================================
   PROGRESS BAR (reading indicator)
   ================================================================ */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-green);
  z-index: 10001;
  transition: width 0.1s;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

/* ================================================================
   BACK TO TOP
   ================================================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--gradient-green);
  border: none;
  border-radius: 14px;
  color: var(--bg-primary);
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-spring);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-neon);
}

/* ================================================================
   TILT EFFECT GLOW on cards
   ================================================================ */
.tilt-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.15), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 0;
}

/* ================================================================
   EXTRA ANIMATED ACCENTS
   ================================================================ */

/* Rotating border accent used on special elements */
@keyframes rotateBorder {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Gradient text shimmer */
.shimmer-text {
  background: linear-gradient(
    90deg,
    var(--text-primary) 0%,
    var(--neon-green) 50%,
    var(--text-primary) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease-in-out infinite;
}

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

/* Floating badge animation */
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 15, 13, 0.97);
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 1000;
    animation: fadeIn 0.3s;
  }

  .nav-links.active a { font-size: 1.3rem; }

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

  .stats-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }

  .hero-title { letter-spacing: -1px; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }

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

  .timeline { padding-left: 40px; }
  .timeline::before { left: 19px; }
  .timeline-dot { left: -21px; }

  .cta-wrapper { padding: 2.5rem 1.5rem; border-radius: 20px; }
}

@media (max-width: 480px) {
  section { padding: 3rem 1rem; }

  .navbar { padding: 0.75rem 1rem; }

  .hero { padding: 5rem 1rem 3rem; }

  .stat-card { padding: 2rem 1rem; }

  .cta-btn-primary,
  .cta-btn-secondary { width: 100%; justify-content: center; }
}

/* ================================================================
   COUNTER ANIMATION (triggered by JS)
   ================================================================ */
.stat-number[data-counted="false"] {
  opacity: 0.3;
}

.stat-number[data-counted="true"] {
  opacity: 1;
  animation: countPop 0.5s var(--ease-spring);
}

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

/* ================================================================
   NOTIFICATION TOAST (for interactive feedback)
   ================================================================ */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--surface-mid);
  border: 1px solid var(--border-glow);
  border-radius: 14px;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  z-index: 9999;
  opacity: 0;
  transition: all 0.5s var(--ease-spring);
  box-shadow: var(--shadow-glow);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ================================================================
   VISUAL SEPARATOR / DIVIDER
   ================================================================ */
.section-divider {
  width: 80px;
  height: 3px;
  background: var(--gradient-green);
  border-radius: 3px;
  margin: 1rem 0 2rem;
}

/* ================================================================
   GLOW CARD HOVER EFFECT — generic
   ================================================================ */
.glow-card {
  position: relative;
  overflow: hidden;
}

.glow-card::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.12), transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.glow-card:hover::before { opacity: 1; }

/* ================================================================
   AI CHAT ASSISTANT
   ================================================================ */
.ai-chat-wrapper {
  margin-top: 4rem;
  background: var(--surface-mid);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.ai-chat-header {
  background: rgba(0, 255, 136, 0.1);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--border-glow);
}

.ai-chat-header h3 {
  flex: 1;
  font-size: 1.1rem;
  color: var(--neon-green);
  margin: 0;
}

.ai-status {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ai-status::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-green);
}

.ai-chat-body {
  height: 300px;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--bg-primary);
}

.ai-msg {
  max-width: 80%;
  padding: 1rem;
  border-radius: 12px;
  line-height: 1.5;
  font-size: 0.95rem;
  animation: fadeSlideUp 0.3s ease-out forwards;
}

.ai-msg.ai {
  background: var(--surface-light);
  color: var(--text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid var(--border-subtle);
}

.ai-msg.user {
  background: var(--gradient-green);
  color: var(--bg-primary);
  font-weight: 500;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.typing-indicator-msg {
  padding: 0.8rem 1rem !important;
  display: inline-flex;
  width: max-content;
}

.ai-chat-input-area {
  display: flex;
  padding: 1rem;
  background: var(--surface-mid);
  border-top: 1px solid var(--border-subtle);
  gap: 1rem;
}

#aiChatInput {
  flex: 1;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.8rem 1.2rem;
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s;
}

#aiChatInput:focus {
  border-color: var(--neon-green);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

#aiChatBtn {
  background: var(--neon-green);
  color: var(--bg-primary);
  border: none;
  padding: 0 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

#aiChatBtn:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

.typing-indicator {
  display: flex;
  gap: 4px;
  align-items: center;
  height: 20px;
}
.typing-indicator span {
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}
.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }
@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* ================================================================
   CUSTOM CURSOR GLOW
   ================================================================ */
@media (pointer: fine) {
  *,
  *::before,
  *::after {
    cursor: none !important;
  }
}

.cursor-glow-element {
  position: fixed;
  top: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.12) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 100002;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
  mix-blend-mode: screen;
  will-change: transform;
}

.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 100003;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s;
  will-change: transform;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-green);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--neon-green);
  border-radius: 50%;
  transition: width 0.2s ease-out, height 0.2s ease-out, opacity 0.3s, background 0.2s;
}

.cursor-ring.clicking {
  width: 60px;
  height: 60px;
  background: rgba(0, 255, 136, 0.2);
  opacity: 0.5;
}

.cursor-ring.hovering {
  width: 50px;
  height: 50px;
  background: rgba(0, 255, 136, 0.05);
}

/* ================================================================
   DETAIL MODAL (pop-up on card click)
   ================================================================ */
.detail-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 15, 13, 0.85);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out-expo);
}

.detail-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.detail-modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-glow), 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border-radius: 24px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.4s var(--ease-spring);
  padding: 3rem;
  backdrop-filter: blur(20px);
}

.detail-modal-overlay.active .detail-modal-card {
  transform: scale(1);
}

.detail-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  z-index: 10001;
}

.detail-modal-close:hover {
  color: var(--neon-green);
  background: rgba(0, 255, 136, 0.1);
  transform: rotate(90deg);
}

.detail-modal-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  margin-top: 1rem;
}

.detail-modal-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.detail-modal-badge {
  display: inline-block;
  align-self: flex-start;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
  color: var(--neon-green);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.detail-modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.detail-modal-icon {
  font-size: 2.5rem;
}

.detail-modal-header h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.2;
}

.detail-modal-desc {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1rem;
}

.detail-modal-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border-left: 1px solid var(--border-subtle);
  padding-left: 3rem;
}

.detail-info-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detail-info-block h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--neon-green);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.detail-info-block p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive modal styling */
@media (max-width: 768px) {
  .detail-modal-card {
    padding: 2rem;
  }
  .detail-modal-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .detail-modal-right {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
    padding-left: 0;
    padding-top: 2rem;
  }
}

/* ================================================================
   INTERACTIVE HERO BADGE & NOTIFICATION
   ================================================================ */
.interactive-alert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.75rem;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.5);
  border-radius: 50px;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  box-shadow: 0 0 35px rgba(0, 255, 136, 0.2), inset 0 0 15px rgba(0, 255, 136, 0.1);
  backdrop-filter: blur(10px);
  animation: badgePop 1s 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) both, badgeFloat 4s ease-in-out infinite;
}

@keyframes badgePop {
  0% { opacity: 0; transform: scale(0.8) translateY(20px); filter: brightness(0); }
  50% { filter: brightness(2); box-shadow: 0 0 60px rgba(0, 255, 136, 0.6); }
  100% { opacity: 1; transform: scale(1) translateY(0); filter: brightness(1); }
}

.interactive-alert-badge span {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.4;
  text-align: left;
}

.interactive-alert-badge strong {
  color: var(--neon-green);
}

.pulsing-leaf {
  font-size: 1.2rem;
  animation: leafPulse 2s ease-in-out infinite;
  display: inline-block;
}

@keyframes leafPulse {
  0%, 100% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 2px var(--neon-green)); }
  50%      { transform: scale(1.2) rotate(15deg); filter: drop-shadow(0 0 8px var(--neon-green)); }
}

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

/* ================================================================
   WAVY SVG DIVIDERS
   ================================================================ */
.wave-container {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: var(--bg-primary);
  margin-top: -1px;
}

.wave-flipped {
  transform: scaleY(-1);
  background: var(--bg-secondary);
}

.waves {
  position: relative;
  width: 100%;
  height: 60px;
  min-height: 40px;
  max-height: 80px;
}

.wave-back {
  animation: waveScroll 20s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
  fill: rgba(0, 255, 136, 0.03);
}

.wave-mid {
  animation: waveScroll 13s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
  fill: rgba(16, 185, 129, 0.07);
}

.wave-front {
  animation: waveScroll 7s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
  fill: var(--bg-primary);
}

.wave-flipped .wave-front {
  fill: var(--bg-primary);
}

@keyframes waveScroll {
  0% { transform: translate3d(-90px, 0, 0); }
  100% { transform: translate3d(85px, 0, 0); }
}

/* ================================================================
   STUNNING FLOATING LEAF PARTICLES
   ================================================================ */
.leaf-particle {
  position: fixed;
  pointer-events: none;
  z-index: 1;
  font-size: 1.2rem;
  opacity: 0.25;
  user-select: none;
  will-change: transform, top, left;
  animation: leafFloat 15s linear infinite;
  filter: drop-shadow(0 0 5px rgba(0, 255, 136, 0.4));
}

@keyframes leafFloat {
  0% {
    transform: translateY(105vh) translateX(0px) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(50vh) translateX(60px) rotate(180deg) scale(1.2);
  }
  100% {
    transform: translateY(-10vh) translateX(-60px) rotate(360deg) scale(1);
  }
}

/* ================================================================
   BENEFIT CARD — DEEP CYBER FLUID & GLASSMORPHISM
   ================================================================ */

.benefit-card {
  position: relative;
  background: rgba(15, 20, 18, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease, border-color 0.5s ease;
  transform-style: preserve-3d;
}

/* Unique orb colors */
.card-orb.color-1 { --orb-color: 0, 255, 136; }
.card-orb.color-2 { --orb-color: 0, 210, 255; }
.card-orb.color-3 { --orb-color: 255, 160, 0; }
.card-orb.color-4 { --orb-color: 180, 0, 255; }
.card-orb.color-5 { --orb-color: 0, 255, 200; }
.card-orb.color-6 { --orb-color: 255, 50, 80; }

.card-orb {
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(var(--orb-color), 0.8) 0%, transparent 70%);
  transform: translate(calc(var(--mouse-x, 50%) - 50%), calc(var(--mouse-y, 50%) - 50%)) scale(1);
  transition: opacity 0.6s ease;
  opacity: 0;
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.benefit-card:hover .card-orb {
  opacity: 0.85;
  transform: translate(calc(var(--mouse-x) - 50%), calc(var(--mouse-y) - 50%)) scale(2.8);
  transition: opacity 0.4s ease, transform 0.1s linear;
}

/* Glass overlay to make the orb look submerged */
.card-glass {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(30px) saturate(130%);
  -webkit-backdrop-filter: blur(30px) saturate(130%);
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
}

.benefit-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Base content z-index */
.benefit-card .card-number,
.benefit-card h3,
.benefit-card p,
.benefit-card .card-icon {
  position: relative;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.benefit-card .card-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* 3D Content pop on hover */
.benefit-card:hover .card-icon {
  transform: translateZ(50px) translateY(-10px) scale(1.15) rotate(-5deg);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(var(--orb-color), 0.4);
}

.benefit-card:hover h3 {
  transform: translateZ(30px);
}

.benefit-card:hover p {
  transform: translateZ(20px);
}

.benefit-card:hover .card-number {
  transform: translateZ(40px);
  color: rgba(255, 255, 255, 0.15);
}

.stat-icon, .card-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

/* ================================================================
   INSANE HEAVY ANIMATIONS (GLOBAL)
   ================================================================ */

/* Hero Title Entrance & Glow */
.hero-title {
  animation: heroEntrance 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards, heroTextGlow 4s infinite alternate;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
}

@keyframes heroEntrance {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroTextGlow {
  0% { text-shadow: 0 0 10px rgba(0, 255, 136, 0.1); }
  100% { text-shadow: 0 0 30px rgba(0, 255, 136, 0.5), 0 0 60px rgba(0, 255, 136, 0.3); }
}

/* Stat & Benefit Icons Infinite Floating */
.stat-icon, .card-icon {
  animation: iconFloat 4s ease-in-out infinite;
}

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

/* FAQ Accordion Morphing */
.faq-toggle {
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55), color 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(135deg) scale(1.3);
  color: var(--neon-green);
  text-shadow: 0 0 15px rgba(0, 255, 136, 0.8);
}

.faq-item {
  transition: background 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
}

.faq-item.active {
  background: rgba(0, 255, 136, 0.05);
  border-color: var(--neon-green);
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}

/* CTA Button Insane Pulse */
.cta-btn-primary {
  animation: insaneBtnPulse 2s infinite;
}

@keyframes insaneBtnPulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
  70% { box-shadow: 0 0 0 20px rgba(0, 255, 136, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

/* Timeline specific pulse */
.timeline-dot {
  animation: dotBeat 1.5s infinite alternate;
}

@keyframes dotBeat {
  0% { transform: scale(1); box-shadow: 0 0 10px rgba(0, 255, 136, 0.5); }
  100% { transform: scale(1.3); box-shadow: 0 0 30px rgba(0, 255, 136, 1); background: var(--neon-green); }
}

/* Compare Table Rows Hover Effect */
.comparison-table tbody tr {
  transition: transform 0.3s ease, background 0.3s ease;
}
.comparison-table tbody tr:hover {
  transform: scale(1.02);
  background: rgba(0, 255, 136, 0.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  position: relative;
  z-index: 10;
}

/* Compare Table Hydroponics Advantage Glow */
.comparison-table td:nth-child(2) {
  animation: hydroAdvantageGlow 3s infinite alternate;
  font-weight: bold;
}
@keyframes hydroAdvantageGlow {
  0% { text-shadow: 0 0 5px rgba(0,255,136,0.3); }
  100% { text-shadow: 0 0 15px rgba(0,255,136,0.8), 0 0 30px rgba(0,255,136,0.4); }
}

/* FAQ Active Breathing */
.faq-item.active {
  animation: faqBreathing 3s infinite alternate;
}
@keyframes faqBreathing {
  0% { box-shadow: 0 0 10px rgba(0,255,136,0.1); border-color: rgba(0,255,136,0.5); }
  100% { box-shadow: 0 0 30px rgba(0,255,136,0.4); border-color: rgba(0,255,136,1); background: rgba(0, 255, 136, 0.08); }
}

/* ================================================================
   CINEMATIC BACKGROUND & EFFECTS
   ================================================================ */

/* Massive Ambient Rotating Orbs */
.cinematic-bg {
  position: fixed;
  inset: -50vw;
  background: 
    radial-gradient(circle at 50% 50%, rgba(0, 255, 136, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(0, 150, 255, 0.03) 0%, transparent 40%);
  z-index: 0;
  pointer-events: none;
  animation: cinematicRotate 40s linear infinite;
  mix-blend-mode: screen;
}

@keyframes cinematicRotate {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}

/* Mouse Flashlight Tracking */
.cinematic-flashlight {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle 600px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 255, 136, 0.06), transparent 80%);
  opacity: 0;
  transition: opacity 1s ease;
}

body:hover .cinematic-flashlight {
  opacity: 1;
}

/* Cinematic Page Load Reveal */
.main-content {
  animation: cinematicPageLoad 2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  transform-origin: top center;
  position: relative;
  z-index: 2; /* above background */
}

@keyframes cinematicPageLoad {
  0% { opacity: 0; transform: scale(1.05) translateY(30px); filter: blur(10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

/* Parallax Hero Element */
.hero-inner {
  transition: transform 0.1s linear;
}

/* ================================================================
   INTERACTIVE GROW LAB
   ================================================================ */
.grow-lab-section {
  padding: 100px 0;
  background: var(--bg-color);
  position: relative;
  z-index: 2;
}

.lab-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  background: rgba(10, 20, 15, 0.6);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 20px;
  padding: 40px;
  margin-top: 40px;
  box-shadow: inset 0 0 40px rgba(0, 255, 136, 0.05), 0 20px 50px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
}

.lab-controls .control-group {
  margin-bottom: 30px;
}

.lab-controls label {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lab-controls .val-display {
  color: var(--accent-color);
  font-weight: 600;
  font-family: var(--font-mono);
  transition: color 0.3s;
}

.cyber-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  outline: none;
  transition: background 0.3s;
}

.cyber-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-color);
  cursor: pointer;
  box-shadow: 0 0 15px var(--accent-color);
  border: 2px solid #000;
  transition: transform 0.2s, background 0.3s, box-shadow 0.3s;
}

.cyber-slider::-webkit-slider-thumb:hover {
  transform: scale(1.3);
}

.lab-visualizer {
  position: relative;
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-left: 1px dashed rgba(255, 255, 255, 0.1);
  border-right: 1px dashed rgba(255, 255, 255, 0.1);
}

.lab-plant-container {
  position: relative;
  width: 200px;
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.holo-base {
  width: 120px;
  height: 40px;
  position: relative;
  perspective: 600px;
}

.holo-projector {
  width: 100%;
  height: 20px;
  background: linear-gradient(90deg, #111, #333, #111);
  border-radius: 50%;
  border: 2px solid var(--accent-color);
  box-shadow: 0 0 20px var(--accent-color);
  position: absolute;
  bottom: 0;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.holo-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(0, 255, 136, 0.5);
  position: absolute;
  top: -10px;
  transform: rotateX(70deg);
  animation: pulseRing 2s infinite linear;
  transition: border-color 0.3s;
}
.holo-ring.ring-2 {
  animation-delay: 1s;
  border-color: rgba(0, 200, 255, 0.5);
}

@keyframes pulseRing {
  0% { transform: rotateX(70deg) scale(0.8) translateY(0); opacity: 1; }
  100% { transform: rotateX(70deg) scale(1.5) translateY(-50px); opacity: 0; }
}

.holo-plant {
  position: relative;
  width: 4px;
  height: 150px;
  background: var(--accent-color);
  box-shadow: 0 0 10px var(--accent-color);
  border-radius: 2px;
  margin-bottom: 5px;
  z-index: 2;
  transition: height 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.5s ease, box-shadow 0.5s ease;
}

.holo-leaf {
  position: absolute;
  width: 40px;
  height: 20px;
  background: rgba(0, 255, 136, 0.3);
  border: 1px solid var(--accent-color);
  border-radius: 0 20px 0 20px;
  box-shadow: 0 0 10px var(--accent-color);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.5s ease, width 0.5s ease, border-color 0.3s, box-shadow 0.3s;
}

.leaf-left {
  right: 100%;
  transform-origin: right bottom;
  transform: rotate(-30deg) scale(1);
}

.leaf-right {
  left: 100%;
  border-radius: 20px 0 20px 0;
  transform-origin: left bottom;
  transform: rotate(30deg) scale(1);
}

.leaf-1 { bottom: 20%; }
.leaf-2 { bottom: 40%; }
.leaf-3 { bottom: 60%; }
.leaf-4 { bottom: 80%; }

.holo-core-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 200px;
  background: linear-gradient(to top, rgba(0, 255, 136, 0.4), transparent);
  filter: blur(15px);
  pointer-events: none;
  transition: background 0.3s;
}

.lab-status-badge {
  margin-top: 20px;
  padding: 5px 15px;
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  background: rgba(0, 255, 136, 0.1);
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 2px;
  animation: glowPulse 2s infinite alternate;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}

.lab-metrics {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.metric-card h4 {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
  display: flex;
  justify-content: space-between;
}

.metric-card .trend.up { color: var(--accent-color); }
.metric-card .trend.flat { color: #888; }
.metric-card .trend.down { color: #ff3366; transition: color 0.3s; }

.metric-value {
  font-size: 2.2rem;
  font-family: var(--font-mono);
  font-weight: 700;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.metric-bar-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.metric-bar {
  height: 100%;
  background: var(--accent-color);
  box-shadow: 0 0 10px var(--accent-color);
  transition: width 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.5s ease, box-shadow 0.5s ease;
}

@media (max-width: 900px) {
  .lab-container {
    grid-template-columns: 1fr;
    border-left: none;
    border-right: none;
  }
  .lab-visualizer {
    border-left: none;
    border-right: none;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding: 30px 0;
  }
}
