/* ==========================================================================
   KUMBUKA LANDING PAGE — DESIGN SYSTEM
   Palette lifted directly from Kumbuka's Jetpack Compose Material 3 theme
   ========================================================================== */

:root {
  /* Core Surfaces */
  --bg-void: #070d1e;
  --bg-surface: #0f1b35;
  --bg-surface-elevated: #192a4d;
  --bg-glass: rgba(15, 27, 53, 0.72);
  --bg-glass-strong: rgba(15, 27, 53, 0.88);
  --border-outline: #283f6b;
  --border-subtle: rgba(40, 63, 107, 0.55);

  /* Brand Accents */
  --cyan: #00f0ff;
  --cyan-dark: #00c4d4;
  --sky: #38bdf8;
  --blue-deep: #0284c7;

  /* Semantic Urgency */
  --red: #ef4444;
  --amber: #f59e0b;
  --green: #10b981;

  /* Typography */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Fonts */
  --font-display: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  /* Spacing & Radii */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --container-max: 1200px;

  /* Shadows & Glows */
  --shadow-card: 0 20px 50px rgba(2, 6, 18, 0.55);
  --glow-cyan: 0 0 32px rgba(0, 240, 255, 0.22);
  --glow-cyan-strong: 0 0 40px rgba(0, 240, 255, 0.42);
}

/* Reset & Base */
*,
*::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-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button,
input {
  font-family: inherit;
}

.font-mono {
  font-family: var(--font-mono);
}

.text-cyan {
  color: var(--cyan);
}

.text-green {
  color: var(--green);
}

.text-gradient {
  background: linear-gradient(110deg, #00f0ff 0%, #38bdf8 48%, #a5f3fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.inline-code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.22);
  padding: 2px 7px;
  border-radius: 6px;
}

/* ==========================================================================
   AMBIENT BACKGROUND LAYERS
   ========================================================================== */

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

.ambient-mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 45% at 18% 12%, rgba(0, 240, 255, 0.12), transparent 65%),
    radial-gradient(ellipse 55% 45% at 84% 22%, rgba(56, 189, 248, 0.1), transparent 65%),
    radial-gradient(ellipse 50% 45% at 50% 88%, rgba(2, 132, 199, 0.11), transparent 70%);
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(40, 63, 107, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 63, 107, 0.16) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 25%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 25%, #000 30%, transparent 100%);
}

/* Layout Containers */
main,
header,
footer {
  position: relative;
  z-index: 2;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 820px;
}

.section {
  padding: 104px 0;
}

.section--tinted {
  background: linear-gradient(
    180deg,
    rgba(15, 27, 53, 0) 0%,
    rgba(15, 27, 53, 0.55) 18%,
    rgba(15, 27, 53, 0.55) 82%,
    rgba(15, 27, 53, 0) 100%
  );
  border-top: 1px solid rgba(40, 63, 107, 0.28);
  border-bottom: 1px solid rgba(40, 63, 107, 0.28);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.05rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.06rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.glass-panel {
  background: var(--bg-glass);
  border: 1px solid var(--border-outline);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-card);
}

/* ==========================================================================
   PULSING STATUS DOTS & BUTTONS
   ========================================================================== */

.pulse-dot {
  position: relative;
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid currentColor;
  color: var(--cyan);
  opacity: 0.65;
  animation: pulse-ring 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

.pulse-dot--red {
  background: var(--red);
}
.pulse-dot--red::after {
  color: var(--red);
}

.pulse-dot--amber {
  background: var(--amber);
}
.pulse-dot--amber::after {
  color: var(--amber);
}

.pulse-dot--dark {
  background: #041226;
}
.pulse-dot--dark::after {
  color: #041226;
}

.pulse-dot--xs {
  width: 7px;
  height: 7px;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.75);
    opacity: 0.85;
  }
  70%,
  100% {
    transform: scale(2.1);
    opacity: 0;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

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

.btn-sm {
  font-size: 0.88rem;
  padding: 10px 18px;
}

.btn-lg {
  font-size: 0.98rem;
  padding: 15px 28px;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--sky) 100%);
  color: #041226;
  box-shadow: 0 8px 28px rgba(0, 240, 255, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 240, 255, 0.45);
}

.btn-secondary {
  background: rgba(25, 42, 77, 0.85);
  color: var(--text-primary);
  border-color: var(--border-outline);
}

.btn-secondary:hover {
  border-color: var(--cyan);
  background: rgba(0, 240, 255, 0.12);
}

.btn-ghost-link {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.86rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-ghost-link:hover {
  color: var(--cyan);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 13, 30, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(40, 63, 107, 0.45);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 20px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  display: inline-flex;
  filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.28));
}

.brand-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.28);
  padding: 2px 7px;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--cyan);
}

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(25, 42, 77, 0.65);
  border: 1px solid var(--border-outline);
  border-radius: 10px;
  padding: 0 9px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-drawer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 24px 24px;
  background: rgba(7, 13, 30, 0.96);
  border-bottom: 1px solid var(--border-outline);
}

.mobile-drawer[hidden] {
  display: none;
}

.mobile-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 0;
}

.mobile-link:hover {
  color: var(--cyan);
}

.mobile-cta {
  margin-top: 6px;
  width: 100%;
  padding: 13px 20px;
}

/* ==========================================================================
   HERO SECTION & INTERACTIVE ANDROID PHONE
   ========================================================================== */

.hero {
  padding: 68px 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 52px;
}

.launch-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(15, 27, 53, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.34);
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.14);
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.launch-pill-text {
  color: var(--text-primary);
}

.launch-pill-divider {
  color: var(--text-muted);
}

.launch-pill-accent {
  color: var(--cyan);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 5.2vw, 4.15rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.72;
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-subtitle strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 38px;
}

/* Google Play Coming Soon Badge */
.play-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(15, 27, 53, 0.95), rgba(7, 13, 30, 0.95));
  border: 1px solid var(--border-outline);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.play-store-badge:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 240, 255, 0.16);
}

.play-badge-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.play-badge-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
}

.play-badge-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.play-soon-tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.32);
  padding: 3px 7px;
  border-radius: 6px;
}

.play-store-badge--compact {
  padding: 8px 14px;
  pointer-events: none;
}

/* Technical Proof Strip */
.hero-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  max-width: 580px;
  padding: 14px 8px;
  border-radius: var(--radius-md);
  background: rgba(15, 27, 53, 0.56);
  border: 1px solid var(--border-subtle);
}

.proof-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 12px;
}

.proof-item + .proof-item {
  border-left: 1px solid var(--border-subtle);
}

.proof-value {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--cyan);
}

.proof-label {
  font-size: 0.74rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* Hero Right: Interactive Android Device Stage */
.hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 0;
}

/* Non-overlapping Telemetry Ribbon above Phone */
.telemetry-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  position: relative;
  z-index: 3;
}

.t-ribbon-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(10, 19, 40, 0.9);
  border: 1px solid rgba(40, 63, 107, 0.85);
  backdrop-filter: blur(12px);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.t-ribbon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.16);
}

.t-ribbon-badge--green {
  color: var(--green);
  background: rgba(16, 185, 129, 0.18);
}

/* Android Phone Frame */
.phone-shell {
  position: relative;
  width: 100%;
  max-width: 364px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-glow {
  position: absolute;
  inset: 28px -20px 36px;
  background: radial-gradient(circle at 50% 45%, rgba(0, 240, 255, 0.25), rgba(56, 189, 248, 0.08) 55%, transparent 75%);
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
}

.phone-bezel {
  position: relative;
  z-index: 2;
  width: 100%;
  border-radius: 38px;
  padding: 12px;
  background: linear-gradient(155deg, #273c68 0%, #0d1730 45%, #1d325b 100%);
  box-shadow:
    0 32px 70px rgba(0, 0, 0, 0.68),
    inset 0 1px 1px rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.android-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 14px 8px;
  font-size: 0.72rem;
  color: var(--text-secondary);
  background: #070d1e;
  border-radius: 26px 26px 0 0;
}

.camera-punch {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #02050c;
  border: 1px solid #1b2c4e;
}

.status-icons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.battery-pill {
  display: inline-flex;
  align-items: center;
  width: 20px;
  height: 10px;
  border-radius: 3px;
  border: 1px solid var(--text-secondary);
  padding: 1px;
}

.battery-fill {
  display: block;
  width: 82%;
  height: 100%;
  background: var(--cyan);
  border-radius: 1.5px;
}

/* Kumbuka App Top Bar */
.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px 10px;
  background: #070d1e;
  border-bottom: 1px solid rgba(40, 63, 107, 0.55);
}

.app-topbar-left {
  display: flex;
  align-items: center;
  gap: 9px;
}

.app-mini-crest {
  display: inline-flex;
}

.app-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  line-height: 1.1;
}

.cohort-badge {
  font-size: 0.64rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 1px 6px;
  border-radius: 5px;
}

.app-sync-line {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.sync-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.app-bell-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-outline);
  color: var(--cyan);
  cursor: pointer;
}

.bell-count {
  position: absolute;
  top: -4px;
  right: -4px;
  font-size: 0.6rem;
  font-weight: 700;
  background: var(--cyan);
  color: #041226;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.phone-toast {
  position: absolute;
  top: 98px;
  left: 22px;
  right: 22px;
  z-index: 20;
  background: rgba(16, 185, 129, 0.95);
  color: #03150e;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 9px 12px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  animation: toast-in 0.25s ease;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.app-viewport {
  background: #070d1e;
  padding: 12px;
  height: 446px;
  overflow-y: auto;
  scrollbar-width: none;
}

.app-viewport::-webkit-scrollbar {
  display: none;
}

.app-screen {
  display: none;
  flex-direction: column;
  gap: 10px;
}

.app-screen.is-active {
  display: flex;
  animation: fade-slide 0.28s ease;
}

@keyframes fade-slide {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pulse Card inside Phone */
.pulse-card {
  background: linear-gradient(145deg, #102041, #0c172e);
  border: 1px solid var(--border-outline);
  border-radius: 16px;
  padding: 12px;
}

.pulse-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
}

.pulse-card-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.pulse-card-pct {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan);
}

.pulse-bar-track {
  height: 6px;
  background: #192a4d;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}

.pulse-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  border-radius: 999px;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.pulse-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.p-metric {
  background: rgba(7, 13, 30, 0.65);
  border: 1px solid rgba(40, 63, 107, 0.5);
  border-radius: 10px;
  padding: 6px 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.p-metric-num {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}

.p-metric--urgent .p-metric-num {
  color: var(--red);
}

.p-metric-lbl {
  font-size: 0.6rem;
  color: var(--text-secondary);
}

/* Coursework Cards inside Phone */
.cw-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-outline);
  border-radius: 16px;
  padding: 11px;
  transition: opacity 0.25s ease, border-color 0.25s ease;
}

.cw-card--urgent {
  border-color: rgba(239, 68, 68, 0.48);
  box-shadow: inset 0 0 24px rgba(239, 68, 68, 0.06);
}

.cw-card--amber {
  border-color: rgba(245, 158, 11, 0.38);
}

.cw-card.is-completed {
  border-color: rgba(16, 185, 129, 0.48);
  background: rgba(16, 185, 129, 0.08);
}

.cw-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.cw-code {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--cyan);
}

.cw-weight {
  font-size: 0.62rem;
  color: var(--text-secondary);
  background: var(--bg-surface-elevated);
  padding: 2px 6px;
  border-radius: 5px;
}

.cw-timer {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.64rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
}

.cw-timer--urgent {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.45);
}

.cw-timer--amber {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.cw-timer--done {
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.45);
}

.cw-title {
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 7px;
}

.cw-meta-row {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.cw-chip {
  font-size: 0.62rem;
  color: var(--text-secondary);
  background: rgba(25, 42, 77, 0.8);
  padding: 2px 7px;
  border-radius: 6px;
}

.cw-chip--portal {
  color: var(--sky);
  background: rgba(56, 189, 248, 0.12);
}

.cw-checklist-mini {
  margin-bottom: 8px;
}

.cw-check-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.cw-check-bar {
  height: 4px;
  background: #192a4d;
  border-radius: 999px;
  overflow: hidden;
}

.cw-check-bar span {
  display: block;
  height: 100%;
  background: var(--cyan);
  border-radius: 999px;
}

.cw-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 7px;
  border-top: 1px solid rgba(40, 63, 107, 0.45);
}

.cw-social {
  font-size: 0.64rem;
  color: var(--text-muted);
}

.cw-done-btn {
  font-size: 0.68rem;
  font-weight: 700;
  color: #041226;
  background: var(--cyan);
  border: none;
  border-radius: 8px;
  padding: 5px 10px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.cw-done-btn:hover {
  background: #5bf6ff;
}

.cw-done-btn:disabled {
  background: rgba(16, 185, 129, 0.22);
  color: #6ee7b7;
  cursor: default;
}

/* Grade Vault Tab inside Phone */
.vault-hero-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(145deg, #102446, #0b162d);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 16px;
  padding: 12px;
}

.vault-ring-wrap {
  position: relative;
  width: 70px;
  height: 70px;
  flex-shrink: 0;
}

.vault-ring-val {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--green);
}

.vault-summary {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.vault-pill {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.08em;
}

.vault-summary strong {
  font-size: 0.88rem;
}

.vault-summary span:last-child {
  font-size: 0.66rem;
  color: var(--text-secondary);
}

.vault-unit-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-outline);
  border-radius: 14px;
  padding: 11px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.vu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.grade-chip {
  font-size: 0.64rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}

.grade-chip--a {
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.18);
}

.grade-chip--bplus {
  color: #bae6fd;
  background: rgba(56, 189, 248, 0.18);
}

.vu-score-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.vu-score-row strong {
  color: var(--text-primary);
}

.vu-projection {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.68rem;
  color: var(--text-secondary);
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 10px;
  padding: 7px 8px;
  line-height: 1.4;
}

.vu-proj-icon {
  color: var(--cyan);
}

.vu-projection strong {
  color: var(--cyan);
}

/* Notices Tab inside Phone */
.live-broadcast-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.64rem;
  color: #fecaca;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 10px;
  padding: 7px 10px;
}

.notice-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-outline);
  border-radius: 14px;
  padding: 11px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.notice-card--urgent {
  border-color: rgba(239, 68, 68, 0.45);
}

.notice-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.n-badge {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 5px;
  letter-spacing: 0.04em;
}

.n-badge--urgent {
  background: rgba(239, 68, 68, 0.22);
  color: #fca5a5;
}

.n-badge--pinned {
  background: rgba(245, 158, 11, 0.22);
  color: #fde68a;
}

.n-badge--rep {
  background: rgba(0, 240, 255, 0.14);
  color: var(--cyan);
}

.notice-card h4 {
  font-size: 0.82rem;
  line-height: 1.3;
}

.notice-card p {
  font-size: 0.7rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.notice-foot {
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  color: var(--text-muted);
  padding-top: 5px;
  border-top: 1px solid rgba(40, 63, 107, 0.4);
}

.notice-share {
  color: var(--sky);
  font-weight: 600;
}

/* Units Tab inside Phone */
.unit-row-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border-outline);
  border-radius: 14px;
  padding: 11px;
}

.unit-left h4 {
  font-size: 0.82rem;
  margin: 2px 0;
}

.unit-lect {
  font-size: 0.66rem;
  color: var(--text-secondary);
}

.unit-count {
  font-size: 0.66rem;
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.1);
  padding: 4px 8px;
  border-radius: 8px;
}

.unit-count--done {
  color: var(--green);
  background: rgba(16, 185, 129, 0.14);
}

/* Material 3 Bottom Navigation */
.app-bottom-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #0b1429;
  border-top: 1px solid rgba(40, 63, 107, 0.55);
  padding: 8px 6px 10px;
  border-radius: 0 0 26px 26px;
}

.app-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.66rem;
  font-weight: 600;
  padding: 5px 4px;
  border-radius: 12px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.app-nav-item:hover {
  color: var(--text-primary);
}

.app-nav-item.is-active {
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.1);
}

.phone-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: center;
}

.phone-hint strong {
  color: var(--cyan);
}

/* ==========================================================================
   HOW IT WORKS — ROLE SWITCHER & PIPELINE
   ========================================================================== */

.role-switcher {
  display: flex;
  width: fit-content;
  justify-content: center;
  gap: 8px;
  padding: 6px;
  background: rgba(15, 27, 53, 0.85);
  border: 1px solid var(--border-outline);
  border-radius: 999px;
  margin: 0 auto 40px;
}

.role-tab {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.role-tab:hover {
  color: var(--text-primary);
}

.role-tab.is-active {
  background: linear-gradient(135deg, var(--cyan), var(--sky));
  color: #041226;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.workflow-card {
  position: relative;
  background: var(--bg-glass);
  border: 1px solid var(--border-outline);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.workflow-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 255, 0.55);
  box-shadow: var(--glow-cyan);
}

.wf-step-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  padding: 3px 9px;
  border-radius: 999px;
}

.wf-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.28);
  margin-bottom: 20px;
}

.workflow-card h3 {
  font-family: var(--font-display);
  font-size: 1.24rem;
  margin-bottom: 10px;
}

.workflow-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Contrast Strip: WhatsApp vs Kumbuka */
.contrast-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  background: rgba(15, 27, 53, 0.65);
  border: 1px solid var(--border-outline);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}

.contrast-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.contrast-col--old .contrast-tag {
  color: var(--red);
}

.contrast-col--new .contrast-tag {
  color: var(--cyan);
}

.contrast-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contrast-col li {
  position: relative;
  padding-left: 22px;
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.contrast-col--old li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.contrast-col--new li {
  color: var(--text-primary);
}

.contrast-col--new li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.contrast-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-outline);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--cyan);
}

/* ==========================================================================
   3-TIER AUTOMATED REMINDER ENGINE SIMULATOR
   ========================================================================== */

.engine-simulator {
  padding: 36px;
}

.engine-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 34px;
}

.engine-controls-label span {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.1em;
}

.engine-controls-label p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.timeline-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.t-pill {
  background: rgba(7, 13, 30, 0.75);
  border: 1px solid var(--border-outline);
  color: var(--text-secondary);
  padding: 10px 15px;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.t-pill span {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.t-pill:hover {
  border-color: var(--sky);
  color: var(--text-primary);
}

.t-pill.is-active {
  background: rgba(0, 240, 255, 0.14);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.18);
}

.t-pill.is-active span {
  color: #a5f3fc;
}

/* Visual Timeline Track */
.timeline-stage {
  margin-bottom: 32px;
}

.timeline-endpoints {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.timeline-algo-tag {
  color: var(--sky);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 3px 10px;
  border-radius: 999px;
}

.timeline-due-tag {
  color: var(--red);
  font-weight: 700;
}

.timeline-beam-wrap {
  position: relative;
  height: 76px;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.timeline-beam {
  position: relative;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #132342;
  overflow: hidden;
  border: 1px solid rgba(40, 63, 107, 0.65);
}

.timeline-beam-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--sky) 0%, var(--amber) 62%, var(--red) 100%);
  opacity: 0.85;
}

.t-node {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: left 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.t-node-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid #070d1e;
  box-shadow: 0 0 18px currentColor;
}

.t-node--1 .t-node-dot {
  background: var(--cyan);
  color: var(--cyan);
}

.t-node--2 .t-node-dot {
  background: var(--amber);
  color: var(--amber);
}

.t-node--3 .t-node-dot {
  background: var(--red);
  color: var(--red);
}

.t-node-tag {
  position: absolute;
  top: 28px;
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 8px;
  background: #0b152c;
  border: 1px solid var(--border-outline);
  color: var(--text-primary);
}

.tier-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tier-card {
  background: rgba(7, 13, 30, 0.72);
  border: 1px solid var(--border-outline);
  border-radius: var(--radius-md);
  padding: 20px;
}

.tier-card--1 {
  border-top: 3px solid var(--cyan);
}

.tier-card--2 {
  border-top: 3px solid var(--amber);
}

.tier-card--3 {
  border-top: 3px solid var(--red);
}

.tier-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.tier-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.tier-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.tier-card--1 .tier-badge {
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.12);
}

.tier-card--2 .tier-badge {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.16);
}

.tier-card--3 .tier-badge {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.18);
}

.tier-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.58;
}

/* Reliability Engineering Strip */
.reliability-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 26px;
  border-top: 1px solid var(--border-subtle);
}

.rel-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.rel-icon {
  font-size: 1.15rem;
  line-height: 1;
  padding: 8px;
  border-radius: 10px;
  background: rgba(25, 42, 77, 0.85);
  border: 1px solid var(--border-outline);
}

.rel-item strong {
  display: block;
  font-size: 0.86rem;
  margin-bottom: 2px;
}

.rel-item span {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
  display: block;
}

/* ==========================================================================
   FEATURE BENTO GRID
   ========================================================================== */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-outline);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.bento-card:hover {
  border-color: rgba(0, 240, 255, 0.45);
  transform: translateY(-3px);
}

.bento-card--wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 32px;
}

.bento-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 10px;
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.42rem;
  line-height: 1.22;
  margin-bottom: 10px;
}

.bento-card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.bento-visual {
  background: rgba(7, 13, 30, 0.82);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
}

/* Workspace Interactive Mini Checklist */
.wd-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.wd-pct {
  color: var(--cyan);
  font-weight: 700;
}

.wd-progress {
  height: 6px;
  background: #192a4d;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 14px;
}

.wd-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  transition: width 0.3s ease;
}

.wd-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 14px;
}

.wd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(15, 27, 53, 0.9);
  border: 1px solid rgba(40, 63, 107, 0.55);
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.wd-item:hover {
  border-color: var(--cyan);
}

.wd-item input[type="checkbox"] {
  accent-color: var(--cyan);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.wd-item.is-checked span {
  text-decoration: line-through;
  color: var(--text-muted);
}

.wd-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wd-pill {
  font-size: 0.74rem;
  color: var(--sky);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  padding: 4px 10px;
  border-radius: 999px;
}

/* Q&A Visual */
.qa-demo {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qa-bubble {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.84rem;
}

.qa-bubble--student {
  background: rgba(15, 27, 53, 0.9);
  border: 1px solid rgba(40, 63, 107, 0.55);
}

.qa-author {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.qa-bubble--pinned {
  background: rgba(0, 240, 255, 0.07);
  border: 1px solid rgba(0, 240, 255, 0.35);
}

.qa-pin-row {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}

/* Class Rep Visual */
.rep-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.rep-stat-row > div {
  background: rgba(15, 27, 53, 0.9);
  border: 1px solid rgba(40, 63, 107, 0.55);
  border-radius: 12px;
  padding: 12px;
}

.rep-num {
  display: block;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1.1;
}

.rep-lbl {
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.rep-ext-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  color: #fde68a;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 10px;
  padding: 8px 10px;
}

/* Broadcast Visual */
.bd-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.bd-chip {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(15, 27, 53, 0.9);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: 999px;
}

.bd-chip.is-active {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.45);
}

.bd-snippet {
  font-size: 0.76rem;
  color: var(--sky);
  background: rgba(15, 27, 53, 0.95);
  border-left: 3px solid var(--cyan);
  padding: 10px 12px;
  border-radius: 8px;
  line-height: 1.5;
}

/* Filter & Search Demo */
.fd-search {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  color: var(--text-muted);
  background: rgba(15, 27, 53, 0.95);
  border: 1px solid var(--border-outline);
  border-radius: 10px;
  padding: 9px 12px;
  margin-bottom: 12px;
}

.fd-search-icon {
  color: var(--cyan);
  font-size: 0.92rem;
}

.fd-chip--cyan {
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.14);
  border-color: rgba(0, 240, 255, 0.45);
}

/* Security Demo */
.security-demo {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sec-node {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(15, 27, 53, 0.9);
  border: 1px solid rgba(40, 63, 107, 0.55);
}

.sec-icon {
  font-size: 1.1rem;
}

.sec-node strong {
  display: block;
  font-size: 0.86rem;
}

.sec-node span {
  font-size: 0.76rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   INTERACTIVE GRADE VAULT SANDBOX
   ========================================================================== */

.vault-sandbox {
  padding: 36px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.vault-controls {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.control-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.control-head label,
.control-head .control-label {
  font-size: 0.92rem;
  font-weight: 600;
}

.control-val {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--cyan);
}

.weight-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.w-pill {
  background: rgba(7, 13, 30, 0.75);
  border: 1px solid var(--border-outline);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.86rem;
  padding: 11px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.w-pill:hover {
  border-color: var(--sky);
  color: var(--text-primary);
}

.w-pill.is-active {
  background: rgba(0, 240, 255, 0.14);
  border-color: var(--cyan);
  color: var(--cyan);
}

/* Custom Cyan Slider */
.cyan-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #192a4d;
  outline: none;
  cursor: pointer;
}

.cyan-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cyan);
  border: 3px solid #070d1e;
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.65);
  cursor: pointer;
}

.cyan-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cyan);
  border: 3px solid #070d1e;
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.65);
  cursor: pointer;
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Ugandan 5.0 GPA Scale Strip */
.gpa-scale-strip {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
}

.scale-cell {
  background: rgba(7, 13, 30, 0.72);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 8px 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: all 0.2s ease;
}

.scale-cell strong {
  font-family: var(--font-mono);
  font-size: 0.84rem;
}

.scale-cell span {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-muted);
}

.scale-cell.is-active {
  background: rgba(0, 240, 255, 0.14);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.scale-cell.is-active strong,
.scale-cell.is-active span {
  color: var(--cyan);
}

/* Vault Readout Gauge */
.vault-readout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  background: rgba(7, 13, 30, 0.78);
  border: 1px solid var(--border-outline);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
}

.gauge-wrap {
  position: relative;
  width: 180px;
  height: 180px;
}

#gauge-arc {
  transition: stroke-dashoffset 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.gauge-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
}

.gauge-letter {
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1;
}

.gauge-gp {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--cyan);
  margin-top: 4px;
}

.gauge-tier {
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-top: 3px;
  max-width: 110px;
  line-height: 1.2;
}

.projection-box {
  width: 100%;
  background: rgba(15, 27, 53, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.28);
  border-radius: var(--radius-md);
  padding: 16px;
}

.proj-eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--sky);
  margin-bottom: 6px;
}

.proj-headline {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.proj-detail {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.proj-detail strong {
  color: var(--text-primary);
}

/* ==========================================================================
   GOOGLE PLAY LAUNCH ROADMAP & EARLY ACCESS PROGRAM
   ========================================================================== */

.early-access-section {
  position: relative;
}

.roadmap-bar {
  display: grid;
  grid-template-columns: 1fr 48px 1fr 48px 1fr 48px 1fr;
  align-items: center;
  gap: 8px;
  margin-bottom: 38px;
}

.rm-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(15, 27, 53, 0.55);
  border: 1px solid var(--border-subtle);
}

.rm-step strong {
  display: block;
  font-size: 0.86rem;
  line-height: 1.25;
}

.rm-step > div > span {
  display: block;
  font-size: 0.74rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.rm-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  background: var(--bg-surface-elevated);
  color: var(--text-muted);
  border: 1px solid var(--border-outline);
}

.rm-step.is-done {
  border-color: rgba(16, 185, 129, 0.4);
}

.rm-step.is-done .rm-dot {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--green);
  color: var(--green);
}

.rm-step.is-current {
  border-color: var(--cyan);
  background: rgba(0, 240, 255, 0.08);
  box-shadow: 0 0 28px rgba(0, 240, 255, 0.14);
}

.rm-step.is-current .rm-dot {
  background: var(--cyan);
  border-color: var(--cyan);
}

.rm-line {
  height: 2px;
  background: var(--border-subtle);
  border-radius: 2px;
}

.rm-line.is-done {
  background: var(--green);
}

.rm-line.is-active {
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

/* Early Access Two-Column Card */
.ea-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  padding: 40px;
  border-color: rgba(0, 240, 255, 0.36);
  background:
    radial-gradient(circle at 90% 10%, rgba(0, 240, 255, 0.11), transparent 45%),
    rgba(12, 22, 46, 0.88);
}

.ea-play-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.ea-android-spec {
  font-size: 0.74rem;
  color: var(--sky);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 5px 11px;
  border-radius: 999px;
}

.ea-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 10px;
}

.ea-lead {
  font-size: 0.96rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.benefit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(0, 240, 255, 0.09);
  border: 1px solid rgba(0, 240, 255, 0.25);
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
}

.benefit-list strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.benefit-list li > div > span {
  display: block;
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.spots-tracker {
  background: rgba(7, 13, 30, 0.78);
  border: 1px solid var(--border-outline);
  border-radius: var(--radius-md);
  padding: 16px;
}

.spots-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 9px;
}

.spots-label {
  color: var(--text-secondary);
}

.spots-count strong {
  color: var(--cyan);
}

.spots-bar {
  height: 8px;
  background: #192a4d;
  border-radius: 999px;
  overflow: hidden;
}

.spots-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--sky), var(--green));
  border-radius: 999px;
  transition: width 0.5s ease;
}

/* Early Access Form Pane */
.ea-form-pane {
  background: rgba(7, 13, 30, 0.85);
  border: 1px solid var(--border-outline);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-head h4 {
  font-family: var(--font-display);
  font-size: 1.38rem;
  margin-bottom: 6px;
}

.form-head p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
  line-height: 1.55;
}

.field-group {
  margin-bottom: 18px;
}

.field-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.req {
  color: var(--cyan);
}

.opt {
  color: var(--text-muted);
  font-weight: 400;
}

.role-radio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.role-radio {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-outline);
  cursor: pointer;
  transition: all 0.2s ease;
}

.role-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rr-title {
  font-size: 0.9rem;
  font-weight: 700;
}

.rr-sub {
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.role-radio.is-selected {
  background: rgba(0, 240, 255, 0.11);
  border-color: var(--cyan);
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.14);
}

.role-radio.is-selected .rr-title {
  color: var(--cyan);
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  pointer-events: none;
}

.input-wrap input {
  width: 100%;
  padding: 14px 14px 14px 44px;
  border-radius: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-outline);
  color: var(--text-primary);
  font-size: 0.94rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.input-wrap input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.15);
}

.field-error {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: #fca5a5;
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(4, 18, 38, 0.3);
  border-top-color: #041226;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

.form-privacy-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Early Access Confirmation Pass */
.ea-pass {
  position: relative;
  border-radius: var(--radius-md);
  padding: 24px;
  background: linear-gradient(155deg, rgba(16, 36, 70, 0.95), rgba(7, 13, 30, 0.98));
  border: 1px solid var(--cyan);
  box-shadow: 0 0 38px rgba(0, 240, 255, 0.18);
  overflow: hidden;
  animation: fade-slide 0.35s ease;
}

.ea-pass[hidden] {
  display: none;
}

.pass-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.pass-badge {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #041226;
  background: var(--cyan);
  padding: 4px 10px;
  border-radius: 999px;
}

.pass-id {
  font-size: 0.78rem;
  color: var(--sky);
}

.pass-body {
  text-align: center;
}

.pass-check {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
  background: rgba(16, 185, 129, 0.16);
  border: 2px solid var(--green);
}

.pass-body h4 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  margin-bottom: 8px;
}

.pass-body p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.55;
}

.pass-body p strong {
  color: var(--cyan);
}

.pass-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: rgba(7, 13, 30, 0.72);
  border: 1px solid var(--border-outline);
  border-radius: 12px;
  padding: 12px 8px;
  margin-bottom: 20px;
}

.pass-details span {
  display: block;
  font-size: 0.62rem;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.pass-details strong {
  font-size: 0.74rem;
}

.pass-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   FAQ & FOOTER
   ========================================================================== */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-glass);
  border: 1px solid var(--border-outline);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(0, 240, 255, 0.45);
}

.faq-item summary {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--cyan);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 12px;
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.68;
}

.faq-item code {
  font-family: var(--font-mono);
  color: var(--cyan);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(5, 10, 24, 0.85);
  padding: 56px 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(40, 63, 107, 0.4);
}

.footer-slogan {
  color: var(--text-secondary);
  margin: 12px 0 10px;
  font-size: 0.94rem;
}

.footer-tech {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 56px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 0.76rem;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  filter: blur(4px);
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.reveal-delay-1 {
  transition-delay: 0.14s;
}

/* ==========================================================================
   ENRICHED MOTION, TEXT EFFECTS & TRANSITIONS SYSTEM
   ========================================================================== */

/* 1. Scroll Progress Telemetry Bar & Smart Header */
.site-header {
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 13, 30, 0.9);
  border-bottom-color: rgba(0, 240, 255, 0.22);
  box-shadow: 0 12px 36px rgba(2, 6, 18, 0.55);
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--cyan) 0%, var(--sky) 55%, var(--green) 100%);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.75);
  pointer-events: none;
  will-change: transform;
}

/* Brand Lockup Micro-Motion */
.brand-icon {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
}

.brand-lockup:hover .brand-icon {
  transform: rotate(-6deg) scale(1.06);
  filter: drop-shadow(0 0 18px rgba(0, 240, 255, 0.55));
}

/* Nav Links Kinetic Underline & Active Scroll-Spy */
.nav-links a {
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--sky));
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
  opacity: 1;
}

.nav-links a.is-active {
  color: var(--cyan);
}

/* Mobile Menu Button Morph & Drawer Slide */
.mobile-menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
  animation: drawer-slide-in 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes drawer-slide-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 2. Ambient Mesh Breathing Motion */
.ambient-mesh {
  animation: mesh-drift 18s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

@keyframes mesh-drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.92;
  }
  50% {
    transform: translate3d(-1.5%, 1.5%, 0) scale(1.04);
    opacity: 1;
  }
  100% {
    transform: translate3d(1.5%, -1%, 0) scale(1.02);
    opacity: 0.95;
  }
}

/* 3. Text Effects: Hero Staggered Reveal, Shimmer Gradient, Scramble & Typing */
.hero-line {
  display: block;
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-content.is-visible .hero-line--1 {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 0.06s;
}

.hero-content.is-visible .hero-line--2 {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition-delay: 0.2s;
}

.text-shimmer {
  background: linear-gradient(
    105deg,
    #00f0ff 0%,
    #38bdf8 26%,
    #e0faff 48%,
    #38bdf8 72%,
    #10b981 90%,
    #00f0ff 100%
  );
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer-flow 6.5s ease-in-out infinite;
  filter: drop-shadow(0 0 22px rgba(0, 240, 255, 0.24));
}

@keyframes shimmer-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.launch-pill {
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.launch-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(0, 240, 255, 0.22) 50%, transparent 75%);
  transform: translateX(-120%);
  animation: pill-sweep 5.5s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  pointer-events: none;
}

@keyframes pill-sweep {
  0%,
  65% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

.eyebrow.is-decoding {
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.26);
  border-color: rgba(0, 240, 255, 0.55);
}

/* Stat / Metric Pop Animation */
.stat-pop {
  animation: stat-pop-kf 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes stat-pop-kf {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.24);
    color: var(--cyan);
    text-shadow: 0 0 14px rgba(0, 240, 255, 0.65);
  }
  100% {
    transform: scale(1);
  }
}

/* Typing Cursor inside Smart Search Demo */
.fd-search-text {
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.typing-caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  margin-left: -3px;
  flex-shrink: 0;
  animation: caret-blink 0.9s steps(1) infinite;
}

@keyframes caret-blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

/* 4. Magnetic Buttons & Light-Sweep Sheen */
.btn-primary,
.play-store-badge {
  position: relative;
  overflow: hidden;
  transform: translate3d(var(--mag-x, 0px), var(--mag-y, 0px), 0);
  transition:
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.btn-primary:hover {
  transform: translate3d(var(--mag-x, 0px), calc(var(--mag-y, 0px) - 2px), 0);
}

.play-store-badge:hover {
  transform: translate3d(var(--mag-x, 0px), calc(var(--mag-y, 0px) - 2px), 0);
}

.btn-primary::after,
.play-store-badge::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -75%;
  width: 55%;
  height: 140%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.36), transparent);
  transform: skewX(-22deg);
  transition: left 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.btn-primary:hover::after,
.play-store-badge:hover::after {
  left: 135%;
}

.btn-primary svg {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

/* Hero Proof Strip Subtle Hover Lift */
.proof-item {
  transition: transform 0.25s ease;
}

.proof-item:hover {
  transform: translateY(-2px);
}

/* 5. Phone Showcase: Levitation, 3D Perspective Tilt & Compose Transitions */
.hero-stage {
  perspective: 1200px;
}

.phone-shell {
  transform-style: preserve-3d;
  animation: phone-float 6.5s ease-in-out infinite;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.phone-shell.is-tilting {
  animation-play-state: paused;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

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

.phone-glow {
  animation: glow-breathe 5.5s ease-in-out infinite alternate;
}

@keyframes glow-breathe {
  0% {
    opacity: 0.72;
    transform: scale(0.96);
  }
  100% {
    opacity: 1;
    transform: scale(1.06);
  }
}

.t-ribbon-chip {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.t-ribbon-chip:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 240, 255, 0.55);
  box-shadow: 0 10px 24px rgba(0, 240, 255, 0.16);
}

/* Directional Compose-Style Phone Screen Transitions */
.app-screen.is-active.slide-from-right {
  animation: screen-slide-right 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.app-screen.is-active.slide-from-left {
  animation: screen-slide-left 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes screen-slide-right {
  from {
    opacity: 0;
    transform: translateX(22px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes screen-slide-left {
  from {
    opacity: 0;
    transform: translateX(-22px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Phone Bottom Nav Sliding Pill Indicator */
.app-bottom-nav {
  position: relative;
}

.app-nav-glider {
  position: absolute;
  top: 8px;
  bottom: 10px;
  left: 6px;
  width: calc((100% - 12px) / 4);
  border-radius: 12px;
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.28);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.16);
  transition: transform 0.34s cubic-bezier(0.34, 1.45, 0.64, 1);
  pointer-events: none;
  z-index: 0;
}

.app-nav-item {
  position: relative;
  z-index: 1;
  transition: color 0.22s ease, transform 0.2s ease;
}

.app-bottom-nav.has-glider .app-nav-item.is-active {
  background: transparent;
}

.app-nav-item:active {
  transform: scale(0.93);
}

.app-nav-item svg {
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.app-nav-item.is-active svg {
  transform: translateY(-1px) scale(1.08);
}

/* Phone Bell Ring & Card Completion Flash */
.app-bell-btn {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.app-bell-btn:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.25);
}

.app-bell-btn.is-ringing {
  animation: bell-ring 0.55s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes bell-ring {
  0%,
  100% {
    transform: rotate(0deg);
  }
  18% {
    transform: rotate(15deg);
  }
  36% {
    transform: rotate(-13deg);
  }
  54% {
    transform: rotate(9deg);
  }
  72% {
    transform: rotate(-6deg);
  }
}

.cw-card {
  transition:
    opacity 0.28s ease,
    border-color 0.3s ease,
    background 0.35s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.cw-card.just-completed {
  animation: cw-lock-pulse 0.58s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes cw-lock-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
  }
  45% {
    transform: scale(1.022);
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

#phone-vault-ring {
  transition: stroke-dashoffset 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 6. Role Switcher Sliding Glider & Staggered Card Transition */
.role-switcher {
  position: relative;
}

.role-glider {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--sky));
  box-shadow: 0 4px 18px rgba(0, 240, 255, 0.35);
  transition:
    transform 0.38s cubic-bezier(0.34, 1.38, 0.64, 1),
    width 0.38s cubic-bezier(0.34, 1.38, 0.64, 1);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
}

.role-switcher.has-glider .role-glider {
  opacity: 1;
}

.role-tab {
  position: relative;
  z-index: 1;
}

.role-switcher.has-glider .role-tab.is-active {
  background: transparent;
}

.wf-card-enter {
  opacity: 0;
  animation: wf-stagger-in 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes wf-stagger-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.975);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.wf-icon-box {
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.32s ease, border-color 0.32s ease;
}

.workflow-card:hover .wf-icon-box {
  transform: translateY(-3px) scale(1.07);
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.35);
  border-color: var(--cyan);
}

/* 7. Cursor Spotlight Glow on Glass Cards */
.workflow-card,
.bento-card,
.tier-card,
.ea-card {
  position: relative;
  overflow: hidden;
}

.workflow-card::before,
.bento-card::before,
.tier-card::before,
.ea-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    420px circle at var(--mx, -300px) var(--my, -300px),
    rgba(0, 240, 255, 0.11),
    transparent 62%
  );
  opacity: 0;
  transition: opacity 0.32s ease;
  pointer-events: none;
  z-index: 0;
}

.workflow-card:hover::before,
.bento-card:hover::before,
.tier-card:hover::before,
.ea-card:hover::before {
  opacity: 1;
}

.workflow-card > *,
.bento-card > *,
.tier-card > *,
.ea-card > * {
  position: relative;
  z-index: 1;
}

/* 8. 3-Tier Reminder Engine: Traveling Comet, Spring Nodes & Sonar Ripples */
.timeline-comet {
  position: absolute;
  top: -2px;
  bottom: -2px;
  width: 96px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.92), rgba(0, 240, 255, 0.95), transparent);
  filter: blur(2px);
  animation: comet-sweep 3.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes comet-sweep {
  0% {
    left: -18%;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    left: 108%;
    opacity: 0;
  }
}

.t-node {
  transition: left 0.62s cubic-bezier(0.34, 1.38, 0.64, 1);
}

.t-node-dot {
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.t-node:hover .t-node-dot {
  transform: scale(1.22);
}

.t-node.is-pulsing .t-node-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid currentColor;
  animation: node-sonar 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes node-sonar {
  0% {
    transform: scale(0.9);
    opacity: 0.95;
  }
  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}

.tier-card {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.tier-card:hover {
  transform: translateY(-3px);
}

.tier-card.is-updating {
  animation: tier-flash 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes tier-flash {
  0% {
    transform: translateY(5px);
    opacity: 0.6;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* 9. Bento Interactive Chips & Snippet Crossfade */
button.bd-chip {
  cursor: pointer;
  transition:
    transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease;
}

button.bd-chip:hover {
  transform: translateY(-1px);
  border-color: var(--sky);
  color: var(--text-primary);
}

button.bd-chip:active {
  transform: scale(0.95);
}

.bd-snippet {
  transition: opacity 0.22s ease, transform 0.22s ease, border-left-color 0.25s ease;
}

.bd-snippet.is-switching {
  opacity: 0;
  transform: translateY(5px);
}

.sec-node {
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.sec-node:hover {
  transform: translateX(4px);
  border-color: rgba(0, 240, 255, 0.42);
  background: rgba(15, 27, 53, 1);
}

/* 10. Grade Vault Dynamic Transitions */
.cyan-slider::-webkit-slider-thumb {
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.cyan-slider::-webkit-slider-thumb:hover,
.cyan-slider:active::-webkit-slider-thumb {
  transform: scale(1.18);
  box-shadow: 0 0 26px rgba(0, 240, 255, 0.9);
}

.cyan-slider::-moz-range-thumb {
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.cyan-slider::-moz-range-thumb:hover,
.cyan-slider:active::-moz-range-thumb {
  transform: scale(1.18);
  box-shadow: 0 0 26px rgba(0, 240, 255, 0.9);
}

.projection-box {
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.projection-box.proj--secured {
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow: 0 0 26px rgba(16, 185, 129, 0.16);
}

.projection-box.proj--danger {
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 0 24px rgba(239, 68, 68, 0.14);
}

/* 11. Roadmap Energy Flow & Staggered Entrance */
.rm-line.is-active {
  position: relative;
  overflow: hidden;
}

.rm-line.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #ffffff, var(--cyan), transparent);
  transform: translateX(-100%);
  animation: roadmap-flow 2.4s ease-in-out infinite;
}

@keyframes roadmap-flow {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(120%);
  }
}

.rm-step {
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.rm-step:hover {
  transform: translateY(-2px);
}

.rm-step.is-current {
  animation: current-step-breathe 3.6s ease-in-out infinite alternate;
}

@keyframes current-step-breathe {
  0% {
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.14);
  }
  100% {
    box-shadow: 0 0 34px rgba(0, 240, 255, 0.32);
  }
}

/* 12. Early Access Form Focus, Shake, Holographic Pass & Confetti Burst */
.input-wrap:focus-within .input-icon {
  color: var(--cyan);
  transform: scale(1.08);
}

.input-icon {
  transition: color 0.22s ease, transform 0.22s ease;
}

.input-wrap.has-error {
  animation: input-shake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

.input-wrap.has-error input {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18);
}

@keyframes input-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-6px);
  }
  40% {
    transform: translateX(6px);
  }
  60% {
    transform: translateX(-4px);
  }
  80% {
    transform: translateX(4px);
  }
}

.ea-pass::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -90%;
  width: 60%;
  height: 160%;
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(0, 240, 255, 0.14) 45%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(16, 185, 129, 0.14) 55%,
    transparent 80%
  );
  transform: skewX(-18deg);
  animation: pass-sheen 4.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pass-sheen {
  0%,
  35% {
    left: -90%;
  }
  100% {
    left: 150%;
  }
}

.pass-check {
  animation: pass-check-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes pass-check-pop {
  0% {
    opacity: 0;
    transform: scale(0.45) rotate(-18deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

/* Micro-Burst Particle (Phone Completion & Early Access Pass) */
.burst-particle {
  position: fixed;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 9999;
  will-change: transform, opacity;
}

/* 13. FAQ Smooth Accordion & Hover Accent */
.faq-item {
  transition: border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
  overflow: hidden;
}

.faq-item:hover {
  border-color: rgba(0, 240, 255, 0.35);
}

.faq-item[open] {
  box-shadow: 0 12px 32px rgba(0, 240, 255, 0.08);
}

.faq-item summary {
  transition: color 0.22s ease;
}

.faq-item summary:hover {
  color: var(--cyan);
}

.faq-item summary::after {
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Staggered Child Reveal Choreography */
.roadmap-bar .rm-step,
.tier-cards-grid .tier-card,
.benefit-list li,
.faq-list .faq-item {
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.roadmap-bar:not(.is-visible) .rm-step,
.benefit-list.is-staged:not(.is-visible) li,
.faq-list:not(.is-visible) .faq-item {
  opacity: 0;
  transform: translateY(16px);
}

.roadmap-bar.is-visible .rm-step:nth-of-type(1) { transition-delay: 0.05s; }
.roadmap-bar.is-visible .rm-step:nth-of-type(2) { transition-delay: 0.14s; }
.roadmap-bar.is-visible .rm-step:nth-of-type(3) { transition-delay: 0.23s; }
.roadmap-bar.is-visible .rm-step:nth-of-type(4) { transition-delay: 0.32s; }

.faq-list.is-visible .faq-item:nth-child(1) { transition-delay: 0.04s; }
.faq-list.is-visible .faq-item:nth-child(2) { transition-delay: 0.1s; }
.faq-list.is-visible .faq-item:nth-child(3) { transition-delay: 0.16s; }
.faq-list.is-visible .faq-item:nth-child(4) { transition-delay: 0.22s; }
.faq-list.is-visible .faq-item:nth-child(5) { transition-delay: 0.28s; }

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-cta-row {
    justify-content: center;
  }

  .roadmap-bar {
    grid-template-columns: 1fr;
  }

  .rm-line {
    display: none;
  }

  .vault-sandbox,
  .ea-card,
  .bento-card--wide {
    grid-template-columns: 1fr;
  }

  .bento-card--wide {
    grid-column: span 1;
  }

  .reliability-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .nav-links,
  .nav-actions .btn-primary {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .section {
    padding: 76px 0;
  }

  .hero-proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 14px;
  }

  .proof-item:nth-child(odd) {
    border-left: none;
  }

  .workflow-grid,
  .tier-cards-grid,
  .bento-grid,
  .contrast-strip {
    grid-template-columns: 1fr;
  }

  .contrast-divider {
    margin: 0 auto;
  }

  .engine-simulator,
  .vault-sandbox,
  .ea-card {
    padding: 24px 18px;
  }

  .gpa-scale-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .reliability-strip {
    grid-template-columns: 1fr;
  }

  .t-node-tag {
    font-size: 0.62rem;
    padding: 2px 6px;
  }
}

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

  .reveal,
  .hero-line,
  .roadmap-bar .rm-step,
  .faq-list .faq-item {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .phone-shell {
    animation: none !important;
    transform: none !important;
  }
}
