/* Detox AI — definitive marketing UI
   Calm navy + teal recovery aesthetic. Motion with presence, not noise. */

:root {
  --ink950: #060a10;
  --ink900: #0a1019;
  --ink850: #0d1520;
  --ink800: #111a28;
  --ink700: #1a2638;
  --ink600: #24344e;
  --teal: #2fd4c6;
  --teal-deep: #0e9f8e;
  --teal-glow: rgba(47, 212, 198, 0.35);
  --emerald: #34d399;
  --amber: #f4b860;
  --gold: #f7d98b;
  --gold-bright: #ce9b3d;
  --mist50: #eaf0f8;
  --mist200: #c5d0e0;
  --mist300: #9fb0c9;
  --coral: #f0938e;
  --hero-top: #153a52;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 80px rgba(47, 212, 198, 0.18);
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-head: "Sora", system-ui, sans-serif;
  --nav-h: 76px;
  --max-w: 1180px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.35s var(--ease-soft);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--mist50);
  background: var(--ink900);
  overflow-x: hidden;
}

/* Atmospheric mesh behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 90% 55% at 15% -10%, rgba(47, 212, 198, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 45% at 95% 20%, rgba(52, 211, 153, 0.06), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(21, 58, 82, 0.5), transparent 60%),
    var(--ink900);
  pointer-events: none;
}

/* Soft film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--emerald); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.65em;
  color: var(--mist50);
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); letter-spacing: -0.015em; }
p { margin: 0 0 1em; color: var(--mist300); }
p:last-child { margin-bottom: 0; }

.container {
  width: min(100% - 2.5rem, var(--max-w));
  margin-inline: auto;
}

.section {
  padding: clamp(5rem, 10vw, 8.5rem) 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid rgba(47, 212, 198, 0.35);
  border-radius: 50px;
  padding: 0.4rem 0.95rem;
  margin-bottom: 1.35rem;
  background: rgba(47, 212, 198, 0.05);
  backdrop-filter: blur(8px);
}

.section-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(10, 16, 25, 0.55);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease-soft), border-color 0.4s, transform 0.4s var(--ease-out);
}

.nav.scrolled {
  background: rgba(10, 16, 25, 0.88);
  border-bottom-color: rgba(39, 55, 80, 0.55);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--mist50);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
}

.nav-brand img {
  width: 38px;
  height: 38px;
  transition: transform 0.5s var(--ease-out), filter 0.5s;
}

.nav-brand:hover img {
  transform: scale(1.06) rotate(-3deg);
  filter: drop-shadow(0 0 12px var(--teal-glow));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--mist300);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}

.nav-links a:not(.btn):hover {
  color: var(--mist50);
}

.nav-links a:not(.btn):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--mist50);
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle svg { width: 24px; height: 24px; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.65rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, background 0.3s, border-color 0.3s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #3de0d1 0%, var(--teal) 50%, var(--teal-deep) 100%);
  color: var(--ink900);
  box-shadow: 0 4px 24px rgba(47, 212, 198, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 36px rgba(47, 212, 198, 0.4);
  color: var(--ink900);
}

.btn-primary:hover::before { transform: translateX(120%); }

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--mist50);
  border: 1px solid rgba(159, 176, 201, 0.25);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(47, 212, 198, 0.06);
  transform: translateY(-2px);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* ========== HERO ========== */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 2rem) 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-aurora {
  position: absolute;
  inset: -20% -10% 20%;
  background:
    radial-gradient(ellipse 50% 40% at 70% 30%, rgba(47, 212, 198, 0.16), transparent 60%),
    radial-gradient(ellipse 40% 35% at 20% 60%, rgba(21, 58, 82, 0.55), transparent 55%),
    radial-gradient(ellipse 55% 30% at 50% 0%, rgba(52, 211, 153, 0.08), transparent 50%);
  animation: aurora-drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes aurora-drift {
  0% { transform: translate(0, 0) scale(1); opacity: 0.85; }
  100% { transform: translate(-3%, 4%) scale(1.06); opacity: 1; }
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  opacity: 0.45;
}

.hero-orb-1 {
  width: 420px;
  height: 420px;
  top: 10%;
  right: 8%;
  background: rgba(47, 212, 198, 0.22);
  animation: float-orb 10s ease-in-out infinite;
}

.hero-orb-2 {
  width: 280px;
  height: 280px;
  bottom: 15%;
  left: 5%;
  background: rgba(52, 211, 153, 0.12);
  animation: float-orb 14s ease-in-out infinite reverse;
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -28px); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { position: relative; }

.hero-logo-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin-bottom: 1.75rem;
}

.hero-logo-wrap img {
  width: 88px;
  height: 88px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 40px rgba(47, 212, 198, 0.45));
}

.hero-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(47, 212, 198, 0.35);
  animation: ring-pulse 3.2s var(--ease-soft) infinite;
}

.hero-ring-2 {
  inset: -22px;
  border-color: rgba(47, 212, 198, 0.15);
  animation-delay: 0.6s;
  animation-duration: 4s;
}

@keyframes ring-pulse {
  0% { transform: scale(0.92); opacity: 0.8; }
  70% { transform: scale(1.12); opacity: 0; }
  100% { transform: scale(1.12); opacity: 0; }
}

.hero-tagline {
  font-family: var(--font-head);
  font-size: clamp(0.78rem, 1.6vw, 0.92rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.1rem;
  display: inline-block;
}

.hero h1 {
  max-width: 11ch;
  margin-bottom: 1.15rem;
  background: linear-gradient(180deg, #fff 0%, var(--mist200) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 80px rgba(47, 212, 198, 0.15);
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  max-width: 34rem;
  margin-bottom: 2rem;
  color: var(--mist200);
  line-height: 1.75;
}

.waitlist-shell {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
  max-width: 460px;
}

.waitlist-form {
  display: flex;
  gap: 0.45rem;
  width: 100%;
  padding: 0.35rem;
  border-radius: 60px;
  background: rgba(17, 26, 40, 0.7);
  border: 1px solid rgba(47, 212, 198, 0.2);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03), 0 20px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
  transition: border-color 0.35s, box-shadow 0.35s;
}

.waitlist-form:focus-within {
  border-color: rgba(47, 212, 198, 0.55);
  box-shadow: 0 0 0 1px rgba(47, 212, 198, 0.2), 0 0 40px rgba(47, 212, 198, 0.12);
}

.waitlist-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 1.2rem;
  border-radius: 50px;
  border: none;
  background: transparent;
  color: var(--mist50);
  font-family: var(--font-body);
  font-size: 0.98rem;
  outline: none;
}

.waitlist-form input[type="email"]::placeholder { color: var(--mist300); }

.waitlist-form .btn {
  flex-shrink: 0;
  padding-inline: 1.4rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.05rem;
  background: rgba(17, 26, 40, 0.65);
  border: 1px solid rgba(39, 55, 80, 0.7);
  border-radius: 50px;
  font-size: 0.84rem;
  color: var(--mist300);
  backdrop-filter: blur(8px);
}

.launch-badge svg {
  width: 18px;
  height: 18px;
  opacity: 0.55;
}

.form-message {
  font-size: 0.9rem;
  min-height: 1.35em;
}

.form-message.success { color: var(--emerald); }
.form-message.error { color: var(--coral); }

/* ========== PHONE STAGE ========== */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-stage {
  position: relative;
  width: min(100%, 340px);
  perspective: 1200px;
}

.phone-glow {
  position: absolute;
  inset: 10% -15%;
  background: radial-gradient(circle, rgba(47, 212, 198, 0.28), transparent 65%);
  filter: blur(30px);
  animation: pulse-glow 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.phone-mockup {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 18.5;
  background: linear-gradient(160deg, #1a2436, #0c121c);
  border-radius: 42px;
  border: 2px solid rgba(159, 176, 201, 0.18);
  padding: 10px;
  box-shadow:
    var(--shadow),
    var(--shadow-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.7s var(--ease-out);
  will-change: transform;
}

.phone-stage:hover .phone-mockup {
  transform: rotateY(-2deg) rotateX(1deg) translateY(-6px);
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 22px;
  background: #05080e;
  border-radius: 20px;
  z-index: 5;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 20%, rgba(47, 212, 198, 0.12), transparent),
    linear-gradient(180deg, #132536 0%, var(--ink900) 55%);
  padding: 2.6rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.phone-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
}

.phone-top img {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 0 20px rgba(47, 212, 198, 0.4));
}

.shield-label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.shield-status {
  font-size: 0.78rem;
  color: var(--emerald);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.shield-status::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--emerald);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.phone-layers {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.p-layer {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(47, 212, 198, 0.12);
  font-size: 0.78rem;
  color: var(--mist200);
  font-weight: 500;
  opacity: 0;
  transform: translateX(12px);
  animation: layer-in 0.7s var(--ease-out) forwards;
}

.p-layer:nth-child(1) { animation-delay: 0.4s; }
.p-layer:nth-child(2) { animation-delay: 0.55s; }
.p-layer:nth-child(3) { animation-delay: 0.7s; }
.p-layer:nth-child(4) { animation-delay: 0.85s; }

@keyframes layer-in {
  to { opacity: 1; transform: translateX(0); }
}

.p-layer-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
  flex-shrink: 0;
}

.p-layer:nth-child(2) .p-layer-dot { background: #5eead4; }
.p-layer:nth-child(3) .p-layer-dot { background: var(--emerald); }
.p-layer:nth-child(4) .p-layer-dot { background: var(--amber); box-shadow: 0 0 10px rgba(244, 184, 96, 0.5); }

.phone-meter {
  margin-top: 1.1rem;
  padding: 0.85rem;
  border-radius: 14px;
  background: rgba(47, 212, 198, 0.06);
  border: 1px solid rgba(47, 212, 198, 0.15);
}

.phone-meter-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--mist300);
  margin-bottom: 0.45rem;
}

.phone-meter-bar {
  height: 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.phone-meter-fill {
  height: 100%;
  width: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--teal-deep), var(--teal), var(--emerald));
  animation: meter-fill 2.2s var(--ease-out) 1s forwards;
  box-shadow: 0 0 12px var(--teal-glow);
}

@keyframes meter-fill {
  to { width: 92%; }
}

.float-chip {
  position: absolute;
  padding: 0.55rem 0.9rem;
  border-radius: 50px;
  background: rgba(17, 26, 40, 0.85);
  border: 1px solid rgba(47, 212, 198, 0.25);
  backdrop-filter: blur(12px);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mist50);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  z-index: 3;
  animation: chip-float 5s ease-in-out infinite;
}

.float-chip-1 {
  top: 18%;
  left: -12%;
  animation-delay: 0s;
}

.float-chip-2 {
  bottom: 22%;
  right: -14%;
  animation-delay: 1.2s;
  border-color: rgba(52, 211, 153, 0.3);
}

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

/* ========== PROBLEM / HOPE ========== */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: stretch;
}

.panel {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: rgba(17, 26, 40, 0.55);
  border: 1px solid rgba(39, 55, 80, 0.55);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 212, 198, 0.35), transparent);
}

.quote-block {
  border-left: 2px solid var(--teal);
  padding-left: 1.25rem;
  margin: 1.5rem 0 0;
}

.quote-block p {
  font-size: 1.12rem;
  color: var(--mist50);
  font-style: italic;
  line-height: 1.55;
}

.hope-card {
  background:
    linear-gradient(145deg, rgba(47, 212, 198, 0.1), rgba(52, 211, 153, 0.03) 45%, transparent),
    rgba(17, 26, 40, 0.65);
  border-color: rgba(47, 212, 198, 0.28);
  box-shadow: 0 0 60px rgba(47, 212, 198, 0.06);
}

/* ========== LAYERS / SHIELD ORCHESTRA ========== */
.layers-section {
  background:
    radial-gradient(ellipse 70% 50% at 50% 20%, rgba(47, 212, 198, 0.09), transparent 55%),
    transparent;
  overflow: hidden;
}

.layers-title em {
  font-style: normal;
  color: var(--teal);
  text-shadow: 0 0 40px rgba(47, 212, 198, 0.35);
}

.shield-orchestra {
  position: relative;
  display: grid;
  gap: 2.5rem;
  padding-top: 0.5rem;
}

.shield-core {
  position: relative;
  width: min(240px, 55vw);
  height: min(240px, 55vw);
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.shield-core-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 212, 198, 0.28), transparent 70%);
  filter: blur(18px);
  opacity: 0.4;
  transition: opacity 0.8s, transform 0.8s;
}

.shield-orchestra.is-armed .shield-core-glow {
  opacity: 1;
  transform: scale(1.15);
  animation: core-breathe 3.5s ease-in-out infinite;
}

@keyframes core-breathe {
  0%, 100% { transform: scale(1.1); opacity: 0.85; }
  50% { transform: scale(1.25); opacity: 1; }
}

.shield-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.shield-rings .ring {
  fill: none;
  stroke: rgba(47, 212, 198, 0.15);
  stroke-width: 1.5;
  stroke-dasharray: 680;
  stroke-dashoffset: 680;
  transform-origin: center;
  transition: stroke 0.4s;
}

.shield-orchestra.is-ready .ring {
  animation: ring-draw 1.1s var(--ease-out) forwards;
}

.shield-orchestra.is-ready .ring-1 { animation-delay: 0.05s; stroke: rgba(47, 212, 198, 0.85); stroke-width: 2; }
.shield-orchestra.is-ready .ring-2 { animation-delay: 0.35s; stroke: rgba(47, 212, 198, 0.55); }
.shield-orchestra.is-ready .ring-3 { animation-delay: 0.65s; stroke: rgba(52, 211, 153, 0.4); }
.shield-orchestra.is-ready .ring-4 { animation-delay: 0.95s; stroke: rgba(47, 212, 198, 0.25); }

@keyframes ring-draw {
  to { stroke-dashoffset: 0; }
}

.shield-orchestra.is-armed .ring {
  animation: ring-spin 18s linear infinite;
}

.shield-orchestra.is-armed .ring-2 { animation-duration: 24s; animation-direction: reverse; }
.shield-orchestra.is-armed .ring-3 { animation-duration: 32s; }
.shield-orchestra.is-armed .ring-4 { animation-duration: 40s; animation-direction: reverse; }

@keyframes ring-spin {
  to { transform: rotate(360deg); }
}

.shield-core-mark {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
}

.shield-core-mark img {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 0 24px rgba(47, 212, 198, 0.5));
  transform: scale(0.85);
  opacity: 0.6;
  transition: transform 0.7s var(--ease-out), opacity 0.7s, filter 0.7s;
}

.shield-orchestra.is-ready .shield-core-mark img {
  transform: scale(1);
  opacity: 1;
}

.shield-orchestra.is-armed .shield-core-mark img {
  filter: drop-shadow(0 0 36px rgba(47, 212, 198, 0.75));
  animation: logo-pulse 2.8s ease-in-out infinite;
}

@keyframes logo-pulse {
  0%, 100% { filter: drop-shadow(0 0 28px rgba(47, 212, 198, 0.55)); }
  50% { filter: drop-shadow(0 0 48px rgba(47, 212, 198, 0.9)); }
}

.shield-core-status {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist300);
  transition: color 0.4s;
}

.shield-orchestra.is-armed .shield-core-status {
  color: var(--emerald);
  text-shadow: 0 0 16px rgba(52, 211, 153, 0.4);
}

.layers-rail {
  position: relative;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -0.5rem 0 0.25rem;
}

.layers-rail-line {
  position: relative;
  width: min(920px, 92%);
  height: 2px;
  border-radius: 10px;
  background: rgba(47, 212, 198, 0.12);
  overflow: hidden;
}

.layers-rail-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: linear-gradient(90deg, var(--teal-deep), var(--teal), var(--emerald));
  box-shadow: 0 0 16px var(--teal-glow);
  transition: width 0.45s var(--ease-out);
}

.layers-rail-pulse {
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 18px var(--teal);
  opacity: 0;
  transform: translateX(0);
}

.shield-orchestra.is-arming .layers-rail-pulse {
  opacity: 1;
  animation: rail-run 2.6s var(--ease-out) forwards;
}

@keyframes rail-run {
  0% { left: 0%; opacity: 0; }
  10% { opacity: 1; }
  100% { left: 100%; opacity: 0.85; }
}

.layers-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  position: relative;
}

.layer-card {
  position: relative;
  opacity: 0;
  transform: translateY(48px) scale(0.92);
  filter: blur(6px);
  transition:
    opacity 0.65s var(--ease-out),
    transform 0.65s var(--ease-out),
    filter 0.65s var(--ease-out);
}

.layer-card.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.layer-card-inner {
  position: relative;
  height: 100%;
  padding: 1.45rem 1.3rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(17, 26, 40, 0.72);
  border: 1px solid rgba(39, 55, 80, 0.65);
  overflow: hidden;
  transition: border-color 0.4s, box-shadow 0.5s, transform 0.45s var(--ease-out);
}

.layer-card.is-armed .layer-card-inner {
  border-color: rgba(47, 212, 198, 0.55);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(47, 212, 198, 0.15),
    0 0 40px rgba(47, 212, 198, 0.12);
}

.layer-card-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(47, 212, 198, 0.16), transparent 55%);
  opacity: 0;
  transition: opacity 0.45s;
  pointer-events: none;
}

.layer-card.is-armed .layer-card-inner::before { opacity: 1; }

.layer-card:hover .layer-card-inner {
  transform: translateY(-6px);
}

.layer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.layer-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 0.55rem;
  border-radius: 14px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--mist300);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(159, 176, 201, 0.2);
  transition: color 0.35s, background 0.35s, border-color 0.35s, box-shadow 0.45s, transform 0.45s var(--ease-out);
}

.layer-card.is-armed .layer-num {
  color: var(--ink900);
  background: linear-gradient(135deg, var(--teal), var(--emerald));
  border-color: transparent;
  box-shadow: 0 0 28px rgba(47, 212, 198, 0.45);
  animation: num-arm 0.65s var(--ease-out);
}

@keyframes num-arm {
  0% { transform: scale(0.7) rotate(-8deg); }
  55% { transform: scale(1.2) rotate(4deg); }
  100% { transform: scale(1) rotate(0); }
}

.layer-armed {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--emerald);
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.4s, transform 0.4s var(--ease-out);
}

.layer-card.is-armed .layer-armed {
  opacity: 1;
  transform: translateX(0);
}

.layer-visual {
  position: relative;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  display: grid;
  place-items: center;
  color: rgba(47, 212, 198, 0.45);
  transition: color 0.4s;
}

.layer-visual svg {
  width: 26px;
  height: 26px;
  position: relative;
  z-index: 1;
}

.layer-card.is-armed .layer-visual {
  color: var(--teal);
}

.layer-wave {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(47, 212, 198, 0.45);
  opacity: 0;
  transform: scale(0.5);
}

.layer-card.is-armed .layer-wave {
  animation: wave-out 1.1s var(--ease-out);
}

@keyframes wave-out {
  0% { opacity: 0.9; transform: scale(0.5); }
  100% { opacity: 0; transform: scale(1.8); }
}

.layer-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.08rem;
}

.layer-card p {
  font-size: 0.9rem;
  margin: 0;
}

.layer-card.is-active .layer-card-inner {
  border-color: rgba(47, 212, 198, 0.75);
  box-shadow: 0 0 50px rgba(47, 212, 198, 0.2);
}

@media (max-width: 640px) {
  .layers-track { grid-template-columns: 1fr; }
}

/* ========== FEATURE BENTO ========== */
.bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.card {
  position: relative;
  background: rgba(17, 26, 40, 0.7);
  border: 1px solid rgba(39, 55, 80, 0.6);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.35s, box-shadow 0.5s;
}

.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(47, 212, 198, 0.35), transparent 40%, transparent 60%, rgba(52, 211, 153, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 212, 198, 0.25);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

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

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(47, 212, 198, 0.1);
  border: 1px solid rgba(47, 212, 198, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--teal);
  transition: transform 0.45s var(--ease-out), background 0.35s;
}

.card:hover .card-icon {
  transform: scale(1.08) rotate(-4deg);
  background: rgba(47, 212, 198, 0.16);
}

.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.95rem; }

/* ========== RECOVERY ========== */
.recovery-section {
  position: relative;
}

.recovery-section::before {
  content: "";
  position: absolute;
  inset: 10% 0;
  background: rgba(17, 26, 40, 0.45);
  border-block: 1px solid rgba(39, 55, 80, 0.4);
  pointer-events: none;
}

.recovery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  position: relative;
}

.recovery-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.4rem 1.35rem;
  background: rgba(10, 16, 25, 0.55);
  border-radius: var(--radius);
  border: 1px solid rgba(39, 55, 80, 0.55);
  transition: transform 0.4s var(--ease-out), border-color 0.35s, background 0.35s;
}

.recovery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 184, 96, 0.3);
  background: rgba(17, 26, 40, 0.75);
}

.recovery-item .icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(244, 184, 96, 0.1);
  border: 1px solid rgba(244, 184, 96, 0.2);
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
}

.recovery-item h4 {
  font-size: 1.02rem;
  margin-bottom: 0.3rem;
  font-family: var(--font-head);
}

.recovery-item p { font-size: 0.92rem; margin: 0; }

.tag-free {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ========== PREMIUM ========== */
.premium-section {
  background:
    radial-gradient(ellipse 60% 40% at 50% 30%, rgba(206, 155, 61, 0.07), transparent 60%);
}

.premium-card {
  background:
    linear-gradient(180deg, rgba(206, 155, 61, 0.05), transparent 30%),
    rgba(17, 26, 40, 0.8);
  border: 1px solid rgba(206, 155, 61, 0.35);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4.5vw, 3.25rem);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.premium-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), var(--gold), var(--gold-bright), transparent);
}

.premium-card::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  top: -80px;
  right: -60px;
  background: radial-gradient(circle, rgba(247, 217, 139, 0.12), transparent 65%);
  pointer-events: none;
}

.premium-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.premium-header .section-label {
  border-color: rgba(206, 155, 61, 0.4);
  color: var(--gold);
  background: rgba(206, 155, 61, 0.06);
}

.premium-header .section-label::before {
  background: var(--gold);
  box-shadow: 0 0 10px rgba(247, 217, 139, 0.6);
  animation: none;
}

.premium-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.premium-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.premium-perks li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.98rem;
  color: var(--mist200);
}

.premium-perks li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: rgba(206, 155, 61, 0.15);
  border: 1px solid rgba(247, 217, 139, 0.5);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2L4.8 8.5L9.5 3.5' fill='none' stroke='%23F7D98B' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.pricing-pane {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-toggle {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(206, 155, 61, 0.2);
  align-self: flex-start;
}

.pricing-toggle button {
  padding: 0.45rem 1.05rem;
  border-radius: 50px;
  border: none;
  background: transparent;
  color: var(--mist300);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.pricing-toggle button.active {
  background: rgba(206, 155, 61, 0.18);
  color: var(--gold);
  box-shadow: 0 0 20px rgba(206, 155, 61, 0.12);
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.price-card {
  background: rgba(10, 16, 25, 0.55);
  border: 1px solid rgba(39, 55, 80, 0.7);
  border-radius: var(--radius);
  padding: 1.35rem 1.1rem;
  text-align: center;
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}

.price-card.featured {
  border-color: rgba(206, 155, 61, 0.55);
  background: rgba(206, 155, 61, 0.08);
  transform: scale(1.03);
  box-shadow: 0 0 40px rgba(206, 155, 61, 0.1);
}

.price-card .amount {
  font-family: var(--font-head);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--mist50);
  letter-spacing: -0.02em;
}

.price-card .original {
  text-decoration: line-through;
  color: var(--mist300);
  font-size: 0.88rem;
}

.price-card .period {
  font-size: 0.82rem;
  color: var(--mist300);
}

.price-card .note {
  font-size: 0.72rem;
  color: var(--gold);
  margin-top: 0.55rem;
  font-weight: 600;
}

.premium-gift {
  margin-top: 0.25rem;
  padding: 0.85rem 1rem;
  background: rgba(47, 212, 198, 0.07);
  border: 1px solid rgba(47, 212, 198, 0.18);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--teal);
}

/* ========== PRIVACY ========== */
.privacy-block {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
  background: rgba(17, 26, 40, 0.45);
  border: 1px solid rgba(39, 55, 80, 0.5);
  backdrop-filter: blur(12px);
}

.privacy-icons {
  display: flex;
  justify-content: center;
  gap: 2.25rem;
  margin: 2.25rem 0;
  flex-wrap: wrap;
}

.privacy-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--mist300);
}

.privacy-icon .circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(47, 212, 198, 0.08);
  border: 1px solid rgba(47, 212, 198, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
}

.privacy-icon:hover .circle {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 0 30px rgba(47, 212, 198, 0.2);
}

/* ========== CTA ========== */
.cta-band {
  position: relative;
  text-align: center;
  overflow: hidden;
  border-block: 1px solid rgba(47, 212, 198, 0.15);
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(47, 212, 198, 0.12), transparent 65%),
    rgba(17, 26, 40, 0.35);
}

.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: 0.55rem; }
.cta-band p { margin-bottom: 1.75rem; max-width: 32rem; margin-inline: auto; }

.cta-band .waitlist-shell {
  margin-inline: auto;
}

.cta-band .waitlist-form {
  margin-inline: auto;
}

/* ========== FOOTER ========== */
.footer {
  padding: 3.5rem 0 2.25rem;
  border-top: 1px solid rgba(39, 55, 80, 0.45);
  background: rgba(6, 10, 16, 0.5);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--mist300);
  font-size: 0.92rem;
  font-family: var(--font-head);
  font-weight: 500;
}

.footer-brand img { width: 28px; height: 28px; }

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--mist300);
  font-size: 0.9rem;
}

.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(39, 55, 80, 0.3);
  font-size: 0.8rem;
  color: var(--mist300);
}

/* ========== LEGAL / UTILITY ========== */
.legal-page {
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: 4rem;
  min-height: 100vh;
}

.legal-page h1 { margin-bottom: 0.5rem; }
.legal-page .updated { color: var(--mist300); font-size: 0.9rem; margin-bottom: 2.5rem; }
.legal-page h2 {
  font-size: 1.35rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--teal);
}
.legal-page ul, .legal-page ol {
  color: var(--mist300);
  padding-left: 1.5rem;
  margin-bottom: 1em;
}
.legal-page li { margin-bottom: 0.5em; }

.center-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  padding-top: var(--nav-h);
}

.center-page img { width: 80px; margin-bottom: 1.5rem; }
.center-page h1 { margin-bottom: 0.5rem; }
.center-page p { max-width: 28rem; margin-bottom: 1.5rem; }

/* ========== MOTION SYSTEM ========== */
.hero-anim > * {
  opacity: 0;
  transform: translateY(28px);
  animation: rise-in 0.9s var(--ease-out) forwards;
}

.hero-anim > *:nth-child(1) { animation-delay: 0.08s; }
.hero-anim > *:nth-child(2) { animation-delay: 0.18s; }
.hero-anim > *:nth-child(3) { animation-delay: 0.28s; }
.hero-anim > *:nth-child(4) { animation-delay: 0.38s; }
.hero-anim > *:nth-child(5) { animation-delay: 0.48s; }
.hero-anim > *:nth-child(6) { animation-delay: 0.58s; }

.hero-visual.hero-anim {
  opacity: 0;
  animation: rise-in 1.1s var(--ease-out) 0.35s forwards;
}

@keyframes rise-in {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.85s var(--ease-out),
    transform 0.85s var(--ease-out);
  transition-delay: var(--d, 0ms);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.stagger > .reveal:nth-child(1) { --d: 0ms; }
.stagger > .reveal:nth-child(2) { --d: 90ms; }
.stagger > .reveal:nth-child(3) { --d: 180ms; }
.stagger > .reveal:nth-child(4) { --d: 270ms; }
.stagger > .reveal:nth-child(5) { --d: 360ms; }
.stagger > .reveal:nth-child(6) { --d: 450ms; }

/* ========== RESPONSIVE ========== */
@media (max-width: 980px) {
  .hero-grid,
  .split-section,
  .layers-track,
  .premium-layout {
    grid-template-columns: 1fr;
  }

  .bento,
  .recovery-grid,
  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .layers-track {
    grid-template-columns: 1fr 1fr;
  }

  .layers-rail { display: none; }

  .hero h1 { max-width: none; }

  .hero-visual { order: -1; }
  .phone-stage { width: min(260px, 70vw); margin-bottom: 1rem; }
  .phone-mockup { transform: none; }
  .phone-stage:hover .phone-mockup { transform: translateY(-4px); }
  .float-chip { display: none; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(17, 26, 40, 0.97);
    backdrop-filter: blur(20px);
    padding: 1.25rem 1.5rem 1.5rem;
    gap: 0.35rem;
    border-bottom: 1px solid var(--ink600);
  }

  .nav-links a:not(.btn) {
    padding: 0.75rem 0.5rem;
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }

  .waitlist-form {
    flex-direction: column;
    border-radius: 22px;
    padding: 0.55rem;
  }

  .waitlist-form .btn { width: 100%; }
  .price-card.featured { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-left, .reveal-right,
  .hero-anim > *,
  .hero-visual.hero-anim,
  .split-char, .split-word {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  .hero-aurora, .hero-orb, .hero-ring, .hero-glow,
  .float-chip, .p-layer, .phone-meter-fill, .phone-scan,
  .section-label::before, .shield-status::before,
  .marquee-track, .cursor-glow, .cursor-dot, #fx-canvas,
  .shield-rings .ring, .shield-core-glow, .layers-rail-pulse,
  .layer-wave, .layer-num {
    animation: none !important;
  }
  .cursor-glow, .cursor-dot, #fx-canvas { display: none !important; }
  .btn:hover, .card:hover, .layer-card:hover .layer-card-inner,
  .recovery-item:hover, .phone-stage:hover .phone-mockup {
    transform: none;
  }
  .magnetic { transform: none !important; }
  .layer-card {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .layer-card.is-armed .layer-armed { opacity: 1; }
  .shield-rings .ring { stroke-dashoffset: 0 !important; }
}

/* ========== EXTREME MOTION LAYER ========== */

#fx-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

.cursor-glow {
  position: fixed;
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 212, 198, 0.16) 0%, rgba(52, 211, 153, 0.06) 35%, transparent 68%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s;
  mix-blend-mode: screen;
  will-change: transform;
}

.cursor-glow.on { opacity: 1; }

.cursor-dot {
  position: fixed;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 18px var(--teal-glow), 0 0 40px rgba(47, 212, 198, 0.25);
  pointer-events: none;
  z-index: 200;
  opacity: 0;
  mix-blend-mode: screen;
  will-change: transform;
  transition: width 0.25s, height 0.25s, margin 0.25s, opacity 0.3s;
}

.cursor-dot.on { opacity: 0.9; }
.cursor-dot.hot {
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  background: transparent;
  border: 1.5px solid var(--teal);
  box-shadow: 0 0 24px var(--teal-glow);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 150;
  background: transparent;
  pointer-events: none;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--teal-deep), var(--teal), var(--emerald));
  box-shadow: 0 0 12px var(--teal-glow);
  transition: width 0.08s linear;
}

body > .nav,
body > .scroll-progress {
  z-index: 100;
}

body > .cursor-dot {
  z-index: 200;
}

body > .cursor-glow {
  z-index: 1;
}

body > #fx-canvas {
  z-index: 0;
}

body > header,
body > section,
body > footer,
body > .marquee {
  position: relative;
  z-index: 2;
}

.hero-title .split-word {
  display: inline-block;
  margin-right: 0.28em;
}

.hero-title .split-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(1.1em) rotateX(-70deg);
  transform-origin: bottom;
  animation: char-in 0.85s var(--ease-out) forwards;
}

@keyframes char-in {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

.hero-tagline.scrambling {
  letter-spacing: 0.22em;
}

.phone-scan {
  position: absolute;
  left: 8%;
  right: 8%;
  height: 28%;
  top: -20%;
  background: linear-gradient(180deg, transparent, rgba(47, 212, 198, 0.18), transparent);
  border-top: 1px solid rgba(47, 212, 198, 0.55);
  animation: scan-beam 3.8s ease-in-out infinite;
  pointer-events: none;
  z-index: 4;
  filter: blur(0.3px);
}

@keyframes scan-beam {
  0% { top: 8%; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 0.85; }
  100% { top: 78%; opacity: 0; }
}

.phone-layers .p-layer {
  position: relative;
  overflow: hidden;
}

.phone-layers .p-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(47, 212, 198, 0.18) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: layer-sheen 4s ease-in-out infinite;
}

.phone-layers .p-layer:nth-child(1)::after { animation-delay: 0.2s; }
.phone-layers .p-layer:nth-child(2)::after { animation-delay: 0.8s; }
.phone-layers .p-layer:nth-child(3)::after { animation-delay: 1.4s; }
.phone-layers .p-layer:nth-child(4)::after { animation-delay: 2s; }

@keyframes layer-sheen {
  0%, 40% { transform: translateX(-120%); }
  60%, 100% { transform: translateX(120%); }
}

.marquee {
  overflow: hidden;
  border-block: 1px solid rgba(47, 212, 198, 0.12);
  background: rgba(17, 26, 40, 0.4);
  padding: 0.95rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist300);
  animation: marquee-scroll 32s linear infinite;
  will-change: transform;
}

.marquee-track span:nth-child(odd) {
  color: var(--teal);
  text-shadow: 0 0 20px rgba(47, 212, 198, 0.25);
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.card.live .card-icon {
  animation: icon-spin-in 0.8s var(--ease-out);
}

@keyframes icon-spin-in {
  from { transform: scale(0.5) rotate(-25deg); opacity: 0.3; }
  to { transform: scale(1) rotate(0); opacity: 1; }
}

.magnetic {
  --mx: 0px;
  --my: 0px;
  transform: translate(var(--mx), var(--my));
  transition: transform 0.18s var(--ease-out), box-shadow 0.35s, background 0.3s, border-color 0.3s;
}

.btn-primary.magnetic:hover {
  transform: translate(var(--mx), var(--my)) scale(1.04);
}

.reveal.zoom-in {
  transform: translateY(40px) scale(0.94);
}

.reveal.zoom-in.visible {
  transform: translateY(0) scale(1);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 0deg, transparent, rgba(47, 212, 198, 0.08), transparent 30%, transparent 70%, rgba(52, 211, 153, 0.07), transparent);
  animation: cta-spin 22s linear infinite;
  pointer-events: none;
}

@keyframes cta-spin {
  to { transform: rotate(360deg); }
}

.premium-card.live::before {
  animation: gold-sweep 2.8s ease-in-out infinite;
  background-size: 200% 100%;
}

@keyframes gold-sweep {
  0%, 100% { background-position: 0% 0; opacity: 0.7; }
  50% { background-position: 100% 0; opacity: 1; }
}

.section-head h2 {
  background: linear-gradient(135deg, #fff 20%, var(--teal) 55%, var(--mist200) 90%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: title-shimmer 8s ease-in-out infinite;
}

@keyframes title-shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

@media (pointer: coarse) {
  .cursor-glow, .cursor-dot { display: none !important; }
}
