/* ═══════════════════════════════════════════════════════════════
   AO MINH — "Mekong Intelligence"
   If Apple designed for Vietnamese shrimp farmers.
   Dawn on the delta. Professional. Warm. Trustworthy.
   v3 — BIGGER design punch-up. More Mekong, more high-tech.
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Libre+Bodoni:ital,wght@0,400;0,500;0,600;0,700;1,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&family=IBM+Plex+Mono:wght@400;500;600;700&display=swap');

/* ═══ DESIGN TOKENS ═══ */
:root {
  /* Mekong waters -- deep brown-greens, not generic teal */
  --mekong-900: #0b1f1a;
  --mekong-800: #0f2e25;
  --mekong-700: #163d30;
  --mekong-600: #1e4d3d;
  --mekong-500: #2a6652;
  --mekong-400: #3d8068;
  --mekong-300: #5a9e82;
  --mekong-200: #8ec4aa;
  --mekong-100: #c5e4d4;
  --mekong-50:  #eaf5ef;

  /* Sunrise -- actual Mekong Delta dawn colors */
  --sunrise-900: #5c2e08;
  --sunrise-800: #8a4510;
  --sunrise-700: #b35e18;
  --sunrise-600: #d47a20;
  --sunrise-500: #e8952e;
  --sunrise-400: #f0b048;
  --sunrise-300: #f5c872;
  --sunrise-200: #faddaa;
  --sunrise-100: #fcecd0;
  --sunrise-50:  #fef7ec;

  /* Earth -- Mekong Delta mud & soil */
  --earth-900: #2a1f14;
  --earth-800: #3d2e1e;
  --earth-700: #574430;
  --earth-600: #6e5940;
  --earth-500: #8b7355;
  --earth-400: #a69070;
  --earth-300: #c0ad93;
  --earth-200: #d9ccb8;
  --earth-100: #eee7dc;
  --earth-50:  #f8f5f0;

  /* Harvest cream -- warm paper */
  --cream: #faf8f3;
  --cream-warm: #f5f1e8;
  --cream-deep: #ede8dc;

  /* Signals -- instrument panel colors */
  --safe: #22c55e;
  --safe-glow: rgba(34, 197, 94, 0.35);
  --warn: #eab308;
  --warn-glow: rgba(234, 179, 8, 0.35);
  --danger: #dc2626;
  --danger-glow: rgba(220, 38, 38, 0.35);

  /* Accent tints for monitoring cards */
  --accent-do: #3b82f6;
  --accent-do-bg: rgba(59, 130, 246, 0.08);
  --accent-ph: #22c55e;
  --accent-ph-bg: rgba(34, 197, 94, 0.08);
  --accent-temp: #f97316;
  --accent-temp-bg: rgba(249, 115, 22, 0.08);
  --accent-sal: #14b8a6;
  --accent-sal-bg: rgba(20, 184, 166, 0.08);

  /* Ink */
  --ink: #1c1a16;
  --ink-soft: #3d3a32;
  --ink-muted: #6b665a;
  --ink-faint: #a8a298;

  /* Typography */
  --font-display: 'Libre Bodoni', 'Georgia', serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Menlo', monospace;

  /* Layout */
  --max-w: 1200px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 8px;

  /* Spacing -- more generous */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;
  --space-6xl: 10rem;
}

/* ═══ RESET & BASE ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection {
  background: rgba(42, 102, 82, 0.2);
  color: var(--mekong-900);
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* ═══ GRAIN OVERLAY ═══ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

/* ═══ NAV ═══ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 72px;
  background: rgba(250, 248, 243, 0.88);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.4s ease, background 0.4s ease;
}
.nav.scrolled {
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.06);
  background: rgba(250, 248, 243, 0.95);
}

.nav__inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}

.nav__logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 700;
  color: var(--mekong-800);
  letter-spacing: -0.02em;
}
.nav__logo svg { width: 36px; height: 36px; flex-shrink: 0; }

.nav__links { display: flex; gap: 2rem; }
.nav__links a {
  font-size: 0.78rem; font-weight: 500; color: var(--ink-muted);
  letter-spacing: 0.01em;
  transition: color 0.25s;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; border-radius: 1px;
  background: var(--sunrise-500);
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav__links a:hover { color: var(--mekong-700); }
.nav__links a:hover::after,
.nav__links a.active::after { transform: scaleX(1); }
.nav__links a.active { color: var(--mekong-700); }

.nav__cta {
  font-size: 0.78rem; font-weight: 600;
  padding: 10px 24px;
  background: var(--mekong-700);
  color: white;
  border-radius: 100px;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  border: none;
}
.nav__cta:hover {
  background: var(--mekong-800);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15, 46, 37, 0.25);
}

.nav__toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; color: var(--ink);
  border-radius: 8px;
  transition: background 0.2s;
}
.nav__toggle:hover { background: rgba(0,0,0,0.04); }

.nav__mobile {
  display: none;
  position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(250, 248, 243, 0.98);
  backdrop-filter: blur(20px);
  padding: var(--space-xl) var(--space-lg);
  flex-direction: column; gap: var(--space-md);
  z-index: 99;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-size: 1.1rem; font-weight: 500; color: var(--ink-soft);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: color 0.2s;
}
.nav__mobile a:hover { color: var(--mekong-700); }
.nav__mobile .btn {
  margin-top: var(--space-md);
  text-align: center; justify-content: center;
}

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-weight: 600; font-size: 0.88rem;
  padding: 14px 28px; border-radius: 100px;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  border: 2px solid transparent;
  cursor: pointer;
  position: relative; overflow: hidden;
}

.btn--primary {
  background: var(--sunrise-500);
  color: var(--mekong-900);
  border-color: var(--sunrise-500);
}
.btn--primary:hover {
  background: var(--sunrise-400);
  border-color: var(--sunrise-400);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 149, 46, 0.3);
}

.btn--secondary {
  background: white;
  color: var(--ink);
  border-color: var(--earth-200);
}
.btn--secondary:hover {
  border-color: var(--mekong-400);
  color: var(--mekong-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.btn--ghost {
  background: transparent;
  color: var(--mekong-600);
  border-color: transparent;
  font-weight: 500;
}
.btn--ghost:hover {
  color: var(--sunrise-600);
}

.btn--large { padding: 18px 36px; font-size: 0.95rem; }
.btn--small { padding: 8px 20px; font-size: 0.78rem; }
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ═══ HERO -- Dawn on the Mekong (v3: HYPER vivid) ═══ */
.hero {
  padding: clamp(9rem, 18vw, 14rem) 0 clamp(7rem, 14vw, 11rem);
  position: relative; overflow: hidden;
  background:
    linear-gradient(
      172deg,
      #060f0c 0%,
      #091c16 8%,
      var(--mekong-900) 15%,
      #0e3528 25%,
      #154a36 35%,
      #1f6040 45%,
      #2d7538 52%,
      #4a8a2e 58%,
      #7a9928 64%,
      #b8913a 72%,
      #d49828 78%,
      #e8a020 83%,
      #f0b018 87%,
      #f5c020 91%,
      #f8d030 95%,
      #fce048 100%
    );
  color: white;
}

/* Water shimmer effect on hero */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 140% 60% at 75% 95%, rgba(248, 208, 48, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 100% 50% at 20% 85%, rgba(240, 176, 24, 0.12) 0%, transparent 40%),
    radial-gradient(ellipse 80% 40% at 50% 20%, rgba(255,255,255,0.04) 0%, transparent 50%),
    radial-gradient(ellipse 60% 30% at 70% 10%, rgba(20,100,60,0.15) 0%, transparent 40%);
  pointer-events: none;
}

/* Animated subtle light play */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      rgba(255,255,255,0.01) 1px,
      transparent 2px,
      transparent 80px
    );
  pointer-events: none;
  animation: shimmer 20s linear infinite;
}
@keyframes shimmer {
  0% { transform: translateX(0); }
  100% { transform: translateX(80px); }
}

/* ═══ HERO FLOATING PARTICLES (bubbles rising) ═══ */
.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero__particles span {
  position: absolute;
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  bottom: -10px;
  animation: bubbleRise linear infinite;
}
.hero__particles span:nth-child(1) { left: 8%; width: 3px; height: 3px; animation-duration: 14s; animation-delay: 0s; opacity: 0.4; }
.hero__particles span:nth-child(2) { left: 18%; width: 5px; height: 5px; animation-duration: 11s; animation-delay: 2s; opacity: 0.25; }
.hero__particles span:nth-child(3) { left: 30%; width: 3px; height: 3px; animation-duration: 16s; animation-delay: 4s; opacity: 0.35; }
.hero__particles span:nth-child(4) { left: 42%; width: 6px; height: 6px; animation-duration: 12s; animation-delay: 1s; opacity: 0.2; background: rgba(240, 200, 72, 0.15); }
.hero__particles span:nth-child(5) { left: 55%; width: 4px; height: 4px; animation-duration: 15s; animation-delay: 3s; opacity: 0.3; }
.hero__particles span:nth-child(6) { left: 65%; width: 3px; height: 3px; animation-duration: 13s; animation-delay: 5s; opacity: 0.25; background: rgba(240, 200, 72, 0.12); }
.hero__particles span:nth-child(7) { left: 75%; width: 5px; height: 5px; animation-duration: 17s; animation-delay: 0.5s; opacity: 0.2; }
.hero__particles span:nth-child(8) { left: 85%; width: 4px; height: 4px; animation-duration: 10s; animation-delay: 6s; opacity: 0.35; }
.hero__particles span:nth-child(9) { left: 12%; width: 2px; height: 2px; animation-duration: 18s; animation-delay: 7s; opacity: 0.3; background: rgba(240, 200, 72, 0.1); }
.hero__particles span:nth-child(10) { left: 48%; width: 3px; height: 3px; animation-duration: 14s; animation-delay: 8s; opacity: 0.2; }
.hero__particles span:nth-child(11) { left: 92%; width: 4px; height: 4px; animation-duration: 12s; animation-delay: 3.5s; opacity: 0.25; }
.hero__particles span:nth-child(12) { left: 36%; width: 2px; height: 2px; animation-duration: 19s; animation-delay: 1.5s; opacity: 0.35; background: rgba(240, 200, 72, 0.18); }

@keyframes bubbleRise {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  50% {
    transform: translateY(-50vh) translateX(15px) scale(0.8);
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-110vh) translateX(-10px) scale(0.4);
    opacity: 0;
  }
}

/* ═══ HERO WATER RIPPLE at bottom ═══ */
.hero__ripple {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.hero__ripple svg {
  position: absolute;
  bottom: 0;
  left: -5%;
  width: 110%;
  height: 80px;
}
.hero__ripple .ripple-wave-1 {
  animation: waveUndulate1 6s ease-in-out infinite;
}
.hero__ripple .ripple-wave-2 {
  animation: waveUndulate2 8s ease-in-out infinite;
}
.hero__ripple .ripple-wave-3 {
  animation: waveUndulate3 10s ease-in-out infinite;
}

@keyframes waveUndulate1 {
  0%, 100% { transform: translateX(0) translateY(0); }
  25% { transform: translateX(-8px) translateY(2px); }
  50% { transform: translateX(5px) translateY(-2px); }
  75% { transform: translateX(-3px) translateY(1px); }
}
@keyframes waveUndulate2 {
  0%, 100% { transform: translateX(0) translateY(0); }
  33% { transform: translateX(10px) translateY(-3px); }
  66% { transform: translateX(-6px) translateY(2px); }
}
@keyframes waveUndulate3 {
  0%, 100% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(-12px) translateY(3px); }
}

.hero__inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem; align-items: center;
  position: relative; z-index: 2;
}

.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--sunrise-300);
  background: rgba(232, 180, 76, 0.12);
  border: 1px solid rgba(232, 180, 76, 0.2);
  padding: 7px 18px; border-radius: 100px; margin-bottom: 1.75rem;
}
.hero__badge svg { width: 8px; height: 8px; }

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

/* HERO BRAND -- v3: MUCH bigger */
.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 11vw, 8rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: white;
  margin-bottom: 0.75rem;
  text-shadow:
    0 2px 40px rgba(0,0,0,0.25),
    0 0 120px rgba(248, 208, 48, 0.1);
}
.hero__brand em {
  font-style: italic;
  font-weight: 400;
  color: var(--sunrise-300);
}

/* TAGLINE -- more breathing room */
.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--sunrise-200);
  letter-spacing: -0.01em;
  margin-bottom: 2.25rem;
  line-height: 1.3;
  padding-top: 0.5rem;
}

.hero__subtitle {
  font-size: 1.05rem; font-weight: 300;
  color: rgba(255,255,255,0.8);
  max-width: 480px; margin-bottom: 2.25rem;
  line-height: 1.85;
}

/* Hero stats bar */
.hero__stats {
  display: flex; gap: 2.5rem; margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero__stat-value {
  font-family: var(--font-mono);
  font-size: 1.4rem; font-weight: 600;
  color: var(--sunrise-300);
  line-height: 1;
}
.hero__stat-label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
  letter-spacing: 0.02em;
}

/* ═══ HERO DASHBOARD -- v3: instrument panel with scanline ═══ */
.hero__visual { position: relative; }

.hero__dashboard {
  background: var(--mekong-900);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.35),
    0 8px 24px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 0 60px rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
}

/* Grid background for instrument feel */
.hero__dashboard::before {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.018) 0px, rgba(255,255,255,0.018) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.018) 0px, rgba(255,255,255,0.018) 1px, transparent 1px, transparent 32px);
  pointer-events: none;
  z-index: 0;
}

/* SCANLINE ANIMATION across dashboard */
.hero__dashboard::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 40%,
    rgba(34, 197, 94, 0.04) 45%,
    rgba(34, 197, 94, 0.08) 50%,
    rgba(34, 197, 94, 0.04) 55%,
    transparent 60%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 3;
  animation: scanLine 4s ease-in-out infinite;
}
@keyframes scanLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.dashboard__header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 1;
}
.dashboard__pond {
  display: flex; align-items: center; gap: 10px;
}
.dashboard__status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--safe);
  box-shadow: 0 0 10px var(--safe-glow);
  animation: pulse 2.5s ease-in-out infinite;
}
.dashboard__pond-name {
  font-family: var(--font-mono);
  font-size: 0.72rem; font-weight: 500;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.04em;
}
.dashboard__time {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(255,255,255,0.35);
}

.dashboard__readings {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.04);
  position: relative; z-index: 1;
}

.reading {
  padding: 22px 20px;
  background: var(--mekong-900);
  position: relative;
}

/* v3: bigger bolder monospace numbers */
.reading__label {
  font-family: var(--font-mono);
  font-size: 0.55rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 8px;
}
.reading__value {
  font-family: var(--font-mono);
  font-size: 2.2rem; font-weight: 700;
  line-height: 1;
  color: white;
  letter-spacing: -0.02em;
}
.reading__unit {
  font-size: 0.65rem; font-weight: 400;
  color: rgba(255,255,255,0.4);
  margin-left: 4px;
}

/* Sparkline trend bars next to readings */
.reading__trend {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  margin-left: 10px;
  vertical-align: middle;
  height: 18px;
}
.reading__trend span {
  display: block;
  width: 3px;
  border-radius: 1px;
  background: rgba(34, 197, 94, 0.5);
  transition: height 0.3s ease;
}
.reading__trend--warn span {
  background: rgba(234, 179, 8, 0.5);
}

.reading__bar {
  margin-top: 10px; height: 3px;
  border-radius: 2px; background: rgba(255,255,255,0.06);
  overflow: hidden;
}
.reading__bar-fill {
  height: 100%; border-radius: 2px;
  transition: width 1s ease;
}
.reading__bar-fill.safe { background: var(--safe); box-shadow: 0 0 8px var(--safe-glow); }
.reading__bar-fill.warn { background: var(--warn); box-shadow: 0 0 8px var(--warn-glow); }

.dashboard__footer {
  padding: 14px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 1;
}
.dashboard__alert {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.6rem; font-weight: 500;
  color: var(--safe);
  letter-spacing: 0.02em;
}
.dashboard__alert svg { width: 14px; height: 14px; }
.dashboard__signal {
  display: flex; align-items: flex-end; gap: 2px;
  height: 14px;
}
.dashboard__signal span {
  width: 3px; border-radius: 1px;
  background: rgba(255,255,255,0.2);
}
.dashboard__signal span.active { background: var(--safe); }

/* Floating trust badges */
.hero__trust-badges {
  position: absolute; bottom: -30px; left: -10px; right: -10px;
  display: flex; gap: 10px; justify-content: center;
}
.trust-badge {
  background: white;
  border-radius: var(--radius);
  padding: 12px 18px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.04);
  white-space: nowrap;
}
.trust-badge__icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-badge__icon.solar { background: rgba(232, 149, 46, 0.1); color: var(--sunrise-600); }
.trust-badge__icon.sms { background: rgba(42, 102, 82, 0.1); color: var(--mekong-500); }
.trust-badge__icon svg { width: 18px; height: 18px; }
.trust-badge__text {
  font-size: 0.7rem; font-weight: 600;
  color: var(--ink-soft); line-height: 1.3;
}
.trust-badge__sub {
  font-size: 0.58rem; font-weight: 400;
  color: var(--ink-muted);
}

/* ═══ WAVE DIVIDERS ═══ */
.wave-divider {
  height: 60px; overflow: hidden;
  position: relative;
}
.wave-divider svg {
  width: 100%; height: 100%;
  display: block;
}
.wave-divider--hero-to-body { background: var(--cream); margin-top: -1px; }
.wave-divider--body-to-alt { background: var(--cream-warm); margin-top: -1px; }
.wave-divider--alt-to-body { background: var(--cream); margin-top: -1px; }
.wave-divider--body-to-dark { background: var(--mekong-900); margin-top: -1px; }
.wave-divider--dark-to-footer { background: #071a15; margin-top: -1px; }

/* ═══ SECTIONS -- v3: more generous spacing ═══ */
.section { padding: clamp(6rem, 12vw, 10rem) 0; }
.section--cream { background: var(--cream); }
.section--warm { background: var(--cream-warm); }
.section--dark {
  background: linear-gradient(175deg, var(--mekong-900) 0%, #071a15 100%);
  color: white;
}
.section--dark p { color: rgba(255,255,255,0.65); }
.section--pond {
  background:
    linear-gradient(175deg, var(--cream-warm) 0%, var(--cream-deep) 100%);
}

.section-header { max-width: 620px; margin-bottom: var(--space-4xl); }
.section-header.centered { text-align: center; margin-left: auto; margin-right: auto; }

.label {
  font-family: var(--font-mono);
  font-size: 0.58rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mekong-500);
  margin-bottom: var(--space-md);
  display: block;
}
.section--dark .label { color: var(--sunrise-400); }

/* v3: bolder headings, tighter tracking */
h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700; line-height: 1.05;
  color: var(--mekong-900);
  letter-spacing: -0.035em;
}
.section--dark h2 { color: white; }
.lead {
  font-size: 1rem; color: var(--ink-muted);
  margin-top: var(--space-lg); max-width: 520px;
  line-height: 1.8;
}
h4 { font-family: var(--font-display); }

/* ═══ GRIDS ═══ */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ═══ MONITORING CARDS -- v3: accent tints per card ═══ */
.card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
  position: relative;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.07), 0 4px 16px rgba(0,0,0,0.03);
}

.card__icon {
  width: 56px; height: 56px;
  background: var(--mekong-50);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--mekong-500);
  margin-bottom: 1.25rem;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.card__icon svg { width: 28px; height: 28px; }

/* Accent color tints for each monitoring card */
.card--do .card__icon { background: var(--accent-do-bg); color: var(--accent-do); }
.card--do:hover .card__icon { background: var(--accent-do); color: white; box-shadow: 0 4px 20px rgba(59, 130, 246, 0.25); }
.card--do .card__reading { color: var(--accent-do); background: var(--accent-do-bg); }
.card--do::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent-do); border-radius: var(--radius) var(--radius) 0 0; opacity: 0; transition: opacity 0.3s; }
.card--do:hover::before { opacity: 1; }

.card--ph .card__icon { background: var(--accent-ph-bg); color: var(--accent-ph); }
.card--ph:hover .card__icon { background: var(--accent-ph); color: white; box-shadow: 0 4px 20px rgba(34, 197, 94, 0.25); }
.card--ph .card__reading { color: var(--accent-ph); background: var(--accent-ph-bg); }
.card--ph::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent-ph); border-radius: var(--radius) var(--radius) 0 0; opacity: 0; transition: opacity 0.3s; }
.card--ph:hover::before { opacity: 1; }

.card--temp .card__icon { background: var(--accent-temp-bg); color: var(--accent-temp); }
.card--temp:hover .card__icon { background: var(--accent-temp); color: white; box-shadow: 0 4px 20px rgba(249, 115, 22, 0.25); }
.card--temp .card__reading { color: var(--accent-temp); background: var(--accent-temp-bg); }
.card--temp::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent-temp); border-radius: var(--radius) var(--radius) 0 0; opacity: 0; transition: opacity 0.3s; }
.card--temp:hover::before { opacity: 1; }

.card--sal .card__icon { background: var(--accent-sal-bg); color: var(--accent-sal); }
.card--sal:hover .card__icon { background: var(--accent-sal); color: white; box-shadow: 0 4px 20px rgba(20, 184, 166, 0.25); }
.card--sal .card__reading { color: var(--accent-sal); background: var(--accent-sal-bg); }
.card--sal::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent-sal); border-radius: var(--radius) var(--radius) 0 0; opacity: 0; transition: opacity 0.3s; }
.card--sal:hover::before { opacity: 1; }

/* Fallback for cards without accent class */
.card:hover .card__icon {
  background: var(--mekong-600);
  color: white;
}

.card__title {
  font-size: 1.1rem; font-weight: 600;
  color: var(--mekong-900); margin-bottom: 0.5rem;
}
.card__text {
  font-size: 0.88rem; color: var(--ink-muted); line-height: 1.75;
}

/* Sensor readout style for monitoring cards */
.card__reading {
  font-family: var(--font-mono);
  font-size: 0.65rem; font-weight: 500;
  color: var(--mekong-400);
  background: var(--mekong-50);
  padding: 6px 12px;
  border-radius: 6px;
  margin-top: var(--space-md);
  display: inline-block;
  letter-spacing: 0.03em;
}

/* ═══ STEPS ═══ */
.card--step { text-align: center; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(140deg, var(--sunrise-500) 0%, var(--sunrise-700) 100%);
  color: white;
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 6px 20px rgba(232, 149, 46, 0.3);
}

/* ═══ TRUST STRIP -- v3: premium dark strip with gold ═══ */
.trust-strip {
  display: flex;
  gap: var(--space-2xl);
  justify-content: center;
  flex-wrap: wrap;
  padding: var(--space-xl) var(--space-2xl);
  background: var(--mekong-900);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(240, 176, 72, 0.12);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.trust-item {
  display: flex; align-items: center; gap: 14px;
  font-size: 0.85rem; font-weight: 500;
  color: var(--sunrise-200);
}
.trust-item__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-item__icon svg { width: 24px; height: 24px; }
.trust-item__icon.solar {
  background: rgba(232, 149, 46, 0.15);
  color: var(--sunrise-400);
}
.trust-item__icon.sms {
  background: rgba(42, 102, 82, 0.2);
  color: var(--mekong-300);
}
.trust-item__icon.pilot {
  background: rgba(240, 176, 72, 0.12);
  color: var(--sunrise-400);
}
.trust-item strong {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  font-weight: 400;
  margin-top: 2px;
}

/* ═══ ROI BOX -- v3: dramatically bigger loss number with shake/pulse ═══ */
.roi-box {
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(220, 38, 38, 0.08) 0%, transparent 50%),
    linear-gradient(165deg, var(--mekong-900) 0%, #071a15 60%, #0a0f0d 100%);
  border-radius: var(--radius-lg);
  padding: clamp(3.5rem, 7vw, 5rem);
  color: white;
  max-width: 800px; margin: 0 auto;
  border: 1px solid rgba(232, 149, 46, 0.1);
  box-shadow:
    0 32px 80px rgba(11, 31, 26, 0.4),
    0 8px 24px rgba(0,0,0,0.15),
    inset 0 1px 0 rgba(255,255,255,0.04);
  position: relative; overflow: hidden;
}
.roi-box::before {
  content: '';
  position: absolute; top: 0; left: 50%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.1) 0%, transparent 60%);
  transform: translateX(-50%) translateY(-50%);
  pointer-events: none;
}

.roi-box__vs {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 2.5rem; align-items: center;
  position: relative;
}
.roi-box__item { text-align: center; }

.roi-box__amount {
  font-family: var(--font-display);
  font-weight: 700; line-height: 1;
}
.roi-box__amount--bad {
  font-size: clamp(3rem, 7vw, 4.5rem);
  color: #ef4444;
  text-shadow:
    0 0 30px rgba(239, 68, 68, 0.5),
    0 0 60px rgba(239, 68, 68, 0.25),
    0 0 100px rgba(239, 68, 68, 0.15);
  animation: lossPulse 3s ease-in-out infinite;
}
@keyframes lossPulse {
  0%, 100% {
    text-shadow:
      0 0 30px rgba(239, 68, 68, 0.5),
      0 0 60px rgba(239, 68, 68, 0.25),
      0 0 100px rgba(239, 68, 68, 0.15);
    transform: scale(1);
  }
  15% {
    transform: translateX(-2px) scale(1.01);
  }
  30% {
    transform: translateX(2px) scale(1.01);
  }
  45% {
    transform: translateX(-1px) scale(1);
  }
  50% {
    text-shadow:
      0 0 50px rgba(239, 68, 68, 0.7),
      0 0 80px rgba(239, 68, 68, 0.4),
      0 0 120px rgba(239, 68, 68, 0.2);
    transform: scale(1.02);
  }
  65% {
    transform: translateX(1px) scale(1.01);
  }
  80% {
    transform: translateX(-1px) scale(1);
  }
}

.roi-box__amount--good {
  font-size: clamp(2.5rem, 5.5vw, 3.8rem);
  color: var(--sunrise-400);
  text-shadow: 0 0 40px rgba(240, 176, 72, 0.4), 0 0 80px rgba(240, 176, 72, 0.15);
}
.roi-box__desc {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.roi-box__divider {
  width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem; font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
}
.roi-box__footer {
  text-align: center;
  font-size: 0.95rem; color: rgba(255,255,255,0.6);
  padding-top: var(--space-2xl);
  margin-top: var(--space-2xl);
  border-top: 1px solid rgba(255,255,255,0.06);
  line-height: 1.7;
}
.roi-box__footer strong {
  color: var(--sunrise-400);
  font-weight: 600;
}

/* ═══ TESTIMONIAL ═══ */
.testimonial {
  background: white;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 3.5rem);
  max-width: 640px; margin: 0 auto;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 8px 40px rgba(0,0,0,0.04);
  position: relative;
}
.testimonial::before {
  content: '\201C';
  position: absolute; top: 20px; left: 28px;
  font-family: var(--font-display);
  font-size: 4rem; line-height: 1;
  color: var(--sunrise-200);
  opacity: 0.5;
}
.testimonial__text {
  font-family: var(--font-display);
  font-size: 1.15rem; font-style: italic;
  color: var(--ink-soft); line-height: 1.7;
  margin-bottom: 2rem;
}
.testimonial__author {
  display: flex; align-items: center; gap: 14px;
  justify-content: center;
}
.testimonial__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--mekong-600), var(--mekong-400));
  color: white;
  font-family: var(--font-mono);
  font-size: 0.7rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.testimonial__name {
  font-weight: 600; font-size: 0.88rem;
  color: var(--ink);
}
.testimonial__role {
  font-size: 0.72rem;
  color: var(--ink-muted);
}

/* ═══ PRICING CARD ═══ */
.pricing-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
  max-width: 480px; margin: 0 auto;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 8px 40px rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}
.pricing-card--featured {
  border-color: var(--sunrise-500);
  box-shadow: 0 12px 48px rgba(232, 149, 46, 0.12), 0 4px 16px rgba(0,0,0,0.04);
}
.pricing-card--featured::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sunrise-600), var(--sunrise-400), var(--sunrise-600));
}

.pricing-card__name {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 600;
  color: var(--mekong-900);
}
.pricing-card__desc {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-top: 0.5rem;
}
.pricing-card__price {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--mekong-800);
  line-height: 1;
  margin: var(--space-xl) 0;
}
.pricing-card__price span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-muted);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.pricing-card__features {
  text-align: left;
  padding-top: var(--space-xl);
  margin-bottom: var(--space-xl);
  border-top: 1px solid rgba(0,0,0,0.06);
}
.pricing-card__features li {
  padding: 0.6rem 0;
  font-size: 0.88rem; color: var(--ink-soft);
  display: flex; align-items: center; gap: 12px;
}
.pricing-card__features svg {
  width: 18px; height: 18px;
  color: var(--safe);
  flex-shrink: 0;
}

/* ═══ CTA SECTION ═══ */
.section--cta {
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(232, 149, 46, 0.05) 0%, transparent 50%),
    linear-gradient(175deg, var(--mekong-900) 0%, #071a15 100%);
  color: white;
  text-align: center;
  padding: clamp(6rem, 12vw, 10rem) 0;
  position: relative;
}
.section--cta h2 { color: white; }
.section--cta .lead {
  color: rgba(255,255,255,0.6);
  margin: var(--space-lg) auto var(--space-2xl);
  max-width: 540px;
}
.section--cta .btn-group { justify-content: center; }

/* WhatsApp button in CTA */
.btn--whatsapp {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
}
.btn--whatsapp:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ═══ FOOTER ═══ */
.footer {
  background: linear-gradient(175deg, #071a15 0%, #040e0b 100%);
  color: rgba(255,255,255,0.5);
  padding: var(--space-4xl) 0 var(--space-xl);
  position: relative;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: var(--space-3xl);
}

.footer__brand { }
.footer__logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700;
  color: white; margin-bottom: var(--space-md);
}
.footer__logo svg { width: 32px; height: 32px; }
.footer__desc {
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.4);
  max-width: 300px;
}

.footer__heading {
  font-family: var(--font-mono);
  font-size: 0.55rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sunrise-400);
  margin-bottom: 1.25rem;
}
.footer__links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.25s;
}
.footer__links a:hover { color: white; }

.footer__bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.25);
}
.footer__seraphim { }

/* ═══ WHATSAPP FLOAT -- v3: pulse glow animation ═══ */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 90;
  display: flex; align-items: center; gap: 10px;
  background: #25d366;
  color: white;
  padding: 16px 24px;
  border-radius: 100px;
  font-size: 0.88rem; font-weight: 600;
  box-shadow:
    0 6px 24px rgba(37, 211, 102, 0.35),
    0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  animation: whatsappPulse 3s ease-in-out infinite;
}
@keyframes whatsappPulse {
  0%, 100% {
    box-shadow:
      0 6px 24px rgba(37, 211, 102, 0.35),
      0 2px 8px rgba(0,0,0,0.1),
      0 0 0 0 rgba(37, 211, 102, 0);
  }
  50% {
    box-shadow:
      0 6px 24px rgba(37, 211, 102, 0.5),
      0 2px 8px rgba(0,0,0,0.1),
      0 0 0 12px rgba(37, 211, 102, 0);
  }
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 12px 36px rgba(37, 211, 102, 0.4),
    0 4px 12px rgba(0,0,0,0.15);
  animation: none;
}
.whatsapp-float svg { width: 24px; height: 24px; }
.whatsapp-float__text { letter-spacing: 0.01em; }

/* ═══ SCROLL REVEAL ═══ */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* ═══ UTILITIES ═══ */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 2.5rem; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; margin: 3rem auto 0; }
  .hero__trust-badges { position: relative; bottom: auto; left: auto; right: auto; margin-top: var(--space-xl); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero__brand { font-size: clamp(3.5rem, 9vw, 6rem); }
}

@media (max-width: 768px) {
  html { font-size: 16px; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .hero { padding-bottom: clamp(6rem, 10vw, 8rem); }
  .hero__stats { flex-direction: column; gap: 1.25rem; }
  .hero__trust-badges { flex-direction: column; align-items: center; }
  .roi-box__vs { grid-template-columns: 1fr; gap: 1.5rem; }
  .roi-box__divider { margin: 0 auto; }
  .footer__grid { grid-template-columns: 1fr; }
  .trust-strip { gap: var(--space-lg); padding: var(--space-lg) var(--space-md); }
  .trust-item { flex: 1 1 250px; }
  .whatsapp-float { padding: 14px 18px; }
  .whatsapp-float__text { display: none; }
  .dashboard__readings { grid-template-columns: 1fr; }
  .hero__brand { font-size: clamp(3rem, 12vw, 5rem); }
  .section { padding: clamp(4rem, 8vw, 6rem) 0; }
  .reading__value { font-size: 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .dashboard__status-dot { animation: none; }
  .hero::after { animation: none; }
  .hero__dashboard::after { animation: none; }
  .hero__particles span { animation: none; }
  .hero__ripple svg * { animation: none; }
  .roi-box__amount--bad { animation: none; }
  .whatsapp-float { animation: none; }
}
