/* ============================================================
   ANXIO 2026 · WAVE EDITION — Cinematic 3D design system
   ============================================================ */

:root {
  /* Brand palette (from Ref) */
  --cyan:        #A8DADC;
  --sky:         #8AB4FB;
  --lavender:    #BDB2FF;
  --rose:        #D9B4F0;
  --ink:         #1E293B;

  /* Cinematic surface */
  --bg:          #0A0F1E;
  --bg-deep:     #060914;
  --bg-soft:     #111933;
  --bg-mid:      #18213D;

  /* Glass */
  --glass:       rgba(255,255,255,0.04);
  --glass-strong: rgba(255,255,255,0.07);
  --glass-line:   rgba(255,255,255,0.10);
  --glass-line-soft: rgba(255,255,255,0.05);

  /* Text */
  --text:        #E8ECF6;
  --text-mute:   rgba(232,236,246,0.66);
  --text-faint:  rgba(232,236,246,0.42);
  --text-trace:  rgba(232,236,246,0.22);

  /* Iridescent gradient */
  --iridescent: linear-gradient(135deg, var(--cyan) 0%, var(--sky) 35%, var(--lavender) 70%, var(--rose) 100%);
  --iridescent-soft: linear-gradient(135deg, rgba(168,218,220,0.5) 0%, rgba(138,180,251,0.5) 35%, rgba(189,178,255,0.5) 70%, rgba(217,180,240,0.5) 100%);
  --iridescent-text: linear-gradient(135deg, #C5E5E7 0%, #A4C5FF 35%, #CFC4FF 70%, #E8C8F5 100%);

  /* Radius */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --serif: 'Instrument Serif', 'Cormorant Garamond', Georgia, serif;
  --sans:  'Poppins', system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
*::selection { background: var(--lavender); color: var(--ink); }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  letter-spacing: -0.005em;
  position: relative;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; font-size: inherit; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}

.serif-i {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.005em;
  background: var(--iridescent-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

p { color: var(--text-mute); }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.page { display: none; }
.page.active { display: block; }

/* ============================================================
   ATMOSPHERE — fixed full-screen cinematic layers
   ============================================================ */
.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: var(--bg);
}
/* Ambient cinematic video — drifting Himalayan mist, tinted to navy palette */
.atmo-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
  filter: brightness(0.6) saturate(0.7) contrast(1.05) hue-rotate(-22deg) blur(0.5px);
  transform: scale(1.06); /* hide blur edge */
  will-change: opacity;
}
.atmo-video.is-ready { opacity: 0.55; }
/* Navy tint to keep brand mood; warm at top, deep at bottom */
.atmo-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(10,15,30,0.55) 0%,
      rgba(10,15,30,0.30) 35%,
      rgba(10,15,30,0.55) 70%,
      rgba(6,9,20,0.85) 100%),
    radial-gradient(ellipse at 50% 30%, rgba(189,178,255,0.10), transparent 60%);
  mix-blend-mode: normal;
  pointer-events: none;
}
.atmo-stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(2px 2px at 12% 14%, rgba(255,255,255,0.32) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 23% 38%, rgba(255,255,255,0.28) 50%, transparent 100%),
    radial-gradient(1px 1px at 38% 62%, rgba(255,255,255,0.4) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 51% 22%, rgba(255,255,255,0.22) 50%, transparent 100%),
    radial-gradient(1px 1px at 67% 48%, rgba(255,255,255,0.32) 50%, transparent 100%),
    radial-gradient(2px 2px at 82% 18%, rgba(255,255,255,0.22) 50%, transparent 100%),
    radial-gradient(1px 1px at 91% 75%, rgba(255,255,255,0.34) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 19% 86%, rgba(255,255,255,0.2) 50%, transparent 100%),
    radial-gradient(1px 1px at 47% 92%, rgba(255,255,255,0.18) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 76% 88%, rgba(255,255,255,0.24) 50%, transparent 100%),
    radial-gradient(1px 1px at 7% 56%, rgba(255,255,255,0.18) 50%, transparent 100%),
    radial-gradient(1px 1px at 95% 36%, rgba(255,255,255,0.22) 50%, transparent 100%);
  opacity: 0.55;
  animation: stars-twinkle 12s linear infinite;
}
@keyframes stars-twinkle {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}
.atmo-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.6;
  pointer-events: none;
}
.atmo-aurora-1 {
  top: -20%;
  left: -10%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(138,180,251,0.32) 0%, transparent 65%);
  animation: aurora-drift 24s var(--ease) infinite alternate;
}
.atmo-aurora-2 {
  bottom: -30%;
  right: -20%;
  width: 80vw;
  height: 80vw;
  background: radial-gradient(circle, rgba(189,178,255,0.26) 0%, rgba(217,180,240,0.18) 40%, transparent 70%);
  animation: aurora-drift 30s var(--ease) infinite alternate-reverse;
}
@keyframes aurora-drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(8vw, -6vw) scale(1.1); }
}
.atmo-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(6,9,20,0.45) 75%, rgba(6,9,20,0.85) 100%);
}
.atmo-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.6' numOctaves='2' stitchTiles='stitch'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.55'/></svg>");
  background-size: 220px 220px;
  opacity: 0.06;
  mix-blend-mode: overlay;
}

/* Layer all content above */
.announce, .nav, main, footer { position: relative; z-index: 1; }

/* ============================================================
   ANNOUNCEMENT
   ============================================================ */
.announce {
  border-bottom: 1px solid var(--glass-line-soft);
  background: rgba(10,15,30,0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.announce-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 32px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--text-mute);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.announce-pulse {
  position: relative;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan), 0 0 20px var(--sky);
}
.announce-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--cyan);
  animation: pulse-ring 2.4s var(--ease) infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}
.announce-cta {
  background: var(--iridescent-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  font-weight: 500;
  border-bottom: 1px solid rgba(189,178,255,0.4);
  padding-bottom: 1px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(10,15,30,0.55);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid var(--glass-line-soft);
  transition: all .3s var(--ease);
}
.nav.scrolled {
  background: rgba(10,15,30,0.85);
  border-bottom-color: var(--glass-line);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
}

/* Brand mark — uses the real logo PNG (extracted from Ref) */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-orb {
  position: relative;
  width: 36px; height: 36px;
  flex-shrink: 0;
  background: url('logo.png') center / contain no-repeat;
  filter: drop-shadow(0 0 14px rgba(189,178,255,0.45)) drop-shadow(0 2px 6px rgba(138,180,251,0.3));
  transition: filter .3s var(--ease), transform .3s var(--ease);
}
.brand:hover .brand-orb {
  filter: drop-shadow(0 0 22px rgba(189,178,255,0.7)) drop-shadow(0 2px 6px rgba(138,180,251,0.4));
  transform: rotate(8deg);
}
.brand-orb-sm { width: 30px; height: 30px; }
.brand-name {
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-mute);
  padding: 8px 14px;
  border-radius: 999px;
  transition: all .25s var(--ease);
  letter-spacing: 0.01em;
}
.nav-links a:hover {
  color: var(--text);
  background: var(--glass);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-btn {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  padding: 7px 12px;
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  transition: all .2s var(--ease);
}
.lang-btn:hover { color: var(--text); border-color: rgba(255,255,255,0.25); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  padding: 11px 22px;
  border-radius: 999px;
  transition: all .3s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-aurora {
  background: var(--iridescent);
  color: var(--ink);
  font-weight: 600;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.3) inset,
    0 8px 24px -8px rgba(138,180,251,0.6),
    0 16px 40px -12px rgba(189,178,255,0.5);
}
.btn-aurora::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: var(--iridescent);
  background-size: 200% 200%;
  animation: orb-shift 6s var(--ease) infinite;
  z-index: -1;
}
.btn-aurora:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.4) inset,
    0 12px 32px -8px rgba(138,180,251,0.7),
    0 22px 50px -14px rgba(189,178,255,0.65);
}

.btn-glass {
  background: var(--glass-strong);
  color: var(--text);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(12px);
}
.btn-glass:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.2);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}
.btn-block { width: 100%; }

.btn-watch {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  padding: 9px 20px 9px 9px;
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  background: var(--glass);
  transition: all .3s var(--ease);
}
.btn-watch:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.07); }
.btn-watch-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--iridescent);
  display: grid; place-items: center;
  color: var(--ink);
  flex-shrink: 0;
  box-shadow: 0 4px 16px -4px rgba(138,180,251,0.5);
}
.btn-watch-meta {
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.05em;
  padding-left: 12px;
  border-left: 1px solid var(--glass-line);
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   ATOMS
   ============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 24px;
}
.eyebrow-line {
  display: inline-block;
  width: 32px; height: 1px;
  background: var(--text-trace);
}
.eyebrow-center {
  display: inline-flex;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 72px;
}
.section-head-center { text-align: center; }
.section-head-center .eyebrow { display: inline-flex; }

.section-h {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.section-sub {
  margin-top: 20px;
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--text-mute);
  max-width: 560px;
}
.section-head-center .section-sub { margin-left: auto; margin-right: auto; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 48px 0 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vh, 44px);
  overflow: hidden;
}

/* Mountain horizon */
.hero-horizon {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 56vh;
  pointer-events: none;
  z-index: 1;
}
.mountain {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  height: 100%;
}
.mountain-far { opacity: 0.6; }
.mountain-mid { opacity: 0.85; }
.mountain-near { opacity: 1; }
.hero-lake {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 18vh;
  background:
    linear-gradient(to bottom,
      transparent 0%,
      rgba(10,15,30,0.4) 30%,
      rgba(10,15,30,0.85) 70%,
      var(--bg-deep) 100%);
}

/* Hero — real ANXIO logo from Ref, with cinematic atmosphere */
.hero-orb-wrap {
  position: relative;
  width: clamp(220px, 36vmin, 340px);
  height: clamp(220px, 36vmin, 340px);
  margin: 0 auto;
  pointer-events: none;
  z-index: 3;
  /* Mouse parallax: js sets these vars; transition keeps it smooth */
  transform: translate3d(var(--mx, 0), var(--my, 0), 0);
  transition: transform 0.5s var(--ease);
  will-change: transform;
}
.hero-logo {
  position: absolute;
  inset: 8%;
  width: 84%;
  height: 84%;
  object-fit: contain;
  filter:
    drop-shadow(0 0 60px rgba(189,178,255,0.55))
    drop-shadow(0 0 120px rgba(138,180,251,0.4))
    drop-shadow(0 30px 80px rgba(217,180,240,0.3));
  animation: hero-logo-float 9s var(--ease) infinite;
  transform-origin: center;
}
@keyframes hero-logo-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-22px) rotate(2deg); }
}
.hero-orb-glow {
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
    rgba(189,178,255,0.55) 0%,
    rgba(138,180,251,0.35) 25%,
    rgba(168,218,220,0.18) 50%,
    transparent 70%);
  filter: blur(40px);
  animation: glow-pulse 6s var(--ease) infinite;
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
.hero-orb-bloom {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 50% 50%,
    rgba(189,178,255,0.20) 0%,
    rgba(168,218,220,0.08) 30%,
    transparent 50%);
  filter: blur(60px);
  pointer-events: none;
}
.hero-orb-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-orb-rings span {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  pointer-events: none;
}
.hero-orb-rings span:nth-child(1) {
  inset: -3%;
  border-color: rgba(168,218,220,0.18);
  animation: ring-spin 60s linear infinite;
}
.hero-orb-rings span:nth-child(2) {
  inset: -10%;
  border-color: rgba(217,180,240,0.10);
  animation: ring-spin 90s linear infinite reverse;
}
@keyframes ring-spin { to { transform: rotate(360deg); } }
@keyframes orb-spin { to { transform: rotate(360deg); } }

/* Hero copy */
.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 900px;
  padding: 0 32px;
  margin-top: 0;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  background: var(--glass-strong);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-line);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero-tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.hero-h1 {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: clamp(3rem, 7.6vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 28px;
}
.hero-word {
  display: block;
  background: var(--iridescent-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 24px rgba(138,180,251,0.18));
  opacity: 0;
  transform: translateY(24px);
  animation: rise 1.2s var(--ease) forwards;
}
.hero-word-1 { animation-delay: 0.1s; }
.hero-word-2 { animation-delay: 0.3s; }
.hero-word-3 { animation-delay: 0.5s; }
.hero-word .dot { color: var(--rose); -webkit-text-fill-color: transparent; }
.hero-word-2 .serif-i {
  display: inline-block;
  background: var(--iridescent-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-lead {
  font-size: 1.06rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 32px;
  color: var(--text-mute);
  opacity: 0;
  transform: translateY(20px);
  animation: rise 1s var(--ease) 0.7s forwards;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  animation: rise 1s var(--ease) 0.9s forwards;
}

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: rise 1s var(--ease) 1.1s forwards;
}
.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-mute);
  background: var(--glass);
  border: 1px solid var(--glass-line-soft);
  padding: 8px 14px;
  border-radius: 999px;
  backdrop-filter: blur(12px);
  letter-spacing: 0.02em;
}
.meta-chip svg { color: var(--cyan); }

.hero-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 5;
}
.cue-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--text-faint));
  animation: cue-down 2.4s var(--ease) infinite;
}
@keyframes cue-down {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
.cue-label {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ============================================================
   TRUST RAIL
   ============================================================ */
.trust {
  padding: 64px 0;
  border-top: 1px solid var(--glass-line-soft);
  border-bottom: 1px solid var(--glass-line-soft);
  background: rgba(6,9,20,0.4);
}
.trust-eyebrow {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.25em;
  font-weight: 500;
  color: var(--text-faint);
  margin-bottom: 24px;
}
.trust-rail {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}
.trust-track {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  animation: trust-scroll 36s linear infinite;
  padding-right: 36px;
}
@keyframes trust-scroll {
  to { transform: translateX(-50%); }
}
.trust-logo {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--text-mute);
  letter-spacing: -0.01em;
}
.trust-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--text-trace);
}

/* ============================================================
   PILLARS · BENTO
   ============================================================ */
.pillars {
  padding: 140px 0;
  position: relative;
}
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(240px, auto);
  gap: 16px;
}
.bento-card {
  position: relative;
  border-radius: var(--r-xl);
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--glass-line);
  background: var(--glass);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  transition: all .4s var(--ease);
  isolation: isolate;
}

/* Card background media (video / photo) */
.bento-bg-video,
.bento-bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
}
.bento-bg-video {
  opacity: 0.7;
  filter: brightness(1.05) saturate(1.1) contrast(1.05);
  transform: scale(1.04);
  mix-blend-mode: screen;
}
.bento-bg-photo {
  opacity: 0.42;
  filter: brightness(0.55) saturate(0.65) hue-rotate(-25deg) blur(0.5px);
  transform: scale(1.04);
}
.bento-bg-tint {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(189,178,255,0.1), transparent 60%),
    linear-gradient(180deg, rgba(10,15,30,0.45) 0%, rgba(10,15,30,0.55) 50%, rgba(6,9,20,0.85) 100%);
}
.bento-bg-tint-natural {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(168,218,220,0.18), transparent 55%),
    linear-gradient(180deg, rgba(10,15,30,0.55) 0%, rgba(10,15,30,0.7) 60%, rgba(6,9,20,0.92) 100%);
}
.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(168,218,220,0.4), rgba(189,178,255,0.4) 50%, rgba(217,180,240,0.4));
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.bento-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.06);
}
.bento-card:hover::before { opacity: 1; }

.bento-breath {
  grid-column: span 3;
  grid-row: span 2;
}
.bento-natural { grid-column: span 3; }
.bento-ai { grid-column: span 3; grid-row: span 1; }
.bento-progress { grid-column: span 3; }
.bento-private { grid-column: span 6; grid-row: span 1; flex-direction: row; align-items: center; }

.bento-badge {
  display: inline-flex;
  align-items: center;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--text-faint);
  margin-bottom: 18px;
}

.bento-visual {
  flex: 1;
  position: relative;
  margin: 12px -8px 24px;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-text h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.bento-text p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-mute);
  max-width: 460px;
}

/* BREATH visual */
.bento-breath .bento-visual { min-height: 220px; }
.breath-orb {
  position: relative;
  width: 200px; height: 200px;
}
.breath-ring {
  position: absolute;
  inset: 0;
  border: 1.5px solid;
  border-radius: 50%;
  opacity: 0;
}
.breath-r1 {
  border-color: rgba(168,218,220,0.5);
  animation: breath-pulse 5s var(--ease) infinite;
}
.breath-r2 {
  border-color: rgba(138,180,251,0.4);
  animation: breath-pulse 5s var(--ease) infinite 1s;
}
.breath-r3 {
  border-color: rgba(189,178,255,0.3);
  animation: breath-pulse 5s var(--ease) infinite 2s;
}
@keyframes breath-pulse {
  0% { opacity: 0.7; transform: scale(0.4); }
  100% { opacity: 0; transform: scale(1.4); }
}
.breath-core {
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse 60% 50% at 35% 35%, rgba(255,255,255,0.6), transparent 60%),
    var(--iridescent);
  box-shadow:
    inset 0 -15px 30px rgba(30,41,59,0.4),
    0 0 60px rgba(189,178,255,0.4);
  animation: breath-core 5s var(--ease) infinite;
}
@keyframes breath-core {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}
.breath-counter {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--text-mute);
}
.counter-num {
  background: var(--iridescent-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.counter-sep { color: var(--text-trace); }

/* Breath technique tabs */
.breath-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.bt {
  padding: 7px 14px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-mute);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-line-soft);
  border-radius: 999px;
  transition: all .25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.bt:hover { color: var(--text); background: rgba(255,255,255,0.08); border-color: var(--glass-line); }
.bt.is-active {
  color: var(--ink);
  background: var(--iridescent);
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 4px 18px -4px rgba(189,178,255,0.55);
}

/* Heart-rate pulse strip */
.breath-pulse {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(0,0,0,0.28);
  border: 1px solid var(--glass-line-soft);
  border-radius: 12px;
  margin-bottom: 16px;
  backdrop-filter: blur(10px);
}
.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 8px var(--rose);
  animation: pulse-beat 1.05s var(--ease) infinite;
  flex-shrink: 0;
}
@keyframes pulse-beat {
  0%, 100% { transform: scale(1); opacity: 1; }
  18%      { transform: scale(1.5); opacity: 0.85; }
  35%      { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.2); opacity: 0.92; }
}
.pulse-line {
  flex: 1;
  height: 22px;
}
.pulse-bpm {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  background: var(--iridescent-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  flex-shrink: 0;
}
.pulse-bpm em {
  font-size: 0.55em;
  color: var(--text-mute);
  -webkit-text-fill-color: var(--text-mute);
  font-style: italic;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* NATURAL leaf mark + tags */
.leaf-mark {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(168,218,220,0.14);
  border: 1px solid rgba(168,218,220,0.28);
  color: var(--cyan);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  box-shadow: 0 0 28px rgba(168,218,220,0.18);
  backdrop-filter: blur(10px);
}
.leaf-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.leaf-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-mute);
  background: rgba(0,0,0,0.32);
  border: 1px solid var(--glass-line-soft);
  padding: 5px 11px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
/* Override default visual margins for the natural variant */
.bento-natural .bento-visual {
  margin: 0 0 18px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

/* NATURAL */
.bento-visual-leaf {
  margin: 0 -16px 24px;
  min-height: 140px !important;
}
.bento-visual-leaf svg {
  filter: drop-shadow(0 8px 24px rgba(168,218,220,0.3));
  animation: leaf-sway 6s var(--ease) infinite;
  max-width: 160px;
}
@keyframes leaf-sway {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

/* AI */
.bento-visual-ai {
  flex-direction: column;
  align-items: stretch;
  min-height: 200px !important;
  gap: 12px;
}
.ai-graph {
  background: rgba(6,9,20,0.4);
  border: 1px solid var(--glass-line-soft);
  border-radius: var(--r);
  padding: 12px;
  height: 90px;
}
.ai-bubble {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--glass-line-soft);
  border-radius: var(--r);
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text);
}
.ai-bubble-name {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--cyan);
  margin-bottom: 4px;
  font-weight: 600;
}

/* PROGRESS */
.bento-visual-bars {
  flex-direction: column;
  gap: 14px;
  align-items: flex-start !important;
  justify-content: flex-end !important;
  min-height: 180px !important;
  padding-bottom: 8px;
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100px;
  width: 100%;
}
.bars span {
  flex: 1;
  background: linear-gradient(to top, rgba(138,180,251,0.5), rgba(189,178,255,0.85));
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  box-shadow: 0 4px 12px -4px rgba(189,178,255,0.4);
  animation: bar-rise 1.4s var(--ease) backwards;
}
.bars span:nth-child(1) { animation-delay: 0s; }
.bars span:nth-child(2) { animation-delay: 0.08s; }
.bars span:nth-child(3) { animation-delay: 0.16s; }
.bars span:nth-child(4) { animation-delay: 0.24s; }
.bars span:nth-child(5) { animation-delay: 0.32s; }
.bars span:nth-child(6) { animation-delay: 0.4s; }
.bars span:nth-child(7) { animation-delay: 0.48s; }
@keyframes bar-rise {
  from { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
  to   { transform: scaleY(1); opacity: 1; }
}
.bars-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.bars-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2rem;
  background: var(--iridescent-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.01em;
}
.bars-sub {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  text-transform: uppercase;
}

/* PRIVATE */
.bento-visual-shield {
  flex-direction: row !important;
  gap: 24px;
  margin: 0 24px 0 0 !important;
  min-height: auto !important;
  flex: 0 0 auto !important;
}
.bento-private .bento-text { flex: 1; }
.bento-private .bento-badge { margin-bottom: 10px; }
.shield-orb {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--glass-strong);
  border: 1px solid rgba(168,218,220,0.3);
  display: grid; place-items: center;
  color: var(--cyan);
  flex-shrink: 0;
  box-shadow: 0 0 30px rgba(168,218,220,0.15) inset;
}
.shield-keys {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
}
.key-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-mute);
}
.key-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

/* ============================================================
   INSIDE — phone & watch stage
   ============================================================ */
.inside {
  position: relative;
  padding: 140px 0 160px;
  overflow: hidden;
}
.inside-bg { position: absolute; inset: 0; pointer-events: none; }
.inside-aurora {
  position: absolute;
  top: 30%; left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px; height: 1000px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(189,178,255,0.18) 0%, rgba(138,180,251,0.1) 30%, transparent 60%);
  filter: blur(40px);
}

.stage {
  position: relative;
  margin-top: 80px;
  height: 660px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* DEVICE — common */
.device { position: absolute; transition: transform .6s var(--ease); }

/* PHONE */
.device-phone {
  z-index: 5;
  transform: rotate(-2deg);
  animation: device-float 9s var(--ease) infinite;
}
@keyframes device-float {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-14px); }
}
.phone-shell {
  width: 320px;
  height: 660px;
  border-radius: 56px;
  background: linear-gradient(160deg, #20283C 0%, #0A0F1E 50%, #1A2540 100%);
  padding: 14px;
  position: relative;
  box-shadow:
    0 0 0 1.5px rgba(255,255,255,0.06),
    0 0 0 8px rgba(255,255,255,0.02),
    0 60px 120px -20px rgba(189,178,255,0.35),
    0 30px 80px -10px rgba(138,180,251,0.3),
    0 12px 30px rgba(0,0,0,0.5);
}
.phone-notch {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 28px;
  background: #060914;
  border-radius: 999px;
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 44px;
  overflow: hidden;
  background: linear-gradient(180deg, #0E1428 0%, #161E3A 50%, #0F1A35 100%);
  position: relative;
  padding: 50px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.status-icons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text);
}
.bat {
  width: 22px; height: 11px;
  border: 1px solid currentColor;
  border-radius: 3px;
  position: relative;
}
.bat::before {
  content: '';
  position: absolute;
  inset: 1.5px;
  width: 14px;
  background: currentColor;
  border-radius: 1px;
}
.bat::after {
  content: '';
  position: absolute;
  right: -3px; top: 3px;
  width: 2px; height: 5px;
  background: currentColor;
  border-radius: 0 1px 1px 0;
}

.phone-greeting { padding: 4px 4px 0; }
.greet-time {
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--cyan);
  margin-bottom: 6px;
  font-weight: 600;
}
.greet-text {
  font-family: var(--sans);
  font-size: 1.7rem;
  font-weight: 300;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.greet-sub {
  font-size: 11px;
  color: var(--text-mute);
  margin-top: 4px;
}

.phone-hero-orb {
  position: relative;
  width: 130px;
  height: 130px;
  align-self: center;
  margin: 8px 0;
  border-radius: 50%;
  isolation: isolate;
}
.phb-glow {
  position: absolute; inset: -30%;
  background: radial-gradient(circle, rgba(189,178,255,0.45) 0%, rgba(138,180,251,0.22) 40%, transparent 70%);
  filter: blur(20px);
  border-radius: 50%;
  animation: glow-pulse 5s var(--ease) infinite;
}
.phb-logo {
  position: absolute;
  inset: 4%;
  width: 92%;
  height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(189,178,255,0.55)) drop-shadow(0 4px 12px rgba(138,180,251,0.4));
  animation: phb-rot 12s var(--ease) infinite;
}
@keyframes phb-rot {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

.phone-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 14px;
}
.phone-card-glass {
  background: linear-gradient(135deg, rgba(168,218,220,0.18), rgba(189,178,255,0.12));
  border-color: rgba(189,178,255,0.25);
}
.phc-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.phc-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  display: grid; place-items: center;
  color: var(--cyan);
  flex-shrink: 0;
}
.phc-text { flex: 1; }
.phc-title { font-size: 12px; font-weight: 600; color: var(--text); }
.phc-sub { font-size: 10px; color: var(--text-mute); margin-top: 2px; }
.phc-cta {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--iridescent);
  display: grid; place-items: center;
  color: var(--ink);
  font-size: 9px;
}

.phc-eyebrow {
  font-size: 9px;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--text-faint);
  margin-bottom: 8px;
}
.phc-bubble {
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 8px 11px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 6px;
  max-width: 86%;
}
.phc-bubble-u {
  background: rgba(168,218,220,0.18);
  margin-left: auto;
}
.phc-name {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--cyan);
  font-weight: 600;
  margin-right: 6px;
}

.phone-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}
.tab {
  font-size: 8px;
  color: var(--text-trace);
}
.tab-active { color: var(--cyan); }

/* WATCH */
.device-watch {
  z-index: 4;
  left: calc(50% - 320px);
  top: 70px;
  transform: rotate(-8deg);
  animation: watch-float 10s var(--ease) infinite;
  animation-delay: -2s;
}
@keyframes watch-float {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(-8deg) translateY(-18px); }
}
.watch-body {
  position: relative;
  width: 200px;
  padding: 0 18px;
}
.watch-screen {
  width: 200px;
  height: 240px;
  border-radius: 38px;
  background: #060914;
  border: 6px solid #1a1f2e;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  box-shadow:
    0 30px 60px -12px rgba(189,178,255,0.4),
    0 12px 30px rgba(0,0,0,0.5),
    inset 0 0 0 1px rgba(255,255,255,0.05);
}
.watch-time {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.05em;
}
.watch-orb {
  position: relative;
  width: 78px; height: 78px;
  margin: 18px 0 14px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 22px rgba(189,178,255,0.55)) drop-shadow(0 0 10px rgba(168,218,220,0.4));
}
.watch-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.watch-brand {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--text);
  margin-bottom: 6px;
}
.watch-msg {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  line-height: 1.3;
  color: var(--text-mute);
  font-weight: 400;
}
.watch-crown {
  position: absolute;
  right: -10px;
  top: 35%;
  width: 6px; height: 28px;
  background: linear-gradient(90deg, #2a3046, #404a66);
  border-radius: 0 3px 3px 0;
}
.watch-band {
  position: absolute;
  left: 10px; right: 10px;
  height: 60px;
  background: linear-gradient(135deg, #2a3046, #404a66);
  border-radius: 8px;
  z-index: -1;
}
.watch-band-top { top: -40px; clip-path: polygon(15% 100%, 85% 100%, 80% 0, 20% 0); }
.watch-band-bot { bottom: -40px; clip-path: polygon(20% 100%, 80% 100%, 85% 0, 15% 0); }

/* Floating bubbles */
.bubble {
  position: absolute;
  background: rgba(20,28,52,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-line);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  z-index: 6;
}

.bubble-streak {
  top: 60px;
  right: calc(50% - 360px);
  animation: bub-float 8s var(--ease) infinite;
}
.streak-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 12px var(--rose);
}
.streak-text { line-height: 1.3; }
.streak-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  background: var(--iridescent-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.01em;
}
.streak-num em { font-style: italic; font-size: 0.7rem; color: var(--text-mute); -webkit-text-fill-color: var(--text-mute); }
.streak-sub { font-size: 10px; color: var(--text-mute); letter-spacing: 0.05em; }

.bubble-doctor {
  bottom: 80px;
  right: calc(50% - 380px);
  animation: bub-float 10s var(--ease) infinite;
  animation-delay: -3s;
}
.doc-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--iridescent);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink);
}
.doc-name { font-weight: 600; font-size: 12.5px; }
.doc-status { font-size: 10.5px; color: var(--text-mute); display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; }
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #6FE2A8;
  box-shadow: 0 0 8px #6FE2A8;
}

.bubble-heart {
  bottom: 140px;
  left: calc(50% - 380px);
  animation: bub-float 9s var(--ease) infinite;
  animation-delay: -1.5s;
  text-align: left;
}
.hr-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  background: var(--iridescent-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hr-num span { font-size: 0.65rem; color: var(--text-mute); -webkit-text-fill-color: var(--text-mute); }
.hr-pulse {
  width: 48px; height: 16px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 16'><path d='M0 8 H10 L13 4 L16 12 L20 2 L24 14 L28 6 L32 10 L36 8 H48' stroke='black' fill='none' stroke-width='1.5'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 16'><path d='M0 8 H10 L13 4 L16 12 L20 2 L24 14 L28 6 L32 10 L36 8 H48' stroke='black' fill='none' stroke-width='1.5'/></svg>");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

@keyframes bub-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ============================================================
   RITUAL — 4 moments
   ============================================================ */
.ritual {
  padding: 140px 0;
}
.ritual-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ritual-card {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--glass-line);
  background: var(--glass);
  backdrop-filter: blur(20px);
  padding: 32px 28px 36px;
  overflow: hidden;
  transition: all .35s var(--ease);
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.ritual-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 50%;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  opacity: 0.35;
  pointer-events: none;
}
.r-dawn::before { background: linear-gradient(180deg, rgba(255,180,200,0.5), transparent); }
.r-noon::before { background: linear-gradient(180deg, rgba(168,218,220,0.5), transparent); }
.r-dusk::before { background: linear-gradient(180deg, rgba(189,178,255,0.55), transparent); }
.r-night::before { background: linear-gradient(180deg, rgba(75,90,160,0.5), transparent); }

.ritual-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.06);
}
.ritual-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.75rem;
  color: var(--text);
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}
.ritual-arc {
  position: absolute;
  top: 70px; right: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 1px solid var(--glass-line);
  pointer-events: none;
}
.r-dawn .ritual-arc { background: radial-gradient(circle at 30% 70%, rgba(255,180,200,0.4), transparent 60%); }
.r-noon .ritual-arc { background: radial-gradient(circle at 50% 50%, rgba(168,218,220,0.4), transparent 60%); }
.r-dusk .ritual-arc { background: radial-gradient(circle at 70% 30%, rgba(189,178,255,0.5), transparent 60%); }
.r-night .ritual-arc { background: radial-gradient(circle at 50% 30%, rgba(138,180,251,0.4), transparent 60%); }
.ritual-card h3 {
  font-size: 1.4rem;
  font-weight: 500;
  margin-top: auto;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.ritual-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-mute);
  position: relative;
  z-index: 1;
}

/* ============================================================
   OUTCOMES
   ============================================================ */
.outcomes {
  padding: 140px 0;
  position: relative;
}
.outcomes::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(189,178,255,0.08), transparent 60%);
  pointer-events: none;
}
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
  position: relative;
}
.oc {
  text-align: center;
  padding: 32px 20px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-line);
  border-radius: var(--r-xl);
  transition: all .35s var(--ease);
}
.oc:hover { transform: translateY(-3px); background: rgba(255,255,255,0.06); }
.oc-num {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.5vw, 3.6rem);
  letter-spacing: -0.02em;
  background: var(--iridescent-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 12px;
}
.oc-num span {
  font-size: 0.45em;
  color: var(--text-mute);
  -webkit-text-fill-color: var(--text-mute);
  font-style: italic;
}
.oc-l {
  font-size: 0.92rem;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}

/* ============================================================
   QUOTE CINEMA
   ============================================================ */
.quote-cinema {
  padding: 140px 0;
  text-align: center;
  position: relative;
  border-top: 1px solid var(--glass-line-soft);
  border-bottom: 1px solid var(--glass-line-soft);
  background: linear-gradient(180deg, rgba(189,178,255,0.02), transparent);
}
.quote-stars {
  font-size: 14px;
  letter-spacing: 4px;
  background: var(--iridescent-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 28px;
}
.quote-text {
  max-width: 880px;
  margin: 0 auto 32px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--text);
  font-weight: 400;
}
.quote-attr {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.qa-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--iridescent);
  color: var(--ink);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
}
.qa-name { font-weight: 500; color: var(--text); }
.qa-role { font-size: 13px; color: var(--text-mute); margin-top: 2px; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { padding: 140px 0; }
.pricing-page { padding-top: 40px; }
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.plan {
  position: relative;
  padding: 40px 32px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-line);
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  transition: all .4s var(--ease);
  overflow: hidden;
}
.plan:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
}
.plan-featured {
  background: linear-gradient(180deg, rgba(189,178,255,0.12), rgba(138,180,251,0.06));
  border-color: rgba(189,178,255,0.3);
  transform: scale(1.04);
  box-shadow: 0 30px 60px -20px rgba(189,178,255,0.4);
}
.plan-featured:hover { transform: scale(1.04) translateY(-4px); }
.plan-featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(189,178,255,0.15), transparent 50%);
  pointer-events: none;
}

.plan-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--iridescent);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 20px -6px rgba(189,178,255,0.6);
}
.plan-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 6px;
}
.plan-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--text-mute);
  margin-bottom: 24px;
}
.plan-num {
  font-family: var(--serif);
  font-size: 3.6rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.plan-num-text { font-style: italic; font-size: 2.4rem; }
.plan-per {
  font-family: var(--sans);
  font-style: normal;
  font-size: 14px;
  color: var(--text-mute);
  font-weight: 400;
}
.plan-desc {
  font-size: 0.95rem;
  color: var(--text-mute);
  margin-bottom: 28px;
  line-height: 1.55;
}
.plan-list {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
}
.plan-list li {
  font-size: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-line-soft);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-mute);
}
.plan-list li:last-child { border-bottom: 0; }
.lc {
  background: var(--iridescent-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 12px;
  flex-shrink: 0;
}
.plan a { margin-top: auto; }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 140px 0;
  position: relative;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
}
.faq-head {
  position: sticky;
  top: 110px;
  height: max-content;
}
.faq-list {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid var(--glass-line);
  padding: 0;
}
.faq-item:first-child { border-top: 1px solid var(--glass-line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
  transition: color .2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--cyan); }
.fq-toggle {
  position: relative;
  width: 16px; height: 16px;
  margin-left: 16px;
  flex-shrink: 0;
}
.fq-toggle::before, .fq-toggle::after {
  content: '';
  position: absolute;
  top: 50%; left: 0;
  width: 16px; height: 1.5px;
  background: var(--text-mute);
  transition: transform .3s var(--ease);
}
.fq-toggle::after { transform: rotate(90deg); }
.faq-item[open] .fq-toggle::after { transform: rotate(0); }
.faq-item p {
  padding: 0 0 28px;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--text-mute);
  max-width: 640px;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  padding: 80px 0 140px;
}
.cta-stage {
  position: relative;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(189,178,255,0.08), rgba(10,15,30,0.5));
  border: 1px solid var(--glass-line);
  padding: 80px 60px 100px;
  text-align: center;
  overflow: hidden;
  backdrop-filter: blur(20px);
}
.cta-orb {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 240px;
  pointer-events: none;
}
.cta-orb-glow {
  position: absolute;
  inset: -30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(189,178,255,0.55) 0%, rgba(168,218,220,0.2) 30%, transparent 60%);
  filter: blur(30px);
  animation: glow-pulse 6s var(--ease) infinite;
}
.cta-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 0 40px rgba(189,178,255,0.55))
    drop-shadow(0 0 80px rgba(138,180,251,0.4))
    drop-shadow(0 30px 60px rgba(189,178,255,0.45));
  animation: hero-logo-float 9s var(--ease) infinite;
}
.cta-text { position: relative; margin-top: 80px; }
.cta-h {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  color: var(--text);
}
.cta-sub {
  font-size: 1.05rem;
  color: var(--text-mute);
  max-width: 560px;
  margin: 0 auto 40px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   PAGE HEROS
   ============================================================ */
.page-hero {
  padding: 100px 0 60px;
  position: relative;
}
.page-hero .container { max-width: 880px; text-align: center; }
.page-h {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
  line-height: 1.05;
}
.page-lede {
  font-size: 1.1rem;
  color: var(--text-mute);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.65;
}

/* About values */
.values { padding: 60px 0 140px; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.value {
  position: relative;
  padding: 36px 32px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-line);
  border-radius: var(--r-xl);
  transition: all .35s var(--ease);
}
.value:hover { background: rgba(255,255,255,0.06); transform: translateY(-3px); }
.value-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  background: var(--iridescent-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  position: absolute;
  top: 32px; right: 32px;
}
.value h3 { font-size: 1.4rem; font-weight: 500; margin-bottom: 12px; }
.value p { font-size: 0.96rem; line-height: 1.65; max-width: 460px; }

/* Contact */
.contact-section { padding: 60px 0 140px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px;
  border-radius: var(--r);
  background: var(--glass-strong);
  border: 1px solid var(--glass-line);
  display: grid; place-items: center;
  color: var(--cyan);
  flex-shrink: 0;
}
.contact-key {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 500;
  margin-bottom: 4px;
}
.contact-val {
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
.contact-fine { font-size: 12px; color: var(--text-mute); margin-top: 4px; }

/* Form card */
.form-card {
  padding: 40px 36px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-line);
  border-radius: var(--r-xl);
}
.form-title { font-size: 1.4rem; margin-bottom: 24px; font-weight: 500; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 8px;
  font-weight: 500;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--glass-line);
  border-radius: var(--r);
  font-size: 14px;
  color: var(--text);
  transition: all .2s var(--ease);
  outline: none;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(168,218,220,0.5);
  background: rgba(0,0,0,0.4);
  box-shadow: 0 0 0 4px rgba(168,218,220,0.08);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-msg {
  font-size: 13px;
  padding: 12px 16px;
  border-radius: var(--r);
  margin-bottom: 14px;
  display: none;
}
.form-msg.success { display: block; background: rgba(168,218,220,0.12); color: var(--cyan); }
.form-msg.error { display: block; background: rgba(217,180,240,0.12); color: var(--rose); }

/* ============================================================
   AUTH MODAL
   ============================================================ */
.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6,9,20,0.7);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 200;
  animation: fade .3s var(--ease);
}
.auth-overlay.open { display: flex; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.auth-modal {
  width: 100%;
  max-width: 460px;
  background: linear-gradient(180deg, #131A30 0%, #0E1428 100%);
  border: 1px solid var(--glass-line);
  border-radius: var(--r-xl);
  padding: 44px 40px 36px;
  position: relative;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 0 1px rgba(189,178,255,0.1);
  animation: rise-modal .4s var(--ease);
}
@keyframes rise-modal {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.auth-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 22px;
  color: var(--text-mute);
  transition: all .2s var(--ease);
}
.auth-close:hover { background: var(--glass); color: var(--text); }
.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.18em;
  margin-bottom: 20px;
}
.auth-title { font-size: 1.7rem; font-weight: 300; margin-bottom: 6px; }
.auth-sub { font-size: 14px; color: var(--text-mute); margin-bottom: 24px; }
.auth-switch {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--glass-line);
  text-align: center;
  font-size: 14px;
  color: var(--text-mute);
}
.auth-switch a {
  color: var(--cyan);
  font-weight: 500;
  cursor: pointer;
}
.auth-switch a:hover { text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 80px 0 36px;
  border-top: 1px solid var(--glass-line-soft);
  background: rgba(6,9,20,0.6);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 80px;
  margin-bottom: 56px;
}
.brand-footer { color: var(--text); margin-bottom: 16px; }
.footer-tag {
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--text);
  margin-bottom: 22px;
}
.footer-tag em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.footer-cert { display: flex; gap: 8px; flex-wrap: wrap; }
.cert {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: var(--cyan);
  border: 1px solid rgba(168,218,220,0.25);
  padding: 5px 11px;
  border-radius: 999px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-mute);
  padding: 5px 0;
  transition: color .2s var(--ease);
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--glass-line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-emergency { color: var(--rose); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .bento-breath { grid-column: span 6; grid-row: span 2; }
  .bento-natural, .bento-ai, .bento-progress { grid-column: span 3; }
  .bento-private { grid-column: span 6; }

  .stage { height: auto; min-height: 540px; padding: 0 16px; }
  .device-watch { left: 8%; top: 0; }
  .bubble-streak { right: 4%; top: 30px; }
  .bubble-doctor { right: 6%; bottom: 30px; }
  .bubble-heart { left: 6%; bottom: 100px; }
}
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .ritual-grid { grid-template-columns: repeat(2, 1fr); }
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 480px; }
  .plan-featured { transform: scale(1); }
  .plan-featured:hover { transform: translateY(-3px); }
  .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .faq-head { position: static; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .values-grid { grid-template-columns: 1fr; }
  .hero-orb-wrap { width: 420px; height: 420px; }
  .stage { min-height: 720px; }
  .device-watch { left: 50%; top: 0; transform: translateX(-50%) translateX(-200px) rotate(-8deg); }
  .bubble-streak { top: 10px; right: 5%; }
  .bubble-heart { left: 5%; bottom: 50px; }
  .bubble-doctor { right: 5%; bottom: 50px; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-actions .btn-glass { display: none; }
  .nav-inner { padding: 12px 20px; gap: 16px; }
  .announce-inner { padding: 10px 20px; font-size: 11.5px; }

  .hero { padding: 60px 0 100px; min-height: auto; }
  .hero-orb-wrap { width: 320px; height: 320px; transform: translate(-50%, -75%); }
  .hero-h1 { font-size: clamp(2.8rem, 12vw, 4.5rem); }
  .hero-content { margin-top: 40px; }

  .pillars, .inside, .ritual, .outcomes, .quote-cinema, .pricing, .faq, .final-cta { padding: 80px 0; }
  .bento { grid-template-columns: 1fr; }
  .bento-breath, .bento-natural, .bento-ai, .bento-progress, .bento-private { grid-column: span 1; }
  .bento-private { flex-direction: column; align-items: flex-start; }
  .bento-visual-shield { flex-direction: row !important; margin: 12px 0 24px !important; }
  .ritual-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .auth-modal { padding: 36px 28px 28px; }

  .stage { min-height: 600px; padding-top: 40px; }
  .device-watch { transform: translateX(-50%) translateX(-130px) rotate(-8deg); }
  .device-watch .watch-screen { width: 160px; height: 200px; }
  .device-phone { transform: rotate(-2deg) scale(0.85); }
  .bubble { transform: scale(0.85); }
  .bubble-streak { right: 0; top: 0; }
  .bubble-heart { left: 0; bottom: 30px; }
  .bubble-doctor { right: 0; bottom: 30px; }

  .cta-stage { padding: 60px 24px 70px; }
  .cta-orb { width: 180px; height: 180px; top: -90px; }
}

@media (max-width: 480px) {
  .nav-actions .lang-btn { display: none; }
  .footer-cols { grid-template-columns: 1fr; }
  .hero-h1 { font-size: clamp(2.6rem, 14vw, 4rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .btn-watch { justify-content: flex-start; }
}

/* ============================================================
   SPLASH SCREEN — cinematic intro that blends into the site
   ============================================================ */
body.splash-active { overflow: hidden; }

.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  /* Fade out timing matches when stage animations complete */
  animation: splash-out 0.9s cubic-bezier(.6,.0,.3,1) 2.6s forwards;
  pointer-events: auto;
}
.splash-hidden { display: none !important; }

@keyframes splash-out {
  0%   { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

/* Backdrop: same atmosphere palette as the hero so it feels like one continuous scene */
.splash-bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
.splash-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0;
  animation: splash-aurora-in 1.6s var(--ease) 0.1s forwards,
             aurora-drift 22s var(--ease) 1.6s infinite alternate;
}
.splash-aurora-1 {
  top: -10%; left: -10%;
  width: 70vmax; height: 70vmax;
  background: radial-gradient(circle, rgba(138,180,251,0.4) 0%, transparent 65%);
}
.splash-aurora-2 {
  bottom: -20%; right: -15%;
  width: 80vmax; height: 80vmax;
  background: radial-gradient(circle, rgba(189,178,255,0.32) 0%, rgba(217,180,240,0.18) 35%, transparent 70%);
  animation-delay: 0.2s, 1.8s;
}
@keyframes splash-aurora-in {
  to { opacity: 0.9; }
}
.splash-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 25%, rgba(6,9,20,0.55) 70%, rgba(6,9,20,0.95) 100%);
}
.splash-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.6' numOctaves='2' stitchTiles='stitch'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.55'/></svg>");
  background-size: 220px 220px;
  opacity: 0.07;
  mix-blend-mode: overlay;
}

/* Stage centers everything */
.splash-stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 40px 20px;
  max-width: 540px;
  text-align: center;
}

/* Logo with three glow layers + bloom + entrance */
.splash-logo {
  position: relative;
  width: clamp(140px, 18vmin, 200px);
  height: clamp(140px, 18vmin, 200px);
  display: grid;
  place-items: center;
  isolation: isolate;
}
.splash-logo-glow {
  position: absolute;
  inset: -30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(189,178,255,0.55) 0%, rgba(138,180,251,0.3) 30%, transparent 65%);
  filter: blur(28px);
  opacity: 0;
  animation: splash-glow-in 1.4s var(--ease) 0.6s forwards,
             splash-glow-pulse 4s var(--ease) 2.0s infinite;
}
.splash-logo-bloom {
  position: absolute;
  inset: -80%;
  background: radial-gradient(circle, rgba(168,218,220,0.18) 0%, transparent 50%);
  filter: blur(50px);
  opacity: 0;
  animation: splash-glow-in 1.4s var(--ease) 0.8s forwards;
}
@keyframes splash-glow-in {
  to { opacity: 1; }
}
@keyframes splash-glow-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.08); opacity: 0.92; }
}
.splash-logo-img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 0 28px rgba(189,178,255,0.6))
    drop-shadow(0 0 60px rgba(138,180,251,0.45))
    drop-shadow(0 16px 32px rgba(217,180,240,0.3));
  opacity: 0;
  transform: scale(0.6) rotate(-12deg);
  filter: blur(16px) drop-shadow(0 0 28px rgba(189,178,255,0.6));
  animation: splash-logo-in 1.4s cubic-bezier(.2,.8,.2,1) 0.2s forwards;
}
@keyframes splash-logo-in {
  0%   { opacity: 0; transform: scale(0.6) rotate(-12deg); filter: blur(16px) drop-shadow(0 0 28px rgba(189,178,255,0.6)); }
  60%  { opacity: 1; transform: scale(1.04) rotate(2deg); filter: blur(2px) drop-shadow(0 0 28px rgba(189,178,255,0.6)) drop-shadow(0 0 60px rgba(138,180,251,0.45)); }
  100% { opacity: 1; transform: scale(1) rotate(0); filter: blur(0) drop-shadow(0 0 28px rgba(189,178,255,0.6)) drop-shadow(0 0 60px rgba(138,180,251,0.45)) drop-shadow(0 16px 32px rgba(217,180,240,0.3)); }
}

/* Wordmark — letter stagger reveal */
.splash-wordmark {
  display: inline-flex;
  gap: clamp(8px, 1.4vmin, 14px);
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(2rem, 4.2vmin, 2.8rem);
  letter-spacing: 0.32em;
  margin-left: 0.32em; /* compensate trailing letter-spacing visually */
  color: var(--text);
}
.splash-wordmark span {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
  background: var(--iridescent-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 16px rgba(189,178,255,0.4));
  animation: splash-letter-in 0.7s cubic-bezier(.2,.7,.2,1) forwards;
}
.splash-wordmark span:nth-child(1) { animation-delay: 1.0s; }
.splash-wordmark span:nth-child(2) { animation-delay: 1.08s; }
.splash-wordmark span:nth-child(3) { animation-delay: 1.16s; }
.splash-wordmark span:nth-child(4) { animation-delay: 1.24s; }
.splash-wordmark span:nth-child(5) { animation-delay: 1.32s; }
@keyframes splash-letter-in {
  to { opacity: 1; transform: translateY(0); }
}

/* Tagline — letterspaced reveal */
.splash-tagline {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 1.4vmin, 12px);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.42em;
  color: var(--text-mute);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  animation: splash-tag-in 0.9s var(--ease) 1.55s forwards;
}
.splash-tagline .dot { color: var(--cyan); opacity: 0.7; }
@keyframes splash-tag-in {
  to { opacity: 1; transform: translateY(0); }
}

/* Progress line — iridescent fill */
.splash-progress {
  width: clamp(160px, 24vmin, 220px);
  height: 1.5px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 12px;
  opacity: 0;
  animation: splash-tag-in 0.6s var(--ease) 1.6s forwards;
}
.splash-progress-fill {
  width: 0%;
  height: 100%;
  background: var(--iridescent);
  background-size: 200% 100%;
  border-radius: 2px;
  box-shadow: 0 0 16px rgba(189,178,255,0.6), 0 0 4px rgba(168,218,220,0.6);
  animation: splash-progress-fill 1.0s cubic-bezier(.4,.0,.2,1) 1.7s forwards,
             splash-shimmer 1.0s linear 1.7s;
}
@keyframes splash-progress-fill {
  to { width: 100%; }
}
@keyframes splash-shimmer {
  to { background-position: 200% 0; }
}

/* Reduced motion: skip splash quickly */
@media (prefers-reduced-motion: reduce) {
  .splash { animation: splash-out 0.3s linear 0.4s forwards; }
  .splash-logo-img,
  .splash-wordmark span,
  .splash-tagline,
  .splash-progress,
  .splash-progress-fill,
  .splash-logo-glow,
  .splash-logo-bloom,
  .splash-aurora { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
  .splash-progress-fill { width: 100%; }
}

/* Short-viewport tightening — laptops with limited vertical space */
@media (max-height: 820px) {
  .hero { padding: 32px 0 80px; gap: 20px; }
  .hero-orb-wrap { width: clamp(200px, 30vmin, 280px); height: clamp(200px, 30vmin, 280px); }
  .hero-h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 20px; }
  .hero-lead { margin-bottom: 24px; }
  .hero-actions { margin-bottom: 24px; }
  .hero-tag { margin-bottom: 18px; }
}
@media (max-height: 700px) {
  .hero-orb-wrap { width: 200px; height: 200px; }
  .hero-h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
