/* ==========================================================================
   typocuecut Landing Page — Apple Liquid Glass Design System
   Derived directly from TypoCuecut-Ad-1080p60.mp4 (theme.ts & LiquidBackground)
   ========================================================================== */

@font-face {
  font-family: "Encode Sans Semi Expanded";
  src: url("assets/fonts/EncodeSansSemiExpanded-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Encode Sans Semi Expanded";
  src: url("assets/fonts/EncodeSansSemiExpanded-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Encode Sans Semi Expanded";
  src: url("assets/fonts/EncodeSansSemiExpanded-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Romanesco";
  src: url("assets/fonts/Romanesco-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --canvas-top: #F8FAFE;
  --canvas-bottom: #ECF2FB;
  --glass-bg: rgba(255, 255, 255, 0.78);
  --glass-card: rgba(255, 255, 255, 0.90);
  --glass-muted: rgba(237, 243, 252, 0.85);
  --glass-border: rgba(180, 206, 240, 0.58);
  --glass-border-strong: rgba(130, 174, 232, 0.55);

  --ink: #0B1528;
  --ink-secondary: #455570;
  --ink-muted: #7E8FA8;

  --apple-blue: #0A7CFF;
  --apple-blue-soft: rgba(10, 124, 255, 0.11);
  --cyan: #28C8BE;
  --cyan-soft: rgba(40, 200, 190, 0.14);
  --green: #1A9D5C;
  --green-soft: rgba(26, 157, 92, 0.13);

  --stage-dark: #0C1220;
  --stage-lime: #C9FF36;
  --stage-pink: #FF4FA3;
  --stage-gold: #F4C454;
  --stage-cyan: #4FE4D8;

  --font-typo: "Encode Sans Semi Expanded", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script: "Romanesco", cursive;
  --font-serif-italic: "New York", "Georgia", "Times New Roman", serif;
  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Encode Sans Semi Expanded", "Helvetica Neue", sans-serif;

  --shadow-glass: 0 24px 60px -16px rgba(10, 32, 74, 0.12), 0 6px 20px -6px rgba(10, 32, 74, 0.06), inset 0 1.5px 0 rgba(255, 255, 255, 0.95);
  --shadow-window: 0 36px 86px -18px rgba(10, 26, 56, 0.22), 0 10px 26px rgba(10, 26, 56, 0.10);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--ink);
  background: linear-gradient(148deg, var(--canvas-top) 0%, #FFFFFF 46%, var(--canvas-bottom) 100%);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
  background: rgba(10, 124, 255, 0.08);
  color: #0657C9;
  padding: 2px 6px;
  border-radius: 6px;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--apple-blue) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Ambient Liquid Glass Canvas (LiquidBackground.tsx)
   ========================================================================== */

.liquid-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.prism-orb {
  position: absolute;
  border-radius: 50%;
}

.prism-orb--tl {
  top: -240px;
  left: -180px;
  width: 920px;
  height: 920px;
  background: radial-gradient(circle, rgba(86, 166, 255, 0.24) 0%, rgba(255, 255, 255, 0) 68%);
  animation: orbFloatA 16s ease-in-out infinite alternate;
}

.prism-orb--br {
  right: -200px;
  bottom: -240px;
  width: 980px;
  height: 980px;
  background: radial-gradient(circle, rgba(255, 205, 185, 0.24) 0%, rgba(175, 222, 255, 0.16) 40%, rgba(255, 255, 255, 0) 70%);
  animation: orbFloatB 18s ease-in-out infinite alternate;
}

.precision-grid {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: radial-gradient(rgba(11, 21, 40, 0.09) 1px, transparent 1px);
  background-size: 36px 36px;
}

.motif-squircle {
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 44px;
  border: 1.5px solid rgba(130, 178, 240, 0.34);
  box-shadow: 0 24px 60px rgba(10, 124, 255, 0.07), inset 0 2px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

.motif-squircle--captions {
  top: 118px;
  left: max(20px, 3vw);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72) 0%, rgba(232, 243, 255, 0.36) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 34px;
  gap: 15px;
  transform: rotate(-8deg);
  animation: driftSquircleA 8s ease-in-out infinite alternate;
}

.motif-pill {
  height: 19px;
  border-radius: 99px;
}

.motif-pill--grad {
  width: 102px;
  background: linear-gradient(90deg, rgba(10, 124, 255, 0.22) 0%, rgba(40, 200, 190, 0.20) 100%);
}

.motif-pill--muted {
  width: 66px;
  background: rgba(11, 21, 40, 0.10);
}

.motif-squircle--wave {
  right: max(24px, 3.5vw);
  bottom: 84px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72) 0%, rgba(226, 248, 246, 0.38) 100%);
  border-color: rgba(40, 200, 190, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  transform: rotate(7deg);
  animation: driftSquircleB 9s ease-in-out infinite alternate;
}

.motif-bar {
  width: 18px;
  border-radius: 99px;
  background: rgba(11, 21, 40, 0.10);
}

.motif-bar--1 {
  height: 54px;
  animation: wavePulse 2.4s ease-in-out infinite;
}

.motif-bar--2 {
  height: 92px;
  background: linear-gradient(180deg, rgba(10, 124, 255, 0.25) 0%, rgba(40, 200, 190, 0.25) 100%);
  animation: wavePulse 2.4s ease-in-out 0.35s infinite;
}

.motif-bar--3 {
  height: 66px;
  animation: wavePulse 2.4s ease-in-out 0.7s infinite;
}

.motif-capsule {
  position: absolute;
  height: 18px;
  border-radius: 99px;
}

.motif-capsule--tr {
  top: 150px;
  right: max(40px, 8vw);
  width: 96px;
  background: rgba(10, 124, 255, 0.09);
  border: 1px solid rgba(10, 124, 255, 0.16);
}

.motif-capsule--bl {
  bottom: 150px;
  left: max(36px, 7vw);
  width: 112px;
  background: rgba(40, 200, 190, 0.10);
  border: 1px solid rgba(40, 200, 190, 0.18);
}

@media (max-width: 1120px) {
  .motif-squircle,
  .motif-capsule {
    opacity: 0.45;
    transform: scale(0.76);
  }
}

/* ==========================================================================
   Navigation Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 12px 0;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(248, 250, 254, 0.72);
  border-bottom: 1px solid rgba(180, 206, 240, 0.42);
}

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

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

.brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(10, 32, 74, 0.14);
}

.brand-wordmark {
  font-family: var(--font-typo);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.version-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--apple-blue-soft);
  color: var(--apple-blue);
  border: 1px solid rgba(10, 124, 255, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-secondary);
}

.nav-links a {
  transition: color 0.18s ease;
}

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

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

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 99px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1.5px);
}

.btn:active {
  transform: scale(0.97);
}

.btn-sm {
  height: 36px;
  padding: 0 15px;
  font-size: 13px;
}

.btn-lg {
  height: 48px;
  padding: 0 24px;
  font-size: 15px;
}

.btn-primary {
  background: linear-gradient(135deg, #007AFF 0%, #0062D6 100%);
  color: #FFFFFF;
  box-shadow: 0 12px 28px -8px rgba(10, 124, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.btn-primary:hover {
  box-shadow: 0 16px 34px -8px rgba(10, 124, 255, 0.56), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  border: 1.5px solid var(--glass-border);
  box-shadow: 0 10px 26px -10px rgba(10, 32, 74, 0.16), inset 0 1px 0 #FFFFFF;
}

.btn-glass:hover {
  border-color: var(--apple-blue);
}

.btn-subtle {
  background: rgba(11, 21, 40, 0.05);
  color: var(--ink-secondary);
}

.btn-subtle:hover {
  background: rgba(11, 21, 40, 0.09);
  color: var(--ink);
}

.btn .ic {
  width: 18px;
  height: 18px;
}

.btn-play-dot,
.play-badge {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--apple-blue-soft);
  color: var(--apple-blue);
  font-size: 10px;
  padding-left: 1px;
}

/* ==========================================================================
   Hero Section (Split Outcome + Instant Before/After & Inline Video Proof)
   ========================================================================== */

.hero-section {
  padding: 44px 0 42px;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 36px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--glass-border);
  box-shadow: 0 6px 20px rgba(10, 32, 74, 0.06);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink-secondary);
  margin-bottom: 18px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--apple-blue), var(--cyan));
}

.hero-headline {
  margin: 0 0 16px;
  font-family: var(--font-typo);
  font-weight: 900;
  font-size: clamp(38px, 5.2vw, 66px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.hero-description {
  margin: 0 0 26px;
  max-width: 560px;
  font-size: clamp(15.5px, 1.8vw, 18px);
  color: var(--ink-secondary);
  line-height: 1.62;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-secondary);
}

/* Right Hero Visual Proof Card */
.hero-proof-card {
  padding: 16px;
}

.proof-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  border-radius: 14px;
  background: var(--glass-muted);
  border: 1px solid var(--glass-border);
  margin-bottom: 14px;
}

.proof-tab {
  height: 36px;
  border: none;
  border-radius: 10px;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-secondary);
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.proof-tab.is-active {
  background: #FFFFFF;
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(10, 32, 74, 0.08);
}

.proof-panel[hidden] {
  display: none;
}

.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ba-phone {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ba-tag {
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 99px;
}

.ba-tag--muted {
  background: rgba(11, 21, 40, 0.07);
  color: var(--ink-secondary);
}

.ba-tag--glow {
  background: linear-gradient(135deg, rgba(10, 124, 255, 0.13) 0%, rgba(40, 200, 190, 0.16) 100%);
  color: #0657C9;
  border: 1px solid rgba(10, 124, 255, 0.25);
}

.ba-stage {
  position: relative;
  aspect-ratio: 9 / 14;
  border-radius: 14px;
  background: linear-gradient(175deg, #16213A 0%, #0A0F1D 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.ba-phone--after .ba-stage {
  border-color: rgba(79, 228, 216, 0.48);
  box-shadow: 0 16px 36px -10px rgba(10, 26, 56, 0.35);
}

.ba-stage-glow {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 170px;
  height: 170px;
  margin-left: -85px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 255, 54, 0.24) 0%, transparent 70%);
  transition: background 0.4s ease, transform 0.45s ease;
  animation: glowBreath 3.6s ease-in-out infinite;
}

.ba-phone--after[data-style="pink"] .ba-stage-glow {
  background: radial-gradient(circle, rgba(255, 79, 163, 0.24) 0%, transparent 70%);
}

.ba-phone--after[data-style="gold"] .ba-stage-glow {
  background: radial-gradient(circle, rgba(244, 196, 84, 0.24) 0%, transparent 70%);
}

.ba-silhouette {
  position: absolute;
  top: 4px;
  left: 0;
  width: 100%;
  height: 64%;
  opacity: 0.94;
}

.ba-phone--after .ba-silhouette {
  animation: portraitBreath 4.6s ease-in-out infinite;
  transform-origin: center top;
}

.ba-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 13, 24, 0) 24%,
    rgba(9, 13, 24, 0.62) 44%,
    rgba(9, 13, 24, 0.9) 84%,
    rgba(9, 13, 24, 0.97) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.ba-safe-center {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(53, 208, 195, 0.24);
  z-index: 2;
  pointer-events: none;
}

.ba-safe-box {
  position: absolute;
  inset: 5% 7%;
  border-radius: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  z-index: 2;
  pointer-events: none;
}

.ba-chin-guide {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(12, 18, 32, 0.72);
  border: 1px solid rgba(79, 228, 216, 0.36);
  font-size: 9px;
  font-weight: 700;
  color: #4FE4D8;
  white-space: nowrap;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.ba-phone--after[data-phase="key"] .ba-chin-guide {
  border-color: rgba(255, 100, 34, 0.7);
  color: #FF8A52;
}

.ba-caption-plain {
  position: absolute;
  top: 42%;
  left: 10px;
  right: 10px;
  z-index: 3;
  padding: 4px 8px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.56);
  font-size: 11.5px;
  font-weight: 500;
  color: #D6DBE8;
  text-align: center;
  line-height: 1.3;
}

.ba-caption-styled {
  position: absolute;
  top: 40%;
  left: 8px;
  right: 8px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.04;
  gap: 2px;
}

.ba-sub {
  font-family: var(--font-typo);
  font-size: 13px;
  font-weight: 700;
  color: #F5F6FA;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.78);
  transition: opacity 0.25s ease, transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.ba-key-box {
  position: relative;
  display: inline-block;
  padding: 2px 8px;
  border: 1.5px solid transparent;
  border-radius: 5px;
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.36s cubic-bezier(0.16, 1, 0.3, 1);
}

.ba-key {
  display: inline-block;
  font-family: var(--font-serif-italic);
  font-style: italic;
  font-weight: 700;
  font-size: 25px;
  color: var(--stage-lime);
  text-shadow: 0 0 18px rgba(201, 255, 54, 0.52), 0 3px 10px rgba(0, 0, 0, 0.75);
  transition: color 0.3s ease, text-shadow 0.3s ease, font-family 0.3s ease;
}

.ba-phone--after[data-style="pink"] .ba-key {
  font-family: var(--font-script);
  color: #FF4FA3;
  text-shadow: 0 0 18px rgba(255, 79, 163, 0.52), 0 3px 10px rgba(0, 0, 0, 0.75);
}

.ba-phone--after[data-style="gold"] .ba-key {
  font-family: var(--font-typo);
  font-style: normal;
  font-weight: 900;
  font-size: 22px;
  text-transform: uppercase;
  color: #F4C454;
  text-shadow: 0 0 18px rgba(244, 196, 84, 0.5), 0 3px 10px rgba(0, 0, 0, 0.75);
}

.ba-h {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: #FF6422;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.ba-h.tl { top: -3px; left: -3px; }
.ba-h.tr { top: -3px; right: -3px; }
.ba-h.bl { bottom: -3px; left: -3px; }
.ba-h.br { bottom: -3px; right: -3px; }

/* Phase 1: Auto Key highlights "sáng tạo" */
.ba-phone--after[data-phase="key"] .ba-sub {
  opacity: 0.45;
  transform: translateY(2px) scale(0.92);
}
.ba-phone--after[data-phase="key"] .ba-key-box {
  border-color: #FF6422;
  background: rgba(255, 100, 34, 0.14);
  transform: scale(1.04);
}
.ba-phone--after[data-phase="key"] .ba-h {
  opacity: 1;
}

/* Phase 2: Kinetic typography pops below chin */
.ba-phone--after[data-phase="pop"] .ba-caption-styled {
  animation: heroPopBurst 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Phase 3: Synced SFX beat */
.ba-phone--after[data-phase="sfx"] .ba-sfx-badge {
  border-color: #4FE4D8;
  background: rgba(40, 200, 190, 0.26);
  box-shadow: 0 0 0 4px rgba(79, 228, 216, 0.22);
  transform: translateX(-50%) scale(1.05);
}

.ba-phone--after[data-phase="sfx"] .ba-sfx-eq i {
  animation: heroEqBar 0.38s ease-in-out infinite alternate;
}

.ba-sfx-muted {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  white-space: nowrap;
  font-size: 10.5px;
  color: #8892A8;
}

.ba-sfx-badge {
  position: absolute;
  bottom: 11px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 99px;
  border: 1px solid rgba(79, 228, 216, 0.45);
  background: rgba(15, 36, 48, 0.88);
  color: #4FE4D8;
  font-size: 10.5px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ba-sfx-badge:hover {
  transform: translateX(-50%) scale(1.06);
  background: rgba(40, 200, 190, 0.3);
}

.ba-sfx-eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 11px;
}

.ba-sfx-eq i {
  display: block;
  width: 2.5px;
  height: 5px;
  border-radius: 99px;
  background: #4FE4D8;
}

.ba-sfx-eq i:nth-child(2) { height: 10px; animation-delay: 0.12s; }
.ba-sfx-eq i:nth-child(3) { height: 7px; animation-delay: 0.24s; }

/* Animated 3-Step Legend Strip under phones */
.proof-steps-bar {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.proof-step-chip {
  padding: 7px 8px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--ink-secondary);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.proof-step-chip:hover {
  border-color: var(--apple-blue);
  background: #FFFFFF;
}

.proof-step-chip.is-active {
  background: var(--apple-blue-soft);
  border-color: rgba(10, 124, 255, 0.36);
  color: #0657C9;
  box-shadow: 0 4px 12px -4px rgba(10, 124, 255, 0.22);
}

.psc-num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(11, 21, 40, 0.08);
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 800;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.proof-step-chip.is-active .psc-num {
  background: var(--apple-blue);
  color: #FFFFFF;
}

@keyframes portraitBreath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.022); }
}

@keyframes glowBreath {
  0%, 100% { transform: scale(0.95); opacity: 0.78; }
  50% { transform: scale(1.06); opacity: 1; }
}

@keyframes heroPopBurst {
  0% { opacity: 0.45; transform: translateY(8px) scale(0.84); filter: blur(2px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes heroEqBar {
  0% { height: 4px; }
  100% { height: 11px; }
}

.inline-video-wrap {
  border-radius: 14px;
  overflow: hidden;
  background: #06080F;
  aspect-ratio: 16 / 9;
}

.inline-video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
}

.inline-video-foot {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--ink-secondary);
}

/* ==========================================================================
   Guided Tour Bar & Interactive Workbench Showcase
   ========================================================================== */

.workbench-section {
  padding: 20px 0 54px;
}

.section-head--tight {
  margin-bottom: 20px;
}

.guided-tour-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.tour-btn {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1.5px solid var(--glass-border);
  box-shadow: 0 8px 20px -8px rgba(10, 32, 74, 0.10);
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  font-size: 13px;
  color: var(--ink-secondary);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.tour-btn:hover {
  transform: translateY(-2px);
  border-color: var(--apple-blue);
  color: var(--ink);
}

.tour-btn.is-active {
  background: linear-gradient(135deg, rgba(10, 124, 255, 0.10) 0%, rgba(40, 200, 190, 0.12) 100%);
  border-color: var(--apple-blue);
  color: var(--ink);
  box-shadow: 0 10px 24px -8px rgba(10, 124, 255, 0.25);
}

.tour-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--apple-blue-soft);
  color: var(--apple-blue);
  font-family: var(--font-typo);
  font-weight: 900;
  font-size: 12px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.tour-btn.is-active .tour-num {
  background: var(--apple-blue);
  color: #FFFFFF;
}

.step-banner-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  text-align: center;
}

.step-banner {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 9px 24px 9px 11px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1.5px solid rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 46px rgba(10, 32, 74, 0.12), 0 4px 12px rgba(10, 32, 74, 0.06);
  max-width: 100%;
  transition: transform 0.22s ease;
}

.step-banner-badge {
  padding: 6px 15px;
  border-radius: 99px;
  background: linear-gradient(135deg, #007AFF 0%, #00A6FF 100%);
  box-shadow: 0 6px 16px rgba(0, 122, 255, 0.28);
  font-family: var(--font-typo);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  white-space: nowrap;
}

.step-banner-badge.is-step1 { background: linear-gradient(135deg, #007AFF 0%, #34C759 100%); }
.step-banner-badge.is-step2 { background: linear-gradient(135deg, #007AFF 0%, #00C2FF 100%); }
.step-banner-badge.is-step3 { background: linear-gradient(135deg, #5856D6 0%, #007AFF 100%); }
.step-banner-badge.is-step4 { background: linear-gradient(135deg, #00A6FF 0%, #34C759 100%); }

.step-banner-title {
  font-family: var(--font-typo);
  font-weight: 700;
  font-size: clamp(14px, 2vw, 20px);
  letter-spacing: -0.025em;
  color: var(--ink);
}

.workbench-hint {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-secondary);
}

/* Mobile Column Tabs (hidden on desktop) */
.mobile-wb-tabs {
  display: none;
  gap: 6px;
  padding: 5px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--glass-border);
}

.mob-tab {
  flex: 1;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: transparent;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-secondary);
}

.mob-tab.is-active {
  background: var(--apple-blue);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(10, 124, 255, 0.25);
}

/* RealAppWindow Tokens */
.app-window {
  --wb-bg-app: #E8E8ED;
  --wb-bg-panel: #F2F2F6;
  --wb-bg-card: #FFFFFF;
  --wb-bg-ctrl: #EEEEF3;
  --wb-bg-inset: #F1F1F5;
  --wb-line: #E1E1E8;
  --wb-line-strong: #CBCBD5;
  --wb-ink: #1D1D1F;
  --wb-ink2: #4A4A52;
  --wb-ink3: #8B8B95;
  --wb-accent: #0A7CFF;
  --wb-accent-soft: rgba(10, 124, 255, 0.11);
  --wb-ok: #1A9D5C;

  border-radius: 18px;
  background: var(--wb-bg-app);
  border: 1px solid rgba(130, 145, 170, 0.48);
  box-shadow: var(--shadow-window);
  overflow: hidden;
  color: var(--wb-ink);
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.app-window[data-theme="dark"] {
  --wb-bg-app: #12141A;
  --wb-bg-panel: #171920;
  --wb-bg-card: #1E212B;
  --wb-bg-ctrl: #272B38;
  --wb-bg-inset: #151821;
  --wb-line: rgba(255, 255, 255, 0.08);
  --wb-line-strong: rgba(255, 255, 255, 0.15);
  --wb-ink: #F2F4F8;
  --wb-ink2: #B7BECE;
  --wb-ink3: #7E879B;
  --wb-accent: #28C8BE;
  --wb-accent-soft: rgba(40, 200, 190, 0.14);
  --wb-ok: #34D399;
  border-color: rgba(255, 255, 255, 0.14);
}

.app-topbar {
  height: 46px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--wb-bg-panel);
  border-bottom: 1px solid var(--wb-line);
}

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

.traffic-lights {
  display: flex;
  align-items: center;
  gap: 7px;
}

.tl {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.tl-red { background: #FF5F57; }
.tl-yellow { background: #FEBC2E; }
.tl-green { background: #28C840; }

.app-brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-typo);
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: -0.03em;
}

.app-logo-mini {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.status-pill {
  height: 22px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--wb-ink2);
  border: 1px solid var(--wb-line);
  border-radius: 99px;
  background: var(--wb-bg-card);
}

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

.topbar-divider {
  width: 1px;
  height: 18px;
  background: var(--wb-line);
}

.ghost-btn {
  height: 26px;
  padding: 0 9px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--wb-ink2);
  font-size: 11.5px;
  font-weight: 600;
}

.ghost-btn:hover {
  background: var(--wb-bg-ctrl);
  color: var(--wb-ink);
}

.theme-switch {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  background: var(--wb-bg-inset);
  border: 1px solid var(--wb-line);
  border-radius: 8px;
}

.theme-opt {
  width: 28px;
  height: 22px;
  border: none;
  border-radius: 6px;
  background: transparent;
  font-size: 12px;
  display: grid;
  place-items: center;
}

.theme-opt.is-active {
  background: var(--wb-bg-card);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
}

/* 3-Column Grid */
.app-grid {
  display: grid;
  grid-template-columns: 340px minmax(360px, 1fr) 365px;
  background: var(--wb-bg-panel);
  min-height: 675px;
}

.app-col {
  padding: 11px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}

.app-col--1 {
  border-right: 1px solid var(--wb-line);
}

.app-col--2 {
  padding: 0;
  border-right: 1px solid var(--wb-line);
  justify-content: space-between;
}

.col2-scroll {
  padding: 11px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.app-col--3 {
  justify-content: space-between;
}

.wb-card {
  background: var(--wb-bg-card);
  border: 1px solid var(--wb-line);
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.wb-card--grow {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.wb-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 8px;
}

.wb-card--grow .wb-card-head {
  margin-bottom: 0;
}

.wb-card-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--wb-ink);
}

.num-badge {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  display: inline-grid;
  place-items: center;
  background: var(--wb-bg-ctrl);
  color: var(--wb-ink3);
  font-size: 11px;
  font-weight: 700;
}

.count-pill {
  padding: 1px 6px;
  border-radius: 99px;
  background: var(--wb-bg-ctrl);
  color: var(--wb-ink2);
  font-size: 10.5px;
  font-weight: 700;
}

.wb-head-actions {
  display: flex;
  gap: 4px;
}

.mini-ghost {
  height: 22px;
  padding: 0 7px;
  border-radius: 5px;
  border: none;
  background: var(--wb-bg-ctrl);
  color: var(--wb-ink2);
  font-size: 10.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.mini-ghost:hover {
  color: var(--wb-ink);
  filter: brightness(0.96);
}

.path-bar {
  height: 24px;
  padding: 0 8px;
  margin-bottom: 7px;
  border-radius: 6px;
  background: var(--wb-bg-inset);
  border: 1px solid var(--wb-line);
  font-size: 10.5px;
  color: var(--wb-ink3);
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.project-item {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 5px 7px;
  border-radius: 8px;
  border: 1px solid transparent;
}

.project-item.is-selected {
  background: var(--wb-accent-soft);
  border-color: var(--wb-accent);
}

.project-thumb {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--wb-bg-ctrl);
  display: grid;
  place-items: center;
}

.project-thumb--active {
  background: linear-gradient(155deg, #273759 0%, #10172A 100%);
}

.project-thumb-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.project-name {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--wb-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-sub {
  font-size: 10.5px;
  color: var(--wb-ink3);
}

.project-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--wb-accent);
  padding: 2px 7px;
  border-radius: 99px;
  background: var(--wb-bg-card);
}

.autokey-btn {
  height: 25px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid var(--wb-line-strong);
  background: var(--wb-bg-ctrl);
  color: var(--wb-ink);
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.16s ease;
}

.autokey-btn.is-active {
  background: var(--wb-accent);
  border-color: var(--wb-accent);
  color: #FFFFFF;
  box-shadow: 0 3px 10px rgba(10, 124, 255, 0.3);
}

.app-window[data-theme="dark"] .autokey-btn.is-active {
  color: #051A19;
}

.primary-import-pill {
  height: 29px;
  border-radius: 6px;
  background: var(--wb-accent);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.app-window[data-theme="dark"] .primary-import-pill {
  color: #041D1B;
}

.seg-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.sub-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--wb-ink3);
}

.seg-pills {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  background: var(--wb-bg-inset);
  border: 1px solid var(--wb-line);
  border-radius: 7px;
}

.seg-pill {
  height: 20px;
  padding: 0 7px;
  border: none;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 600;
  background: transparent;
  color: var(--wb-ink2);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.seg-pill.is-active {
  background: var(--wb-bg-card);
  color: var(--wb-ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.caption-list {
  background: var(--wb-bg-inset);
  border: 1px solid var(--wb-line);
  border-radius: 8px;
  overflow: hidden;
}

.cap-row {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--wb-line);
  background: transparent;
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 6px;
  height: 31px;
  padding: 0 7px 0 0;
  text-align: left;
  color: var(--wb-ink);
}

.cap-row:last-child {
  border-bottom: none;
}

.cap-row.is-active {
  background: var(--wb-accent-soft);
  box-shadow: inset 2.5px 0 0 var(--wb-accent);
}

.cap-num {
  text-align: right;
  padding-right: 4px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--wb-ink3);
}

.cap-row.is-active .cap-num {
  color: var(--wb-accent);
  font-weight: 700;
}

.cap-text {
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cap-row.is-active .cap-text {
  font-weight: 700;
}

.cap-sfx {
  font-size: 10px;
  font-weight: 600;
  color: var(--wb-ink3);
  padding: 2px 6px;
  border-radius: 99px;
}

.cap-row.is-active .cap-sfx {
  background: var(--wb-bg-card);
  color: var(--wb-accent);
  border: 1px solid var(--wb-line);
}

.inset-box {
  background: var(--wb-bg-inset);
  border: 1px solid var(--wb-line);
  border-radius: 8px;
  padding: 7px 8px;
}

.inset-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}

.inset-label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--wb-ink3);
  margin-bottom: 5px;
}

.inset-head .inset-label {
  margin-bottom: 0;
}

.word-chips,
.sfx-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.word-chip {
  height: 23px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid var(--wb-line);
  background: var(--wb-bg-ctrl);
  color: var(--wb-ink2);
  font-size: 11.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.word-chip.is-key {
  background: var(--wb-accent-soft);
  border-color: var(--wb-accent);
  color: var(--wb-accent);
  font-weight: 700;
}

.sfx-chip {
  height: 22px;
  padding: 0 7px;
  border-radius: 6px;
  border: 1px solid var(--wb-line);
  background: var(--wb-bg-ctrl);
  color: var(--wb-ink2);
  font-size: 10.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sfx-chip strong {
  color: var(--wb-ink);
}

.sfx-chip.is-playing {
  background: var(--wb-accent-soft);
  border-color: var(--wb-accent);
  color: var(--wb-accent);
}

/* Column 2: Presets, Layouts, Auto SFX */
.preset-toolbar {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
}

.fake-input {
  flex: 1;
  height: 24px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid var(--wb-line-strong);
  background: var(--wb-bg-card);
  font-size: 10.5px;
  color: var(--wb-ink3);
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
}

.preset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 8px;
}

.preset-thumb-btn {
  padding: 8px 6px;
  min-height: 54px;
  border-radius: 8px;
  background: #0C0D11;
  border: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.14s ease, border-color 0.14s ease;
}

.preset-thumb-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.3);
}

.preset-thumb-btn.is-active {
  border-color: var(--wb-accent);
  box-shadow: 0 0 0 1.5px var(--wb-accent);
}

.pt-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
  gap: 2px;
}

.pt-sub {
  font-size: 9.5px;
  color: #D6DCE8;
  font-weight: 500;
}

.pt-key {
  font-weight: 800;
  font-size: 13px;
}

.pt-name {
  font-size: 10px;
  font-weight: 600;
  color: #9AA2B5;
}

.preset-thumb-btn.is-active .pt-name {
  color: #FFFFFF;
}

.pair-rows {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pair-row {
  display: grid;
  grid-template-columns: 54px 1fr 24px;
  gap: 6px;
  align-items: center;
}

.pair-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--wb-ink3);
}

.pair-tag--key {
  color: var(--wb-accent);
}

.pair-font {
  height: 24px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid var(--wb-line-strong);
  background: var(--wb-bg-card);
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pair-change {
  color: var(--wb-accent);
}

.pair-swatch {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid var(--wb-line-strong);
}

/* Layout Selector */
.layout-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
}

.layout-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 2px 4px;
  border-radius: 6px;
  background: var(--wb-bg-inset);
  border: 1px solid var(--wb-line);
  color: var(--wb-ink2);
}

.layout-btn svg {
  width: 30px;
  height: 20px;
}

.layout-btn span {
  font-size: 9.5px;
  font-weight: 600;
  white-space: nowrap;
}

.layout-btn.is-active {
  background: var(--wb-accent-soft);
  border-color: var(--wb-accent);
  color: var(--wb-ink);
}

/* Auto SFX Controls */
.ios-switch {
  width: 34px;
  height: 20px;
  border-radius: 99px;
  border: none;
  background: var(--wb-bg-ctrl);
  padding: 2px;
  display: flex;
  align-items: center;
  transition: background 0.18s ease;
}

.ios-switch.is-on {
  background: var(--wb-accent);
  justify-content: flex-end;
}

.ios-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
}

.slider-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
}

.mac-slider {
  flex: 1;
  accent-color: var(--wb-accent);
  cursor: pointer;
}

.slider-pct {
  width: 34px;
  text-align: right;
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Sticky Export Bar */
.export-bar {
  padding: 9px 11px 11px;
  background: var(--wb-bg-panel);
  border-top: 1px solid var(--wb-line);
}

.export-bar-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--wb-ink3);
  margin-bottom: 6px;
}

.export-btn {
  width: 100%;
  height: 34px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #0A7CFF 0%, #0062D6 100%);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(10, 124, 255, 0.25);
  transition: transform 0.14s ease, background 0.2s ease;
}

.export-btn.is-exported {
  background: linear-gradient(135deg, #1A9D5C 0%, #15804B 100%);
  box-shadow: 0 4px 12px rgba(26, 157, 92, 0.25);
}

/* Column 3: Word Float Bar + 9:16 Stage */
.stage-workspace {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 4px 0;
}

.word-float-bar {
  width: 58px;
  padding: 5px;
  background: var(--wb-bg-card);
  border: 1px solid var(--wb-line-strong);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.wfb-word {
  width: 100%;
  padding: 4px 2px 5px;
  margin-bottom: 2px;
  text-align: center;
  font-size: 9.5px;
  font-weight: 800;
  color: var(--wb-accent);
  border-bottom: 1px solid var(--wb-line);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wfb-btn {
  width: 100%;
  padding: 4px 2px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--wb-ink3);
  font-size: 10px;
  font-weight: 600;
}

.wfb-btn:hover {
  background: var(--wb-bg-ctrl);
  color: var(--wb-ink);
}

.wfb-btn.is-on {
  background: var(--wb-accent-soft);
  color: var(--wb-accent);
  font-weight: 700;
}

.wfb-pct {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--wb-ink);
  padding: 2px 0;
}

.wfb-swatch-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 3px 0;
}

.wfb-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--wb-ink);
  background: var(--stage-lime);
}

.wfb-swatch-lbl {
  font-size: 9.5px;
  color: var(--wb-ink3);
}

/* 9:16 Talking-Head Dark Stage */
.th-stage {
  position: relative;
  width: 268px;
  height: 476px;
  border-radius: 14px;
  background: #06080F;
  border: 1px solid #C8CDD8;
  box-shadow: 0 18px 42px rgba(11, 21, 40, 0.22);
  overflow: hidden;
  flex-shrink: 0;
}

.th-stage-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(175deg, #17223B 0%, #0D1323 55%, #070A12 100%);
}

.th-stage-glow {
  position: absolute;
  top: 24px;
  left: 50%;
  width: 210px;
  height: 210px;
  margin-left: -105px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 208, 195, 0.22) 0%, transparent 70%);
  transition: background 0.35s ease;
}

.th-silhouette {
  position: absolute;
  top: 6px;
  left: 0;
  width: 100%;
  height: 64%;
  opacity: 0.94;
}

.th-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 13, 24, 0) 27%, rgba(9, 13, 24, 0.68) 49%, rgba(9, 13, 24, 0.92) 84%, rgba(9, 13, 24, 0.97) 100%);
}

.th-safe-center {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(53, 208, 195, 0.28);
  pointer-events: none;
}

.th-safe-box {
  position: absolute;
  inset: 6% 7%;
  border-radius: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.th-stage.is-guides-hidden .th-safe-center,
.th-stage.is-guides-hidden .th-safe-box,
.th-stage.is-guides-hidden .th-face-zone-badge {
  opacity: 0;
}

.th-face-zone-badge {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(12, 18, 32, 0.68);
  border: 1px solid rgba(79, 228, 216, 0.35);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #4FE4D8;
  white-space: nowrap;
}

.th-typo-layer {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 39%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.th-typo-layer.is-popping {
  animation: typoPop 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Stage Typography Variants */
.stage-sub {
  font-family: var(--font-typo);
  font-weight: 700;
  font-size: 16.5px;
  color: #F5F6FA;
  letter-spacing: -0.02em;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.65);
  line-height: 1.2;
}

.stage-key-wrap {
  position: relative;
  display: inline-block;
  padding: 2px 7px;
  margin: 2px 0;
  border-radius: 4px;
  border: 1.5px solid transparent;
}

.stage-key-wrap.has-bbox {
  border-color: #FF6422;
  background: rgba(255, 100, 34, 0.08);
}

.orange-key-tag {
  position: absolute;
  top: -15px;
  left: -1px;
  height: 14px;
  padding: 0 5px;
  border-radius: 4px;
  background: #FF6422;
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
}

.orange-handle {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid #FF6422;
}
.oh-tl { top: -4px; left: -4px; }
.oh-tr { top: -4px; right: -4px; }
.oh-bl { bottom: -4px; left: -4px; }
.oh-br { bottom: -4px; right: -4px; }

.stage-key {
  display: inline-block;
  line-height: 1.04;
  transition: font-size 0.2s ease;
}

.stage-badge-top {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  background: rgba(255, 79, 163, 0.2);
  border: 1px solid rgba(255, 79, 163, 0.58);
  font-family: var(--font-typo);
  font-size: 11px;
  font-weight: 700;
  color: #FFD4EA;
  margin-bottom: 4px;
}

.stage-bento-card {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 11px;
  border-radius: 12px;
  background: rgba(18, 28, 48, 0.85);
  border: 1px solid rgba(79, 228, 216, 0.42);
}

/* Live SFX Beat Words */
.stage-beat-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 5px 7px;
  text-align: center;
}

.beat-word {
  transition: transform 0.16s ease, color 0.16s ease, opacity 0.16s ease;
  opacity: 0.26;
}

.beat-word.is-lit {
  opacity: 1;
}

.beat-word.is-current {
  transform: scale(1.1);
}

/* Player Bar */
.player-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: var(--wb-bg-card);
  border: 1px solid var(--wb-line);
  border-radius: 10px;
}

.play-btn {
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  background: var(--wb-bg-ctrl);
  color: var(--wb-ink);
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.play-btn.is-playing {
  background: var(--wb-accent);
  color: #FFFFFF;
}

.mute-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--wb-bg-ctrl);
  border: 1px solid var(--wb-line);
  font-size: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.player-track {
  flex: 1;
  height: 5px;
  border-radius: 99px;
  background: var(--wb-bg-ctrl);
  position: relative;
}

.player-fill {
  width: 24%;
  height: 100%;
  border-radius: 99px;
  background: var(--wb-accent);
  transition: width 0.18s linear;
}

.player-thumb {
  position: absolute;
  left: 24%;
  top: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--wb-accent);
  border: 2px solid #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%);
  transition: left 0.18s linear;
}

.player-time {
  font-size: 10.5px;
  color: var(--wb-ink3);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ==========================================================================
   Generic Section Blocks & Glass Cards
   ========================================================================== */

.section-block {
  padding: 46px 0;
}

.section-block--install {
  padding-bottom: 68px;
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 30px;
}

.section-pill {
  display: inline-block;
  padding: 6px 15px;
  border-radius: 99px;
  background: var(--apple-blue-soft);
  color: var(--apple-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.section-title {
  margin: 0 0 14px;
  font-family: var(--font-typo);
  font-weight: 900;
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.13;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.section-sub {
  margin: 0;
  font-size: 16.5px;
  color: var(--ink-secondary);
}

.glass-card {
  background: var(--glass-card);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1.5px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--shadow-glass);
}

/* ==========================================================================
   CapCut Desktop Twin-Window Bridge (Scene 5)
   ========================================================================== */

.bridge-ok-badge {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 99px;
  background: var(--apple-blue-soft);
  color: var(--apple-blue);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.bridge-stage {
  display: grid;
  grid-template-columns: 360px 150px 1fr;
  align-items: center;
  gap: 0;
}

.bridge-win {
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bridge-win--light {
  background: #F2F2F6;
  border: 1.5px solid rgba(155, 175, 205, 0.55);
  box-shadow: 0 28px 64px -16px rgba(10, 26, 56, 0.18);
  color: #1D1D1F;
}

.bridge-win-top {
  height: 44px;
  padding: 0 14px;
  border-bottom: 1px solid #E1E1E8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bridge-status-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--apple-blue);
  background: rgba(10, 124, 255, 0.1);
  padding: 3px 9px;
  border-radius: 99px;
}

.bridge-win-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bridge-subcard {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid #E1E1E8;
}

.bridge-cap-label {
  font-size: 10.5px;
  font-weight: 800;
  color: #8B8B95;
  margin-bottom: 8px;
}

.bridge-draft-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(10, 124, 255, 0.08);
  border: 1px solid #0A7CFF;
}

.bridge-draft-thumb {
  width: 36px;
  height: 36px;
  border-radius: 7px;
  background: linear-gradient(155deg, #273759 0%, #10172A 100%);
  flex-shrink: 0;
}

.bridge-draft-name {
  font-size: 13px;
  font-weight: 700;
}

.bridge-draft-path {
  font-size: 10.5px;
  color: #6E7787;
}

.safe-chip {
  margin-left: auto;
  font-size: 10.5px;
  font-weight: 700;
  color: #1A9D5C;
  background: #FFFFFF;
  padding: 2px 7px;
  border-radius: 99px;
}

.bridge-layer-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.bridge-layer-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 9px;
  border-radius: 9px;
  background: #F7F8FC;
  border: 1px solid #ECEEF4;
}

.bridge-layer-row strong {
  display: block;
  font-size: 12.5px;
}

.bridge-layer-row small {
  display: block;
  font-size: 11px;
  color: #6E7787;
}

.layer-badge {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.layer-badge--blue { background: #0A7CFF; }
.layer-badge--cyan { background: #28C8BE; }

.bridge-export-box {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid #E1E1E8;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.bridge-export-btn {
  height: 42px;
  border: none;
  border-radius: 9px;
  background: linear-gradient(135deg, #0A7CFF 0%, #0062D6 100%);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  box-shadow: 0 6px 16px rgba(10, 124, 255, 0.25);
}

.bridge-export-btn.is-done {
  background: linear-gradient(135deg, #1A9D5C 0%, #15804B 100%);
  box-shadow: 0 6px 16px rgba(26, 157, 92, 0.25);
}

.bridge-result-toast {
  padding: 10px 11px;
  border-radius: 9px;
  background: rgba(26, 157, 92, 0.08);
  border: 1.5px solid #1A9D5C;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bridge-result-toast strong {
  color: #15804B;
}

/* Middle Connector */
.bridge-connector {
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
}

.connector-pill {
  padding: 5px 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid var(--glass-border);
  font-size: 11px;
  font-weight: 800;
  color: var(--ink-secondary);
  text-align: center;
}

.connector-pill.is-active {
  color: var(--apple-blue);
  border-color: var(--apple-blue);
  box-shadow: 0 8px 20px rgba(10, 124, 255, 0.16);
}

.connector-track {
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background: rgba(11, 21, 40, 0.1);
  overflow: hidden;
}

.connector-fill {
  width: 100%;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--apple-blue) 0%, var(--cyan) 100%);
  transform-origin: left;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.connector-tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.conn-tag {
  padding: 6px 8px;
  border-radius: 9px;
  background: #FFFFFF;
  border: 1px solid rgba(180, 206, 240, 0.7);
  box-shadow: 0 6px 16px rgba(10, 26, 56, 0.08);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
}

.conn-badge {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  color: #FFFFFF;
  font-size: 10.5px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* Right Window: CapCut Desktop Dark */
.bridge-win--dark {
  background: #131418;
  border: 1.5px solid rgba(53, 208, 195, 0.45);
  box-shadow: 0 32px 72px -14px rgba(10, 22, 48, 0.42), 0 0 0 4px rgba(53, 208, 195, 0.10);
  color: #F2F4F8;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.bridge-win--dark.is-pulsing {
  border-color: #4FE4D8;
  box-shadow: 0 32px 72px -14px rgba(10, 22, 48, 0.52), 0 0 0 6px rgba(53, 208, 195, 0.22);
}

.capcut-top {
  height: 44px;
  padding: 0 16px;
  background: #191B21;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.capcut-top-left {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
}

.capcut-mark {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #FFFFFF;
  color: #0E0F12;
  display: grid;
  place-items: center;
  font-size: 12px;
}

.capcut-sep { color: rgba(255, 255, 255, 0.28); }
.capcut-proj { color: #4FE4D8; }

.capcut-export-chip {
  padding: 4px 12px;
  border-radius: 7px;
  background: #00C4B4;
  color: #04211E;
  font-size: 12px;
  font-weight: 800;
}

.capcut-preview-row {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: #101116;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.capcut-mini-stage {
  width: 112px;
  height: 196px;
  border-radius: 10px;
  background: linear-gradient(175deg, #1E2C4C 0%, #090E1B 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  text-align: center;
  flex-shrink: 0;
}

.capcut-mini-sub {
  font-size: 11px;
  font-weight: 700;
  color: #FFFFFF;
}

.capcut-mini-key {
  font-family: var(--font-typo);
  font-weight: 900;
  font-size: 16px;
  color: var(--stage-lime);
  text-shadow: 0 0 18px rgba(201, 255, 54, 0.48);
}

.capcut-preview-info h4 {
  margin: 10px 0 6px;
  font-family: var(--font-typo);
  font-size: 19px;
  font-weight: 800;
}

.capcut-preview-info p {
  margin: 0;
  font-size: 13.5px;
  color: #A2A8B8;
  line-height: 1.5;
}

.capcut-sync-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border-radius: 99px;
  background: rgba(53, 208, 195, 0.14);
  border: 1px solid rgba(53, 208, 195, 0.35);
  font-size: 11.5px;
  font-weight: 700;
  color: #4FE4D8;
}

.capcut-timeline {
  padding: 12px 16px 16px;
  background: #15171D;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tl-ruler {
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  font-size: 10.5px;
  color: #767D90;
}

.tl-label-head {
  font-weight: 800;
  color: #B8BECD;
}

.tl-ticks {
  display: flex;
  justify-content: space-between;
  padding: 0 6px;
}

.tl-tracks {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.tl-row {
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  height: 36px;
}

.tl-track-name {
  font-size: 11px;
  font-weight: 700;
}

.tl-lane {
  position: relative;
  height: 100%;
  border-radius: 7px;
  background: #1C1F27;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.tl-seg {
  position: absolute;
  top: 4px;
  bottom: 4px;
  border-radius: 5px;
  padding: 0 7px;
  display: flex;
  align-items: center;
  font-size: 10.5px;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
}

.tl-seg--sub {
  background: #4E3A2A;
  border: 1px solid rgba(255, 180, 112, 0.45);
}

.tl-seg--key {
  background: linear-gradient(135deg, #FF7D3B 0%, #E25A1C 100%);
  border: 1px solid rgba(255, 210, 175, 0.55);
}

.tl-seg--video {
  left: 4%;
  right: 4%;
  background: linear-gradient(90deg, #27344E 0%, #344464 50%, #27344E 100%);
  border: 1px solid rgba(140, 170, 220, 0.35);
  justify-content: space-between;
  font-size: 11px;
}

.tl-seg--video small {
  color: #8DA0C4;
  font-weight: 600;
}

.tl-seg--sfx {
  background: #153D40;
  border: 1px solid rgba(79, 228, 216, 0.42);
  color: #E8FFFC;
}

.tl-seg--sfx.is-hot {
  background: linear-gradient(135deg, #28C8BE 0%, #0E8F87 100%);
  border-color: #C9FF36;
}

.tl-playhead {
  position: absolute;
  left: calc(78px + (100% - 78px) * 0.56);
  top: -5px;
  bottom: -4px;
  width: 2px;
  background: #FFFFFF;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.65);
  pointer-events: none;
  animation: sweepPlayhead 5.5s linear infinite;
}

/* ==========================================================================
   Compact FAQ & Compatibility Callout
   ========================================================================== */

.faq-compact {
  margin-top: 30px;
}

.faq-compact-title {
  margin: 0 0 14px;
  text-align: center;
  font-family: var(--font-typo);
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  padding: 18px 22px;
  border-radius: 18px;
}

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

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

.faq-item summary::after {
  content: "+";
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--apple-blue-soft);
  color: var(--apple-blue);
  display: inline-grid;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 12px 0 2px;
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.62;
}

.compat-box {
  padding: 10px 14px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--apple-blue-soft);
  border: 1px solid rgba(10, 124, 255, 0.22);
  font-size: 13.5px;
  color: #0657C9;
}

/* ==========================================================================
   Beginner-Friendly Download Hub
   ========================================================================== */

.install-hub {
  padding: 36px 34px 30px;
}

.install-hub-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
}

.install-hub-head h2 {
  margin: 0 0 10px;
  font-family: var(--font-typo);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.install-hub-sub {
  margin: 0 0 22px;
  font-size: 16px;
  color: var(--ink-secondary);
}

.download-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.btn-download-hero {
  height: 54px;
  padding: 0 28px;
  font-size: 16px;
  border-radius: 99px;
  box-shadow: 0 18px 38px -10px rgba(10, 124, 255, 0.48);
}

.direct-dl-note {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.5;
}

.easy-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.easy-step-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.easy-step-top {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-typo);
  font-size: 15.5px;
  color: var(--ink);
}

.easy-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--apple-blue);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 800;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.easy-visual-box {
  height: 76px;
  border-radius: 12px;
  background: linear-gradient(155deg, #F0F5FF 0%, #E7F0FD 100%);
  border: 1px solid rgba(180, 206, 240, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.easy-step-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.5;
}

.dl-file-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid rgba(10, 124, 255, 0.28);
  box-shadow: 0 6px 14px -6px rgba(10, 32, 74, 0.14);
}

.dl-ext {
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--apple-blue);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
}

.dl-filename {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}

.dl-arrow {
  color: var(--apple-blue);
  font-weight: 800;
}

.drag-mini-visual {
  display: flex;
  align-items: center;
  gap: 12px;
}

.drag-app-ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(10, 32, 74, 0.16);
}

.drag-arrow {
  font-size: 18px;
  font-weight: 800;
  color: var(--apple-blue);
}

.drag-folder-ico {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.drag-folder-ico svg {
  width: 36px;
  height: 31px;
}

.drag-folder-ico span {
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-secondary);
}

.rightclick-mini-visual {
  width: 170px;
  padding: 5px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(180, 206, 240, 0.8);
  box-shadow: 0 8px 20px rgba(10, 32, 74, 0.12);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rc-menu-item {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rc-menu-item.is-focus {
  background: var(--apple-blue);
  color: #FFFFFF;
}

.troubleshoot-box {
  border-radius: 14px;
  background: rgba(244, 248, 255, 0.85);
  border: 1px dashed rgba(10, 124, 255, 0.28);
  padding: 12px 16px;
}

.troubleshoot-box summary {
  cursor: pointer;
  list-style: none;
  font-size: 13.5px;
  font-weight: 700;
  color: #0657C9;
  text-align: center;
}

.troubleshoot-box summary::-webkit-details-marker {
  display: none;
}

.troubleshoot-body {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(180, 206, 240, 0.5);
}

.troubleshoot-body p {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.55;
}

.terminal-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #0C1220;
  color: #E2ECFF;
}

.terminal-box code {
  background: transparent;
  color: #4FE4D8;
  padding: 0;
  font-size: 12.5px;
  overflow-x: auto;
}

.copy-cmd-btn {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.copy-cmd-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid rgba(180, 206, 240, 0.45);
  background: rgba(255, 255, 255, 0.55);
  padding: 20px 0;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-links a:hover,
.footer-link-btn:hover {
  color: var(--apple-blue);
}

.footer-link-btn {
  border: none;
  background: transparent;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

/* ==========================================================================
   Promo Video Modal
   ========================================================================== */

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
}

.video-modal[hidden] {
  display: none;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 21, 40, 0.56);
  backdrop-filter: blur(12px);
}

.video-modal-card {
  position: relative;
  width: 100%;
  max-width: 960px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 40px 100px rgba(8, 18, 40, 0.42);
  overflow: hidden;
}

.video-modal-head {
  height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(11, 21, 40, 0.08);
}

.modal-close-btn {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: rgba(11, 21, 40, 0.07);
  color: var(--ink);
  font-weight: 700;
}

.video-frame-wrap {
  background: #06080F;
  aspect-ratio: 16 / 9;
}

.video-frame-wrap video {
  width: 100%;
  height: 100%;
  display: block;
}

/* ==========================================================================
   Keyframes & Responsive Breakpoints
   ========================================================================== */

@keyframes orbFloatA {
  from { transform: translate(-40px, 0); }
  to { transform: translate(55px, 24px); }
}

@keyframes orbFloatB {
  from { transform: translate(0, 35px); }
  to { transform: translate(-40px, -45px); }
}

@keyframes driftSquircleA {
  from { transform: translateY(-10px) rotate(-8deg); }
  to { transform: translateY(12px) rotate(-6deg); }
}

@keyframes driftSquircleB {
  from { transform: translateY(10px) rotate(7deg); }
  to { transform: translateY(-12px) rotate(5deg); }
}

@keyframes wavePulse {
  0%, 100% { transform: scaleY(0.84); }
  50% { transform: scaleY(1.16); }
}

@keyframes typoPop {
  0% { opacity: 0.45; transform: translateY(10px) scale(0.85); filter: blur(3px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes sweepPlayhead {
  0% { left: calc(78px + (100% - 78px) * 0.06); }
  100% { left: calc(78px + (100% - 78px) * 0.94); }
}

@media (max-width: 1120px) {
  .nav-links {
    display: none;
  }

  .hero-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-copy {
    align-items: center;
    text-align: center;
  }

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

  .guided-tour-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mobile-wb-tabs {
    display: flex;
  }

  .app-grid {
    display: block;
    min-height: auto;
  }

  .app-col {
    display: none;
    border-right: none;
  }

  .app-col.is-active-mobile {
    display: flex;
  }

  .bridge-stage {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bridge-connector {
    padding: 8px 0;
  }

  .connector-tags {
    flex-direction: row;
    justify-content: center;
  }

  .easy-steps-grid {
    grid-template-columns: 1fr;
  }

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

  .install-hub {
    padding: 24px 18px 22px;
  }
}

@media (max-width: 760px) {
  .app-topbar .status-pill,
  .app-topbar .topbar-divider,
  .app-topbar .js-open-video {
    display: none;
  }

  .app-topbar {
    padding: 0 10px;
  }

  .app-topbar-left,
  .app-topbar-right {
    gap: 6px;
  }

  .traffic-lights {
    gap: 5px;
  }

  .tl {
    width: 9px;
    height: 9px;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 14px;
  }

  .brand-wordmark {
    font-size: 16.5px;
  }

  .version-pill {
    display: none;
  }

  .nav-actions {
    gap: 6px;
  }

  .nav-actions .btn-sm {
    height: 32px;
    padding: 0 10px;
    font-size: 12px;
    gap: 5px;
  }

  .mob-tab {
    font-size: 11.5px;
    padding: 0 6px;
  }

  .ba-key {
    font-size: 20px;
  }

  .ba-sub {
    font-size: 11.5px;
  }

  .ba-caption-plain {
    font-size: 11px;
  }

  .ba-sfx-badge {
    font-size: 9.5px;
    padding: 3px 7px;
  }

  .tour-btn {
    padding: 8px 9px;
    font-size: 12px;
  }

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

  .th-stage {
    width: 230px;
    height: 408px;
  }

  .capcut-preview-row {
    flex-direction: column;
    text-align: center;
  }
}

@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;
  }
}
