/* =========================================================================
   TWIXOR SUITE — LUXURY MODERN PRODUCT, DOCS & RELEASES PORTAL
   Vanilla CSS Design System & Theme Engine
   ========================================================================= */

/* --- ROOT DESIGN TOKENS --- */
:root {
  /* Color Palette - Dark Mode (Default) */
  --bg-primary: #07090E;
  --bg-secondary: #0D111A;
  --bg-card: rgba(18, 24, 38, 0.72);
  --bg-card-hover: rgba(26, 34, 52, 0.88);
  --bg-glass: rgba(13, 17, 26, 0.65);
  --bg-glass-heavy: rgba(10, 14, 22, 0.92);

  /* Primary Accent & Brand Glows */
  --brand-primary: #00D2FF;
  --brand-primary-rgb: 0, 210, 255;
  --brand-secondary: #3A82F6;
  --brand-accent: #8B5CF6;
  --brand-glow: rgba(0, 210, 255, 0.28);
  --brand-gradient: linear-gradient(135deg, #00D2FF 0%, #3A82F6 50%, #8B5CF6 100%);
  --brand-gradient-hover: linear-gradient(135deg, #38BDF8 0%, #2563EB 50%, #7C3AED 100%);

  /* Typography Colors */
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-inverse: #07090E;

  /* Borders & Dividers */
  --border-light: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-glow: rgba(0, 210, 255, 0.35);

  /* Functional Status Colors */
  --color-success: #10B981;
  --color-success-bg: rgba(16, 185, 129, 0.12);
  --color-warning: #F59E0B;
  --color-warning-bg: rgba(245, 158, 11, 0.12);
  --color-danger: #EF4444;
  --color-danger-bg: rgba(239, 68, 68, 0.12);

  /* Typography Stack */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows & Depth */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px rgba(0, 210, 255, 0.22);
  --shadow-glow-purple: 0 0 45px rgba(139, 92, 246, 0.2);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- LIGHT THEME OVERRIDES --- */
[data-theme="light"] {
  --bg-primary: #F8FAFC;
  --bg-secondary: #EDF2F7;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-glass: rgba(255, 255, 255, 0.82);
  --bg-glass-heavy: rgba(255, 255, 255, 0.96);

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-inverse: #F8FAFC;

  --border-light: rgba(15, 23, 42, 0.08);
  --border-medium: rgba(15, 23, 42, 0.15);
  --border-glow: rgba(0, 160, 220, 0.4);

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.09);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 35px rgba(0, 180, 240, 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Ambient Glow Blobs */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.glow-top-left {
  top: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.18) 0%, transparent 70%);
}

.glow-top-right {
  top: -100px;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, transparent 70%);
}

.glow-bottom-center {
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(circle, rgba(58, 130, 246, 0.14) 0%, transparent 70%);
}

/* --- ANNOUNCEMENT BAR --- */
.announcement-bar {
  background: linear-gradient(90deg, #0A1428 0%, #111A33 50%, #0A1428 100%);
  border-bottom: 1px solid var(--border-light);
  padding: 8px 0;
  font-size: 13px;
  position: relative;
  z-index: 101;
}

[data-theme="light"] .announcement-bar {
  background: linear-gradient(90deg, #E0E7FF 0%, #EDE9FE 50%, #E0E7FF 100%);
  color: #1E293B;
}

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

.badge-new {
  background: var(--brand-gradient);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.announcement-text strong {
  color: var(--brand-primary);
}

.announcement-link {
  font-weight: 600;
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.announcement-link:hover {
  text-decoration: underline;
}

/* --- NAVBAR --- */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background: var(--bg-glass-heavy);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.brand-logo {
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

.brand-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.brand-badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 210, 255, 0.15);
  color: var(--brand-primary);
  border: 1px solid rgba(0, 210, 255, 0.3);
}

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

.nav-item {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

.nav-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #EC4899, #8B5CF6);
  color: #fff;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.theme-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 16px;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  border-color: var(--brand-primary);
  box-shadow: 0 0 12px var(--brand-glow);
}

[data-theme="dark"] .theme-icon-light { display: none; }
[data-theme="light"] .theme-icon-dark { display: none; }

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

.mobile-menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 20px 24px 28px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-medium);
}

.mobile-drawer.open {
  display: flex;
}

.mobile-nav-item {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

/* --- BUTTON SYSTEM --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-sm {
  font-size: 13px;
  padding: 8px 16px;
}

.btn-md {
  font-size: 14px;
  padding: 11px 22px;
}

.btn-lg {
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--brand-gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(0, 210, 255, 0.25);
}

.btn-primary:hover {
  background: var(--brand-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 210, 255, 0.4);
}

.glow-btn {
  position: relative;
  overflow: hidden;
}

.glow-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: rotate(30deg);
  animation: btnShine 4s infinite linear;
}

@keyframes btnShine {
  0% { transform: translateX(-100%) rotate(30deg); }
  25% { transform: translateX(100%) rotate(30deg); }
  100% { transform: translateX(100%) rotate(30deg); }
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--brand-primary);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--brand-primary);
  background: rgba(255, 255, 255, 0.04);
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  padding: 70px 0 90px;
  text-align: center;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.25);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 24px;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-primary);
  box-shadow: 0 0 10px var(--brand-primary);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.5; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
  color: var(--text-primary);
}

.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

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

/* Hero Metrics */
.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 900px;
  margin: 0 auto 60px;
}

.metric-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all var(--transition-fast);
}

.metric-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--brand-primary);
}

.metric-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Showcase Graphic Frame */
.hero-showcase-wrapper {
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
}

.showcase-glass-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  overflow: hidden;
  position: relative;
}

.showcase-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid var(--border-light);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.window-address {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.window-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-success);
}

.status-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 8px var(--color-success);
}

/* Showcase Real Screenshot Tabs Bar */
.showcase-tabs-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  overflow-x: auto;
  white-space: nowrap;
}

.showcase-tab {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

.showcase-tab.active {
  background: var(--brand-gradient);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(0, 210, 255, 0.3);
}

.showcase-image-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #000;
}

.showcase-image {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.25s ease;
}

/* Video Interactive Walkthrough Overlay */
.video-interactive-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 9, 14, 0.95) 45%, #07090E 100%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
}

.walkthrough-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-walkthrough {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--brand-primary);
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.25);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.badge-active-step {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.walkthrough-step-title {
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
}

.walkthrough-step-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  max-width: 650px;
  line-height: 1.5;
}

.walkthrough-controls-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

.tag-pin {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-primary);
  box-shadow: 0 0 10px var(--brand-primary);
}

.tag-content {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.tag-content strong {
  font-size: 12px;
  color: var(--text-primary);
}

.tag-content span {
  font-size: 10px;
  color: var(--text-secondary);
}

/* --- SECTION HEADERS --- */
.section-header {
  margin-bottom: 50px;
}

.section-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brand-primary);
  display: inline-block;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}

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

/* --- VIRTUAL CURSOR SANDBOX SECTION --- */
.sandbox-section {
  padding: 50px 0;
  position: relative;
  z-index: 10;
}

.sandbox-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 30px 36px;
  margin-bottom: 24px;
}

.pill-highlight {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--brand-primary);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.sandbox-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.sandbox-desc {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 620px;
}

/* Cursor Stage */
.cursor-stage {
  height: 240px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

.stage-watermark {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.virtual-cursor-element {
  position: absolute;
  top: 30px;
  left: 40px;
  width: 24px;
  height: 24px;
  pointer-events: none;
  z-index: 50;
  transition: transform 0.08s ease;
}

.cursor-pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--brand-primary);
  opacity: 0;
}

.stage-targets {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  z-index: 10;
}

.stage-btn-target {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.stage-btn-target.target-hovered {
  border-color: var(--brand-primary);
  box-shadow: 0 0 16px var(--brand-glow);
  transform: scale(1.04);
}

.stage-btn-target.target-pulsed {
  background: rgba(0, 210, 255, 0.2);
  border-color: var(--brand-primary);
}

.stage-telemetry {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  text-align: center;
}

/* --- GUIDE STEP-BY-STEP SECTION --- */
.guide-section {
  padding: 80px 0;
}

.guide-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

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

.step-number {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 800;
  color: var(--brand-primary);
  opacity: 0.35;
  margin-bottom: 12px;
}

.step-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0, 210, 255, 0.1);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.step-desc code {
  background: rgba(0, 210, 255, 0.12);
  color: var(--brand-primary);
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 12px;
  font-family: var(--font-mono);
}

.step-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  font-family: var(--font-mono);
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
}

/* Callout Box */
.guide-callout-box {
  display: flex;
  gap: 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-left: 4px solid var(--brand-primary);
  border-radius: var(--radius-md);
  padding: 24px;
}

.callout-icon {
  font-size: 26px;
  line-height: 1;
}

.callout-content h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 10px;
}

.callout-content ul {
  list-style: disc;
  padding-left: 20px;
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* --- VIDEO TUTORIAL THEATRE SECTION --- */
.video-section {
  padding: 80px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(13, 17, 26, 0.6) 100%);
}

.video-theatre-card {
  display: grid;
  grid-template-columns: 1fr 380px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.theatre-player-wrapper {
  display: flex;
  flex-direction: column;
  background: #000000;
}

.theatre-video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #05070A;
  overflow: hidden;
}

.video-poster-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--brand-gradient);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 35px var(--brand-primary);
  transition: all var(--transition-fast);
}

.video-play-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 0 50px var(--brand-primary);
}

.video-overlay-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
}

.video-embed-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-meta-bar {
  padding: 24px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.meta-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--brand-primary);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: inline-block;
}

.meta-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.meta-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Playlist Sidebar */
.video-playlist-sidebar {
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.playlist-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.playlist-header h4 {
  font-size: 15px;
  font-weight: 800;
}

.playlist-count {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.playlist-items {
  overflow-y: auto;
  max-height: 480px;
  display: flex;
  flex-direction: column;
}

.playlist-item {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.playlist-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.playlist-item.active {
  background: rgba(0, 210, 255, 0.08);
  border-left: 3px solid var(--brand-primary);
}

.item-thumb {
  width: 90px;
  height: 54px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-duration {
  position: absolute;
  bottom: 3px;
  right: 4px;
  background: rgba(0, 0, 0, 0.8);
  font-size: 9px;
  font-family: var(--font-mono);
  padding: 1px 4px;
  border-radius: 3px;
  color: #fff;
}

.item-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.item-badge {
  font-size: 9px;
  font-weight: 800;
  color: var(--brand-primary);
}

.item-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  margin: 2px 0;
}

.item-status {
  font-size: 11px;
  color: var(--brand-primary);
  font-weight: 700;
}

.item-meta {
  font-size: 11px;
  color: var(--text-muted);
}

.playlist-custom-box {
  padding: 16px 18px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

.custom-video-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 8px;
}

.custom-video-input-group {
  display: flex;
  gap: 8px;
}

.custom-input {
  flex-grow: 1;
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: 12px;
  color: var(--text-primary);
  outline: none;
}

.custom-input:focus {
  border-color: var(--brand-primary);
}

.btn-xs {
  font-size: 11px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

/* --- 12 AGENTS SHOWCASE --- */
.agents-section {
  padding: 80px 0;
}

.agent-filters {
  display: inline-flex;
  gap: 8px;
  background: var(--bg-card);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  margin-top: 24px;
  flex-wrap: wrap;
}

.filter-btn {
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn.active {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 210, 255, 0.3);
}

.agents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.agent-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

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

.agent-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.agent-icon {
  font-size: 26px;
}

.agent-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.agent-name {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}

.agent-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.meta-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(0, 210, 255, 0.08);
  color: var(--brand-primary);
  border: 1px solid rgba(0, 210, 255, 0.15);
}

/* --- SAFETY ARCHITECTURE SECTION --- */
.safety-section {
  padding: 80px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.safety-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition-normal);
}

.safety-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
}

.safety-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(0, 210, 255, 0.1);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.safety-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 10px;
}

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

/* --- RELEASES & CHANGELOG --- */
.releases-section {
  padding: 80px 0;
}

.download-featured-card {
  display: grid;
  grid-template-columns: 1fr 340px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(13, 17, 26, 0.95) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 42px;
  gap: 36px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  margin-bottom: 60px;
}

.version-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.badge-status-live {
  background: var(--color-success-bg);
  color: var(--color-success);
  border: 1px solid var(--color-success);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.version-tag {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
}

.release-date {
  font-size: 12px;
  color: var(--text-muted);
}

.download-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 14px;
}

.download-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.download-specs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.spec-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
}

.download-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.checksum-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 11px;
  overflow-x: auto;
}

.checksum-label {
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.checksum-value {
  font-family: var(--font-mono);
  color: var(--brand-primary);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.btn-copy-code {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-primary);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
}

.btn-copy-code:hover {
  background: var(--brand-primary);
  color: #fff;
}

/* Download Graphic */
.download-graphic {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.package-art {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.package-meta-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
}

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

/* Timeline */
.changelog-timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  border-left: 2px solid var(--border-medium);
  padding-left: 32px;
}

.changelog-heading {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 30px;
  margin-left: -32px;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-marker {
  position: absolute;
  top: 6px;
  left: -41px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 3px solid var(--border-medium);
}

.timeline-marker.marker-green {
  border-color: var(--color-success);
  background: var(--color-success);
  box-shadow: 0 0 12px var(--color-success);
}

.timeline-body {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
}

.timeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-header h4 {
  font-size: 17px;
  font-weight: 800;
}

.timeline-date {
  font-size: 12px;
  color: var(--text-muted);
}

.timeline-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.tag-pill {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.tag-new { background: rgba(0, 210, 255, 0.12); color: var(--brand-primary); }
.tag-fix { background: rgba(239, 68, 68, 0.12); color: var(--color-danger); }
.tag-improve { background: rgba(139, 92, 246, 0.12); color: var(--brand-accent); }

.timeline-notes {
  list-style: disc;
  padding-left: 20px;
  font-size: 13.5px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* --- FAQ ACCORDION --- */
.faq-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-glow);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  font-size: 20px;
  font-weight: 400;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  display: none;
  padding: 0 24px 22px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.faq-item.active .faq-content {
  display: block;
}

/* --- CTA BANNER --- */
.cta-banner-section {
  padding: 70px 0;
}

.cta-card {
  background: var(--brand-gradient);
  border-radius: var(--radius-xl);
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(0, 210, 255, 0.3);
  color: #FFFFFF;
}

.cta-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
}

.cta-desc {
  font-size: 16px;
  opacity: 0.9;
  max-width: 580px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.cta-card .btn-primary {
  background: #FFFFFF;
  color: #07090E;
}

.cta-card .btn-primary:hover {
  background: #F1F5F9;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.cta-card .btn-secondary {
  background: rgba(0, 0, 0, 0.25);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
}

/* --- FOOTER --- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  padding: 60px 0 30px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
}

.footer-tagline {
  font-size: 13.5px;
  color: var(--text-secondary);
  max-width: 320px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-success);
  background: var(--color-success-bg);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.col-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}

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

.footer-col a {
  font-size: 13.5px;
  color: var(--text-secondary);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  font-size: 12.5px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

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

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

/* --- TOAST NOTIFICATIONS --- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideToastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideToastIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* --- RESPONSIVE MEDIA QUERIES --- */

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
  .hero-title { font-size: 42px; }
  .section-title { font-size: 32px; }
  .guide-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .agents-grid { grid-template-columns: repeat(2, 1fr); }
  .safety-grid { grid-template-columns: repeat(2, 1fr); }

  /* Video theatre: stack player on top, playlist below */
  .video-theatre-card {
    grid-template-columns: 1fr;
  }
  .video-playlist-sidebar {
    border-left: none;
    border-top: 1px solid var(--border-light);
  }
  .playlist-items { max-height: 340px; }

  /* Download card: stack content */
  .download-featured-card {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 24px;
  }
  .download-graphic { display: none; }

  /* CTA */
  .cta-card {
    flex-direction: column;
    text-align: center;
    padding: 36px 28px;
  }
  .cta-buttons { justify-content: center; flex-wrap: wrap; }
  .cta-title { font-size: 26px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
  /* Container */
  .container { padding: 0 16px; }

  /* Navbar */
  .nav-links { display: none; }
  .mobile-menu-toggle { display: flex; }
  .navbar-inner { height: 60px; }
  .brand-name { font-size: 17px; }
  #navDownloadBtn { font-size: 12px; padding: 9px 14px; }

  /* Announcement bar */
  .announcement-inner { gap: 6px; font-size: 12px; }
  .announcement-link { display: none; }

  /* Hero */
  .hero-section { padding: 40px 0 60px; }
  .hero-title { font-size: 28px; letter-spacing: -0.5px; line-height: 1.2; }
  .hero-subtitle { font-size: 14px; }
  .hero-cta-group { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-cta-group .btn { width: 100%; justify-content: center; }
  .hero-metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .metric-value { font-size: 22px; }

  /* Section headers */
  .section-title { font-size: 26px; }
  .section-subtitle { font-size: 14px; }
  .section-header { margin-bottom: 32px; }

  /* Sandbox */
  .sandbox-banner {
    flex-direction: column;
    text-align: center;
    padding: 22px 18px;
    gap: 16px;
  }
  .sandbox-title { font-size: 20px; }
  .cursor-stage { height: 180px; }
  .stage-targets { gap: 12px; flex-wrap: wrap; }

  /* Guide */
  .guide-section { padding: 50px 0; }
  .guide-steps-grid { grid-template-columns: 1fr; }
  .guide-callout-box { flex-direction: column; gap: 12px; }

  /* Video section */
  .video-section { padding: 50px 0; }
  .video-meta-bar {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }
  .meta-title { font-size: 16px; }
  .playlist-header { padding: 14px 16px; }
  .playlist-item { padding: 12px 14px; }
  .item-thumb { width: 76px; height: 46px; }
  .playlist-custom-box { padding: 12px 14px; }
  .video-play-btn { width: 60px; height: 60px; }
  .playlist-items { max-height: 260px; }

  /* Agents */
  .agents-section { padding: 50px 0; }
  .agents-grid { grid-template-columns: 1fr; }
  .agent-filters { justify-content: center; }

  /* Safety */
  .safety-section { padding: 50px 0; }
  .safety-grid { grid-template-columns: 1fr; }

  /* Download / Releases */
  .releases-section { padding: 50px 0; }
  .download-featured-card {
    padding: 22px 18px;
    gap: 20px;
    margin-bottom: 36px;
  }
  .download-title { font-size: 20px; }
  .download-actions { flex-direction: column; }
  .download-actions .btn { width: 100%; justify-content: center; }
  .checksum-box { padding: 8px 10px; font-size: 10px; }
  .changelog-timeline { padding-left: 20px; }
  .changelog-heading { margin-left: -20px; font-size: 18px; }
  .timeline-header { flex-direction: column; align-items: flex-start; }
  .timeline-body { padding: 16px; }

  /* FAQ */
  .faq-section { padding: 50px 0; }
  .faq-trigger { font-size: 14px; padding: 16px 18px; }
  .faq-content { padding: 0 18px 18px; }

  /* CTA */
  .cta-banner-section { padding: 40px 0; }
  .cta-card { padding: 28px 20px; gap: 20px; }
  .cta-title { font-size: 22px; }
  .cta-desc { font-size: 14px; }
  .cta-buttons { flex-direction: column; width: 100%; }
  .cta-buttons .btn { width: 100%; justify-content: center; }

  /* Footer */
  .site-footer { padding: 40px 0 24px; }
  .footer-inner { gap: 24px; margin-bottom: 30px; }
  .footer-links-group { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* Toast */
  .toast-container { bottom: 16px; right: 16px; left: 16px; }
  .toast { font-size: 12.5px; }
}

/* ── Small phones (≤480px) ── */
@media (max-width: 480px) {
  /* Typography */
  .hero-title { font-size: 24px; }
  .section-title { font-size: 22px; }

  /* Metrics: 2 cols still fine, just smaller */
  .hero-metrics-grid { gap: 8px; }
  .metric-card { padding: 12px 8px; }
  .metric-value { font-size: 20px; }

  /* Showcase tabs scroll */
  .showcase-tabs-bar { gap: 6px; padding: 8px 12px; }
  .showcase-tab { font-size: 11px; padding: 5px 10px; }

  /* Walkthrough overlay */
  .video-interactive-overlay { padding: 14px; }
  .walkthrough-step-title { font-size: 15px; }
  .walkthrough-step-desc { font-size: 12px; }

  /* Video playlist: thumbnail smaller */
  .item-thumb { width: 64px; height: 40px; }
  .item-title { font-size: 12px; }

  /* Download specs pills wrap nicely */
  .download-specs { gap: 6px; }
  .spec-pill { font-size: 11px; padding: 3px 10px; }

  /* Footer links: 1 col on tiny screens */
  .footer-links-group { grid-template-columns: 1fr; }

  /* Agents filter wraps */
  .agent-filters { display: flex; flex-wrap: wrap; justify-content: center; }
  .filter-btn { font-size: 12px; padding: 7px 14px; }
}

/* Hide Netlify Injected Drawer/Badge completely */
netlify-drawer,
[data-netlify-drawer],
#netlify-drawer,
.netlify-drawer,
[data-nf-variant],
div[class*="netlify-drawer"],
iframe[src*="netlify.com"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
}
