/* ==========================================================================
   CATALYST DIGITAL - CORE DESIGN SYSTEM & MULTI-THEME ENGINE
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. THEME DEFINITIONS (CSS CUSTOM PROPERTIES)
   -------------------------------------------------------------------------- */

/* Default / The Golden Path (Synthesized Flagship) */
:root,
[data-theme="golden"] {
  --bg-primary: #0b0f19;
  --bg-surface: #111827;
  --bg-surface-elevated: #1e293b;
  --bg-translucent: rgba(17, 24, 39, 0.82);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(56, 189, 248, 0.35);
  
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  
  --accent-primary: #38bdf8;
  --accent-secondary: #818cf8;
  --accent-glow: rgba(56, 189, 248, 0.18);
  --accent-contrast: #0b0f19;
  
  --badge-bg: rgba(56, 189, 248, 0.12);
  --badge-text: #38bdf8;
  --badge-border: rgba(56, 189, 248, 0.3);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
  
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Fira Code', monospace;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 30px rgba(56, 189, 248, 0.18);
  
  --phone-bezel: #1e293b;
  --phone-screen-bg: #0f172a;
}

/* 🍭 Jester (Boutiques, Bakeries, Sweets, Crafts & Playful Brands — Toughness underneath) */
[data-theme="jester"],
[data-theme="whimsical"] {
  --bg-primary: #fdf7fa;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #fff0f7;
  --bg-translucent: rgba(255, 255, 255, 0.92);
  --border-color: #f5d0e3;
  --border-hover: #ec4899;
  
  --text-primary: #2e102e;
  --text-secondary: #5c205c;
  --text-muted: #8b558b;
  
  --accent-primary: #ec4899;
  --accent-secondary: #8b5cf6;
  --accent-tertiary: #38bdf8;
  --accent-glow: rgba(236, 72, 153, 0.22);
  --accent-contrast: #ffffff;
  
  --badge-bg: #fce7f3;
  --badge-text: #be185d;
  --badge-border: #f472b6;
  
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --radius-pill: 9999px;
  
  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-mono: 'Fira Code', monospace;
  
  --shadow-sm: 0 4px 12px rgba(236, 72, 153, 0.1);
  --shadow-md: 0 12px 30px rgba(139, 92, 246, 0.12);
  --shadow-glow: 0 0 25px rgba(236, 72, 153, 0.25);
  
  --phone-bezel: #f472b6;
  --phone-screen-bg: #fff8fc;

  /* Sprinkle/confetti accent — pink + purple + periwinkle, approved 2026-09-06.
     Decorative only, same body::before mechanism as FPS's splatter. */
  --bg-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 700 550'%3E%3Cg%3E%3Crect x='60' y='90' width='26' height='8' rx='4' fill='%23ec4899' transform='rotate(35 73 94)'/%3E%3Crect x='95' y='70' width='22' height='7' rx='3.5' fill='%238b5cf6' transform='rotate(-20 106 73)'/%3E%3Ccircle cx='50' cy='60' r='5' fill='%2338bdf8'/%3E%3Crect x='115' y='115' width='20' height='6.5' rx='3' fill='%2338bdf8' transform='rotate(60 125 118)'/%3E%3Ccircle cx='40' cy='110' r='4' fill='%23ec4899'/%3E%3C/g%3E%3Cg transform='translate(420,50)'%3E%3Crect x='0' y='0' width='26' height='8' rx='4' fill='%238b5cf6' transform='rotate(-30 13 4)'/%3E%3Crect x='35' y='25' width='22' height='7' rx='3.5' fill='%23ec4899' transform='rotate(45 46 28)'/%3E%3Ccircle cx='-10' cy='30' r='5' fill='%2338bdf8'/%3E%3Ccircle cx='60' cy='0' r='4' fill='%23ec4899'/%3E%3C/g%3E%3Cg transform='translate(250,320)'%3E%3Crect x='0' y='0' width='24' height='7.5' rx='3.75' fill='%2338bdf8' transform='rotate(15 12 4)'/%3E%3Ccircle cx='30' cy='20' r='5' fill='%238b5cf6'/%3E%3Crect x='-30' y='15' width='20' height='6.5' rx='3' fill='%23ec4899' transform='rotate(-50 -20 18)'/%3E%3Ccircle cx='-5' cy='-15' r='4' fill='%2338bdf8'/%3E%3C/g%3E%3Cg transform='translate(80,400)'%3E%3Crect x='0' y='0' width='22' height='7' rx='3.5' fill='%23ec4899' transform='rotate(50 11 3.5)'/%3E%3Ccircle cx='25' cy='-10' r='4' fill='%2338bdf8'/%3E%3Ccircle cx='-15' cy='15' r='5' fill='%238b5cf6'/%3E%3C/g%3E%3Cg transform='translate(550,400)'%3E%3Crect x='0' y='0' width='24' height='7.5' rx='3.75' fill='%238b5cf6' transform='rotate(-40 12 4)'/%3E%3Ccircle cx='-20' cy='10' r='5' fill='%23ec4899'/%3E%3Ccircle cx='30' cy='20' r='4' fill='%2338bdf8'/%3E%3Crect x='10' y='-25' width='18' height='6' rx='3' fill='%2338bdf8' transform='rotate(20 19 -22)'/%3E%3C/g%3E%3C/svg%3E");
  --bg-pattern-size: 700px 550px;
  --bg-pattern-opacity: 0.55;
}

/* Jester Signature Candy-Coated Toughness Accents */
[data-theme="jester"] .btn-primary,
[data-theme="whimsical"] .btn-primary {
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 55%, #38bdf8 100%);
  border-color: transparent;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.35);
}

[data-theme="jester"] .btn-primary:hover,
[data-theme="whimsical"] .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.45);
}

[data-theme="jester"] .brand-accent,
[data-theme="whimsical"] .brand-accent {
  background: linear-gradient(135deg, #ec4899, #8b5cf6, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 🔩 10mm (Contractors, Machinists, Trades & No-Nonsense Field Utility) */
[data-theme="10mm"],
[data-theme="minimalist"] {
  --bg-primary: #ffffff;
  --bg-surface: #f8fafc;
  --bg-surface-elevated: #f1f5f9;
  --bg-translucent: rgba(255, 255, 255, 0.96);
  --border-color: #cbd5e1;
  --border-hover: #0f172a;
  
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  
  --accent-primary: #0f172a;     /* Stark industrial black */
  --accent-secondary: #d97706;   /* Safety amber / brass utility */
  --accent-tertiary: #475569;    /* Chrome / tool steel */
  --accent-glow: rgba(15, 23, 42, 0.08);
  --accent-contrast: #ffffff;
  
  --badge-bg: #0f172a;
  --badge-text: #ffffff;
  --badge-border: #0f172a;
  
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-xl: 8px;
  --radius-pill: 4px;
  
  --font-heading: 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'Fira Code', monospace;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-glow: none;
  
  --phone-bezel: #0f172a;
  --phone-screen-bg: #ffffff;
}

/* 10mm Signature High-Torque Button & Tool Amber Accents */
[data-theme="10mm"] .btn-primary,
[data-theme="minimalist"] .btn-primary {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  font-weight: 800;
  border-radius: 4px;
  box-shadow: 0 3px 0 #d97706;
}

[data-theme="10mm"] .btn-primary:hover,
[data-theme="minimalist"] .btn-primary:hover {
  transform: translateY(-1px);
  background: #1e293b;
  box-shadow: 0 4px 0 #b45309;
}

[data-theme="10mm"] .brand-accent,
[data-theme="minimalist"] .brand-accent {
  color: #d97706;
  background: none;
  -webkit-text-fill-color: initial;
}


/* 🎯 FPS (Field Precision, Archery, Tactical Optics & High-Velocity Speed) */
[data-theme="fps"],
[data-theme="clinical"] {
  --bg-primary: #0a0d12;
  --bg-surface: #12161f;
  --bg-surface-elevated: #1a202c;
  --bg-translucent: rgba(18, 22, 31, 0.92);
  --border-color: #2b3342;
  --border-hover: #00f2fe;
  /* Paintball splatter accent — teal + hot pink, approved 2026-09-06.
     Decorative only: rendered via body::before below, kept off --bg-surface
     cards so text contrast is never affected. */
  --bg-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 600'%3E%3Cg fill='%2300f2fe'%3E%3Ccircle cx='90' cy='120' r='34'/%3E%3Ccircle cx='118' cy='96' r='9'/%3E%3Ccircle cx='60' cy='150' r='6'/%3E%3Ccircle cx='132' cy='140' r='5'/%3E%3Ccircle cx='40' cy='100' r='4'/%3E%3C/g%3E%3Cg fill='%23ff2e93'%3E%3Ccircle cx='650' cy='80' r='40'/%3E%3Ccircle cx='690' cy='60' r='10'/%3E%3Ccircle cx='700' cy='100' r='7'/%3E%3Ccircle cx='620' cy='40' r='5'/%3E%3Ccircle cx='680' cy='130' r='6'/%3E%3C/g%3E%3Cg fill='%2300f2fe'%3E%3Ccircle cx='400' cy='420' r='30'/%3E%3Ccircle cx='430' cy='450' r='8'/%3E%3Ccircle cx='370' cy='450' r='6'/%3E%3Ccircle cx='420' cy='390' r='5'/%3E%3C/g%3E%3Cg fill='%23ff2e93'%3E%3Ccircle cx='150' cy='480' r='26'/%3E%3Ccircle cx='120' cy='500' r='7'/%3E%3Ccircle cx='175' cy='510' r='5'/%3E%3C/g%3E%3Cg fill='%2300f2fe'%3E%3Ccircle cx='720' cy='420' r='22'/%3E%3Ccircle cx='745' cy='400' r='6'/%3E%3Ccircle cx='700' cy='450' r='5'/%3E%3C/g%3E%3C/svg%3E");
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-primary: #00f2fe;    /* Electric sight-pin teal */
  --accent-secondary: #ff2e93;  /* High-vis fletching hot pink splash */
  --accent-tertiary: #c4975a;   /* Coyote / FDE tactical field tan */
  --accent-glow: rgba(0, 242, 254, 0.25);
  --accent-contrast: #0a0d12;
  
  --badge-bg: rgba(0, 242, 254, 0.12);
  --badge-text: #00f2fe;
  --badge-border: rgba(0, 242, 254, 0.4);
  
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-pill: 9999px;
  
  --font-heading: 'Syne', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'Fira Code', monospace;
  
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 25px rgba(0, 242, 254, 0.25);
  
  --phone-bezel: #2b3342;
  --phone-screen-bg: #0b0e14;
}

/* FPS Signature Tactical Field Accents & Precision Aiming Highlights */
[data-theme="fps"] .btn-primary,
[data-theme="clinical"] .btn-primary {
  background: linear-gradient(135deg, #00f2fe 0%, #0284c7 60%, #ff2e93 100%);
  border-color: #00f2fe;
  color: #0a0d12;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.35);
}

[data-theme="fps"] .btn-primary:hover,
[data-theme="clinical"] .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 46, 147, 0.5);
}

[data-theme="fps"] .brand-accent,
[data-theme="clinical"] .brand-accent {
  background: linear-gradient(135deg, #00f2fe 0%, #ff2e93 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* --------------------------------------------------------------------------
   2. GLOBAL RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  padding-bottom: 5.5rem; /* Room for floating theme dock */
}

/* Decorative theme background pattern (e.g. FPS paintball splatter).
   Sits behind all content via negative z-index -- never touches --bg-surface
   cards, so text contrast is unaffected. Themes without --bg-pattern set
   render nothing here (the custom property falls back to its initial value). */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: var(--bg-pattern-opacity, 0.28);
  background-image: var(--bg-pattern);
  background-size: var(--bg-pattern-size, 800px 600px);
  background-repeat: repeat;
  transition: opacity 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
  overflow-wrap: break-word;
}

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

img, svg {
  vertical-align: middle;
  display: inline-block;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --------------------------------------------------------------------------
   3. STATUS / ANNOUNCEMENT BAR
   -------------------------------------------------------------------------- */
.status-bar {
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.82rem;
  padding: 0.5rem 0;
}

.status-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  text-align: center;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-glow 2s infinite;
}

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

.status-text {
  color: var(--text-secondary);
  font-weight: 500;
}

.status-link {
  color: var(--accent-primary);
  font-weight: 600;
}
.status-link:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   4. NAVIGATION HEADER
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-translucent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--accent-primary);
  color: var(--accent-contrast);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glow);
}

.logo-mark.small {
  width: 30px;
  height: 30px;
}

.brand-name {
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.brand-accent {
  color: var(--accent-primary);
  margin-left: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

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

.nav-link:hover {
  color: var(--accent-primary);
}

.nav-cta-btn {
  background: var(--accent-primary);
  color: var(--accent-contrast);
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle .bar {
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: 0.3s;
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: var(--badge-bg);
  color: var(--badge-text);
  border: 1px solid var(--badge-border);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.kicker-spark {
  color: var(--accent-primary);
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: 3.1rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

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

.hero-subtext {
  color: var(--text-secondary);
  font-size: 1.12rem;
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--accent-primary);
  color: var(--accent-contrast);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--border-hover);
  background: var(--bg-surface-elevated);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-outline:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.75rem;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-primary);
}

.metric-unit {
  font-size: 0.95rem;
  color: var(--accent-primary);
  margin-left: 2px;
}

.metric-lbl {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.metric-divider {
  width: 1px;
  height: 38px;
  background: var(--border-color);
}

/* --------------------------------------------------------------------------
   6. HERO PHONE FRAME PREVIEW
   -------------------------------------------------------------------------- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.visual-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 480px;
  background: var(--accent-glow);
  filter: blur(80px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.phone-mockup-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 320px;
}

.phone-frame {
  background: var(--phone-bezel);
  border-radius: 40px;
  padding: 10px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6), var(--shadow-glow);
  border: 4px solid var(--border-color);
}

.phone-notch {
  width: 110px;
  height: 22px;
  background: #000;
  border-radius: 12px;
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.speaker {
  width: 35px;
  height: 4px;
  background: #222;
  border-radius: 2px;
}

.camera {
  width: 8px;
  height: 8px;
  background: #111;
  border-radius: 50%;
  border: 1px solid #333;
}

.phone-screen {
  background: var(--phone-screen-bg);
  border-radius: 30px;
  overflow: hidden;
  padding: 1rem 0.85rem;
  min-height: 420px;
}

.mini-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  margin-bottom: 0.85rem;
}

.mini-browser-bar .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.mini-browser-bar .red { background: #ef4444; }
.mini-browser-bar .yellow { background: #f59e0b; }
.mini-browser-bar .green { background: #10b981; }

.mini-url {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-left: auto;
}

.mini-app-preview {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mini-app-hero {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}

.mini-badge {
  font-size: 0.62rem;
  font-weight: 700;
  color: #10b981;
  letter-spacing: 0.05em;
}

.mini-app-hero h4 {
  font-size: 0.95rem;
  margin: 0.25rem 0;
  color: var(--text-primary);
}

.mini-app-hero p {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.mini-btn {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--accent-primary);
  color: var(--accent-contrast);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
}

.mini-app-cards {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mini-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  padding: 0.65rem;
  border-radius: 8px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.feature-card-floating {
  position: absolute;
  z-index: 2;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-md);
}

.feature-card-floating.top-left {
  top: 15%;
  left: -25px;
}

.feature-card-floating.bottom-right {
  bottom: 12%;
  right: -25px;
}

.floating-icon {
  font-size: 1.3rem;
}

.floating-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}

.floating-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   7. SECTION COMMON STYLES
   -------------------------------------------------------------------------- */
.section {
  padding: 5rem 0;
  border-top: 1px solid var(--border-color);
}

.section-header {
  margin-bottom: 3.25rem;
}

.section-header.text-center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 0.65rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.08rem;
  max-width: 680px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   8. SHOWCASE SECTION (FULL DRAW ARCHERY)
   -------------------------------------------------------------------------- */
.showcase-section {
  background: radial-gradient(circle at 50% 10%, var(--bg-surface-elevated) 0%, transparent 60%);
}

.showcase-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.showcase-tab {
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.showcase-tab:hover {
  border-color: var(--accent-primary);
  color: var(--text-primary);
}

.showcase-tab.active {
  background: var(--accent-primary);
  color: var(--accent-contrast);
  border-color: var(--accent-primary);
}

.showcase-view-panel {
  display: none;
}

.showcase-view-panel.active {
  display: block;
}

/* Device stage */
.device-stage {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
}

.device-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.device-viewport-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.active-badge {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
}

.device-external-actions {
  display: flex;
  gap: 0.5rem;
}

.interactive-device {
  width: 100%;
  height: 620px;
  background: #000;
  border-radius: 28px;
  overflow: hidden;
  border: 3px solid var(--phone-bezel);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
}

.interactive-device iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #fff;
}

.device-caption {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
}

/* Breakdown Grid */
.breakdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.bento-icon {
  font-size: 2rem;
}

.bento-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text-primary);
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  flex-grow: 1;
}

.stat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}

.pill.green {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.pill.blue {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.pill.purple {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

/* Pitch Playbook */
.pitch-playbook-box {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.pitch-playbook-box h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
  text-align: center;
}

.script-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.script-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-primary);
  background: var(--badge-bg);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--badge-border);
}

.step-body strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.step-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   9. THEME LAB SECTION
   -------------------------------------------------------------------------- */
.themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.theme-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.theme-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.theme-card.active {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
}

.theme-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.theme-emoji {
  font-size: 2rem;
  display: inline-flex;
  align-items: center;
}

.theme-emoji-candy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.28s ease;
}

.theme-card:hover .theme-emoji-candy {
  transform: rotate(-6deg) scale(1.12);
  filter: drop-shadow(0 6px 16px rgba(236, 72, 153, 0.4));
}

.pill-icon-candy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-emoji-reticle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-card:hover .theme-emoji-reticle {
  transform: scale(1.12);
}

.theme-card:hover .theme-emoji-reticle .reticle-center-dot {
  fill: #ff2e93;
  filter: drop-shadow(0 0 8px #ff2e93);
}

.pill-icon-reticle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-emoji-socket {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;
}

.theme-card:hover .theme-emoji-socket {
  transform: scale(1.12) rotate(8deg);
  filter: drop-shadow(0 6px 14px rgba(15, 23, 42, 0.25));
}

.pill-icon-socket {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-emoji-trinity {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}

.theme-card:hover .theme-emoji-trinity {
  transform: scale(1.14) rotate(-3deg);
  filter: drop-shadow(0 0 16px rgba(245, 158, 11, 0.55));
}

.pill-icon-trinity {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Trinity Feature Inspector Inside Golden Path Card */
.trinity-inspector {
  margin: 0.85rem 0 1.15rem;
  padding: 0.75rem;
  background: var(--bg-surface-elevated);
  border: 1px dashed var(--border-hover);
  border-radius: var(--radius-md);
  text-align: left;
}

.inspector-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #f59e0b;
  margin-bottom: 0.45rem;
}

.inspector-pills {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.trinity-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.trinity-pill:hover {
  border-color: #f59e0b;
  color: #f59e0b;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}

.trinity-pill.active {
  background: #f59e0b;
  color: #0b0f19;
  border-color: #f59e0b;
}

/* Feature Spotlight Toast */
.feature-spotlight-toast {
  position: fixed;
  top: 4.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: #0b0f19;
  border: 1px solid #f59e0b;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(245, 158, 11, 0.3);
  color: #f8fafc;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  width: max-content;
  max-width: calc(100vw - 2rem);
  box-sizing: border-box;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.feature-spotlight-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


.theme-badge-current {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--accent-primary);
  color: var(--accent-contrast);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  display: none;
}

.theme-card.active .theme-badge-current {
  display: inline-block;
}

.theme-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.theme-subtitle {
  font-size: 0.82rem;
  color: var(--accent-primary);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.theme-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.theme-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.theme-tags span {
  font-size: 0.72rem;
  background: var(--bg-surface-elevated);
  color: var(--text-muted);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
}

.btn-select-theme {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 0.65rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  width: 100%;
  transition: all 0.2s;
}

.theme-card.active .btn-select-theme {
  background: var(--accent-primary);
  color: var(--accent-contrast);
  border-color: var(--accent-primary);
}

/* --------------------------------------------------------------------------
   10. ADVANTAGES BENTO SECTION
   -------------------------------------------------------------------------- */
.advantages-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.adv-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.adv-card.large {
  grid-column: span 2;
}

.adv-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.adv-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
  color: var(--text-primary);
}

.adv-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   11. PROCESS SECTION
   -------------------------------------------------------------------------- */
.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.process-step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
}

.step-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-primary);
  background: var(--badge-bg);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--badge-border);
  margin-bottom: 1.25rem;
}

.process-step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.process-step-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   12. PACKAGES SECTION (MODULAR COWORK SYNC READY)
   -------------------------------------------------------------------------- */
.cowork-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.35rem 0.85rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
  transform: scale(1.02);
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-primary);
  color: var(--accent-contrast);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
}

.tier-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-primary);
  letter-spacing: 0.08em;
}

.tier-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  color: var(--text-primary);
  margin: 0.35rem 0;
}

.tier-price {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.tier-cycle {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.tier-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.tier-features li {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.tier-features li strong {
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   13. FOUNDER SECTION
   -------------------------------------------------------------------------- */
.founder-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  align-items: center;
}

.founder-avatar-wrap {
  text-align: center;
}

.avatar-ring {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-glow);
}

.avatar-initials {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-contrast);
  font-family: var(--font-heading);
}

.founder-badge {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.founder-text h2 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  color: var(--text-primary);
  margin: 0.5rem 0 1.25rem;
}

.founder-text p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.founder-signatures {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.95rem;
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   14. CONTACT / SPEC REQUEST FORM
   -------------------------------------------------------------------------- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

.contact-info h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin: 0.5rem 0 1.25rem;
  color: var(--text-primary);
}

.contact-info p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.contact-perks {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.perk-icon {
  width: 22px;
  height: 22px;
  background: var(--badge-bg);
  color: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
}

.contact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-primary);
}

.form-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.85rem;
}

.form-success-message {
  text-align: center;
  padding: 2rem 1rem;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.form-success-message h4 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-success-message p {
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   15. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 3.5rem 0 2.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 2.5rem;
  align-items: start;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 0.65rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

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

.footer-links a:hover {
  color: var(--accent-primary);
}

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

.pi-credit {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--accent-primary);
}

/* --------------------------------------------------------------------------
   16. MOBILE HOT-SWAPPABLE THEME DOCK (FIXED BOTTOM DOCK)
   -------------------------------------------------------------------------- */
.mobile-theme-dock {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  width: calc(100% - 2rem);
  max-width: 440px;
}

.dock-container {
  background: var(--bg-translucent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-pill);
  padding: 0.5rem 0.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), var(--shadow-glow);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.dock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.5rem;
}

.dock-title {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.dock-current-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.dock-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
}

.dock-pill {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dock-pill:hover {
  border-color: var(--accent-primary);
  color: var(--text-primary);
}

.dock-pill.active {
  background: var(--accent-primary);
  color: var(--accent-contrast);
  border-color: var(--accent-primary);
  font-weight: 700;
}

.pill-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.pill-name {
  font-size: 0.68rem;
}

/* --------------------------------------------------------------------------
   17. QUICK MODAL FOR SPEC PROTOTYPE
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 480px;
  padding: 2.25rem;
  position: relative;
  box-shadow: var(--shadow-md);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin: 0.35rem 0;
  color: var(--text-primary);
}

.modal-header p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
}

.quick-call-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface-elevated);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.quick-call-btn {
  background: #10b981;
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.82rem;
}

.modal-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1rem 0;
}

.modal-divider::before,
.modal-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-color);
}

.modal-divider span {
  padding: 0 0.75rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   18. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtext {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-metrics {
    justify-content: center;
  }

  .advantages-bento {
    grid-template-columns: 1fr;
  }

  .adv-card.large {
    grid-column: span 1;
  }

  .founder-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 768px) {
  /* Global Layout & Padding */
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 2.75rem 0;
  }

  .section-tag {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }

  .section-title {
    font-size: clamp(1.55rem, 5vw, 1.95rem);
    line-height: 1.25;
    margin-bottom: 0.65rem;
  }

  .section-subtitle {
    font-size: 0.92rem;
    line-height: 1.55;
    padding: 0 0.25rem;
  }

  /* Status Announcement Bar */
  .status-bar {
    font-size: 0.75rem;
    padding: 0.4rem 0.5rem;
  }

  .status-content {
    gap: 0.35rem;
    line-height: 1.35;
  }

  /* Hero Section Typography & Balance */
  .hero-section {
    padding: 2.25rem 0 2rem;
  }

  .kicker-badge {
    font-size: 0.72rem;
    padding: 0.3rem 0.75rem;
    margin-bottom: 1.15rem;
  }

  .hero-headline {
    font-size: clamp(1.75rem, 5.5vw, 2.15rem);
    line-height: 1.22;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
  }

  .hero-subtext {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
    padding: 0 0.25rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 2rem;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    font-size: 0.92rem;
  }

  /* Hero Metrics: Clean 3-Column Grid without horizontal squish */
  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    text-align: center;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
  }

  .metric-divider {
    display: none;
  }

  .metric-val {
    font-size: 1.25rem;
    line-height: 1.2;
  }

  .metric-lbl {
    font-size: 0.68rem;
    line-height: 1.25;
    margin-top: 0.2rem;
  }

  /* Hero Visual: Hide off-screen floating cards that stretch mobile viewport */
  .hero-visual {
    margin-top: 1.5rem;
  }

  .feature-card-floating {
    display: none;
  }

  .phone-mockup-wrapper {
    max-width: 260px;
    margin: 0 auto;
  }

  .phone-frame {
    border-radius: 32px;
    padding: 8px;
  }

  /* Navigation Mobile Menu */
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .nav-menu.mobile-open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  /* Showcase Section */
  .showcase-tab {
    padding: 0.5rem 0.9rem;
    font-size: 0.78rem;
  }

  .device-stage {
    padding: 0.75rem 0.5rem;
    border-radius: var(--radius-lg);
  }

  .interactive-device {
    height: 480px;
    border-radius: 20px;
  }

  /* Theme Lab Cards */
  .themes-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .theme-card {
    padding: 1.35rem 1.15rem;
    border-radius: var(--radius-md);
  }

  .theme-card h3 {
    font-size: 1.15rem;
    line-height: 1.3;
  }

  .theme-subtitle {
    font-size: 0.78rem;
    margin-bottom: 0.55rem;
  }

  .theme-card p {
    font-size: 0.86rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }

  .theme-tags span {
    font-size: 0.7rem;
    padding: 0.2rem 0.55rem;
  }

  /* Bento, Process & Pricing Cards */
  .adv-card {
    padding: 1.35rem 1.15rem;
  }

  .adv-card h3 {
    font-size: 1.15rem;
  }

  .adv-card p {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .process-step-card {
    padding: 1.35rem 1.15rem;
  }

  .process-step-card h3 {
    font-size: 1.15rem;
  }

  .process-step-card p {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .pricing-card {
    padding: 1.65rem 1.25rem;
  }

  .pricing-card.featured {
    transform: none;
  }

  .tier-name {
    font-size: 1.25rem;
  }

  .tier-price {
    font-size: 2.2rem;
  }

  .pricing-features li {
    font-size: 0.85rem;
  }

  /* Founder & Contact */
  .founder-box {
    padding: 1.75rem 1.15rem;
    gap: 1.5rem;
  }

  .avatar-ring {
    width: 90px;
    height: 90px;
    margin-bottom: 0.75rem;
  }

  .avatar-initials {
    font-size: 1.75rem;
  }

  .founder-content h3 {
    font-size: 1.25rem;
  }

  .founder-role {
    font-size: 0.82rem;
  }

  .founder-content p {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  .contact-card {
    padding: 1.5rem 1.15rem;
  }

  .contact-info h3 {
    font-size: 1.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .form-group {
    margin-bottom: 1rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 0.9rem;
    padding: 0.65rem 0.85rem;
  }

  /* Mobile Theme Switcher Dock */
  .mobile-theme-dock {
    bottom: 0.5rem;
    width: calc(100% - 1.25rem);
    max-width: 390px;
  }

  .dock-container {
    padding: 0.45rem 0.6rem;
  }

  .dock-header {
    padding: 0 0.25rem;
  }

  .dock-title {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .dock-current-badge {
    font-size: 0.64rem;
  }

  .dock-pills {
    gap: 0.25rem;
  }

  .dock-pill {
    padding: 0.4rem 0.15rem;
  }

  .pill-name {
    font-size: 0.64rem;
  }

  /* Modal Dialog */
  .modal-dialog {
    padding: 1.5rem 1.15rem;
    width: 95%;
    max-width: 380px;
  }

  .modal-header h3 {
    font-size: 1.25rem;
  }
}

@media (max-width: 400px) {
  .hero-headline {
    font-size: 1.65rem;
  }

  .section-title {
    font-size: 1.45rem;
  }

  .hero-metrics {
    gap: 0.25rem;
  }

  .metric-val {
    font-size: 1.1rem;
  }

  .metric-lbl {
    font-size: 0.62rem;
  }

  .pill-name {
    font-size: 0.6rem;
  }
}

