/* ============================================================
   Guru – Frutiger Aero landing
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --sky-top: #9cd9ff;
  --sky-mid: #5fb8f0;
  --sky-low: #bde7ff;
  --aqua: #4fd8e8;
  --aqua-deep: #1eaecb;
  --lime: #b5e84a;
  --lime-deep: #7cbd1f;
  --ink: #0b3554;
  --ink-soft: #2a5a80;
  --white: #ffffff;
  --glass-bg: rgba(255,255,255,0.38);
  --glass-stroke: rgba(255,255,255,0.7);
  --glass-shadow: 0 20px 60px -20px rgba(10, 60, 120, 0.45), 0 2px 0 rgba(255,255,255,0.8) inset, 0 -30px 60px -30px rgba(30, 174, 203, 0.35) inset;
}

body {
  font-family: 'Nunito', 'Segoe UI', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: transparent;
  overflow-x: clip;
  min-height: 100vh;
}

h1, h2, h3, h4, .display {
  font-family: 'Quicksand', 'Nunito', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(44px, 6vw, 86px); line-height: 1.02; letter-spacing: -0.03em; }
h2 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.05; letter-spacing: -0.02em; }
h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: 0; background: none; cursor: pointer; color: inherit; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

/* ============================================================
   Glass – the whole system
   ============================================================ */

.glass {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.58) 0%, rgba(255,255,255,0.28) 50%, rgba(255,255,255,0.42) 100%);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 22px;
  box-shadow:
    0 30px 80px -30px rgba(10, 60, 120, 0.5),
    0 2px 0 rgba(255,255,255,0.9) inset,
    0 -40px 80px -40px rgba(30, 174, 203, 0.35) inset,
    0 0 0 1px rgba(10, 60, 120, 0.08);
  overflow: hidden;
}
.glass::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 60% at 20% -10%, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 50%),
    radial-gradient(80% 40% at 90% 110%, rgba(180, 232, 255, 0.6) 0%, rgba(255,255,255,0) 60%);
  pointer-events: none;
  mix-blend-mode: screen;
}
.glass::after {
  content: "";
  position: absolute; top: 0; left: -40%; width: 40%; height: 100%;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.55) 50%, transparent 100%);
  transform: skewX(-15deg);
  pointer-events: none;
  animation: shimmer 9s ease-in-out infinite;
  opacity: 0;
}
.glass.shimmer-soft::after { opacity: 1; animation-duration: 14s; }
@keyframes shimmer {
  0%, 60% { left: -40%; opacity: 0; }
  70% { opacity: 0.9; }
  100% { left: 120%; opacity: 0; }
}

.glass-card {
  padding: 28px;
  border-radius: 24px;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
}
.glass-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 40px 100px -30px rgba(10, 60, 120, 0.55),
    0 2px 0 rgba(255,255,255,0.95) inset,
    0 -40px 80px -40px rgba(30, 174, 203, 0.45) inset,
    0 0 0 1px rgba(10, 60, 120, 0.1);
}

.orb {
  border-radius: 999px;
  background:
    radial-gradient(60% 50% at 35% 30%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 60%),
    radial-gradient(circle at 70% 75%, rgba(30, 174, 203, 0.4) 0%, rgba(30, 174, 203, 0) 60%),
    radial-gradient(circle at 50% 50%, rgba(180, 232, 255, 0.8) 0%, rgba(120, 200, 255, 0.4) 60%, rgba(80, 160, 220, 0.2) 100%);
  box-shadow:
    0 20px 60px -15px rgba(10, 60, 120, 0.35),
    inset 0 -20px 40px rgba(10, 60, 120, 0.2),
    inset 0 10px 30px rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.6);
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  position: relative;
  transition: transform .15s ease, box-shadow .2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  color: #0a3d20;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 55%),
    linear-gradient(180deg, #d1f375 0%, #9bdc2e 50%, #78b912 100%);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow:
    0 2px 0 rgba(255,255,255,0.9) inset,
    0 -12px 24px -8px rgba(50, 100, 10, 0.4) inset,
    0 14px 32px -8px rgba(120, 185, 18, 0.55),
    0 0 0 1px rgba(80, 130, 20, 0.35);
  animation: breathe 3.6s ease-in-out infinite;
}
.btn-primary:hover {
  box-shadow:
    0 2px 0 rgba(255,255,255,1) inset,
    0 -12px 24px -8px rgba(50, 100, 10, 0.4) inset,
    0 18px 42px -8px rgba(120, 185, 18, 0.7),
    0 0 0 1px rgba(80, 130, 20, 0.4),
    0 0 40px rgba(181, 232, 74, 0.7);
}
@keyframes breathe {
  0%, 100% { box-shadow: 0 2px 0 rgba(255,255,255,0.9) inset, 0 -12px 24px -8px rgba(50, 100, 10, 0.4) inset, 0 14px 32px -8px rgba(120, 185, 18, 0.55), 0 0 0 1px rgba(80, 130, 20, 0.35), 0 0 0 rgba(181, 232, 74, 0); }
  50%      { box-shadow: 0 2px 0 rgba(255,255,255,0.9) inset, 0 -12px 24px -8px rgba(50, 100, 10, 0.4) inset, 0 14px 32px -8px rgba(120, 185, 18, 0.55), 0 0 0 1px rgba(80, 130, 20, 0.35), 0 0 32px rgba(181, 232, 74, 0.55); }
}

.btn-glass {
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.35) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow:
    0 2px 0 rgba(255,255,255,0.9) inset,
    0 -8px 16px -8px rgba(10, 60, 120, 0.2) inset,
    0 10px 24px -10px rgba(10, 60, 120, 0.35);
}
.btn-glass:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.45) 100%);
}

.btn-aqua {
  color: white;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 55%),
    linear-gradient(180deg, #6ee6f3 0%, #2cc5db 55%, #0f9cb5 100%);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow:
    0 2px 0 rgba(255,255,255,0.8) inset,
    0 -12px 24px -8px rgba(10, 80, 100, 0.45) inset,
    0 14px 32px -8px rgba(44, 197, 219, 0.5);
  text-shadow: 0 1px 1px rgba(0, 70, 90, 0.3);
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  min-height: auto;
  padding: 120px 0 0;
  overflow: hidden;
  isolation: isolate;
}

.sky {
  position: absolute; inset: -10% -10% -10% -10%;
  z-index: -3;
  background:
    radial-gradient(80% 50% at 80% 15%, rgba(255, 240, 200, 0.55) 0%, rgba(255, 240, 200, 0) 60%),
    linear-gradient(180deg, #5fb8f0 0%, #8dceff 40%, #c8e9ff 70%, #e5f5dc 92%, #c5e487 100%);
}
.sky::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.18) 45%, transparent 60%),
    linear-gradient(100deg, transparent 50%, rgba(255, 240, 200, 0.15) 70%, transparent 85%);
  animation: rays 22s linear infinite;
  mix-blend-mode: screen;
}
@keyframes rays {
  0% { transform: translateX(-10%); }
  100% { transform: translateX(10%); }
}

.clouds { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.cloud {
  position: absolute;
  filter: drop-shadow(0 10px 24px rgba(255,255,255,0.3));
  will-change: transform;
}

.hero-bubbles, .section-bubbles {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}

.bokeh {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40px 40px at 12% 30%, rgba(255,255,255,0.6), transparent 70%),
    radial-gradient(60px 60px at 82% 22%, rgba(255,255,255,0.4), transparent 70%),
    radial-gradient(30px 30px at 35% 70%, rgba(180, 232, 255, 0.55), transparent 70%),
    radial-gradient(50px 50px at 70% 80%, rgba(255, 240, 200, 0.4), transparent 70%);
  filter: blur(6px);
  animation: bokehDrift 40s ease-in-out infinite alternate;
}
@keyframes bokehDrift {
  from { transform: translate(0,0); }
  to   { transform: translate(-20px, 10px); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(255,255,255,0.35));
  border: 1px solid rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px -8px rgba(10, 60, 120, 0.3), inset 0 1px 0 white;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.eyebrow .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff 0%, #b5e84a 50%, #78b912 100%);
  box-shadow: 0 0 10px #b5e84a, inset 0 -2px 3px rgba(0,0,0,0.2);
}

.hero h1 {
  margin-top: 22px;
  color: #08304f;
  text-shadow: 0 2px 0 rgba(255,255,255,0.65), 0 20px 60px rgba(10, 60, 120, 0.15);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(180deg, #9bdc2e 0%, #5ba60f 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,0.6));
}
.hero .lede {
  margin-top: 22px;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: #0e4467;
  max-width: 560px;
}
.hero-ctas { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-trust { margin-top: 26px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; color: #0e4467; font-size: 14px; }
.avatars { display: flex; }
.avatars span {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid white; margin-left: -8px;
  background: linear-gradient(135deg, #9bdc2e, #2cc5db);
  box-shadow: 0 2px 6px rgba(10,60,120,0.3);
}
.avatars span:nth-child(2) { background: linear-gradient(135deg, #6ee6f3, #0a6ac8); }
.avatars span:nth-child(3) { background: linear-gradient(135deg, #ffdca8, #ff9e60); }
.avatars span:nth-child(4) { background: linear-gradient(135deg, #c8a8ff, #6ee6f3); }

.hero-art { position: relative; }

/* Site logo — fixed top-left, outside the nav pill */
.site-logo-fixed {
  position: fixed; top: 20px; left: 28px;
  z-index: 100;
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 22px; color: var(--ink);
  padding: 9px 18px 9px 9px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.45));
  backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 12px 36px -12px rgba(10,60,120,0.3), inset 0 1px 0 white;
  white-space: nowrap;
  pointer-events: auto;
}
.site-logo-fixed img { width: 36px; height: 36px; display: block; }
.site-logo-fixed:hover { color: var(--aqua-deep); }

/* Top nav — pill with links + CTAs only */
.nav {
  position: fixed; top: 20px; left: 0; right: 0;
  z-index: 50;
  display: flex; justify-content: center;
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  display: flex; align-items: center; gap: 32px;
  padding: 13px 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.75), rgba(255,255,255,0.35));
  backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: 0 14px 40px -14px rgba(10, 60, 120, 0.35), inset 0 1px 0 white;
}
.nav a { font-weight: 600; color: var(--ink); font-size: 15.5px; white-space: nowrap; }
.nav ul li { white-space: nowrap; }
.nav a:hover { color: var(--aqua-deep); }
/* legacy logo inside nav — hidden now that site-logo-fixed is used */
.nav .logo { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; align-items: center; }

/* ============================================================
   Features mega-dropdown
   ============================================================ */
.has-dropdown { position: relative; }
.has-dropdown > a {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
}
.nav-chevron {
  width: 11px; height: 11px;
  flex-shrink: 0; opacity: 0.5;
  transition: transform 0.18s ease, opacity 0.18s;
  display: block;
}
.has-dropdown:hover > a .nav-chevron,
.has-dropdown:focus-within > a .nav-chevron {
  transform: rotate(180deg); opacity: 0.9;
}
/* The panel — JS (nav.js) hoists this to <body> and handles show/hide */
.nav-megadrop {
  position: fixed;
  top: 72px;
  left: 0;
  width: 780px;
  background: linear-gradient(160deg, rgba(255,255,255,0.97) 0%, rgba(236,248,255,0.95) 100%);
  backdrop-filter: blur(28px) saturate(1.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
  border: 1px solid rgba(255,255,255,0.92);
  border-radius: 26px;
  box-shadow:
    0 40px 100px -30px rgba(10,60,120,0.42),
    0 2px 0 rgba(255,255,255,0.95) inset,
    0 0 0 1px rgba(10,60,120,0.06);
  padding: 22px 22px 16px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.2s cubic-bezier(.2,.8,.2,1);
  z-index: 1000;
}

/* 4-column grid */
.md-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.md-col {
  display: block;
  padding: 14px 14px 16px;
  border-radius: 18px;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid transparent;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s;
}
.md-col:hover {
  background: linear-gradient(155deg, rgba(255,255,255,0.92), rgba(230,245,255,0.75));
  border-color: rgba(255,255,255,0.95);
  box-shadow: 0 8px 28px -10px rgba(10,60,120,0.2), inset 0 1px 0 white;
  transform: translateY(-2px);
  color: var(--ink);
}
.md-icon {
  width: 42px; height: 42px;
  border-radius: 13px;
  display: grid; place-items: center;
  margin-bottom: 13px;
  flex-shrink: 0;
  box-shadow: 0 6px 16px -4px rgba(10,60,120,0.22), inset 0 1px 0 rgba(255,255,255,0.45);
}
.md-eyebrow {
  font-size: 10.5px;
  font-weight: 800;
  font-family: 'Quicksand', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 5px;
}
.md-title {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink);
  margin-bottom: 7px;
  line-height: 1.25;
}
.md-desc {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 13px;
}
.md-links { display: flex; flex-direction: column; gap: 2px; }
.md-link {
  font-size: 12px;
  color: var(--ink-soft);
  display: flex; align-items: center; gap: 5px;
  padding: 3px 0;
}
.md-link-arr { font-size: 9px; opacity: 0.4; flex-shrink: 0; }

/* Footer strip */
.md-footer {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(10,60,120,0.07);
  padding: 13px 4px 2px;
}
.md-footer-text { font-size: 12.5px; color: var(--ink-soft); }
.md-footer-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700;
  color: var(--aqua-deep);
  text-decoration: none;
  padding: 6px 16px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(110,230,243,0.18), rgba(30,174,203,0.1));
  border: 1px solid rgba(30,174,203,0.22);
  transition: background 0.15s, box-shadow 0.15s;
}
.md-footer-cta:hover {
  background: linear-gradient(180deg, rgba(110,230,243,0.3), rgba(30,174,203,0.18));
  box-shadow: 0 4px 14px -4px rgba(30,174,203,0.3);
  color: var(--aqua-deep);
}

@media (max-width: 900px) { .nav-megadrop { display: none; } }

/* ============================================================
   Section layout
   ============================================================ */

section { position: relative; padding: 120px 0; }
#problem { padding-top: 0; }

.section-head { max-width: 780px; margin: 0 auto 60px; text-align: center; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head p { margin-top: 18px; font-size: 18px; color: var(--ink-soft); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* Problem */
.problem {
  background: transparent;
}
.problem-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 40px;
}
.problem-card {
  padding: 28px;
  border-radius: 22px;
}
.problem-card .num {
  display: inline-block; font-family: 'Quicksand', sans-serif;
  font-size: 14px; font-weight: 700; color: var(--aqua-deep);
  padding: 4px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.8);
  margin-bottom: 14px;
}
.problem-card h3 { margin-bottom: 10px; color: #0a3554; }
.problem-card p { color: var(--ink-soft); font-size: 15px; }

/* Alternative / comparison */
.compare-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 50px; }
.compare-col { padding: 32px; border-radius: 24px; }
.compare-col.neg { background: linear-gradient(180deg, rgba(240,240,240,0.5), rgba(220,220,220,0.3)); border: 1px solid rgba(180, 180, 180, 0.6); filter: saturate(0.4); }
.compare-col.neg::after, .compare-col.neg::before { display: none; }
.compare-col .label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px; color: var(--ink-soft); }
.compare-col.neg .label { color: #888; }
.compare-col h3 { font-size: 26px; margin-bottom: 20px; }
.compare-col ul { list-style: none; margin: 0; padding: 0; }
.compare-col li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid rgba(10, 60, 120, 0.08); font-size: 15px; }
.compare-col.neg li { border-top-color: rgba(120,120,120,0.2); color: #666; }
.compare-col li:first-child { border-top: 0; }
.compare-col li .icon { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; margin-top: 2px; }
.compare-col li .icon.check { background: linear-gradient(180deg, #d1f375, #7cbd1f); color: white; box-shadow: 0 4px 10px rgba(120, 185, 18, 0.4), inset 0 1px 0 white; }
.compare-col li .icon.x { background: linear-gradient(180deg, #e9e9e9, #bdbdbd); color: #666; }
.compare-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 18px; }
.compare-price .amt { font-family: 'Quicksand'; font-weight: 700; font-size: 42px; color: var(--ink); }
.compare-col.neg .compare-price .amt { color: #7a7a7a; }
.compare-price .per { font-size: 14px; color: var(--ink-soft); }

/* Features */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  margin: 80px 0;
}
.feature-row.flip { grid-template-columns: 1.2fr 1fr; }
.feature-row.flip .feature-copy { order: 2; }
.feature-row.flip .feature-screen { order: 1; }
.feature-copy .tag {
  display: inline-flex; gap: 8px; align-items: center;
  padding: 6px 14px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(255,255,255,0.4));
  border: 1px solid rgba(255,255,255,0.8);
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--aqua-deep);
  box-shadow: 0 4px 12px -4px rgba(10,60,120,0.2), inset 0 1px 0 white;
  margin-bottom: 18px;
}
.feature-copy h2 { margin-bottom: 18px; }
.feature-copy p { color: var(--ink-soft); font-size: 17px; margin-bottom: 18px; }
.feature-copy ul { list-style: none; padding: 0; margin: 0; }
.feature-copy li { padding: 8px 0; padding-left: 28px; position: relative; color: var(--ink); font-size: 15px; }
.feature-copy li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff 0%, #b5e84a 50%, #7cbd1f 100%);
  box-shadow: 0 2px 6px rgba(120,185,18,0.4);
}

.feature-screen {
  position: relative;
  padding: 14px;
  border-radius: 26px;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.feature-row.flip .feature-screen { transform: perspective(1200px) rotateY(4deg) rotateX(2deg); }
.feature-row:hover .feature-screen { transform: perspective(1200px) rotateY(0deg) rotateX(0deg); }

/* Product UI mock style — light theme to match brand */
.app {
  background: linear-gradient(180deg, #fafdff, #f0f5fb);
  color: #0b1f33;
  border-radius: 14px;
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 13px;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(10,60,120,0.18), 0 1px 0 rgba(255,255,255,0.9) inset;
  border: 1px solid rgba(200,215,235,0.7);
}
.app .titlebar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.97), rgba(248,252,255,0.92));
  border-bottom: 1px solid rgba(200,215,235,0.5);
}
.app .titlebar .dots { display: flex; gap: 6px; }
.app .titlebar .dots span { width: 10px; height: 10px; border-radius: 999px; background: #d8e2ef; }
.app .titlebar .dots span:nth-child(1) { background: #ff6b6b; }
.app .titlebar .dots span:nth-child(2) { background: #ffb347; }
.app .titlebar .dots span:nth-child(3) { background: #6bd188; }
.app .titlebar .crumb { color: #5b6a82; font-size: 12px; margin-left: 8px; }
.app .titlebar .right { margin-left: auto; color: #5b6a82; font-size: 12px; }
.app .body { display: grid; grid-template-columns: 190px 1fr; min-height: 360px; }
.app .sidebar { background: linear-gradient(180deg, #edf4ff, #e4edfb); border-right: 1px solid rgba(200,215,235,0.5); padding: 14px 10px; }
.app .sidebar .group { color: #5b6a82; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; padding: 10px 10px 6px; opacity: 0.8; }
.app .sidebar a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: #5b6a82; font-size: 13px; cursor: default; }
.app .sidebar a .i { width: 14px; height: 14px; border-radius: 4px; background: rgba(10,60,120,0.1); }
.app .sidebar a.active { background: rgba(255,255,255,0.85); color: #0b1f33; box-shadow: 0 2px 8px -4px rgba(10,60,120,0.14); border: 1px solid rgba(200,215,235,0.6); }
.app .sidebar a.active .i { background: linear-gradient(135deg, #6ee6f3, #b5e84a); }
.app .content { padding: 18px 20px; background: rgba(255,255,255,0.4); }
.app h4.title { font-family: inherit; font-weight: 700; color: #0b1f33; font-size: 16px; margin: 0 0 4px; letter-spacing: -0.01em; }
.app .sub { color: #5b6a82; font-size: 12px; margin-bottom: 16px; }
.app .kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.app .kpi { padding: 12px; background: rgba(255,255,255,0.9); border: 1px solid rgba(200,215,235,0.55); border-radius: 10px; box-shadow: 0 2px 6px -3px rgba(10,60,120,0.1); }
.app .kpi .k { font-size: 11px; color: #5b6a82; margin-bottom: 6px; }
.app .kpi .v { font-size: 18px; font-weight: 700; color: #0b1f33; letter-spacing: -0.01em; }
.app .kpi .d { font-size: 11px; color: #4a8e1c; font-weight: 600; }
.app .kpi .d.down { color: #c04a1a; }
.app table.t { width: 100%; border-collapse: collapse; }
.app table.t th { text-align: left; font-weight: 600; color: #5b6a82; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; padding: 8px 10px; border-bottom: 1px solid rgba(200,215,235,0.5); }
.app table.t td { padding: 10px; border-bottom: 1px solid rgba(200,215,235,0.25); font-size: 13px; color: #0b1f33; }
.app .pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.app .pill.ok { background: #e3f8e0; color: #3a7a1a; }
.app .pill.warn { background: #fff0d6; color: #a05a0a; }
.app .pill.info { background: #dff1ff; color: #0a6ac8; }
.app .pill.muted { background: #eef3f9; color: #4a5a72; }

.app .avt { width: 22px; height: 22px; border-radius: 50%; display: inline-block; vertical-align: middle; background: linear-gradient(135deg, #6ee6f3, #b5e84a); margin-right: 8px; }
.app .avt.b { background: linear-gradient(135deg, #c8a8ff, #6ee6f3); }
.app .avt.c { background: linear-gradient(135deg, #ffdca8, #ff9e60); }

/* AI search section */
.ai-engines {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  margin-top: 40px;
}
.engine-card {
  padding: 22px 18px;
  border-radius: 22px;
  text-align: center;
  position: relative;
}
.engine-logo {
  width: 56px; height: 56px; margin: 0 auto 12px;
  border-radius: 16px;
  display: grid; place-items: center;
  font-family: 'Quicksand'; font-weight: 700; font-size: 22px;
  color: white;
  box-shadow: 0 10px 24px -8px rgba(10,60,120,0.3), inset 0 1px 0 rgba(255,255,255,0.6);
}
.engine-card .name { font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 6px; }
.engine-card .mentions { font-family: 'Quicksand'; font-weight: 700; font-size: 28px; color: var(--ink); letter-spacing: -0.02em; }
.engine-card .delta { font-size: 12px; color: #4a8e1c; font-weight: 700; }

/* Deliverable tracker */
.tracker-card { padding: 40px; border-radius: 26px; }
.tracker-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 28px; flex-wrap: wrap; gap: 20px; }
.tracker-head .label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); font-weight: 700; }
.tracker-head h3 { font-size: 28px; margin-top: 4px; }
.tracker-head .month { font-family: 'Quicksand'; font-weight: 700; color: var(--aqua-deep); font-size: 14px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.8); }
.bars { display: grid; gap: 18px; }
.bar-row { display: grid; grid-template-columns: 190px 1fr 80px; gap: 18px; align-items: center; }
.bar-row .n { font-weight: 600; font-size: 15px; color: var(--ink); }
.bar-track { position: relative; height: 22px; border-radius: 999px;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: inset 0 2px 6px rgba(10,60,120,0.15), inset 0 -1px 0 rgba(255,255,255,0.7);
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 55%),
    linear-gradient(180deg, #cff37a 0%, #9bdc2e 45%, #5ba60f 100%);
  border-radius: 999px;
  border-right: 1px solid rgba(80,130,20,0.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 0 20px rgba(181,232,74,0.35);
  width: 0%;
  transition: width 1.6s cubic-bezier(.2,.8,.2,1);
  position: relative;
}
.bar-fill.aqua {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 55%),
    linear-gradient(180deg, #9deefa 0%, #2cc5db 45%, #0d8aa0 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 0 20px rgba(44,197,219,0.35);
}
.bar-row .v { font-family: 'Quicksand'; font-weight: 700; color: var(--ink); font-size: 15px; min-width: 70px; text-align: right; }

/* Agency callout */
.agency {
  position: relative;
}
.agency-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
  border-radius: 28px;
}
.agency-copy .tag { display: inline-block; padding: 6px 14px; border-radius: 999px; background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(255,255,255,0.4)); border: 1px solid rgba(255,255,255,0.8); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--aqua-deep); margin-bottom: 16px; }
.agency-copy h2 { margin-bottom: 14px; }
.agency-copy p { color: var(--ink-soft); font-size: 16px; margin-bottom: 24px; }

.portal {
  border-radius: 18px;
  background: white;
  overflow: hidden;
  border: 1px solid #e6ebf3;
  box-shadow: 0 20px 50px -20px rgba(10,60,120,0.3);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
}
.portal .ptop { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #eef2f7; }
.portal .ptop .pl { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, #5ba60f, #2cc5db); }
.portal .ptop .pn { font-weight: 700; font-size: 14px; color: #0b3554; }
.portal .ptop .pc { margin-left: auto; color: #7985a0; font-size: 11px; }
.portal .pbody { padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.portal .pcell { padding: 14px; border-radius: 10px; background: linear-gradient(180deg, #fafcff, #f0f4fb); border: 1px solid #e6ebf3; }
.portal .pcell .pk { font-size: 10px; color: #7985a0; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.portal .pcell .pv { font-weight: 700; font-size: 18px; color: #0b3554; letter-spacing: -0.01em; }
.portal .pcell .pd { font-size: 11px; color: #5ba60f; margin-top: 2px; }

/* Final CTA */
.final-cta { text-align: center; padding: 150px 0 120px; position: relative; }
.final-cta h2 { margin-bottom: 20px; }
.final-cta p { max-width: 600px; margin: 0 auto 36px; font-size: 18px; color: var(--ink-soft); }
.big-cta-btn {
  font-size: 20px; padding: 20px 40px;
}
.big-orb-1, .big-orb-2, .big-orb-3 { position: absolute; pointer-events: none; filter: blur(1px); opacity: 0.85; }
.big-orb-1 { width: 240px; height: 240px; left: 6%; top: 15%; }
.big-orb-2 { width: 160px; height: 160px; right: 8%; top: 30%; }
.big-orb-3 { width: 100px; height: 100px; right: 20%; bottom: 16%; }

/* Footer */
footer {
  padding: 50px 0 40px;
  background: transparent;
}
.foot { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: start; }
.foot .col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); margin-bottom: 12px; font-weight: 700; }
.foot .col a { display: block; padding: 4px 0; font-size: 14px; color: var(--ink); }
.foot .col a:hover { color: var(--aqua-deep); }
.foot-bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(10,60,120,0.08); display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-soft); }

/* Bubbles */
.bubble {
  position: absolute;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 40%),
    radial-gradient(circle at 70% 75%, rgba(140, 210, 255, 0.4) 0%, rgba(140, 210, 255, 0) 50%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: inset 0 0 20px rgba(255,255,255,0.3), 0 4px 20px rgba(10, 60, 120, 0.15);
  pointer-events: none;
}

/* Tweaks panel */
#tweaks {
  position: fixed; right: 20px; bottom: 20px; z-index: 99;
  width: 280px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.6));
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 20px 50px -10px rgba(10,60,120,0.4), inset 0 1px 0 white;
  font-size: 14px;
  display: none;
}
#tweaks.on { display: block; }
#tweaks h5 { margin: 0 0 10px; font-family: 'Quicksand'; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); }
#tweaks label { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-weight: 600; color: var(--ink); }
#tweaks input[type=range] { width: 120px; }
#tweaks input[type=checkbox] { width: 18px; height: 18px; }
#tweaks .row { border-top: 1px solid rgba(10,60,120,0.08); padding: 8px 0; }
#tweaks .row:first-of-type { border-top: 0; }

/* ====================== CHART KIT ====================== */
.metric-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; padding: 16px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.25));
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 8px 22px -14px rgba(10,60,120,0.25);
}
.metric-strip.cols-3 { grid-template-columns: repeat(3, 1fr); }
.metric-cell { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.5));
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 2px 8px -4px rgba(10,60,120,0.18);
}
.metric-cell .mk { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.metric-cell .mv { font-family: 'Quicksand'; font-weight: 700; font-size: 24px; color: var(--ink); letter-spacing: -0.02em; line-height: 1; }
.metric-cell .md { font-size: 11px; color: #4a8e1c; font-weight: 700; }
.metric-cell .md.neg { color: #c04a1a; }

.spark { width: 100%; height: 32px; display: block; margin-top: 4px; }
.spark path.fill { fill: url(#sparkGrad); opacity: 0.35; }
.spark path.line { fill: none; stroke: #2cc5db; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 1px 2px rgba(44,197,219,0.4));
  stroke-dasharray: 400; stroke-dashoffset: 400;
}
.reveal.in .spark path.line { animation: sparkDraw 1.6s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes sparkDraw { to { stroke-dashoffset: 0; } }
.spark.green path.line { stroke: #6cc226; filter: drop-shadow(0 1px 2px rgba(108,194,38,0.45)); }
.spark.gold path.line { stroke: #e6a93a; filter: drop-shadow(0 1px 2px rgba(230,169,58,0.45)); }

.donut { position: relative; width: 96px; height: 96px; border-radius: 50%;
  background: conic-gradient(#5ba60f 0 var(--pct, 72%), rgba(255,255,255,0.4) var(--pct, 72%) 100%);
  box-shadow: inset 0 2px 6px rgba(10,60,120,0.18), 0 6px 14px -6px rgba(10,60,120,0.25);
}
.donut::before { content: ""; position: absolute; inset: 14px; border-radius: 50%;
  background: linear-gradient(180deg, #fafdff, #eaf4ff);
  box-shadow: inset 0 1px 0 white, inset 0 -1px 2px rgba(10,60,120,0.08);
}
.donut .dv { position: absolute; inset: 0; display: grid; place-items: center; font-family: 'Quicksand'; font-weight: 700; font-size: 20px; color: var(--ink); z-index: 2; letter-spacing: -0.02em; }
.donut.aqua { background: conic-gradient(#2cc5db 0 var(--pct, 84%), rgba(255,255,255,0.4) var(--pct, 84%) 100%); }
.donut.gold { background: conic-gradient(#e6a93a 0 var(--pct, 58%), rgba(255,255,255,0.4) var(--pct, 58%) 100%); }

.gauge { position: relative; width: 140px; height: 74px; overflow: hidden; }
.gauge::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 148px; border-radius: 50%;
  background: conic-gradient(from -90deg, #c04a1a 0 20%, #e6a93a 20% 45%, #9bdc2e 45% 78%, #5ba60f 78% 90%, rgba(255,255,255,0.4) 90% 100%);
  box-shadow: inset 0 2px 6px rgba(10,60,120,0.15);
}
.gauge::after { content: ""; position: absolute; inset: 12px 12px -112px 12px; border-radius: 50%;
  background: linear-gradient(180deg, #fafdff, #eaf4ff);
  box-shadow: inset 0 1px 0 white;
}
.gauge .needle { position: absolute; left: 50%; bottom: 0; width: 3px; height: 60px; transform-origin: 50% 100%;
  background: linear-gradient(180deg, #0b3554, #3a5a82); border-radius: 2px; z-index: 3;
  transform: rotate(calc(-90deg + var(--ang, 40deg)));
  transition: transform 1.6s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 1px 3px rgba(10,60,120,0.4);
}
.gauge .hub { position: absolute; left: 50%; bottom: -6px; width: 14px; height: 14px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #b0c2dc 60%, #3a5a82 100%); z-index: 4;
}
.gauge .gv { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; font-family: 'Quicksand'; font-weight: 700; font-size: 18px; color: var(--ink); z-index: 5; }
.gauge-wrap { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px; }
.gauge-wrap .gk { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }

.chart-card { padding: 22px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0.35));
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 10px 30px -14px rgba(10,60,120,0.25);
}
.chart-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.chart-head .ck { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.chart-head .cv { font-family: 'Quicksand'; font-weight: 700; font-size: 22px; color: var(--ink); letter-spacing: -0.02em; }
.chart-head .cd { font-size: 12px; color: #4a8e1c; font-weight: 700; }

.bars-v { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; height: 120px; padding: 0 4px; }
.bars-v .col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; }
.bars-v .col .b { width: 100%; max-width: 28px; border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 50%),
    linear-gradient(180deg, #9deefa 0%, #2cc5db 60%, #0d8aa0 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 0 12px rgba(44,197,219,0.3);
  height: 0; transition: height 1.4s cubic-bezier(.2,.8,.2,1);
}
.bars-v .col.green .b { background: linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 50%),
    linear-gradient(180deg, #cff37a 0%, #9bdc2e 50%, #5ba60f 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 0 12px rgba(155,220,46,0.3);
}
.bars-v .col .bl { font-size: 10px; color: var(--ink-soft); font-weight: 600; }
.bars-v .col .bn { font-family: 'Quicksand'; font-weight: 700; font-size: 11px; color: var(--ink); }

.heat { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; padding: 6px 0; }
.heat .cell { aspect-ratio: 1; border-radius: 4px; background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
.heat .cell.h1 { background: linear-gradient(180deg, #d9f3b8, #b5e84a); }
.heat .cell.h2 { background: linear-gradient(180deg, #b5e84a, #6cc226); }
.heat .cell.h3 { background: linear-gradient(180deg, #6cc226, #3a7a1a); box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 0 8px rgba(108,194,38,0.35); }
.heat .cell.h0 { background: rgba(200,210,225,0.35); }

.chart-legend { display: flex; gap: 14px; margin-top: 10px; font-size: 11px; color: var(--ink-soft); font-weight: 600; flex-wrap: wrap; }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block;
  background: linear-gradient(180deg, #9bdc2e, #5ba60f); box-shadow: inset 0 1px 0 rgba(255,255,255,0.7); }
.chart-legend i.aqua { background: linear-gradient(180deg, #2cc5db, #0d8aa0); }
.chart-legend i.gold { background: linear-gradient(180deg, #e6a93a, #b07f1e); }
.chart-legend i.dim { background: rgba(200,210,225,0.7); }

.chart-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chart-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }

/* Responsive */
@media (max-width: 900px) {
  .metric-strip, .metric-strip.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .chart-grid-2, .chart-grid-3 { grid-template-columns: 1fr; }
}

/* ================================================================
   Hamburger button (hidden on desktop)
   ================================================================ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   Mobile menu panel
   ================================================================ */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}
.mobile-menu.open {
  pointer-events: auto;
}
.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 30, 60, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s;
}
.mobile-menu.open .mobile-menu-backdrop { opacity: 1; }
.mobile-menu-panel {
  position: absolute;
  top: 0; left: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: linear-gradient(180deg, #f4f9fe 0%, #eaf3fb 100%);
  box-shadow: 12px 0 40px rgba(10,60,120,0.18);
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.2,0.8,0.2,1);
  overflow-y: auto;
  padding: 28px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-menu.open .mobile-menu-panel {
  transform: translateX(0);
}
.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.mobile-menu-close .mm-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  text-decoration: none;
}
.mobile-menu-close .mm-logo img { width: 28px; height: 28px; }
.mobile-menu-x {
  width: 34px; height: 34px;
  background: rgba(10,60,120,0.08);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--ink);
}
.mm-section-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  padding: 14px 0 6px;
}
.mm-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  transition: background 0.15s;
}
.mm-link:hover, .mm-link:active { background: rgba(10,60,120,0.07); }
.mm-link .mm-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.mm-divider {
  height: 1px;
  background: rgba(10,60,120,0.08);
  margin: 8px 0;
}
.mm-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.mm-ctas .btn { width: 100%; justify-content: center; text-align: center; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .mobile-1col { grid-template-columns: 1fr !important; }
  .feature-row, .feature-row.flip { grid-template-columns: 1fr; }
  .feature-row.flip .feature-copy { order: 1; }
  .feature-row.flip .feature-screen { order: 2; }
  .compare-wrap { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .ai-engines { grid-template-columns: repeat(2, 1fr); }
  .agency-card { grid-template-columns: 1fr; padding: 32px; }
  .bar-row { grid-template-columns: 1fr; gap: 6px; }
  .bar-row .v { text-align: left; }
  .nav ul { display: none; }
  section { padding: 80px 0; }

  /* NAV: hide fixed logo pill + show logo inside nav pill instead */
  .site-logo-fixed { display: none; }
  .nav .logo { display: flex !important; align-items: center; gap: 8px; font-size: 18px; }
  .nav-inner { gap: 10px; padding: 10px 14px; }
  /* Hide Sign in, keep Start free trial */
  .nav-inner .btn-glass { display: none; }
  .nav-inner .btn-primary { display: flex; padding: 9px 16px; font-size: 13px; }
  /* Hamburger: fixed top-left corner, free of nav stacking context */
  .nav-hamburger {
    display: flex;
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 9998;
  }

  /* Hero mockup: scale to fit, no overflow */
  .hero-art {
    margin-top: 32px;
    overflow: hidden;
  }
  .hero-art > .glass {
    zoom: 0.6;
    transform: none !important;
  }
  /* Hide floating badge that overflows hero on mobile */
  .hero-art > .glass-lime {
    display: none;
  }
  /* Hide plants in hero so they don't cover the headline */
  .hero .plant { display: none; }



  /* Remove 3D perspective tilt — looks broken on mobile */
  .feature-screen,
  .feature-row.flip .feature-screen,
  .feature-row:hover .feature-screen,
  .feature-screen.v-tilted {
    transform: none !important;
  }

  /* Platform mockups: scale down to fit, no scroll, no clip */
  .feature-screen {
    overflow: hidden;
    padding: 12px;
  }
  /* Scale all direct children of feature-screen proportionally.
     zoom affects layout (unlike transform:scale), so fixed widths
     like the 190px sidebar shrink to ~129px visually and fit cleanly. */
  .feature-screen > * {
    zoom: 0.68;
  }
  /* no-frame screens have no padding; give breathing room */
  .feature-screen.no-frame {
    padding: 16px 0 !important;
    overflow: visible;
  }
  /* Hide floating decorative chart-cards — too complex to scale on mobile */
  .feature-screen .chart-card {
    display: none;
  }
  /* Restore app internals to original layout — zoom handles the sizing */
  .feature-screen .app {
    min-width: unset;
  }
  .feature-screen .app .body {
    grid-template-columns: 190px 1fr;
    min-height: 360px;
  }
  .feature-screen .app .sidebar {
    display: block;
  }
  .feature-screen .app .kpi-row {
    grid-template-columns: repeat(4, 1fr);
  }
  /* Restore panel-float */
  .feature-screen .panel-float {
    min-width: unset;
  }
  .feature-screen .panel-float .pevent {
    flex-wrap: nowrap;
    gap: 10px;
  }
  .feature-screen .panel-float .pevent .pt {
    flex: unset;
    font-size: 12.5px;
  }
  .feature-screen .panel-float .pevent .ptime {
    margin-left: auto;
  }
  /* Restore zoom-crop to original layout — zoom handles the sizing */
  .feature-screen .zoom-crop {
    overflow: visible;
    padding: 28px 32px;
  }
  .feature-screen .zoom-crop .zrow {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .cloud, .bubble, .bokeh, .sky::after { display: none !important; }
}
