/* ============================================================
   PravaApp — Homepage Design System
   Cinematic dark redesign — single source of truth for /
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  /* Background — intentional departure from token #0A0F1B; cinematic landing only */
  --bg:      #030508;
  --accent:  #6E5AFA;
  --glow:    rgba(110, 90, 250, 0.35);

  /* Text */
  --text:    #FFFFFF;
  --dim:     #8B8FAF;
  --faint:   #3A3F5C;

  /* Activity types */
  --ss:  #FF595E;    /* ScreenSink */
  --dm:  #9D7C24;    /* DispersedMode */
  --sf:  #939393;    /* ScreenFree */
  --sw:  #1982C4;    /* ShallowWork */
  --dw:  #6A4C93;    /* DeepWork */

  /* Semantic */
  --avoid: #FB7185;
  --use:   #34D399;
}

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

html {
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* ── Scroll Lock (used during hero stage animation) ───────── */
html.locked,
html.locked body {
  overflow: hidden;
  height: 100vh;
  position: fixed;
  width: 100%;
}

/* ── Scroll Snap ──────────────────────────────────────────── */
html:not(.locked) {
  scroll-snap-type: y proximity;
}

/* ── Typography ───────────────────────────────────────────── */
h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: clamp(2.8rem, 10vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
}

h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 6vw, 2.8rem);
  line-height: 1.15;
  color: var(--text);
}

h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 3vw, 1.25rem);
  line-height: 1.4;
  color: var(--text);
}

p {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dim);
}

/* Flow Ratio numbers — Playfair Display 900 */
.flow-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: clamp(3rem, 8vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* Labels — uppercase tracking */
.label {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--faint);
  margin-bottom: 1.5rem;
}

.label-sm {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--faint);
}

/* ── Ambient Atmosphere (fixed, behind everything) ────────── */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.atm-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0;
  animation: atm-fadein 3s ease forwards;
}

@keyframes atm-fadein {
  to { opacity: 1; }
}

/* Orb 1 — primary purple, large, top-left */
.atm-1 {
  width: 50vmax;
  height: 50vmax;
  background: radial-gradient(circle, rgba(110, 90, 250, 0.18) 0%, rgba(110, 90, 250, 0.05) 40%, transparent 70%);
  top: -15vh;
  left: -15vw;
  animation:
    atm-fadein 3s ease forwards,
    atm-drift1 26s ease-in-out infinite;
}

@keyframes atm-drift1 {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(5vw, 6vh); }
  50%  { transform: translate(8vw, 3vh); }
  75%  { transform: translate(3vw, 8vh); }
  100% { transform: translate(0, 0); }
}

/* Orb 2 — deep purple/indigo, center-right */
.atm-2 {
  width: 55vmax;
  height: 55vmax;
  background: radial-gradient(circle, rgba(80, 50, 200, 0.14) 0%, rgba(80, 50, 200, 0.04) 40%, transparent 70%);
  top: 15vh;
  right: -20vw;
  animation:
    atm-fadein 3.5s ease forwards,
    atm-drift2 30s ease-in-out infinite;
  animation-delay: 0.5s;
}

@keyframes atm-drift2 {
  0%   { transform: translate(0, 0); }
  33%  { transform: translate(-6vw, 8vh); }
  66%  { transform: translate(-3vw, -5vh); }
  100% { transform: translate(0, 0); }
}

/* Orb 3 — blue/teal, bottom-left */
.atm-3 {
  width: 40vmax;
  height: 40vmax;
  background: radial-gradient(circle, rgba(25, 130, 196, 0.12) 0%, rgba(25, 130, 196, 0.03) 40%, transparent 70%);
  bottom: -10vh;
  left: 5vw;
  animation:
    atm-fadein 4s ease forwards,
    atm-drift3 22s ease-in-out infinite;
  animation-delay: 1s;
}

@keyframes atm-drift3 {
  0%   { transform: translate(0, 0); }
  50%  { transform: translate(7vw, -6vh); }
  100% { transform: translate(0, 0); }
}

/* Orb 4 — warm accent, top-right */
.atm-4 {
  width: 35vmax;
  height: 35vmax;
  background: radial-gradient(circle, rgba(255, 89, 94, 0.08) 0%, rgba(255, 89, 94, 0.02) 40%, transparent 70%);
  top: 0;
  right: 10vw;
  animation:
    atm-fadein 4.5s ease forwards,
    atm-drift4 28s ease-in-out infinite;
  animation-delay: 1.5s;
}

@keyframes atm-drift4 {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-5vw, 5vh); }
  50%  { transform: translate(3vw, 10vh); }
  75%  { transform: translate(-7vw, 4vh); }
  100% { transform: translate(0, 0); }
}

/* Accessibility: disable orb drift for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .atm-orb {
    animation: atm-fadein 1s ease forwards !important;
  }
}

/* ── Scene Containers ─────────────────────────────────────── */
.scene {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
}

.scene-half {
  min-height: auto;
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 4vw, 3rem);
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
}

.inner {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* ── Reveal System ────────────────────────────────────────── */
.r {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity  1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.r.v {
  opacity: 1;
  transform: none;
}

.rd1 { transition-delay: 0.2s; }
.rd2 { transition-delay: 0.4s; }
.rd3 { transition-delay: 0.6s; }
.rd4 { transition-delay: 0.8s; }

/* ── Panel Classes ────────────────────────────────────────── */
.lift {
  background: rgba(12, 16, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lift-accent {
  background: rgba(12, 16, 28, 0.7);
  border: 1px solid rgba(110, 90, 250, 0.08);
  border-radius: 20px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(110, 90, 250, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Glow panel — faint top-edge light + purple radial haze */
.glow {
  position: relative;
}

.glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 50%,
    transparent 100%
  );
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}

.glow::after {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 40px;
  background: radial-gradient(
    ellipse at center,
    rgba(110, 90, 250, 0.08) 0%,
    transparent 70%
  );
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 18px 44px;
  background: rgba(110, 90, 250, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    0 0 30px rgba(110, 90, 250, 0.2),
    0 6px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s ease,
    background 0.25s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-3px);
  background: rgba(110, 90, 250, 0.85);
  box-shadow:
    0 0 50px rgba(110, 90, 250, 0.35),
    0 12px 30px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn:active {
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 18px 44px;
  background: rgba(110, 90, 250, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(110, 90, 250, 0.25);
  border-radius: 30px;
  color: #a78bfa;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.25s ease;
  white-space: nowrap;
}

.btn-ghost:hover {
  background: rgba(110, 90, 250, 0.12);
  box-shadow:
    0 0 20px rgba(110, 90, 250, 0.1),
    0 6px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  border-color: rgba(110, 90, 250, 0.4);
}

.btn-ghost:active {
  transform: translateY(0);
}

/* ── Language Bar ─────────────────────────────────────────── */
.lang {
  position: fixed;
  top: 1rem;
  right: 1.5rem;
  z-index: 100;
  display: flex;
  gap: 0.3rem;
  background: rgba(3, 5, 8, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 3px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.lang button {
  padding: 5px 14px;
  border-radius: 16px;
  border: none;
  background: transparent;
  color: var(--faint);
  font-size: 0.72rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  min-height: 44px;
  min-width: 44px;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang button:hover {
  color: var(--dim);
}

.lang button.on {
  background: rgba(110, 90, 250, 0.2);
  color: #ffffff;
}

/* ── Hero Staged Reveal ───────────────────────────────────── */
.hero-stage1 {
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-stage1.fade-out {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

.hero-stage2 {
  opacity: 0;
  transform: scale(0.92) translateY(30px);
  pointer-events: none;
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-stage2.revealed {
  opacity: 1;
  transform: none;
  pointer-events: all;
}

/* Staggered children delays only when parent is revealed */
.hero-stage2.revealed .rd1 { transition-delay: 0.15s; }
.hero-stage2.revealed .rd2 { transition-delay: 0.3s; }
.hero-stage2.revealed .rd3 { transition-delay: 0.45s; }
.hero-stage2.revealed .rd4 { transition-delay: 0.6s; }

/* ── Scenario Pill ────────────────────────────────────────── */
.scenario {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 28px;
  background: rgba(10, 15, 27, 0.7);
  border: 1px solid rgba(110, 90, 250, 0.12);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(110, 90, 250, 0.06);
  color: var(--dim);
  font-size: 0.85rem;
  font-family: 'Poppins', sans-serif;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  max-width: 90vw;
  white-space: normal;
  word-break: break-word;
}

/* ── Reveal Button (breathing glow) ──────────────────────── */
@keyframes breath-glow {
  0%, 100% {
    box-shadow:
      0 0 30px rgba(110, 90, 250, 0.25),
      0 6px 20px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow:
      0 0 50px rgba(110, 90, 250, 0.4),
      0 10px 30px rgba(0, 0, 0, 0.4);
  }
}

.reveal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 20px 56px;
  background: var(--accent);
  border: none;
  border-radius: 30px;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  cursor: pointer;
  animation: breath-glow 3s ease-in-out infinite;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-btn:hover {
  transform: translateY(-3px);
  animation-play-state: paused;
  box-shadow:
    0 0 60px rgba(110, 90, 250, 0.5),
    0 14px 36px rgba(0, 0, 0, 0.5);
}

.reveal-btn:active {
  transform: translateY(-1px);
}

/* ── Utility Classes ──────────────────────────────────────── */
.center {
  text-align: center;
}

.x {
  text-decoration: line-through;
  color: var(--faint);
}

.sep {
  width: 80px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--accent) 50%,
    transparent 100%
  );
  margin: 0 auto 2.5rem;
  border: none;
}

/* ── Section Label ────────────────────────────────────────── */
.section-label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--faint);
  margin-bottom: 1.5rem;
}

/* ── Hero Layout ──────────────────────────────────────────── */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  width: 100%;
}

.hero-sparkline-area {
  flex: 1;
  min-width: 0;
}

.hero-gauge-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* ── Gauge ────────────────────────────────────────────────── */
.gauge-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gauge-hero-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.gauge-int {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 2.5rem 2rem 1.5rem;
  max-width: min(420px, 90vw);
  width: 100%;
  margin: 0 auto;
  border-radius: 20px;
  background: rgba(12, 16, 28, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(110, 90, 250, 0.12);
  box-shadow:
    0 0 40px rgba(110, 90, 250, 0.08),
    0 12px 40px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.gauge-int:hover {
  border-color: rgba(110, 90, 250, 0.3);
  box-shadow:
    0 0 60px rgba(110, 90, 250, 0.2),
    0 8px 32px rgba(0, 0, 0, 0.5);
}

.gauge-int-val {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.02em;
}

.gauge-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.02em;
}

.gauge-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--dim);
  text-align: center;
}

/* Gauge state indicator */
#gaugeState {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--dim);
  text-align: center;
  margin-top: 0.25rem;
}

/* Pulse dot (live indicator) */
.pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--use);
  flex-shrink: 0;
  animation: pulse-blink 2s ease-in-out infinite;
}

@keyframes pulse-blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4); }
  50%       { opacity: 0.6; box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
}

/* ── Activity States (pills) ──────────────────────────────── */
.states {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.st {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(12, 16, 28, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--dim);
  cursor: default;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  min-width: 100px;
  min-height: 44px;
}

.st:hover {
  transform: scale(1.04);
  background: rgba(12, 16, 28, 0.85);
  border-color: rgba(255, 255, 255, 0.1);
}

.st-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Product Preview ──────────────────────────────────────── */
.preview {
  border-radius: 20px;
  overflow: hidden;
}

.preview-bar-top {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 12px 16px;
  background: rgba(6, 8, 16, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.preview-bar-top i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.preview-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(8, 10, 20, 0.85);
}

.pcard {
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.plabel {
  font-family: 'Poppins', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--faint);
  margin-bottom: 0.5rem;
}

.pbar {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin-bottom: 0.35rem;
}

.pbar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── App Zones ────────────────────────────────────────────── */
.azones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  grid-column: 1 / -1;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.az {
  padding: 0.9rem 1rem;
}

.az-avoid {
  background: rgba(255, 82, 82, 0.02);
  border-top: 2px solid var(--avoid);
}

.az-use {
  background: rgba(52, 211, 153, 0.02);
  border-top: 2px solid var(--use);
}

.az h4 {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin-bottom: 0.6rem;
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.az-app {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0;
  font-size: 0.75rem;
  color: var(--dim);
  font-family: 'Poppins', sans-serif;
}

.az-icon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Commitment ───────────────────────────────────────────── */
.commit {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  background: rgba(106, 76, 147, 0.04);
  border: 1px solid rgba(106, 76, 147, 0.1);
  border-radius: 14px;
}

.commit-av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dw), var(--accent));
  flex-shrink: 0;
}

/* ── Attention Coaches ────────────────────────────────────── */
.coaches {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(110, 90, 250, 0.3) transparent;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.coaches:active {
  cursor: grabbing;
}

.coaches.dragging {
  user-select: none;
  -webkit-user-select: none;
}

.coaches.dragging * {
  pointer-events: none;
}

.coaches::-webkit-scrollbar {
  height: 4px;
}

.coaches::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 2px;
}

.coaches::-webkit-scrollbar-thumb {
  background: rgba(110, 90, 250, 0.3);
  border-radius: 2px;
}

.coaches::-webkit-scrollbar-thumb:hover {
  background: rgba(110, 90, 250, 0.5);
}

.cc {
  flex-shrink: 0;
  width: clamp(240px, 40vw, 280px);
  padding: 1.5rem;
  border-radius: 20px;
  background: rgba(12, 16, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cc img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 1;
}

.cc:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  border-color: rgba(110, 90, 250, 0.12);
}

/* ── Features Grid ────────────────────────────────────────── */
.fgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.fc {
  padding: 1.5rem;
  border-radius: 16px;
  background: rgba(12, 16, 28, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.fc:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(110, 90, 250, 0.1);
}

.fc .ico {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.fc .ico svg {
  width: 24px;
  height: 24px;
}

/* ── Platforms ────────────────────────────────────────────── */
.plats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.plat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 2rem;
  border-radius: 18px;
  background: rgba(12, 16, 28, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 6px 24px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dim);
  text-decoration: none;
  min-height: 44px;
  min-width: 120px;
  transition: transform 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.plat:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 90, 250, 0.2);
  color: var(--text);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(110, 90, 250, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* ── Comparison Grid ──────────────────────────────────────── */
.cmp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem) 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.footer-logo {
  height: 28px;
  width: auto;
  display: block;
}

.footer-tagline {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: var(--faint);
  line-height: 1.6;
  max-width: 240px;
}

.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--dim);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: var(--faint);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--dim);
}

.footer-bottom {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-legal {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  color: var(--faint);
}

/* ── Responsive: Tablet & Below ─────────────────────────────── */
@media (max-width: 768px) {
  /* Scene padding */
  .scene {
    padding: clamp(1.5rem, 5vw, 3rem) clamp(1rem, 4vw, 2rem);
    align-items: flex-start;
    padding-top: clamp(5rem, 12vw, 7rem);
  }

  /* Hero layout — gauge on top, text below */
  .hero-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    direction: ltr;
  }

  .hero-gauge-area {
    order: -1;
    width: 100%;
  }

  .gauge-int {
    min-width: 130px;
    min-height: 130px;
    padding: 1.5rem;
  }

  /* Product preview: 1-col */
  .preview-body {
    grid-template-columns: 1fr;
  }

  /* App zones: 1-col */
  .azones {
    grid-template-columns: 1fr;
  }

  /* Comparison grid: 1-col */
  .cmp {
    grid-template-columns: 1fr;
  }

  /* Features grid: 1-col */
  .fgrid {
    grid-template-columns: 1fr;
  }

  /* Footer: 2-col for links, brand full-width */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  /* Lang bar: slightly inset from edge */
  .lang {
    top: 0.75rem;
    right: 0.75rem;
  }

  /* Coaches: full-width cards */
  .cc {
    width: 80vw;
  }

  /* Platforms: tighter */
  .plats {
    gap: 0.75rem;
  }

  .plat {
    padding: 10px 18px;
    font-size: 0.82rem;
  }
}

/* ── Responsive: Mobile ───────────────────────────────────── */
@media (max-width: 480px) {
  /* Tighter global padding */
  .scene {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .scene-half {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Scene min-height auto for dense content */
  .scene {
    min-height: auto;
    padding-top: 5rem;
    padding-bottom: 4rem;
  }

  /* State pills: smaller min-width, preserve 44px touch target */
  .st {
    min-width: auto;
    padding: 10px 12px;
    font-size: 0.72rem;
    min-height: 44px;
  }

  /* Coach cards: narrower */
  .cc {
    width: 85vw;
  }

  /* Features: 1-col, slightly tighter padding */
  .fc {
    padding: 1.25rem;
  }

  /* Footer: single column */
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  /* Buttons: full-width stacked on smallest screens */
  .btn, .btn-ghost, .reveal-btn {
    padding: 16px 32px;
    font-size: 0.95rem;
  }

  .reveal-btn {
    padding: 18px 40px;
    font-size: 1.05rem;
  }

  /* Gauge: compact */
  .gauge-int {
    min-width: 110px;
    min-height: 110px;
    padding: 1.25rem;
  }

  /* Footer bottom: stack vertically */
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  /* Hero gauge area: center on mobile */
  .hero-gauge-area {
    align-items: center;
  }
}
