/* ThirstCast — Landing Page Styles v2
   Cinematic hero, rich sections, premium typography. */

/* ─── Hero ───────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bg);
}

/* Video background */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video-wrap video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Static/animated CSS fallback when video unavailable */
.hero-video-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 65% 35%, #0d4a5a 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 20% 80%, #0a2e3a 0%, transparent 55%),
    linear-gradient(160deg, #071113 0%, #0c2a30 45%, #071113 100%);
  animation: hero-bg-drift 18s ease-in-out infinite alternate;
}
@keyframes hero-bg-drift {
  0%   { opacity: 1; }
  50%  { opacity: 0.85; }
  100% { opacity: 1; }
}

/* Animated atmospheric particle field */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.hero-particles::before,
.hero-particles::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
  animation: particle-float 14s ease-in-out infinite;
}
.hero-particles::before {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--aqua) 0%, transparent 70%);
  top: -150px; right: 5%;
}
.hero-particles::after {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--water) 0%, transparent 70%);
  bottom: 10%; left: 10%;
  animation-delay: -7s;
}
@keyframes particle-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-20px, 15px) scale(1.05); }
  66%  { transform: translate(15px, -10px) scale(0.95); }
}

/* Dark gradient overlay for text legibility */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(0deg, rgba(7,17,19,0.96) 0%,
                          rgba(7,17,19,0.7) 35%,
                          rgba(7,17,19,0.25) 70%,
                          rgba(7,17,19,0.15) 100%);
}
/* Vignette */
.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 100% at 50% 50%,
    transparent 55%, rgba(7,17,19,0.55) 100%);
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: calc(var(--max) + 3rem);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 2rem;
  align-items: end;
}

.hero-copy { max-width: 44rem; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 1.2rem;
  padding: 0.3rem 0.75rem;
  background: var(--aqua-soft);
  border: 1px solid var(--aqua-dim);
  border-radius: 999px;
}
.hero-eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--aqua);
  animation: status-pulse 2s ease-in-out infinite;
}

.hero-headline {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 1.1rem;
}
.hero-headline em {
  font-style: normal;
  color: var(--aqua);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 36rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.hero-actions .btn {
  font-size: 0.95rem;
  padding: 0.65rem 1.4rem;
}

.hero-context-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2rem;
}
.hero-stat {
  display: flex;
  flex-direction: column;
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--aqua);
  line-height: 1;
}
.hero-stat .lbl {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.15rem;
  letter-spacing: 0.02em;
}

/* Hero 3D visualization panel */
.hero-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* ─── Atmospheric globe SVG art ─────────────────────────────── */
.atmos-globe {
  position: relative;
  width: 360px;
  height: 360px;
  flex-shrink: 0;
}
.atmos-globe svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 0 40px rgba(85,230,205,0.2));
  animation: globe-rotate-slow 30s linear infinite;
}
@keyframes globe-rotate-slow {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.02); }
  100% { transform: rotate(360deg) scale(1); }
}

/* ─── Global section layout ─────────────────────────────────── */
.section {
  max-width: calc(var(--max) + 3rem);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  min-width: 0;
}
.section-sm { padding-bottom: 2.5rem; }

.section-header { margin-bottom: 2.5rem; }
.section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 0.6rem;
}
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 0.8rem;
}
.section-kicker::before {
  content: "";
  display: block;
  width: 20px; height: 1px;
  background: var(--aqua);
}
.section-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 52rem;
  line-height: 1.65;
}

/* ─── Pitch strip (nobody forecasts) ────────────────────────── */
.pitch-strip {
  background: linear-gradient(135deg, #0d2a30 0%, #071113 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 3.5rem 1.5rem;
  text-align: center;
}
.pitch-strip-inner {
  max-width: 56rem;
  margin: 0 auto;
}
.pitch-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 1rem;
}
.pitch-quote mark {
  background: none;
  color: var(--aqua);
}
.pitch-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 42rem;
  margin: 0 auto;
}

/* ─── Concept flow / signature visual ───────────────────────── */
.concept-section {
  padding: 4rem 1.5rem;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.concept-inner {
  max-width: calc(var(--max) + 3rem);
  margin: 0 auto;
}
.concept-flow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}
.concept-node {
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-align: center;
  flex: 1;
  min-width: 7rem;
  transition: border-color var(--motion) var(--ease), box-shadow var(--motion) var(--ease);
}
.concept-node:hover {
  border-color: var(--aqua);
  box-shadow: 0 0 16px color-mix(in srgb, var(--aqua) 12%, transparent);
}
.concept-node .icon {
  font-size: 1.6rem;
  margin-bottom: 0.35rem;
  display: block;
}
.concept-node strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.concept-node span {
  font-size: 0.75rem;
  color: var(--muted);
}
.concept-arrow {
  color: var(--aqua-dim);
  font-size: 1.4rem;
  font-weight: 300;
  flex-shrink: 0;
}

/* ─── Evidence / historical section ─────────────────────────── */
.evidence-section {
  background: linear-gradient(180deg, #0a1e22 0%, #071113 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 4rem 1.5rem;
}
.evidence-inner {
  max-width: calc(var(--max) + 3rem);
  margin: 0 auto;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.chart-card {
  background: var(--chart-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  margin-top: 1.5rem;
}
.chart-legend {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.legend-dot { width: 8px; height: 8px; border-radius: 2px; }

.framing-callout {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--amber);
  background: rgba(246,185,74,0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.92rem;
  color: var(--ink-2);
  font-style: italic;
}

/* ─── Timeline (blindspot) ───────────────────────────────────── */
.timeline {
  display: grid;
  gap: 0.35rem;
  max-height: 18rem;
  overflow: auto;
  margin: 0.8rem 0;
}
#timeline-detail { display: grid; gap: 0.7rem; }

/* ─── Pilot districts ────────────────────────────────────────── */
.pilot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.pilot-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--motion) var(--ease),
              border-color var(--motion) var(--ease),
              transform var(--motion) var(--ease-spring);
}
.pilot-card:hover {
  border-color: var(--aqua-dim);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}
.pilot-card-img {
  width: 100%; height: 160px;
  object-fit: cover;
  display: block;
}
.pilot-card-img-bengaluru {
  height: 180px;
  background:
    linear-gradient(to top, rgba(7,17,19,0.92) 0%, rgba(7,17,19,0.2) 60%),
    url('../img/pilot-bengaluru.jpg') center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 0.9rem;
  font-size: 0.72rem;
  color: var(--aqua);
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: transform 0.6s var(--ease);
}
.pilot-card-img-kolar {
  height: 180px;
  background:
    linear-gradient(to top, rgba(7,17,19,0.92) 0%, rgba(7,17,19,0.2) 60%),
    url('../img/pilot-kolar.jpg') center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 0.9rem;
  font-size: 0.72rem;
  color: var(--amber);
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: transform 0.6s var(--ease);
}
.pilot-card-img-mandya {
  height: 180px;
  background:
    linear-gradient(to top, rgba(7,17,19,0.92) 0%, rgba(7,17,19,0.2) 60%),
    url('../img/pilot-mandya.jpg') center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 0.9rem;
  font-size: 0.72rem;
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: transform 0.6s var(--ease);
}
.pilot-card-body { padding: 1.1rem; }
.pilot-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: var(--ink);
}
.pilot-card p { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.5rem; }
.pilot-card .pilot-action { margin-top: 0.75rem; }

/* ─── Try a question ─────────────────────────────────────────── */
.try-section { padding-top: 0; }

/* ─── What is a thirstwave ───────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--motion) var(--ease), box-shadow var(--motion) var(--ease);
}
.step-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-aqua);
  opacity: 0;
  transition: opacity var(--motion) var(--ease);
}
.step-card:hover { border-color: var(--aqua-dim); }
.step-card:hover::before { opacity: 1; }
.step-no {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--aqua-dim);
  margin-bottom: 0.6rem;
  line-height: 1;
}
.step-card h3 { font-size: 0.95rem; color: var(--ink); margin-bottom: 0.4rem; }
.step-card p { font-size: 0.85rem; color: var(--muted); }

/* ─── Why it matters ─────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
blockquote {
  margin: 0;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--water);
  border-radius: 0 var(--radius) var(--radius) 0;
}
blockquote p { font-size: 0.95rem; color: var(--ink-2); line-height: 1.65; font-style: italic; }

/* ─── How it works / arch ────────────────────────────────────── */
.arch-pipeline {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin: 2rem 0 1.5rem;
}
.arch-step {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  min-width: 8rem;
  flex: 1;
  transition: border-color var(--motion) var(--ease);
}
.arch-step:hover { border-color: var(--aqua-dim); }
.arch-step strong { display: block; font-size: 0.9rem; color: var(--ink); margin-bottom: 0.2rem; }
.arch-step span { font-size: 0.76rem; color: var(--muted); }
.arch-arrow { color: var(--aqua-dim); font-size: 1.2rem; flex-shrink: 0; }

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}
.tech-pill {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface-2);
}

/* ─── Features grid ──────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color var(--motion) var(--ease);
}
.feature-card:hover { border-color: var(--line-strong); }
.feature-card h3 { font-size: 0.95rem; margin-bottom: 0.35rem; }
.feature-card p { font-size: 0.83rem; color: var(--muted); }

/* ─── API section ────────────────────────────────────────────── */
.code-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.code-head strong { font-family: var(--font-mono); font-size: 0.82rem; color: var(--muted); }

/* ─── Limits / honest ────────────────────────────────────────── */
.limits { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.limits li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: var(--ink-2);
}
.limits li::before {
  content: "·";
  color: var(--amber);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ─── Team ───────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.team-card h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.team-card p { font-size: 0.82rem; color: var(--muted); }
.placeholder { color: var(--muted-2); font-size: 0.78rem; margin-top: 0.3rem; }

/* ─── Final CTA ───────────────────────────────────────────────── */
.cta-section {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(85,230,205,0.07) 0%, transparent 70%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-top: 1px solid var(--line);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
}
.cta-inner {
  max-width: 52rem;
  margin: 0 auto;
}
.cta-headline {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
  line-height: 1.1;
}
.cta-sub {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.cta-actions .btn { font-size: 1rem; padding: 0.8rem 1.8rem; }

/* ─── April history / compare ───────────────────────────────── */
.compare-table-wrap { overflow-x: auto; margin-top: 1rem; }
.compare-table { min-width: 40rem; }

/* ─── Scroll-linked nav transparency ────────────────────────── */
.topbar--transparent {
  background: transparent;
  border-bottom-color: transparent;
}
.topbar--transparent .topnav a { color: rgba(243,248,247,0.75); }
.topbar--transparent .brand { color: #F3F8F7; }

/* ─── Scroll Progress Indicator ────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--aqua), var(--cyan, #38bdf8), var(--amber));
  z-index: 1000;
  box-shadow: 0 0 10px rgba(85, 230, 205, 0.7);
  transition: width 0.08s linear;
}

/* ─── Video Hero ─────────────────────────────────────────────── */
.hero-video-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.65;
  filter: saturate(1.1) brightness(0.9);
}

.hero-pitch-quote {
  font-family: var(--font-display, inherit);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--aqua-bright, #7df4dd);
  border-left: 2px solid var(--aqua);
  padding-left: 1rem;
  margin: 1.2rem 0 1.6rem;
  line-height: 1.5;
}

/* ─── Story Narrative Section ─────────────────────────────────── */
.story-narrative-section {
  position: relative;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(85,230,205,0.06) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 85% 90%, rgba(56,189,248,0.04) 0%, transparent 60%),
    linear-gradient(180deg, #030709 0%, #061014 45%, #030709 100%);
  border-top: 1px solid rgba(85, 230, 205, 0.14);
  border-bottom: 1px solid rgba(85, 230, 205, 0.14);
  padding: 6.5rem 0;
  overflow: hidden;
}

.story-narrative-inner {
  max-width: var(--max, 1200px);
  margin: 0 auto;
  padding: 0 2rem;
}

.story-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 3.5rem;
}

.story-card {
  position: relative;
  background: rgba(4, 14, 18, 0.76);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border: 1px solid rgba(85, 230, 205, 0.14);
  border-radius: 20px;
  padding: 2.2rem 2.4rem;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.65),
    0 0 0 0.5px rgba(85, 230, 205, 0.08) inset;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
  overflow: hidden;
}

.story-card::before {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(85,230,205,0.45), transparent);
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.story-card:hover {
  transform: translateY(-4px);
  border-color: rgba(85, 230, 205, 0.38);
  box-shadow:
    0 32px 60px rgba(0, 0, 0, 0.75),
    0 0 0 0.5px rgba(85, 230, 205, 0.22) inset,
    0 0 40px rgba(85, 230, 205, 0.08);
}

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

.story-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
}

.story-card-step {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aqua);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.9;
}

.story-card-step::before {
  content: "";
  display: block;
  width: 14px;
  height: 1px;
  background: var(--aqua);
}

.story-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(85, 230, 205, 0.08);
  border: 1px solid rgba(85, 230, 205, 0.28);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--aqua);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.story-card-title {
  font-family: var(--font-display, inherit);
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  line-height: 1.25;
  color: #f0faf8;
  margin: 0 0 0.9rem;
  letter-spacing: -0.015em;
}

.story-card-body {
  color: rgba(180, 205, 200, 0.88);
  font-size: 0.94rem;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

/* Featured card for Scene 6 */
.story-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.8rem 3rem;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(85,230,205,0.08) 0%, transparent 70%),
    rgba(4, 14, 18, 0.84);
  border-color: rgba(85, 230, 205, 0.25);
}

.story-card-featured-content {
  display: flex;
  flex-direction: column;
}

/* Dashboard preview window reveal (Scene 6) */
.dashboard-reveal-preview {
  background: rgba(4, 10, 12, 0.95);
  border: 1px solid rgba(85, 230, 205, 0.3);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.8);
  position: relative;
}

.dashboard-window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(7, 20, 24, 0.95);
  border-bottom: 1px solid rgba(85, 230, 205, 0.15);
}

.window-dot { width: 10px; height: 10px; border-radius: 50%; }
.window-dot.red { background: #ff5f56; }
.window-dot.yellow { background: #ffbd2e; }
.window-dot.green { background: #27c93f; }
.window-title {
  margin-left: 8px;
  font-size: 0.74rem;
  color: var(--muted);
  font-family: monospace;
}

.dashboard-reveal-preview img {
  width: 100%;
  height: auto;
  display: block;
}

.dashboard-reveal-overlay {
  padding: 1.1rem;
  background: linear-gradient(to top, rgba(4, 10, 12, 0.95) 0%, rgba(4, 10, 12, 0.4) 100%);
  text-align: center;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .story-card--featured { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 900px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .pilot-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .concept-flow { justify-content: center; }
  .story-cards-grid { grid-template-columns: 1fr; }
  .story-card--featured { padding: 2rem 1.6rem; }
}
@media (max-width: 640px) {
  .hero-section { min-height: 92vh; align-items: flex-end; }
  .hero-content { padding: 0 1rem 3rem; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .pilot-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .arch-pipeline { flex-direction: column; align-items: stretch; }
  .arch-arrow { transform: rotate(90deg); text-align: center; }
  .concept-flow { flex-direction: column; }
  .concept-arrow { transform: rotate(90deg); }
  .story-narrative-section { padding: 4.5rem 0; }
  .story-card { padding: 1.6rem 1.4rem; border-radius: 16px; }
  .story-card-title { font-size: 1.25rem; }
}
