/* ==========================================================================
   PURPLE VECTORS — CINEMATIC LUXURY DESIGN SYSTEM
   Personal Timing Intelligence & Agentic Temporal Engine
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-void: #030107;
  --bg-deep: #07040e;
  --bg-surface: #0e081c;
  --bg-surface-elevated: #160c2d;
  --bg-glass: rgba(14, 8, 28, 0.65);
  --bg-glass-strong: rgba(22, 12, 45, 0.85);
  --bg-glass-subtle: rgba(255, 255, 255, 0.035);

  --line-subtle: rgba(255, 255, 255, 0.08);
  --line-medium: rgba(179, 154, 255, 0.22);
  --line-bright: rgba(225, 140, 255, 0.55);
  --line-cyan: rgba(115, 231, 255, 0.4);

  --text-primary: #f8f6ff;
  --text-secondary: #c4bcd3;
  --text-muted: #827896;
  --text-dim: #544b67;

  --violet-core: #793dfb;
  --violet-glow: #9e6eff;
  --violet-light: #c8aaff;
  --pink-neon: #e18cff;
  --cyan-beam: #73e7ff;
  --green-optimal: #7df5b8;
  --amber-warning: #ffd166;
  --red-excluded: #ff7588;

  --shadow-ambient: 0 30px 100px rgba(0, 0, 0, 0.7);
  --shadow-neon-violet: 0 0 50px rgba(121, 61, 251, 0.35);
  --shadow-neon-pink: 0 0 40px rgba(225, 140, 255, 0.3);
  --shadow-neon-cyan: 0 0 40px rgba(115, 231, 255, 0.25);
  --shadow-glass: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 20px 60px rgba(0, 0, 0, 0.5);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --radius-full: 9999px;

  --font-display: 'Cabinet Grotesk', 'Space Grotesk', 'Avenir Next', 'Segoe UI', -apple-system, system-ui, sans-serif;
  --font-serif: 'PPEiko', 'Iowan Old Style', 'Baskerville', 'Times New Roman', serif;
  --font-mono: 'Space Mono', 'JetBrains Mono', 'SF Mono', monospace;

  --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body {
  background: var(--bg-void);
  min-height: 100vh;
  position: relative;
  overflow-x: clip;
}

/* Film Grain Overlay */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Custom Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: linear-gradient(90deg, var(--violet-core), var(--pink-neon), var(--cyan-beam));
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 1000;
  box-shadow: 0 0 20px var(--violet-glow);
}

/* Global Typography & Links */
a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, select, textarea {
  font-family: inherit;
}

::selection {
  background: rgba(158, 110, 255, 0.45);
  color: #fff;
}

/* Glass & Glow Utility Classes */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
}

.glass-panel-glow {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015) 50%, rgba(121, 61, 251, 0.06));
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border: 1px solid var(--line-medium);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-ambient), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.glow-violet {
  box-shadow: var(--shadow-neon-violet);
}

.glow-text {
  text-shadow: 0 0 35px rgba(200, 170, 255, 0.45);
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */

.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 84px;
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.5s var(--ease-smooth), height 0.5s var(--ease-smooth), border-color 0.5s var(--ease-smooth);
  border-bottom: 1px solid transparent;
}

.nav-header.is-scrolled {
  height: 70px;
  background: rgba(4, 2, 9, 0.85);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom-color: var(--line-subtle);
}

.nav-container {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-glyph {
  width: 32px;
  height: 32px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(225, 140, 255, 0.4);
  background: radial-gradient(circle at center, rgba(121, 61, 251, 0.25), transparent);
  box-shadow: 0 0 20px rgba(121, 61, 251, 0.3);
}

.brand-glyph::before,
.brand-glyph::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--cyan-beam), #ffffff);
  transform-origin: left center;
  left: 9px;
  top: 15px;
}

.brand-glyph::before { transform: rotate(38deg); }
.brand-glyph::after { transform: rotate(-38deg); }

.brand-glyph-core {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #ffffff;
  border-radius: 50%;
  right: 7px;
  top: 14px;
  box-shadow: 0 0 10px var(--pink-neon);
}

.brand-badge {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet-light);
  padding: 3px 9px;
  background: rgba(121, 61, 251, 0.14);
  border: 1px solid rgba(179, 154, 255, 0.2);
  border-radius: var(--radius-full);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}

.nav-link {
  position: relative;
  transition: color 0.3s ease;
  padding: 6px 0;
}

.nav-link:hover {
  color: #fff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--violet-glow), var(--cyan-beam));
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.3s var(--ease-cinematic);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

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

/* Audio Synthesizer Controller */
.sound-toggle-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line-subtle);
  background: rgba(255, 255, 255, 0.03);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: all 0.3s var(--ease-cinematic);
}

.sound-toggle-btn:hover {
  border-color: var(--line-medium);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.07);
}

.sound-bars {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 12px;
}

.sound-bar {
  width: 2px;
  height: 100%;
  background: var(--violet-light);
  border-radius: 1px;
  transform-origin: bottom;
  transform: scaleY(0.2);
  transition: transform 0.2s ease;
}

.sound-toggle-btn.is-playing .sound-bar:nth-child(1) { animation: soundWave 1.1s ease-in-out infinite alternate; }
.sound-toggle-btn.is-playing .sound-bar:nth-child(2) { animation: soundWave 0.8s ease-in-out infinite 0.2s alternate; }
.sound-toggle-btn.is-playing .sound-bar:nth-child(3) { animation: soundWave 1.4s ease-in-out infinite 0.4s alternate; }
.sound-toggle-btn.is-playing .sound-bar:nth-child(4) { animation: soundWave 0.9s ease-in-out infinite 0.1s alternate; }

@keyframes soundWave {
  0% { transform: scaleY(0.2); }
  100% { transform: scaleY(1); background: var(--pink-neon); }
}

/* Primary Luxury Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  overflow: hidden;
  transition: transform 0.3s var(--ease-elastic), box-shadow 0.3s var(--ease-cinematic), border-color 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  color: #06020c;
  background: linear-gradient(135deg, #ffffff 0%, #d8c2ff 45%, #f1c7ff 80%, #73e7ff 100%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 30px rgba(121, 61, 251, 0.4), inset 0 1px 0 #fff;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 45px rgba(225, 140, 255, 0.55), 0 0 25px rgba(115, 231, 255, 0.4);
}

.btn-secondary {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-medium);
  backdrop-filter: blur(16px);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(225, 140, 255, 0.45);
}

.btn-sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 12.5px;
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid currentColor;
  font-size: 11px;
  transition: transform 0.3s var(--ease-cinematic);
}

.btn:hover .btn-arrow {
  transform: translateX(3px) translateY(-1px);
}

/* ==========================================================================
   HERO SECTION — LIVING 3D TEMPORAL UNIVERSE
   ========================================================================== */

.hero-universe {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(circle at 50% 40%, rgba(121, 61, 251, 0.15) 0%, rgba(3, 1, 7, 0.95) 75%);
}

#hero-3d-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at center, transparent 20%, rgba(3, 1, 7, 0.4) 60%, var(--bg-void) 100%),
    linear-gradient(180deg, transparent 0%, transparent 70%, var(--bg-void) 100%);
}

.hero-grid-radial {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    radial-gradient(circle at center, rgba(225, 140, 255, 0.25) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 80px 80px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
}

.hero-content {
  position: relative;
  z-index: 10;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 100px;
  padding-bottom: 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.hero-content * {
  pointer-events: auto;
}

.hero-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(14, 8, 28, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-medium);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.pulse-beacon {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-optimal);
  box-shadow: 0 0 15px var(--green-optimal);
  animation: pulseOptimal 2s ease-in-out infinite;
}

@keyframes pulseOptimal {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.6); opacity: 1; filter: drop-shadow(0 0 8px var(--green-optimal)); }
}

.hero-title {
  margin: 0;
  font-size: clamp(68px, 12vw, 175px);
  line-height: 0.82;
  letter-spacing: -0.075em;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title-top {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(248, 246, 255, 0.85);
  text-shadow: 0 0 60px rgba(121, 61, 251, 0.25);
  filter: drop-shadow(0 0 20px rgba(121, 61, 251, 0.3));
}

.hero-title-bot {
  background: linear-gradient(110deg, #ffffff 0%, #cfb3ff 35%, #f6cfff 70%, #8beeff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 15px 40px rgba(121, 61, 251, 0.45));
}

.hero-subheading {
  max-width: 820px;
  margin: 36px auto 0;
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--text-secondary);
}

.hero-subheading strong {
  color: #ffffff;
  font-weight: 600;
  text-shadow: 0 0 20px rgba(225, 140, 255, 0.3);
}

.hero-subheading em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--violet-light);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

/* 3D Celestial Interaction Cue */
.hero-3d-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hero-3d-hint svg {
  animation: floatHand 2.4s ease-in-out infinite;
}

@keyframes floatHand {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(8deg); }
}

/* Hero HUD Telemetry Bar */
.hero-telemetry-bar {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1320px, calc(100% - 48px));
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.telemetry-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.telemetry-node {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet-glow);
  box-shadow: 0 0 10px var(--violet-glow);
}

.telemetry-center-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-medium), transparent);
  position: relative;
  width: 100%;
}

.telemetry-center-line::after {
  content: '';
  position: absolute;
  left: 0;
  top: -0.5px;
  height: 2px;
  width: 25%;
  background: linear-gradient(90deg, transparent, var(--pink-neon), transparent);
  animation: scanLaser 4s ease-in-out infinite alternate;
}

@keyframes scanLaser {
  0% { left: 5%; }
  100% { left: 70%; }
}

.telemetry-right {
  text-align: right;
  color: var(--violet-light);
}

/* ==========================================================================
   SECTION WRAPPERS & SHARED LAYOUTS
   ========================================================================== */

.section {
  position: relative;
  padding: 160px 0;
  isolation: isolate;
}

.section-container {
  width: min(1340px, calc(100% - 48px));
  margin: 0 auto;
}

.section-header {
  max-width: 860px;
  margin-bottom: 72px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--violet-light);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
}

.section-eyebrow::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--cyan-beam), var(--violet-glow));
  box-shadow: 0 0 10px var(--violet-glow);
}

.section-title {
  font-size: clamp(46px, 6.8vw, 94px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  font-weight: 600;
  margin-bottom: 24px;
}

.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(120deg, #ffffff 0%, var(--pink-neon) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-lead {
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.6;
  letter-spacing: -0.015em;
  color: var(--text-secondary);
  max-width: 720px;
}

/* Scroll Reveal Triggers */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-cinematic), transform 0.9s var(--ease-cinematic);
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   MANIFESTO SECTION — THE MISSING INTELLIGENCE
   ========================================================================== */

.manifesto-section {
  min-height: 90vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(121, 61, 251, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-void), #080413 50%, var(--bg-void));
}

.manifesto-rings {
  position: absolute;
  width: min(1000px, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(179, 154, 255, 0.12);
  pointer-events: none;
  animation: rotateManifestoRings 45s linear infinite;
}

.manifesto-rings::before,
.manifesto-rings::after {
  content: '';
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  border: 1px dashed rgba(225, 140, 255, 0.15);
}

.manifesto-rings::after {
  inset: 32%;
  border-style: solid;
  border-color: rgba(115, 231, 255, 0.1);
}

@keyframes rotateManifestoRings {
  to { transform: rotate(360deg); }
}

.manifesto-statement {
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  font-weight: 500;
  margin-bottom: 36px;
}

.manifesto-statement .dim {
  color: var(--text-dim);
}

.manifesto-statement .bright {
  color: #ffffff;
  background: linear-gradient(110deg, #ffffff 0%, #d8c2ff 45%, #f6cfff 80%, #73e7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 35px rgba(225, 140, 255, 0.3));
}

.manifesto-card-deck {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
  text-align: left;
}

.manifesto-lens-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line-subtle);
  transition: all 0.4s var(--ease-cinematic);
}

.manifesto-lens-card:hover {
  transform: translateY(-6px);
  background: rgba(121, 61, 251, 0.08);
  border-color: var(--line-medium);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.lens-icon {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--violet-light);
}

.manifesto-lens-card h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  color: #ffffff;
}

.manifesto-lens-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   5-ACT AGENTIC STORY — SENSE / UNDERSTAND / ANTICIPATE / ADVISE / ACT
   ========================================================================== */

.agentic-story-section {
  position: relative;
  background:
    radial-gradient(circle at 80% 30%, rgba(121, 61, 251, 0.15), transparent 45%),
    linear-gradient(180deg, var(--bg-void), #0b0617 50%, var(--bg-void));
  border-top: 1px solid var(--line-subtle);
  border-bottom: 1px solid var(--line-subtle);
  padding: 140px 0;
}

.story-interactive-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

/* Act Navigation Tabs */
.act-navigation-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  background: rgba(255, 255, 255, 0.03);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line-subtle);
  width: fit-content;
}

.act-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: all 0.35s var(--ease-cinematic);
}

.act-tab-btn span.act-num {
  font-family: var(--font-mono);
  font-size: 10px;
  opacity: 0.7;
}

.act-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.act-tab-btn.is-active {
  background: linear-gradient(135deg, rgba(121, 61, 251, 0.8), rgba(225, 140, 255, 0.8));
  color: #ffffff;
  box-shadow: 0 0 20px rgba(121, 61, 251, 0.5);
}

/* Act Copy Narrative Block */
.story-narrative-stack {
  position: relative;
  min-height: 380px;
}

.story-act-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.45s ease, transform 0.55s var(--ease-cinematic), visibility 0s 0.45s;
  pointer-events: none;
}

.story-act-card.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition: opacity 0.55s 0.05s ease, transform 0.65s 0.05s var(--ease-cinematic), visibility 0s;
  pointer-events: auto;
}

.story-act-eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan-beam);
  font-weight: 700;
  margin-bottom: 12px;
}

.story-act-title {
  font-size: clamp(38px, 4.8vw, 64px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 600;
  margin-bottom: 20px;
}

.story-act-description {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.story-act-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.act-tag-pill {
  font-size: 11px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-subtle);
  color: var(--violet-light);
}

/* Holographic Stage & 3D Interactive HUD Viewports */
.story-hologram-stage {
  position: relative;
  min-height: 600px;
  display: grid;
  place-items: center;
}

.hologram-frame {
  position: relative;
  width: 100%;
  max-width: 620px;
  aspect-ratio: 1 / 0.95;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02) 40%, rgba(121, 61, 251, 0.04)),
    rgba(8, 4, 18, 0.85);
  backdrop-filter: blur(35px) saturate(220%);
  -webkit-backdrop-filter: blur(35px) saturate(220%);
  border: 1px solid var(--line-medium);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.hologram-topbar {
  height: 56px;
  border-bottom: 1px solid var(--line-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.hologram-status-dot {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hologram-status-dot i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-optimal);
  box-shadow: 0 0 10px var(--green-optimal);
}

.hologram-viewport-stack {
  position: absolute;
  inset: 56px 0 0;
  overflow: hidden;
}

.hologram-view {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96) translateY(16px);
  transition: opacity 0.35s ease, transform 0.5s var(--ease-cinematic), visibility 0s 0.35s;
  pointer-events: none;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.hologram-view.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
  transition: opacity 0.5s 0.05s ease, transform 0.65s 0.05s var(--ease-cinematic), visibility 0s;
  pointer-events: auto;
}

/* View 1: SENSE (Scanning Field) */
.view-sense {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.sense-scanner-beam {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan-beam), var(--pink-neon), transparent);
  box-shadow: 0 0 25px var(--cyan-beam);
  animation: scanVerticalField 3.5s ease-in-out infinite alternate;
}

@keyframes scanVerticalField {
  0% { top: 5%; opacity: 0.3; }
  50% { opacity: 1; }
  100% { top: 90%; opacity: 0.3; }
}

.sense-center-rings {
  position: relative;
  width: 220px;
  height: 220px;
  margin: auto;
  display: grid;
  place-items: center;
}

.sense-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line-medium);
  animation: rotateSenseRing 20s linear infinite;
}

.sense-ring.r1 { inset: 0; border-color: rgba(121, 61, 251, 0.4); box-shadow: 0 0 35px rgba(121, 61, 251, 0.2); }
.sense-ring.r2 { inset: 30px; border-style: dashed; animation-direction: reverse; animation-duration: 14s; }
.sense-ring.r3 { inset: 65px; border-color: rgba(115, 231, 255, 0.4); animation-duration: 10s; }

@keyframes rotateSenseRing {
  to { transform: rotate(360deg); }
}

.sense-center-readout {
  text-align: center;
  z-index: 2;
}

.sense-center-readout small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.sense-center-readout strong {
  display: block;
  font-size: 38px;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #ffffff, var(--violet-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sense-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.telemetry-pill-box {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.telemetry-pill-box span { color: var(--text-muted); }
.telemetry-pill-box strong { color: var(--text-primary); font-family: var(--font-mono); }

/* View 2: UNDERSTAND (Intention Graph) */
.view-understand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.intention-item-row {
  position: relative;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s var(--ease-cinematic);
  overflow: hidden;
}

.intention-item-row.is-optimal {
  background: linear-gradient(90deg, rgba(121, 61, 251, 0.25), rgba(225, 140, 255, 0.05));
  border-color: rgba(225, 140, 255, 0.45);
  box-shadow: 0 10px 30px rgba(121, 61, 251, 0.2);
}

.intention-info small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.intention-info strong {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.intention-vector-score {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
}

.vector-trend-up { color: var(--green-optimal); font-size: 14px; }
.vector-trend-warn { color: var(--amber-warning); font-size: 14px; }
.vector-trend-down { color: var(--red-excluded); font-size: 14px; }

/* View 3: ANTICIPATE (Window Aperture & Waveform) */
.view-anticipate {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.waveform-chart-container {
  position: relative;
  height: 220px;
  margin: 20px 0;
  border-left: 1px solid var(--line-subtle);
  border-bottom: 1px solid var(--line-subtle);
}

.waveform-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.aperture-highlight-zone {
  position: absolute;
  top: 10px;
  bottom: 0;
  left: 58%;
  width: 22%;
  background: linear-gradient(180deg, rgba(225, 140, 255, 0.25), rgba(121, 61, 251, 0.05));
  border-left: 1.5px solid var(--pink-neon);
  border-right: 1.5px solid var(--pink-neon);
  border-radius: 4px;
}

.aperture-badge-pop {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--pink-neon);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-family: var(--font-mono);
  white-space: nowrap;
  color: #fff;
  box-shadow: 0 0 20px rgba(225, 140, 255, 0.4);
}

.waveform-footer-alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(121, 61, 251, 0.12);
  border: 1px solid var(--line-medium);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-primary);
}

/* View 4: ADVISE (Tactical Recommendation) */
.view-advise {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
}

.agent-dialogue-bubble {
  padding: 18px 22px;
  border-radius: 20px;
  font-size: 14px;
  line-height: 1.6;
  max-width: 90%;
}

.agent-bubble-user {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-subtle);
  color: var(--text-secondary);
  border-bottom-right-radius: 4px;
}

.agent-bubble-ai {
  align-self: flex-start;
  background: linear-gradient(135deg, rgba(121, 61, 251, 0.25), rgba(225, 140, 255, 0.05));
  border: 1px solid var(--line-medium);
  color: #ffffff;
  border-bottom-left-radius: 4px;
}

.agent-bubble-ai strong {
  color: var(--pink-neon);
}

.tactical-window-summary {
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(4, 2, 9, 0.7);
  border: 1px solid var(--line-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* View 5: ACT (Haptic Protection Trigger) */
.view-act {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
}

.protection-terminal-box {
  width: 100%;
  max-width: 440px;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(22, 12, 45, 0.8), rgba(8, 4, 18, 0.8));
  border: 1px solid var(--line-medium);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.hold-to-protect-btn {
  position: relative;
  width: 100%;
  min-height: 56px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--violet-core), var(--pink-neon));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 24px;
  box-shadow: 0 10px 30px rgba(121, 61, 251, 0.4);
}

.hold-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, #ffffff, var(--cyan-beam));
  opacity: 0.3;
  transition: width 0.05s linear;
}

.protection-success-state {
  display: none;
  flex-direction: column;
  align-items: center;
  animation: fadeInPop 0.5s var(--ease-elastic);
}

.lock-glyph-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--green-optimal);
  display: grid;
  place-items: center;
  font-size: 28px;
  color: var(--green-optimal);
  margin-bottom: 18px;
  box-shadow: 0 0 40px rgba(125, 245, 184, 0.4);
}

@keyframes fadeInPop {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   INTERACTIVE VECTOR PLAYGROUND (THE EQUATION ENGINE)
   You × Intention × Moment = Vector
   ========================================================================== */

.vector-playground-section {
  position: relative;
  background:
    radial-gradient(circle at 50% 50%, rgba(121, 61, 251, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg-void), #0e071e 50%, var(--bg-void));
}

.equation-interactive-stage {
  display: grid;
  grid-template-columns: 1fr 60px 1fr 60px 1fr 80px 1.2fr;
  align-items: center;
  gap: 12px;
  margin-top: 56px;
}

.equation-factor-card {
  position: relative;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line-subtle);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s var(--ease-cinematic);
}

.equation-factor-card:hover {
  transform: translateY(-8px);
  background: rgba(121, 61, 251, 0.06);
  border-color: var(--line-medium);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.factor-index {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.factor-symbol-orb {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1px solid var(--line-medium);
  display: grid;
  place-items: center;
  font-size: 26px;
  color: var(--violet-light);
  margin: 28px 0;
  position: relative;
  background: radial-gradient(circle at center, rgba(121, 61, 251, 0.2), transparent);
}

.factor-symbol-orb::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px dashed rgba(225, 140, 255, 0.3);
  animation: rotateSenseRing 18s linear infinite;
}

.equation-factor-card h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.equation-factor-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

.equation-operator-glyph {
  font-size: 32px;
  font-weight: 300;
  color: var(--text-dim);
  text-align: center;
}

/* Master Live Vector Output HUD Card */
.master-vector-result-card {
  padding: 36px 30px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(22, 12, 45, 0.9), rgba(121, 61, 251, 0.18));
  border: 1px solid var(--line-bright);
  box-shadow: 0 35px 100px rgba(121, 61, 251, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.master-vector-result-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 75% 25%, rgba(225, 140, 255, 0.15), transparent 50%);
  pointer-events: none;
}

.result-card-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.result-card-topbar span {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet-light);
  font-family: var(--font-mono);
}

.result-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(125, 245, 184, 0.12);
  border: 1px solid rgba(125, 245, 184, 0.3);
  color: var(--green-optimal);
  font-size: 10px;
  font-family: var(--font-mono);
}

.result-score-giant {
  font-size: clamp(84px, 8vw, 115px);
  line-height: 0.85;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: -0.06em;
  margin: 20px 0 10px;
  background: linear-gradient(135deg, #ffffff, #d8c2ff, #73e7ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.result-intention-name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.result-window-timing {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 6px;
}

.result-meter-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 20px;
}

.result-meter-fill {
  height: 100%;
  width: 91%;
  background: linear-gradient(90deg, var(--violet-core), var(--pink-neon), var(--cyan-beam));
  border-radius: var(--radius-full);
  box-shadow: 0 0 15px var(--pink-neon);
  transition: width 0.7s var(--ease-cinematic);
}

/* Interactive Intention & City Switcher Chips */
.intention-switcher-ribbon {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
}

.intention-chip-btn {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-subtle);
  color: var(--text-secondary);
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: all 0.3s var(--ease-cinematic);
}

.intention-chip-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line-medium);
  color: #fff;
  transform: translateY(-2px);
}

.intention-chip-btn.is-active {
  background: linear-gradient(135deg, rgba(121, 61, 251, 0.8), rgba(225, 140, 255, 0.8));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 25px rgba(121, 61, 251, 0.4);
}

/* ==========================================================================
   PRODUCT PREVIEW — 3D GLASSMORPHIC DEVICE EXPERIENCE
   ========================================================================== */

.product-preview-section {
  position: relative;
  background:
    radial-gradient(circle at 20% 40%, rgba(121, 61, 251, 0.14), transparent 45%),
    linear-gradient(180deg, var(--bg-void), #090514 50%, var(--bg-void));
}

.product-experience-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(50px, 8vw, 120px);
  align-items: center;
}

.feature-bullet-list {
  display: grid;
  gap: 0;
  margin-top: 40px;
}

.feature-bullet-item {
  padding: 24px 0;
  border-top: 1px solid var(--line-subtle);
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
}

.feature-bullet-item:last-child {
  border-bottom: 1px solid var(--line-subtle);
}

.bullet-number {
  color: var(--violet-light);
  font-family: var(--font-mono);
  font-size: 12px;
  padding-top: 4px;
}

.feature-bullet-item strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #fff;
}

.feature-bullet-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 3D Kinetic Device Stage */
.device-perspective-stage {
  position: relative;
  min-height: 800px;
  display: grid;
  place-items: center;
  perspective: 1400px;
}

.device-perspective-stage::before {
  content: '';
  position: absolute;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(121, 61, 251, 0.25), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.device-hardware-frame {
  position: relative;
  width: min(400px, 90vw);
  aspect-ratio: 400 / 800;
  border-radius: 52px;
  background: #0d0917;
  padding: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 50px 140px rgba(0, 0, 0, 0.75),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 50px rgba(121, 61, 251, 0.2);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.8s var(--ease-cinematic);
  z-index: 2;
}

.device-perspective-stage:hover .device-hardware-frame {
  transform: rotateY(-2deg) rotateX(1deg) translateY(-8px);
}

.device-oled-screen {
  position: relative;
  height: 100%;
  border-radius: 42px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 10%, rgba(121, 61, 251, 0.25), transparent 35%),
    linear-gradient(180deg, #120b1e 0%, #080410 100%);
  padding: 18px 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.device-dynamic-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 26px;
  border-radius: var(--radius-full);
  background: #000;
  z-index: 10;
}

.app-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.app-time-readout {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

/* Scrubbable 24-Hour Hora Ribbon */
.app-hora-controller {
  margin: 16px 0;
}

.hora-controller-header {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.hora-ribbon-strip {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3px;
  height: 38px;
  cursor: pointer;
}

.hora-slot {
  position: relative;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: all 0.2s ease;
}

.hora-slot.supportive { background: linear-gradient(180deg, rgba(121, 61, 251, 0.7), rgba(121, 61, 251, 0.2)); }
.hora-slot.peak { background: linear-gradient(180deg, rgba(225, 140, 255, 0.95), rgba(121, 61, 251, 0.4)); box-shadow: 0 0 12px rgba(225, 140, 255, 0.3); }
.hora-slot.excluded { background: repeating-linear-gradient(135deg, rgba(255, 117, 136, 0.25) 0 3px, transparent 3px 6px); }

.hora-slot.is-active-cursor::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid #fff;
  border-radius: 5px;
  box-shadow: 0 0 8px #fff;
}

/* Device Floating Ambient Cards */
.device-floating-card {
  position: absolute;
  z-index: 5;
  width: 230px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(18, 10, 34, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-medium);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  animation: floatCard 6s ease-in-out infinite alternate;
}

.device-floating-card.left {
  left: -8%;
  top: 25%;
}

.device-floating-card.right {
  right: -8%;
  bottom: 22%;
  animation-delay: -3s;
}

@keyframes floatCard {
  0% { transform: translateY(0); }
  100% { transform: translateY(-14px); }
}

.device-floating-card small {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-beam);
  font-family: var(--font-mono);
}

.device-floating-card strong {
  display: block;
  font-size: 15px;
  margin: 6px 0;
  color: #fff;
}

.device-floating-card span {
  display: block;
  font-size: 11px;
  color: var(--text-secondary);
}

/* ==========================================================================
   AGENCY & COMPACT — NOT AN ORACLE
   ========================================================================== */

.principles-section {
  position: relative;
  background: var(--bg-void);
}

.principles-triptych-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.principle-triptych-card {
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line-subtle);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-cinematic);
}

.principle-triptych-card:hover {
  transform: translateY(-8px);
  background: rgba(121, 61, 251, 0.06);
  border-color: var(--line-medium);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.principle-triptych-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--violet-light), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.principle-triptych-card:hover::before {
  opacity: 1;
}

.principle-ordinal {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.principle-geometric-art {
  height: 160px;
  display: grid;
  place-items: center;
  position: relative;
}

.geo-orbit-ring {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid var(--line-medium);
}

.geo-vector-line {
  position: absolute;
  width: 140px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--pink-neon), transparent);
  transform: rotate(-35deg);
}

.geo-spark-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 16px var(--cyan-beam);
}

.principle-triptych-card h3 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.035em;
  margin-bottom: 12px;
  color: #fff;
}

.principle-triptych-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   METHODOLOGY MATRIX & ARCHITECTURAL STACK INSPECTOR
   ========================================================================== */

.methodology-matrix-section {
  position: relative;
  background:
    radial-gradient(circle at 70% 30%, rgba(121, 61, 251, 0.12), transparent 50%),
    linear-gradient(180deg, var(--bg-void), #0a0515 50%, var(--bg-void));
  border-top: 1px solid var(--line-subtle);
  border-bottom: 1px solid var(--line-subtle);
}

.methodology-layout-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.methodology-sticky-title {
  position: sticky;
  top: 120px;
}

.methodology-accordion-list {
  display: grid;
}

.methodology-item {
  padding: 32px 0;
  border-top: 1px solid var(--line-subtle);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  transition: all 0.3s ease;
}

.methodology-item:last-child {
  border-bottom: 1px solid var(--line-subtle);
}

.methodology-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--violet-light);
  padding-top: 4px;
}

.methodology-item h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  color: #fff;
}

.methodology-item p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   FINAL CTA & WAITLIST PORTAL
   ========================================================================== */

.final-cta-universe {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(121, 61, 251, 0.22) 0%, transparent 55%),
    var(--bg-void);
}

.cta-orbital-sphere {
  position: absolute;
  width: min(960px, 95vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(179, 154, 255, 0.15);
  pointer-events: none;
  animation: rotateManifestoRings 50s linear infinite;
}

.cta-orbital-sphere::before {
  content: '';
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgba(225, 140, 255, 0.12);
}

.final-cta-content {
  position: relative;
  z-index: 10;
  width: min(1000px, calc(100% - 48px));
  margin: 0 auto;
}

.final-headline {
  font-size: clamp(60px, 11vw, 150px);
  line-height: 0.85;
  letter-spacing: -0.075em;
  font-weight: 700;
  text-transform: uppercase;
  margin: 24px 0 32px;
}

.final-headline span.outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(248, 246, 255, 0.7);
}

.final-cta-form-wrap {
  max-width: 540px;
  margin: 40px auto 0;
}

.cta-inline-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line-medium);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.cta-inline-input {
  background: transparent;
  border: none;
  padding: 0 20px;
  color: #fff;
  font-size: 14px;
  outline: none;
}

.cta-inline-input::placeholder {
  color: var(--text-muted);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer-global {
  padding: 40px 0 50px;
  border-top: 1px solid var(--line-subtle);
  background: var(--bg-void);
}

.footer-inner {
  width: min(1340px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.footer-inner > :last-child {
  text-align: right;
}

/* ==========================================================================
   MODAL EARLY ACCESS TERMINAL
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: rgba(3, 1, 7, 0.88);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 24px;
}

.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-terminal-card {
  width: min(580px, 100%);
  border-radius: var(--radius-xl);
  padding: 40px;
  background: linear-gradient(145deg, rgba(22, 12, 45, 0.98), rgba(8, 4, 18, 0.98));
  border: 1px solid var(--line-bright);
  box-shadow: 0 40px 120px rgba(121, 61, 251, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.5s var(--ease-elastic);
  position: relative;
}

.modal-backdrop.is-open .modal-terminal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-subtle);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.modal-close-btn:hover {
  color: #fff;
  border-color: var(--line-medium);
  background: rgba(255, 255, 255, 0.08);
}

.modal-terminal-card h3 {
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  color: #fff;
}

.modal-terminal-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

.modal-form-grid {
  display: grid;
  gap: 16px;
}

.modal-input-field {
  width: 100%;
  min-height: 52px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-medium);
  background: rgba(255, 255, 255, 0.04);
  padding: 0 20px;
  color: #fff;
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.modal-input-field:focus {
  border-color: var(--pink-neon);
  box-shadow: 0 0 20px rgba(225, 140, 255, 0.25);
}

.modal-success-screen {
  display: none;
  text-align: center;
  padding: 20px 0;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1100px) {
  .equation-interactive-stage {
    grid-template-columns: 1fr 40px 1fr;
    gap: 16px;
  }
  .equation-interactive-stage .equation-factor-card:nth-of-type(3) { grid-column: 1; }
  .equation-interactive-stage .equation-operator-glyph.equals { grid-column: 2; }
  .master-vector-result-card { grid-column: 3; grid-row: 2; }
  .equation-interactive-stage .equation-operator-glyph.mult-2 { display: none; }

  .story-interactive-container {
    grid-template-columns: 1fr;
  }
  .product-experience-grid {
    grid-template-columns: 1fr;
  }
  .principles-triptych-grid {
    grid-template-columns: 1fr;
  }
  .methodology-layout-grid {
    grid-template-columns: 1fr;
  }
  .methodology-sticky-title {
    position: relative;
    top: auto;
  }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .sound-toggle-btn span.sound-label { display: none; }
  .hero-telemetry-bar { display: none; }

  .section { padding: 100px 0; }
  .hero-title { font-size: clamp(52px, 15vw, 110px); }

  .manifesto-card-deck { grid-template-columns: 1fr; }
  .act-navigation-bar { overflow-x: auto; width: 100%; }

  .equation-interactive-stage {
    grid-template-columns: 1fr;
  }
  .equation-operator-glyph {
    transform: rotate(90deg);
    padding: 8px 0;
  }
  .master-vector-result-card {
    grid-column: 1;
    grid-row: auto;
  }

  .device-floating-card { display: none; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 16px; }
  .footer-inner > :last-child { text-align: center; }

  .cta-inline-form {
    grid-template-columns: 1fr;
    border-radius: var(--radius-lg);
  }
  .cta-inline-input {
    min-height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal-on-scroll { opacity: 1 !important; transform: none !important; }
}
