/* ==========================================================================
   VIDZA PLAYER — MODERN CINEMATIC DESIGN SYSTEM
   Strictly Purple & Vivid Red Palette • Light & Dark Mode • Zero Emojis
   ========================================================================== */

:root {
  /* Surface Colors — Dark Obsidian (Default) */
  --bg-dark: #07080D;
  --bg-primary: #0B0E17;
  --bg-secondary: #101422;
  --bg-card: #141929;
  --bg-card-hover: #1B2238;
  --bg-glass: rgba(16, 20, 34, 0.78);
  --bg-glass-elevated: rgba(22, 28, 48, 0.94);

  /* Primary Brand Accents: Purple & Red ONLY (Zero Cyan/Blue) */
  --purple-primary: #8B2FC9;
  --purple-light: #AB47E8;
  --purple-dark: #6A1FA0;
  --purple-glow: rgba(171, 71, 232, 0.35);

  --red-primary: #FF2A55;
  --red-light: #FF4D73;
  --red-dark: #D91B44;
  --red-glow: rgba(255, 42, 85, 0.35);

  --gradient-brand: linear-gradient(135deg, #AB47E8 0%, #FF2A55 100%);
  --gradient-red: linear-gradient(135deg, #FF2A55 0%, #D91B44 100%);
  --gradient-purple: linear-gradient(135deg, #AB47E8 0%, #8B2FC9 100%);

  /* Typography Colors */
  --text-white: #FFFFFF;
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-dark: #0F172A;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-highlight: rgba(171, 71, 232, 0.45);
  --border-red: rgba(255, 42, 85, 0.45);

  /* Shadows */
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 10px 32px rgba(0, 0, 0, 0.65);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.85);

  /* Dimensions */
  --container-max: 1240px;
  --header-height: 74px;
  --bottom-bar-height: 72px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

/* Light Mode Variables (Purple & Red preserved) */
[data-theme="light"] {
  --bg-dark: #F8FAFC;
  --bg-primary: #FFFFFF;
  --bg-secondary: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FAFC;
  --bg-glass: rgba(255, 255, 255, 0.86);
  --bg-glass-elevated: rgba(255, 255, 255, 0.98);

  --text-white: #0F172A;
  --text-primary: #1E293B;
  --text-secondary: #475569;
  --text-muted: #94A3B8;

  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-medium: rgba(15, 23, 42, 0.16);
  --border-highlight: rgba(139, 47, 201, 0.35);
  --border-red: rgba(255, 42, 85, 0.35);

  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 22px 50px rgba(0, 0, 0, 0.12);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent !important;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  -khtml-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  touch-action: pan-y;
  -ms-touch-action: pan-y;
}

html {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  -khtml-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  touch-action: pan-y;
}

.main-content {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
}

button, a, .btn, .stair-link, .platform-chip, .device-tab-btn, .showcase-tab-btn, .faq-question, .store-btn, .theme-toggle-btn {
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  user-select: none !important;
  touch-action: manipulation !important;
  outline: none !important;
}

/* Allow text entry & selection inside form inputs and textareas */
input, textarea, select {
  -webkit-touch-callout: default !important;
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

/* Prevent image dragging and mobile long-press image callouts */
img, svg, video {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
  pointer-events: auto;
}

/* Material Symbols Global Styling (Zero Emojis Guaranteed) */
.material-symbols-rounded {
  font-family: 'Material Symbols Rounded' !important;
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  user-select: none;
  vertical-align: middle;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  color: var(--text-white);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Ambient Background Lights (Purple & Red Blobs) */
.ambient-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-blob-purple {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(171, 71, 232, 0.22) 0%, rgba(171, 71, 232, 0) 70%);
  filter: blur(85px);
}

.ambient-blob-red {
  position: absolute;
  top: 35%;
  left: -8%;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(255, 42, 85, 0.16) 0%, rgba(255, 42, 85, 0) 70%);
  filter: blur(90px);
}

.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 1;
}

[data-theme="light"] .grid-overlay {
  background-image: linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

/* ==========================================================================
   MINIMALIST HEADER (Theme Toggle + Stair Menu ONLY, No Download Button)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: var(--bg-glass-elevated);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border-medium);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.brand-svg-logo {
  height: 32px;
  width: auto;
  transition: opacity 0.25s ease;
}

.brand-svg-logo .logo-vidza {
  fill: url(#vidzaGrad);
  transition: fill 0.3s ease;
}

.brand-svg-logo .logo-player {
  fill: url(#playerGrad);
  transition: fill 0.3s ease;
}

[data-theme="light"] .brand-svg-logo .logo-vidza {
  fill: #0F172A !important;
}

[data-theme="light"] .brand-svg-logo .logo-player {
  fill: #8B2FC9 !important;
}

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

/* Theme Toggle Button */
.theme-toggle-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-medium);
  transition: all 0.25s ease;
}

[data-theme="light"] .theme-toggle-btn {
  background: rgba(15, 23, 42, 0.05);
  color: var(--text-dark);
}

.theme-toggle-btn:hover {
  transform: translateY(-2px);
  border-color: var(--red-primary);
  box-shadow: 0 0 18px var(--red-glow);
}

/* 3-Step Stair Menu Button */
.stair-menu-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-medium);
  color: var(--text-white);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .stair-menu-btn {
  background: rgba(15, 23, 42, 0.05);
  color: var(--text-dark);
}

.stair-menu-btn:hover {
  transform: translateY(-2px);
  border-color: var(--purple-light);
  box-shadow: 0 0 20px var(--purple-glow);
}

.stair-icon-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 4px;
  width: 22px;
  height: 18px;
}

.stair-bar {
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.stair-bar.step-1 { width: 22px; }
.stair-bar.step-2 { width: 16px; }
.stair-bar.step-3 { width: 10px; }

.stair-menu-btn:hover .stair-bar.step-1 { width: 18px; }
.stair-menu-btn:hover .stair-bar.step-2 { width: 22px; }
.stair-menu-btn:hover .stair-bar.step-3 { width: 14px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #FFFFFF !important;
  box-shadow: 0 6px 24px var(--purple-glow);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px var(--red-glow), 0 0 20px var(--purple-glow);
  border-color: rgba(255, 255, 255, 0.4);
}

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

[data-theme="light"] .btn-secondary {
  background: rgba(15, 23, 42, 0.05);
  color: var(--text-dark);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  border-color: var(--purple-light);
  transform: translateY(-2px);
}

.btn-red {
  background: var(--gradient-red);
  color: #FFFFFF !important;
  font-weight: 700;
  box-shadow: 0 4px 20px var(--red-glow);
}

.btn-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 42, 85, 0.6);
}

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

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* ==========================================================================
   STAIR MENU DRAWER
   ========================================================================== */
.stair-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.stair-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.stair-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 360px;
  max-width: 88vw;
  height: 100dvh;
  max-height: 100dvh;
  background: rgba(11, 14, 23, 0.96);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(171, 71, 232, 0.08);
  padding: 18px 16px max(16px, env(safe-area-inset-bottom, 16px)) 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-x: hidden !important;
  overflow-y: hidden !important;
  box-sizing: border-box;
}

.stair-drawer-overlay.active .stair-drawer-panel {
  transform: translateX(0);
}

.stair-drawer-scroll-wrap {
  overflow-y: auto;
  overflow-x: hidden !important;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-right: 0;
  width: 100%;
  box-sizing: border-box;
}

.stair-drawer-scroll-wrap::-webkit-scrollbar {
  display: none;
}

.stair-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
  width: 100%;
  box-sizing: border-box;
}

.drawer-brand-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-app-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.drawer-title-box {
  display: flex;
  flex-direction: column;
}

.drawer-brand-name {
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  color: var(--text-white);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.drawer-brand-tag {
  font-size: 0.72rem;
  color: var(--purple-light);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.drawer-close-btn {
  position: static !important;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.drawer-close-btn:hover {
  background: rgba(255, 42, 85, 0.15);
  border-color: var(--red-primary);
  color: var(--red-primary);
  transform: rotate(90deg);
}

.drawer-quick-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  width: 100%;
  box-sizing: border-box;
}

.drawer-pill {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 6px 3px;
  border-radius: 8px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.drawer-pill .material-symbols-rounded {
  font-size: 14px;
  color: var(--purple-light);
}

.drawer-section-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 6px;
  padding-left: 4px;
}

.stair-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 !important;
  margin: 0 !important;
  width: 100%;
  box-sizing: border-box;
}

.stair-item {
  width: 100%;
  box-sizing: border-box;
}

.stair-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
}

.stair-link:hover {
  background: rgba(139, 47, 201, 0.1);
  border-color: rgba(171, 71, 232, 0.4);
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(139, 47, 201, 0.15);
}

.stair-link-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stair-link-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.stair-link:hover .stair-link-icon {
  transform: scale(1.08);
}

.stair-link-icon.purple {
  background: rgba(171, 71, 232, 0.12);
  color: var(--purple-light);
  border: 1px solid rgba(171, 71, 232, 0.2);
}

.stair-link-icon.red {
  background: rgba(255, 42, 85, 0.12);
  color: var(--red-primary);
  border: 1px solid rgba(255, 42, 85, 0.2);
}

.stair-link-title {
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--text-white);
  line-height: 1.2;
}

.stair-link-desc {
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.15;
  margin-top: 1px;
}

.stair-step-tag {
  font-size: 0.65rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: var(--text-muted);
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.drawer-resource-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 6px 4px;
}

.drawer-sublink {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.drawer-sublink:hover {
  color: var(--purple-light);
}

.drawer-sep {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.15);
}

.stair-drawer-footer {
  padding-top: 10px;
  margin-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 100%;
  box-sizing: border-box;
}

.drawer-theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px;
}

.drawer-theme-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.drawer-theme-btn {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.drawer-theme-btn:hover {
  background: rgba(171, 71, 232, 0.15);
  border-color: var(--purple-light);
  color: var(--purple-light);
}

.drawer-cta-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  box-sizing: border-box;
  text-decoration: none;
}

.drawer-cta-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.drawer-cta-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.15;
}

.drawer-cta-sub {
  font-size: 0.67rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.1;
}

.drawer-footer-note {
  text-align: center;
  font-size: 0.65rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

/* ==========================================================================
   MAIN CONTENT & SECTIONS
   ========================================================================== */
.main-content {
  position: relative;
  z-index: 2;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-tag-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(171, 71, 232, 0.1);
  border: 1px solid rgba(171, 71, 232, 0.25);
  color: var(--purple-light);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-tag-wrap.red {
  background: rgba(255, 42, 85, 0.1);
  border-color: rgba(255, 42, 85, 0.3);
  color: var(--red-primary);
}

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

.section-title {
  font-size: 2.75rem;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

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

/* Hero Section */
.hero-section {
  padding-top: calc(var(--header-height) + 56px);
  padding-bottom: 40px;
  text-align: center;
  position: relative;
  z-index: 20;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple-light);
  box-shadow: 0 0 20px rgba(171, 71, 232, 0.2);
  margin-bottom: 24px;
}

.hero-pill-badge .badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--red-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--red-primary);
}

.hero-headline {
  font-size: clamp(2.3rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  line-height: 1.15;
  word-wrap: break-word;
}

.gradient-text-purple {
  background: linear-gradient(135deg, var(--text-white) 30%, #D8B4FE 70%, var(--purple-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-red {
  background: linear-gradient(135deg, var(--text-white) 20%, #FFA8BA 60%, var(--red-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

/* Platform availability pill chips in Hero */
.hero-devices-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.platform-chip.active {
  border-color: rgba(255, 42, 85, 0.4);
  background: rgba(255, 42, 85, 0.08);
  color: var(--red-primary);
}

.platform-chip.coming-soon {
  opacity: 0.7;
  border-style: dashed;
}

.platform-chip .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-primary);
  box-shadow: 0 0 6px var(--red-primary);
}

.platform-chip.coming-soon .status-dot {
  background: var(--text-muted);
  box-shadow: none;
}

/* Interactive Device Switcher in Hero */
.device-toggle-container {
  display: inline-flex;
  background: var(--bg-card);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 26;
  pointer-events: auto;
}

.device-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  position: relative;
  z-index: 27;
  pointer-events: auto;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.device-tab-btn:hover {
  color: var(--text-white);
}

.device-tab-btn.active {
  background: var(--gradient-brand);
  color: #FFFFFF !important;
  box-shadow: 0 4px 18px var(--purple-glow);
}

.hero-device-toggle-wrap {
  position: relative;
  z-index: 30;
}

/* Device Mockup Displays (Clean, No Black Background, Soft Silhouette Shadow) */
.hero-stage {
  position: relative;
  max-width: 1060px;
  margin: -36px auto 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 22;
}

.hero-devices-showcase {
  --hero-zoom: 1;
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
  padding: 0;
  margin-top: -15px;
  margin-bottom: -50px;
  perspective: 1200px;
  cursor: grab;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  z-index: 25;
}

.hero-devices-showcase:active {
  cursor: grabbing;
}

/* Scalable Device Canvas — Keeps TV & Phone in Flawless Mathematical Overlap */
.hero-devices-canvas {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(var(--hero-zoom, 1));
  transform-origin: center center;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  z-index: 26;
}

/* TV Device Wrap */
.hero-tv-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform-origin: center center;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  will-change: transform, opacity;
}

.hero-tv-wrap .tv-screen-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  display: block;
  background: transparent;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 35px rgba(171, 71, 232, 0.22));
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* Phone Device Wrap */
.hero-phone-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform-origin: center center;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  will-change: transform, opacity;
}

.hero-phone-wrap .phone-screen-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  display: block;
  background: transparent;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.88)) drop-shadow(0 0 30px rgba(255, 42, 85, 0.25));
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* Hover effects when overlapping */
.hero-devices-showcase.view-both .hero-tv-wrap:hover {
  filter: brightness(1.06);
}

.hero-devices-showcase.view-both .hero-tv-wrap:hover .tv-screen-img {
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.88)) drop-shadow(0 0 42px rgba(171, 71, 232, 0.35));
}

.hero-devices-showcase.view-both .hero-phone-wrap:hover {
  filter: brightness(1.08);
}

.hero-devices-showcase.view-both .hero-phone-wrap:hover .phone-screen-img {
  filter: drop-shadow(0 28px 55px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 38px rgba(255, 42, 85, 0.42));
}

/* View Modes for Hero Stage */

/* 1. All Screens (Flawless Overlapping Composition — TV centered widescreen backdrop, Phone resting at bottom-right) */
.hero-devices-showcase.view-both .hero-tv-wrap {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
  transform: translate(-56%, -50%);
}

.hero-devices-showcase.view-both .hero-phone-wrap {
  opacity: 1;
  pointer-events: auto;
  z-index: 5;
  transform: translate(66%, -24%);
}

/* 2. TV Edition (Smoothly Centers TV in the Middle Area) */
.hero-devices-showcase.view-tv .hero-tv-wrap {
  opacity: 1;
  pointer-events: auto;
  z-index: 6;
  transform: translate(-50%, -50%) scale(1.08);
}

.hero-devices-showcase.view-tv .hero-phone-wrap {
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transform: translate(125%, -24%) scale(0.7);
}

/* 3. Smartphone Edition (Smoothly Centers Phone in the Middle Area) */
.hero-devices-showcase.view-phone .hero-tv-wrap {
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transform: translate(-98%, -50%) scale(0.72);
}

.hero-devices-showcase.view-phone .hero-phone-wrap {
  opacity: 1;
  pointer-events: auto;
  z-index: 6;
  transform: translate(-50%, -50%) scale(1.22);
}

/* Interactive Hero Toggle Wrap */
.hero-device-toggle-wrap {
  position: relative;
  z-index: 25;
  display: flex;
  justify-content: center;
  margin-bottom: 42px;
}

/* Device Section Preview Images */
.device-card-preview-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0 20px 0;
  padding: 8px 0;
  background: transparent;
}

.device-card-clean-img {
  width: auto;
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.72)) drop-shadow(0 0 22px rgba(171, 71, 232, 0.2));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.device-card-clean-img:hover {
  transform: translateY(-3px) scale(1.02);
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 28px rgba(171, 71, 232, 0.3));
}

.device-mockup-wrap {
  display: none;
  position: relative;
  margin: 0 auto;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.device-mockup-wrap.active {
  display: block;
  opacity: 1;
}

/* Android TV Display (Clean, No Black Background, Soft Silhouette Shadow) */
.tv-frame-outer {
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
  position: relative;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tv-screen-bezel {
  border-radius: 0;
  overflow: visible;
  background: transparent;
  aspect-ratio: auto;
  position: relative;
}

.tv-screen-img {
  width: 100%;
  max-width: 760px;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  display: block;
  background: transparent;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 35px rgba(171, 71, 232, 0.22));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.tv-stand {
  display: none !important;
}

/* Floating TV Feature Badges */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-glass-elevated);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  z-index: 10;
  text-align: left;
  pointer-events: none;
  user-select: none;
}

.badge-tv-left {
  top: 15%;
  left: -40px;
  border-color: rgba(255, 42, 85, 0.4);
}

.badge-tv-right {
  bottom: 20%;
  right: -40px;
  border-color: rgba(171, 71, 232, 0.4);
}

.badge-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
}

.badge-icon-box.red {
  color: var(--red-primary);
  background: rgba(255, 42, 85, 0.12);
}

.badge-icon-box.purple {
  color: var(--purple-light);
  background: rgba(171, 71, 232, 0.12);
}

.badge-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-white);
  line-height: 1.2;
}

.badge-subtitle {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Smartphone Mockup Display (Clean, No Black Background, Soft Silhouette Shadow) */
.phone-mockup-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.phone-frame {
  width: auto;
  max-width: 330px;
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
  position: relative;
}

.phone-screen {
  border-radius: 0;
  overflow: visible;
  background: transparent;
  aspect-ratio: auto;
  position: relative;
}

.phone-screen-img {
  width: 100%;
  height: auto;
  max-height: 580px;
  object-fit: contain;
  display: block;
  background: transparent;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 35px rgba(171, 71, 232, 0.22));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.phone-notch {
  display: none !important;
}

/* Key Metrics Strip */
.stats-banner {
  padding: 90px 0 44px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 16px;
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  color: var(--text-white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Feature Cards Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md), 0 0 30px rgba(171, 71, 232, 0.15);
}

.feature-card:hover::before {
  background: var(--gradient-purple);
}

.feature-card.highlight {
  border-color: rgba(255, 42, 85, 0.35);
}

.feature-card.highlight:hover {
  border-color: var(--red-primary);
  box-shadow: var(--shadow-md), 0 0 30px rgba(255, 42, 85, 0.25);
}

.feature-card.highlight:hover::before {
  background: var(--gradient-red);
}

.feature-card-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-light);
  background: rgba(171, 71, 232, 0.1);
  border: 1px solid rgba(171, 71, 232, 0.28);
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.feature-card.highlight .feature-card-badge {
  color: var(--red-primary);
  background: rgba(255, 42, 85, 0.1);
  border-color: rgba(255, 42, 85, 0.28);
}

/* Feature Category Filter Pills */
.feature-filters-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  justify-content: center;
}

.feature-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: rgba(20, 25, 41, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.feature-filter-btn .material-symbols-rounded {
  font-size: 16px;
  color: var(--purple-light);
}

.feature-filter-btn:hover {
  color: var(--text-white);
  border-color: var(--border-highlight);
  background: rgba(171, 71, 232, 0.08);
}

.feature-filter-btn.active {
  background: var(--gradient-brand);
  color: #FFF;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px rgba(171, 71, 232, 0.35);
}

.feature-filter-btn.active .material-symbols-rounded {
  color: #FFF;
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(171, 71, 232, 0.12);
  border: 1px solid rgba(171, 71, 232, 0.25);
  color: var(--purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-card.highlight .feature-icon-wrap {
  background: rgba(255, 42, 85, 0.12);
  border-color: rgba(255, 42, 85, 0.3);
  color: var(--red-primary);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-white);
  line-height: 1.3;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* Interactive Screenshot Showcase Section */
.showcase-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.showcase-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(20, 25, 41, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.showcase-tab-btn .material-symbols-rounded {
  font-size: 19px;
  color: var(--purple-light);
  transition: transform 0.2s ease, color 0.2s ease;
}

.showcase-tab-btn:hover {
  color: var(--text-white);
  border-color: var(--border-medium);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.showcase-tab-btn:hover .material-symbols-rounded {
  color: var(--red-light);
}

.showcase-tab-btn.active {
  background: var(--gradient-brand) !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 4px 20px var(--purple-glow) !important;
}

.showcase-tab-btn.active .material-symbols-rounded {
  color: #FFFFFF !important;
}

.showcase-display-area {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, rgba(20, 25, 41, 0.85) 0%, rgba(13, 16, 28, 0.95) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.showcase-display-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-brand);
  opacity: 0.8;
  pointer-events: none;
}

.showcase-text-col {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.showcase-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 14px;
  line-height: 1.25;
}

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

.showcase-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.showcase-features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.5;
}

.showcase-features-list li .material-symbols-rounded {
  color: var(--red-light);
  font-size: 20px;
  flex-shrink: 0;
}

.showcase-actions-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.showcase-counter-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

.showcase-counter-wrap #showcaseCurrentIndex {
  color: var(--purple-light);
  font-weight: 700;
}

/* Media Column & Device Bezel */
.showcase-media-col {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.showcase-bezel-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: max-width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-bezel-wrapper.is-tv {
  max-width: 760px;
}

.showcase-preview-frame {
  width: 100%;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  border: none;
  cursor: pointer;
  position: relative;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-user-select: none;
  padding: 12px 0;
}

.showcase-preview-frame:hover {
  transform: translateY(-4px) scale(1.015);
}

.showcase-preview-frame:hover .showcase-screen-img {
  filter: drop-shadow(0 26px 55px rgba(0, 0, 0, 0.88)) drop-shadow(0 0 40px rgba(171, 71, 232, 0.35));
}

.showcase-frame-header {
  display: none !important;
}

.showcase-screen-dot {
  display: none !important;
}

.showcase-zoom-pill {
  display: none !important;
}

.showcase-screen-img {
  width: auto;
  max-width: 100%;
  max-height: 560px;
  display: block;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 30px rgba(171, 71, 232, 0.22));
  transition: opacity 0.28s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.showcase-screen-img.fade-out {
  opacity: 0.15;
  transform: scale(0.975);
}

/* Nav Chevrons */
.showcase-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 20, 34, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-medium);
  color: #FFFFFF;
  cursor: pointer;
  z-index: 4;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.showcase-nav-arrow:hover {
  background: var(--gradient-brand);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px var(--purple-glow);
}

.showcase-nav-arrow.prev {
  left: -20px;
}

.showcase-nav-arrow.next {
  right: -20px;
}

/* Dot Pagination Indicator */
.showcase-dots-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.showcase-dots-indicator .dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-dots-indicator .dot:hover {
  background: rgba(255, 255, 255, 0.45);
}

.showcase-dots-indicator .dot.active {
  width: 24px;
  background: var(--gradient-brand);
  box-shadow: 0 0 10px var(--purple-glow);
}

/* Light Theme Overrides for Showcase */
[data-theme="light"] .showcase-tab-btn {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.1);
  color: #475569;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .showcase-tab-btn:hover {
  color: #0F172A;
  background: rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .showcase-tab-btn.active {
  background: var(--gradient-brand) !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

[data-theme="light"] .showcase-display-area {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .showcase-title {
  color: var(--text-dark);
}

[data-theme="light"] .showcase-desc {
  color: var(--text-secondary);
}

[data-theme="light"] .showcase-preview-frame {
  box-shadow: none;
  border: none;
  background: transparent;
}

[data-theme="light"] .showcase-nav-arrow {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.12);
  color: #0F172A;
}

[data-theme="light"] .showcase-dots-indicator .dot {
  background: rgba(15, 23, 42, 0.15);
}

[data-theme="light"] .showcase-dots-indicator .dot.active {
  background: var(--gradient-brand);
}

/* Device Ecosystem & Roadmap Section */
.devices-mobile-nav {
  display: none;
}

.devices-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.device-category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
}

.device-category-card.ready {
  border-color: rgba(255, 42, 85, 0.4);
  box-shadow: 0 0 30px rgba(255, 42, 85, 0.1);
}

.device-category-card.upcoming {
  border-style: dashed;
  border-color: var(--border-medium);
}

.device-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.device-status-badge.live {
  background: rgba(255, 42, 85, 0.1);
  color: var(--red-primary);
  border: 1px solid rgba(255, 42, 85, 0.3);
}

.device-status-badge.soon {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.device-list-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}

.device-item-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}

[data-theme="light"] .device-item-row {
  background: rgba(15, 23, 42, 0.02);
}

.device-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  flex-shrink: 0;
}

.device-category-card.ready .device-item-icon {
  color: var(--red-primary);
  background: rgba(255, 42, 85, 0.1);
}

.device-item-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-white);
  margin-bottom: 4px;
}

.device-item-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   ENHANCED CINEMATIC FAQ SECTION & ACCORDION
   ========================================================================== */
.faq-section {
  position: relative;
}

/* Category Filter Tabs Track */
.faq-filters-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 34px;
  width: 100%;
}

.faq-filters-track {
  display: inline-flex;
  align-items: center;
  background: rgba(16, 20, 34, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  gap: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.faq-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.faq-filter-btn .material-symbols-rounded {
  font-size: 18px;
  transition: transform 0.2s ease;
}

.faq-filter-btn .filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.faq-filter-btn:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
}

.faq-filter-btn.active {
  background: var(--gradient-brand);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px var(--purple-glow);
}

.faq-filter-btn.active .filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

/* FAQ Grid Container */
.faq-grid {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Individual FAQ Card */
.faq-item {
  background: linear-gradient(180deg, rgba(20, 25, 41, 0.82) 0%, rgba(13, 16, 28, 0.94) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.faq-item:hover {
  border-color: var(--border-highlight);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45), 0 0 22px rgba(171, 71, 232, 0.12);
}

.faq-item.active {
  border-color: var(--purple-light);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55), 0 0 32px rgba(171, 71, 232, 0.18);
  background: linear-gradient(180deg, rgba(28, 22, 50, 0.9) 0%, rgba(14, 17, 30, 0.98) 100%);
}

.faq-item.active::before {
  opacity: 1;
}

/* FAQ Question Button */
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  gap: 16px;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.faq-question-main {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

/* Topic Icon Box */
.faq-topic-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(171, 71, 232, 0.1);
  border: 1px solid rgba(171, 71, 232, 0.25);
  color: var(--purple-light);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 0 12px rgba(171, 71, 232, 0.08);
}

.faq-topic-icon .material-symbols-rounded {
  font-size: 22px;
  transition: transform 0.3s ease;
}

.faq-item:hover .faq-topic-icon {
  border-color: var(--purple-light);
  color: #FFFFFF;
  background: rgba(171, 71, 232, 0.22);
}

.faq-item.active .faq-topic-icon {
  background: var(--gradient-brand);
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  box-shadow: 0 4px 16px var(--purple-glow);
  transform: scale(1.04);
}

/* Question Content Text */
.faq-question-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.faq-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple-light);
}

.faq-item.active .faq-meta-badge {
  color: var(--red-light);
}

.faq-question-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.45;
  transition: color 0.2s ease;
}

.faq-item:hover .faq-question-title {
  color: #FFFFFF;
}

/* Toggle Expand Indicator Button */
.faq-toggle-btn {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.faq-toggle-btn .material-symbols-rounded {
  font-size: 22px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.faq-item:hover .faq-toggle-btn {
  border-color: var(--border-medium);
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.08);
}

.faq-item.active .faq-toggle-btn {
  background: var(--gradient-brand);
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  box-shadow: 0 4px 14px var(--purple-glow);
}

.faq-item.active .faq-toggle-btn .material-symbols-rounded {
  transform: rotate(180deg);
}

/* FAQ Answer Area */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  opacity: 1;
}

.faq-answer-inner {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 18px 0 24px 60px;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.75;
}

.faq-answer-inner strong {
  color: var(--text-white);
  font-weight: 600;
}

.faq-answer-inner em {
  color: var(--purple-light);
  font-style: normal;
  font-weight: 500;
}

.faq-answer-inner code {
  background: rgba(171, 71, 232, 0.12);
  border: 1px solid rgba(171, 71, 232, 0.25);
  color: var(--purple-light);
  padding: 2px 7px;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85em;
}

/* Answer Highlight Chips / Feature Tags */
.faq-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.faq-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.faq-chip .material-symbols-rounded {
  font-size: 14px;
  color: var(--purple-light);
}

.faq-chip.chip-accent {
  background: rgba(171, 71, 232, 0.12);
  border-color: rgba(171, 71, 232, 0.3);
  color: #FFFFFF;
}

.faq-chip.chip-accent .material-symbols-rounded {
  color: var(--red-light);
}

/* Bottom FAQ Support Card */
.faq-support-banner {
  max-width: 880px;
  margin: 36px auto 0 auto;
  background: linear-gradient(135deg, rgba(28, 22, 50, 0.7) 0%, rgba(16, 20, 34, 0.88) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.faq-support-glow {
  position: absolute;
  top: -50%;
  left: -20%;
  width: 320px;
  height: 220px;
  background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
  opacity: 0.45;
  pointer-events: none;
}

.faq-support-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.faq-support-icon-wrap {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-brand);
  color: #FFFFFF;
  box-shadow: 0 6px 20px var(--purple-glow);
}

.faq-support-icon-wrap .material-symbols-rounded {
  font-size: 28px;
}

.faq-support-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 5px;
}

.faq-support-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.faq-support-action {
  flex-shrink: 0;
}

.faq-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

/* Light Theme Overrides for FAQ */
[data-theme="light"] .faq-filters-track {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .faq-filter-btn {
  color: #475569;
}

[data-theme="light"] .faq-filter-btn:hover {
  color: #0F172A;
  background: rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .faq-filter-btn.active {
  background: var(--gradient-brand) !important;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 4px 16px var(--purple-glow) !important;
}

[data-theme="light"] .faq-filter-btn.active .material-symbols-rounded,
[data-theme="light"] .faq-filter-btn.active .filter-count {
  color: #FFFFFF !important;
}

[data-theme="light"] .faq-filter-btn.active .filter-count {
  background: rgba(255, 255, 255, 0.28) !important;
}

[data-theme="light"] .faq-item {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .faq-item:hover {
  border-color: var(--purple-primary);
  box-shadow: 0 8px 26px rgba(139, 47, 201, 0.12);
}

[data-theme="light"] .faq-item.active {
  background: #FFFFFF;
  border-color: var(--purple-primary);
  box-shadow: 0 10px 30px rgba(139, 47, 201, 0.16);
}

[data-theme="light"] .faq-question-title {
  color: var(--text-dark);
}

[data-theme="light"] .faq-topic-icon {
  background: rgba(139, 47, 201, 0.08);
  border-color: rgba(139, 47, 201, 0.2);
  color: var(--purple-primary);
}

[data-theme="light"] .faq-toggle-btn {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.08);
  color: var(--text-secondary);
}

[data-theme="light"] .faq-answer-inner {
  border-top-color: rgba(15, 23, 42, 0.06);
  color: var(--text-secondary);
}

[data-theme="light"] .faq-answer-inner strong {
  color: var(--text-dark);
}

[data-theme="light"] .faq-answer-inner code {
  background: rgba(139, 47, 201, 0.08);
  border-color: rgba(139, 47, 201, 0.2);
  color: var(--purple-primary);
}

[data-theme="light"] .faq-chip {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.08);
  color: var(--text-secondary);
}

[data-theme="light"] .faq-chip.chip-accent {
  background: rgba(139, 47, 201, 0.08);
  border-color: rgba(139, 47, 201, 0.25);
  color: var(--purple-primary);
}

[data-theme="light"] .faq-support-banner {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .faq-support-title {
  color: var(--text-dark);
}

/* ==========================================================================
   INSTALL CTA SECTION (Various Stores Support)
   ========================================================================== */
.install-cta-section {
  padding: 50px 0 60px 0;
}

.install-cta-card {
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(171, 71, 232, 0.2);
  position: relative;
  overflow: hidden;
}

.cta-app-icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  margin: 0 auto 28px auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px var(--purple-glow);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.store-buttons-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 36px 0;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-medium);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-white);
  min-width: 220px;
}

[data-theme="light"] .store-btn {
  background: rgba(15, 23, 42, 0.04);
}

.store-btn:hover {
  transform: translateY(-3px);
  border-color: var(--red-primary);
  box-shadow: 0 8px 24px var(--red-glow);
}

.store-btn.primary-store {
  background: var(--gradient-brand);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 20px var(--purple-glow);
}

.store-btn.primary-store:hover {
  box-shadow: 0 10px 30px var(--red-glow);
}

.store-btn.store-disabled {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: auto;
}

.store-btn.store-disabled:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border-medium);
}

.store-btn.primary-store.store-disabled {
  opacity: 0.85;
}

.store-btn.primary-store.store-disabled:hover {
  transform: none;
  box-shadow: 0 6px 20px var(--purple-glow);
}

.store-status-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.store-btn.primary-store .store-status-tag {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.35);
}

.store-btn-svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-btn-text {
  text-align: left;
}

.store-btn-label {
  font-size: 0.75rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.store-btn-name {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.install-info-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--text-muted);
  font-size: 0.88rem;
  flex-wrap: wrap;
}

.install-info-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   STICKY FLOATING BOTTOM APP INSTALL BAR (Redesigned & Polished)
   ========================================================================== */
.sticky-bottom-bar {
  display: none !important;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 900px;
  background: var(--bg-glass-elevated);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 42, 85, 0.35);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(255, 42, 85, 0.25);
  border-radius: var(--radius-full);
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 999;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bottom-bar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bottom-bar-thumb {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.bottom-bar-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-white);
  line-height: 1.2;
}

.bottom-bar-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.bottom-bar-pill {
  background: rgba(255, 42, 85, 0.12);
  border: 1px solid rgba(255, 42, 85, 0.35);
  color: var(--red-primary);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
}

.bottom-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bottom-bar-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

.bottom-bar-close:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   ABOUT US SECTION (#about)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.about-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 25px var(--purple-glow);
}

.about-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(171, 71, 232, 0.12);
  border: 1px solid rgba(171, 71, 232, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-light);
  margin-bottom: 20px;
}

.about-card.card-red .about-card-icon {
  background: rgba(255, 42, 85, 0.12);
  border-color: rgba(255, 42, 85, 0.3);
  color: var(--red-primary);
}

.about-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

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

.about-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  margin-top: 36px;
  text-align: center;
}

.about-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 6px;
}

.about-stat-lbl {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ==========================================================================
   CONTACT US SECTION (#contact)
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 36px;
  margin-top: 48px;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-channel-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 28px 0;
}

.contact-channel-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-channel-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 42, 85, 0.12);
  border: 1px solid rgba(255, 42, 85, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-primary);
  flex-shrink: 0;
}

.contact-channel-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-channel-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  margin-top: 2px;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-white);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  outline: none;
}

[data-theme="light"] .form-input, 
[data-theme="light"] .form-textarea, 
[data-theme="light"] .form-select {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.16);
  color: #0F172A;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--purple-light);
  box-shadow: 0 0 0 3px rgba(171, 71, 232, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .form-input:focus, 
[data-theme="light"] .form-textarea:focus, 
[data-theme="light"] .form-select:focus {
  background: #FFFFFF;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ==========================================================================
   STANDALONE FULL-PAGE LEGAL DOCUMENTS (No Header, No Footer)
   ========================================================================== */
.standalone-legal-body {
  min-height: 100vh;
  background-color: var(--bg-dark);
}

.standalone-legal-page {
  min-height: 100vh;
  padding: 32px 0 80px 0;
  position: relative;
  z-index: 2;
}

.legal-doc-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-doc-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.legal-doc-brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.legal-doc-brand:hover img {
  transform: scale(1.06);
  box-shadow: 0 4px 16px rgba(171, 71, 232, 0.45);
}

.legal-doc-brand span {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.01em;
}

.legal-doc-footer-stamp {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.legal-page-body {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 100px;
}

.legal-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}

.legal-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.legal-breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-breadcrumb a:hover {
  color: var(--red-primary);
}

.doc-header {
  margin: 32px 0 28px 0;
  text-align: left;
}

.doc-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.doc-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.meta-dot {
  color: var(--border-medium);
}

/* In-Card Self-Contained Document Header & Footer (Inside Border Line) */
.in-card-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.in-card-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}

.plain-back-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--purple-light);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.plain-back-link:hover {
  color: var(--red-primary);
  transform: translateX(-2px);
}

.in-card-pretitle {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.in-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.65rem, 3.2vw, 2.1rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

.in-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.in-card-footer {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.legal-hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  padding: 40px 44px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-md), 0 0 40px rgba(171, 71, 232, 0.15);
  position: relative;
  overflow: hidden;
}

.legal-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.legal-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.legal-pill-purple {
  background: rgba(171, 71, 232, 0.15);
  border: 1px solid rgba(171, 71, 232, 0.4);
  color: var(--purple-light);
}

.legal-pill-red {
  background: rgba(255, 42, 85, 0.15);
  border: 1px solid rgba(255, 42, 85, 0.4);
  color: var(--red-primary);
}

.legal-hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 14px;
}

.legal-meta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.legal-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Legal Documents Switcher Tab Bar */
.legal-nav-tabs {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.legal-nav-tabs::-webkit-scrollbar {
  display: none;
}

.legal-tab-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.legal-tab-link:hover {
  border-color: var(--purple-light);
  color: var(--text-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(171, 71, 232, 0.2);
}

.legal-tab-link.active {
  background: var(--gradient-brand);
  color: #FFFFFF !important;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(171, 71, 232, 0.45);
}

.legal-doc-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px 38px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.legal-doc-content h2 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.35;
}

.legal-doc-content h2:first-of-type {
  margin-top: 0;
}

.legal-doc-content h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-top: 18px;
  margin-bottom: 8px;
  color: var(--text-white);
  line-height: 1.35;
}

.legal-doc-content p {
  color: var(--text-secondary);
  font-size: 0.91rem;
  line-height: 1.68;
  margin-bottom: 12px;
  text-align: left;
}

.legal-doc-content ul, .legal-doc-content ol {
  color: var(--text-secondary);
  font-size: 0.91rem;
  line-height: 1.68;
  margin-left: 20px;
  margin-bottom: 14px;
}

.legal-doc-content li {
  margin-bottom: 6px;
}

.legal-doc-content code {
  background: rgba(255, 42, 85, 0.08);
  color: var(--red-primary);
  padding: 1.5px 5px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85em;
}

.legal-callout {
  background: rgba(171, 71, 232, 0.06);
  border-left: 3px solid var(--purple-light);
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  margin: 18px 0;
  font-size: 0.88rem;
  line-height: 1.6;
}

.legal-callout.callout-red {
  background: rgba(255, 42, 85, 0.06);
  border-left-color: var(--red-primary);
}

.legal-callout-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-white);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-callout p {
  font-size: 0.88rem !important;
  line-height: 1.6 !important;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 18px 0;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.legal-table th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-white);
  padding: 10px 14px;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border-subtle);
}

[data-theme="light"] .legal-table th {
  background: rgba(15, 23, 42, 0.05);
  color: #0F172A;
}

.legal-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.55;
}

.legal-table tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   CLEAN BOTTOM-ONLY FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  padding: 36px 0 115px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.footer-brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.footer-brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.01em;
}

.footer-brand-badge {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(171, 71, 232, 0.12);
  border: 1px solid rgba(171, 71, 232, 0.3);
  color: var(--purple-light);
  font-weight: 600;
}

.footer-copyright-note {
  width: 100%;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 8px;
}

.footer-pkg {
  color: var(--red-primary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-bottom-link {
  font-size: 0.86rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 4px 6px;
  border-radius: 4px;
}

.footer-bottom-link:hover,
.footer-bottom-link.active-link {
  color: var(--red-primary);
  background: rgba(255, 42, 85, 0.08);
}

.footer-sep {
  color: var(--border-medium);
  font-size: 0.75rem;
  user-select: none;
}

/* Legal Document Reader Modal */
.legal-modal-content {
  max-height: 75vh;
  overflow-y: auto;
  padding-right: 12px;
  line-height: 1.7;
}

.legal-modal-content h4 {
  font-size: 1.25rem;
  margin-top: 20px;
  margin-bottom: 8px;
  color: var(--text-white);
}

.legal-modal-content p, .legal-modal-content ul {
  font-size: 0.94rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.legal-modal-content ul {
  padding-left: 20px;
}

.legal-modal-content li {
  margin-bottom: 6px;
}

/* Lightbox & General Modals */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

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

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(0, 0, 0, 0.9);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   LIGHT MODE — COMPREHENSIVE THEME OVERRIDES
   Fix every section that hardcodes dark colors or rgba(20,25,41) values
   ========================================================================== */

/* Ambient blobs — reduce in light mode so they don't look muddy */
[data-theme="light"] .ambient-blob-purple {
  background: radial-gradient(circle, rgba(139, 47, 201, 0.08) 0%, rgba(139, 47, 201, 0) 70%);
}
[data-theme="light"] .ambient-blob-red {
  background: radial-gradient(circle, rgba(255, 42, 85, 0.06) 0%, rgba(255, 42, 85, 0) 70%);
}

/* Gradient headline text — purple & red must stay vivid in light mode */
[data-theme="light"] .gradient-text-purple {
  background: linear-gradient(135deg, #6A1FA0 20%, #AB47E8 70%, #8B2FC9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-theme="light"] .gradient-text-red {
  background: linear-gradient(135deg, #D91B44 20%, #FF4D73 60%, #FF2A55 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero pill badge */
[data-theme="light"] .hero-pill-badge {
  background: rgba(139, 47, 201, 0.06);
  border-color: rgba(139, 47, 201, 0.3);
  color: var(--purple-dark);
  box-shadow: none;
}

/* Platform availability chips */
[data-theme="light"] .platform-chip {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.1);
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
[data-theme="light"] .platform-chip.active {
  background: rgba(255, 42, 85, 0.06);
  border-color: rgba(255, 42, 85, 0.35);
  color: var(--red-dark);
}

/* Device toggle tabs */
[data-theme="light"] .device-toggle-container {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}
[data-theme="light"] .device-tab-btn {
  color: var(--text-secondary);
}

/* Stats banner */
[data-theme="light"] .stats-banner {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.06);
}
[data-theme="light"] .stat-item {
  border-color: rgba(15, 23, 42, 0.05);
}

/* Feature cards */
[data-theme="light"] .feature-card {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
[data-theme="light"] .feature-card:hover {
  background: #FAFBFF;
  border-color: rgba(139, 47, 201, 0.3);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08), 0 0 20px rgba(139, 47, 201, 0.08);
}
[data-theme="light"] .feature-card.highlight {
  border-color: rgba(255, 42, 85, 0.2);
  box-shadow: 0 2px 12px rgba(255, 42, 85, 0.04);
}
[data-theme="light"] .feature-card.highlight:hover {
  border-color: rgba(255, 42, 85, 0.4);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08), 0 0 20px rgba(255, 42, 85, 0.1);
}
[data-theme="light"] .feature-card-badge {
  background: rgba(139, 47, 201, 0.07);
  border-color: rgba(139, 47, 201, 0.2);
  color: var(--purple-dark);
}
[data-theme="light"] .feature-card.highlight .feature-card-badge {
  background: rgba(255, 42, 85, 0.07);
  border-color: rgba(255, 42, 85, 0.2);
  color: var(--red-dark);
}
[data-theme="light"] .feature-icon-wrap {
  background: rgba(139, 47, 201, 0.07);
  border-color: rgba(139, 47, 201, 0.18);
}
[data-theme="light"] .feature-card.highlight .feature-icon-wrap {
  background: rgba(255, 42, 85, 0.07);
  border-color: rgba(255, 42, 85, 0.18);
}
[data-theme="light"] .feature-title {
  color: var(--text-dark);
}
[data-theme="light"] .feature-desc {
  color: var(--text-secondary);
}

/* Feature filter pills */
[data-theme="light"] .feature-filter-btn {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.1);
  color: var(--text-secondary);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}
[data-theme="light"] .feature-filter-btn:hover {
  background: rgba(139, 47, 201, 0.05);
  border-color: rgba(139, 47, 201, 0.25);
  color: var(--text-primary);
}
[data-theme="light"] .feature-filter-btn .material-symbols-rounded {
  color: var(--purple-dark);
}

/* Showcase counter */
[data-theme="light"] .showcase-counter-wrap {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.1);
}
[data-theme="light"] .showcase-features-list li {
  color: var(--text-primary);
}

/* Showcase dots */
[data-theme="light"] .showcase-dots-indicator .dot {
  background: rgba(15, 23, 42, 0.12);
}

/* Device ecosystem section */
[data-theme="light"] .device-category-card {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
}
[data-theme="light"] .device-category-card.ready {
  border-color: rgba(255, 42, 85, 0.25);
  box-shadow: 0 4px 20px rgba(255, 42, 85, 0.06);
}
[data-theme="light"] .device-item-icon {
  background: rgba(139, 47, 201, 0.07) !important;
  border-color: rgba(139, 47, 201, 0.15) !important;
}

/* FAQ */
[data-theme="light"] .faq-item {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.03);
}
[data-theme="light"] .faq-item.open {
  border-color: rgba(139, 47, 201, 0.25);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .faq-topic-icon {
  background: rgba(139, 47, 201, 0.08) !important;
  border-color: rgba(139, 47, 201, 0.15) !important;
}
[data-theme="light"] .faq-question-title {
  color: var(--text-dark);
}
[data-theme="light"] .faq-answer-inner {
  color: var(--text-secondary);
}
[data-theme="light"] .faq-filter-btn {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.1);
  color: var(--text-secondary);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}
[data-theme="light"] .faq-filter-btn:hover {
  background: rgba(139, 47, 201, 0.04);
  border-color: rgba(139, 47, 201, 0.2);
  color: var(--text-primary);
}
[data-theme="light"] .faq-support-banner {
  background: rgba(139, 47, 201, 0.05);
  border-color: rgba(139, 47, 201, 0.15);
}

/* Install CTA section */
[data-theme="light"] .install-cta-section {
  background: rgba(139, 47, 201, 0.03);
}
[data-theme="light"] .store-btn {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}
[data-theme="light"] .store-btn:hover {
  border-color: rgba(139, 47, 201, 0.3);
  box-shadow: 0 6px 20px rgba(139, 47, 201, 0.1);
}

/* Footer */
[data-theme="light"] .site-footer {
  background: #F8FAFC;
  border-top-color: rgba(15, 23, 42, 0.08);
}
[data-theme="light"] .footer-bottom-bar {
  border-top-color: rgba(15, 23, 42, 0.06);
}
[data-theme="light"] .footer-bottom-link {
  color: var(--text-secondary);
}
[data-theme="light"] .footer-bottom-link:hover {
  color: var(--purple-dark);
}
[data-theme="light"] .footer-copyright-note {
  color: var(--text-muted);
}

/* Modals */
[data-theme="light"] .modal-overlay {
  background: rgba(15, 23, 42, 0.65);
}
[data-theme="light"] .modal-box {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
}
[data-theme="light"] .modal-close-btn {
  background: rgba(15, 23, 42, 0.05);
  color: var(--text-primary);
}
[data-theme="light"] .modal-close-btn:hover {
  background: rgba(15, 23, 42, 0.1);
  color: var(--text-dark);
}

/* Stair drawer light mode */
[data-theme="light"] .stair-drawer-panel {
  background: rgba(255, 255, 255, 0.98);
  border-left-color: rgba(15, 23, 42, 0.1);
  box-shadow: -20px 0 60px rgba(15, 23, 42, 0.12);
}
[data-theme="light"] .drawer-brand-name {
  color: #0F172A !important;
}
[data-theme="light"] .drawer-brand-tag {
  color: #8B2FC9 !important;
}
[data-theme="light"] .drawer-close-btn {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.1);
  color: #475569;
}
[data-theme="light"] .drawer-pill {
  background: #F1F5F9;
  border-color: rgba(15, 23, 42, 0.08);
  color: #334155;
}
[data-theme="light"] .drawer-section-label {
  color: #64748B;
}
[data-theme="light"] .stair-link {
  background: #F8FAFC;
  border-color: rgba(15, 23, 42, 0.08);
}
[data-theme="light"] .stair-link:hover {
  background: #FFFFFF;
  border-color: var(--purple-primary);
  box-shadow: 0 4px 16px rgba(139, 47, 201, 0.12);
}
[data-theme="light"] .stair-link-title {
  color: #0F172A !important;
}
[data-theme="light"] .stair-link-desc {
  color: #64748B !important;
}
[data-theme="light"] .stair-step-tag {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.08);
  color: #475569;
}
[data-theme="light"] .drawer-theme-btn {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.1);
  color: #334155;
}
[data-theme="light"] .drawer-theme-label {
  color: #334155;
}
[data-theme="light"] .drawer-sublink {
  color: #64748B;
}
[data-theme="light"] .drawer-sublink:hover {
  color: #8B2FC9;
}
[data-theme="light"] .drawer-sep {
  color: rgba(15, 23, 42, 0.15);
}

/* Sticky bottom bar */
[data-theme="light"] .sticky-bottom-bar {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .bottom-bar-title {
  color: var(--text-dark);
}
[data-theme="light"] .bottom-bar-sub {
  color: var(--text-muted);
}

/* Section tag wrap */
[data-theme="light"] .section-tag-wrap {
  background: rgba(139, 47, 201, 0.07);
  border-color: rgba(139, 47, 201, 0.2);
}
[data-theme="light"] .section-tag-wrap.red {
  background: rgba(255, 42, 85, 0.07);
  border-color: rgba(255, 42, 85, 0.2);
}
[data-theme="light"] .section-title {
  color: var(--text-dark);
}
[data-theme="light"] .section-desc {
  color: var(--text-secondary);
}

/* ==========================================================================
   PHONE ALIGNMENT & RESPONSIVE PERFECTION
   ========================================================================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .showcase-display-area {
    display: flex;
    flex-direction: column;
    padding: 32px 24px;
    gap: 28px;
  }
  .showcase-media-col {
    order: 1 !important;
    width: 100%;
  }
  .showcase-text-col {
    order: 2 !important;
    width: 100%;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .devices-split-grid {
    grid-template-columns: 1fr;
  }
  .badge-tv-left, .badge-tv-right {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 62px;
  }
  
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-svg-logo {
    height: 25px;
  }
  .stair-menu-btn span.stair-menu-text {
    display: none;
  }
  .stair-menu-btn {
    padding: 8px 10px;
  }

  /* Hero Section on Phone — Crisp, Beautifully Centered Above-the-Fold Composition */
  .hero-section {
    padding-top: calc(var(--header-height) + 12px);
    padding-bottom: 18px;
  }
  .hero-pill-badge {
    padding: 4px 10px;
    font-size: 0.72rem;
    margin-bottom: 8px;
  }
  .hero-headline {
    font-size: clamp(1.72rem, 5.8vw, 2.15rem);
    line-height: 1.18;
    margin-bottom: 10px;
  }
  .hero-subtitle {
    font-size: 0.88rem;
    line-height: 1.48;
    margin-bottom: 14px;
    max-width: 95%;
    margin-inline: auto;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 8px;
    margin-bottom: 12px;
  }
  .hero-cta-group .btn {
    width: 100%;
    min-height: 46px;
    font-size: 0.94rem;
    padding: 10px 16px;
  }

  /* Redundant availability chips hidden on mobile to bring devices into direct view */
  .hero-devices-row {
    display: none !important;
  }

  /* Device Toggle on Phone — Compact, Centered & Touch-Friendly */
  .hero-device-toggle-wrap {
    margin-bottom: 10px;
    margin-top: 4px;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .device-toggle-container {
    width: 100%;
    max-width: 350px;
    display: flex;
    margin-bottom: 6px;
    padding: 3px;
    gap: 3px;
    background: rgba(20, 25, 41, 0.85);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-full);
  }
  .device-tab-btn {
    flex: 1;
    justify-content: center;
    padding: 7px 4px;
    font-size: 0.72rem;
    gap: 4px;
    white-space: nowrap;
  }
  .device-tab-btn .material-symbols-rounded {
    font-size: 15px;
  }

  /* Device Mockups on Phone (Clean, Pure Soft Silhouette Shadow, Center-Glide) */
  .hero-stage {
    margin-top: 4px;
    width: 100%;
    position: relative;
    overflow: visible;
  }
  .hero-devices-showcase {
    min-height: 280px;
    height: 290px;
    margin-bottom: -15px;
    padding: 0;
    overflow: visible;
    position: relative;
  }
  .hero-devices-canvas {
    min-height: 280px;
    height: 290px;
    width: 100%;
    transform: scale(var(--hero-zoom, 1));
    transform-origin: center center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero-tv-wrap {
    width: 94vw;
    max-width: 420px;
  }
  .hero-tv-wrap .tv-screen-img {
    width: 100%;
    height: auto;
    max-height: 215px;
    object-fit: contain;
  }
  .hero-phone-wrap {
    width: 115px;
  }
  .hero-phone-wrap .phone-screen-img {
    width: 100%;
    height: auto;
    max-height: 225px;
    object-fit: contain;
  }

  /* 1. All Screens View on Phone */
  .hero-devices-showcase.view-both .hero-tv-wrap {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
    transform: translate(-53%, -54%) scale(0.96);
  }
  .hero-devices-showcase.view-both .hero-phone-wrap {
    opacity: 1;
    pointer-events: auto;
    z-index: 5;
    transform: translate(26%, -20%) scale(0.98);
  }

  /* 2. TV Edition View on Phone */
  .hero-devices-showcase.view-tv .hero-tv-wrap {
    opacity: 1;
    pointer-events: auto;
    z-index: 6;
    transform: translate(-50%, -50%) scale(1.06);
  }
  .hero-devices-showcase.view-tv .hero-phone-wrap {
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transform: translate(95%, -20%) scale(0.65);
  }

  /* 3. Smartphone Edition View on Phone */
  .hero-devices-showcase.view-phone .hero-tv-wrap {
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -85%) scale(0.65);
  }
  .hero-devices-showcase.view-phone .hero-phone-wrap {
    width: 155px;
    opacity: 1;
    pointer-events: auto;
    z-index: 6;
    transform: translate(-50%, -50%) scale(1.1);
  }

  .tv-frame-outer {
    padding: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .tv-stand {
    display: none !important;
  }
  .phone-frame {
    width: 100%;
    max-width: 260px;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
  }
  .phone-screen-img,
  .tv-screen-img,
  .showcase-screen-img {
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.82)) drop-shadow(0 0 24px rgba(171, 71, 232, 0.22));
  }

  /* Hide floating badges on phone to prevent overflow */
  .floating-badge {
    display: none !important;
  }

  /* Key Metrics 2x2 on Phone — Crisp, Compact, Overlay Ready */
  .stats-banner {
    position: relative;
    z-index: 1;
    padding: 34px 0 18px 0;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .stat-item {
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
  }
  .stat-number {
    font-size: 1.85rem;
    line-height: 1.1;
    margin-bottom: 4px;
  }
  .stat-label {
    font-size: 0.76rem;
    line-height: 1.25;
  }

  /* Section Spacing on Phone */
  .section {
    padding: 40px 0;
  }
  .section-header {
    margin-bottom: 22px;
  }
  .section-tag-wrap {
    padding: 4px 10px;
    font-size: 0.72rem;
    margin-bottom: 10px;
    gap: 6px;
  }
  .section-title {
    font-size: clamp(1.55rem, 5.5vw, 1.95rem);
    margin-bottom: 8px;
    line-height: 1.25;
  }
  .section-desc {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  /* Features Grid on Phone — Ultra Attractive & Compact */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .feature-card {
    padding: 16px 15px;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(20, 25, 41, 0.85) 0%, rgba(13, 16, 28, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  }
  .feature-card:active {
    transform: scale(0.985);
  }
  .feature-card-badge {
    font-size: 0.60rem;
    padding: 2px 6px;
    margin-bottom: 10px;
    border-radius: 5px;
  }
  .feature-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    margin-bottom: 10px;
  }
  .feature-icon-wrap .material-symbols-rounded {
    font-size: 20px;
  }
  .feature-title {
    font-size: 1.05rem;
    line-height: 1.3;
    margin-bottom: 6px;
    font-weight: 700;
  }
  .feature-desc {
    font-size: 0.84rem;
    line-height: 1.5;
  }

  /* Screenshot Showcase on Phone */
  .showcase-tabs-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 6px;
    margin-bottom: 14px;
    padding: 2px 2px 8px 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: flex-start;
  }
  .showcase-tabs-nav::-webkit-scrollbar {
    display: none;
  }
  .showcase-tab-btn {
    font-size: 0.78rem;
    padding: 6px 12px;
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: center;
    border-radius: var(--radius-full);
    gap: 6px;
  }
  .showcase-tab-btn .material-symbols-rounded {
    font-size: 16px;
  }

  .showcase-display-area {
    display: flex;
    flex-direction: column;
    padding: 14px 12px 18px 12px;
    border-radius: 16px;
    gap: 14px;
  }

  .showcase-media-col {
    order: 1 !important;
    width: 100%;
  }

  .showcase-text-col {
    order: 2 !important;
    width: 100%;
  }

  .showcase-bezel-wrapper {
    max-width: 100%;
  }

  .showcase-preview-frame {
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    padding: 6px 0;
  }
  .showcase-screen-img {
    width: auto;
    max-width: 88%;
    max-height: 380px;
    margin: 0 auto;
    display: block;
    background: transparent;
    filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 24px rgba(171, 71, 232, 0.22));
  }

  .showcase-nav-arrow {
    width: 30px;
    height: 30px;
  }
  .showcase-nav-arrow .material-symbols-rounded {
    font-size: 18px;
  }
  .showcase-nav-arrow.prev {
    left: 6px;
  }
  .showcase-nav-arrow.next {
    right: 6px;
  }

  .showcase-title {
    font-size: 1.22rem;
    line-height: 1.25;
    margin-bottom: 6px;
  }
  .showcase-desc {
    font-size: 0.84rem;
    line-height: 1.5;
    margin-bottom: 10px;
  }

  /* Compact 2-column feature chips grid on mobile */
  .showcase-features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 14px;
  }
  .showcase-features-list li {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 0.74rem;
    line-height: 1.3;
    gap: 5px;
    align-items: flex-start;
  }
  .showcase-features-list li .material-symbols-rounded {
    font-size: 15px;
    margin-top: 1px;
  }

  [data-theme="light"] .showcase-features-list li {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.08);
    color: #1E293B;
  }

  .showcase-actions-row {
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }
  .showcase-actions-row .btn {
    width: 100%;
    justify-content: center;
    padding: 10px;
    font-size: 0.90rem;
  }
  .showcase-counter-wrap {
    display: none;
  }

  /* TV & Phone Ecosystem on Phone */
  .devices-split-grid {
    gap: 12px;
  }
  .device-category-card {
    padding: 18px 14px;
    border-radius: 14px;
  }
  .device-category-card h3 {
    font-size: 1.25rem !important;
    margin-bottom: 6px !important;
  }
  .device-category-card p {
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
    margin-bottom: 14px !important;
  }
  .device-list-items {
    gap: 10px;
  }
  .device-item-row {
    gap: 10px;
  }
  .device-item-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 8px;
  }
  .device-item-icon .material-symbols-rounded {
    font-size: 18px;
  }
  .device-item-name {
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 2px;
  }
  .device-item-desc {
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .store-buttons-grid {
    flex-direction: column;
    width: 100%;
  }
  .store-btn {
    width: 100%;
    padding: 12px 14px;
  }

  /* FAQ on Mobile */
  .faq-filters-wrapper {
    margin-bottom: 16px;
  }
  .faq-filters-track {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 3px;
    gap: 5px;
    justify-content: flex-start;
  }
  .faq-filters-track::-webkit-scrollbar {
    display: none;
  }
  .faq-filter-btn {
    padding: 6px 12px;
    font-size: 0.78rem;
    flex: 0 0 auto;
    scroll-snap-align: start;
    gap: 5px;
  }
  .faq-grid {
    gap: 8px;
  }
  .faq-item {
    border-radius: 12px;
  }
  .faq-question {
    padding: 12px 14px;
    gap: 10px;
  }
  .faq-question-main {
    gap: 10px;
  }
  .faq-topic-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
  }
  .faq-topic-icon .material-symbols-rounded {
    font-size: 17px;
  }
  .faq-question-title {
    font-size: 0.88rem;
    line-height: 1.35;
  }
  .faq-meta-badge {
    font-size: 0.62rem;
    padding: 1px 6px;
    margin-bottom: 4px;
  }
  .faq-toggle-btn {
    width: 28px;
    height: 28px;
    min-width: 28px;
  }
  .faq-toggle-btn .material-symbols-rounded {
    font-size: 18px;
  }
  .faq-answer {
    padding: 0 14px;
  }
  .faq-answer-inner {
    padding: 10px 0 14px 0;
    font-size: 0.84rem;
    line-height: 1.55;
  }
  .faq-chips-row {
    gap: 5px;
    margin-top: 8px;
  }
  .faq-chip {
    font-size: 0.70rem;
    padding: 3px 7px;
  }
  .faq-support-banner {
    flex-direction: column;
    text-align: center;
    padding: 16px 14px;
    gap: 12px;
    margin-top: 16px;
    border-radius: 14px;
  }
  .faq-support-left {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .faq-support-title {
    font-size: 0.98rem;
  }
  .faq-support-desc {
    font-size: 0.82rem;
  }
  .faq-support-action {
    width: 100%;
  }
  .faq-contact-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 14px;
    font-size: 0.86rem;
  }

  /* Bottom-Only Footer on Mobile */
  .install-cta-section {
    padding: 24px 0 16px 0;
  }
  .site-footer {
    padding: 20px 0 calc(76px + env(safe-area-inset-bottom, 16px)) 0;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    align-items: center;
  }
  .footer-logo-row {
    justify-content: center;
    order: 1;
  }
  .footer-bottom-links {
    justify-content: center;
    gap: 5px;
    order: 2;
  }
  .footer-bottom-link {
    font-size: 0.78rem;
    padding: 3px 5px;
  }
  .footer-copyright-note {
    order: 3;
    font-size: 0.76rem;
    color: var(--text-muted);
  }

  /* Sticky Bottom Bar on Phone */
  .sticky-bottom-bar {
    width: calc(100% - 20px);
    bottom: max(8px, env(safe-area-inset-bottom, 8px));
    padding: 6px 12px;
    border-radius: 14px;
  }
  .bottom-bar-thumb {
    width: 34px;
    height: 34px;
  }
  .bottom-bar-title {
    font-size: 0.88rem;
  }
  .bottom-bar-sub {
    display: none;
  }
  .sticky-bottom-bar .btn-sm {
    padding: 6px 12px;
    font-size: 0.80rem;
  }

  /* About & Contact on Phone */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .about-stats-strip {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 18px 14px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .form-group-row {
    grid-template-columns: 1fr;
  }

  /* Standalone Legal Pages on Phone */
  .legal-page-body {
    padding-top: calc(var(--header-height) + 16px);
    padding-bottom: 50px;
  }
  .legal-hero-card {
    padding: 22px 16px;
    border-radius: var(--radius-lg);
  }
  .legal-hero-title {
    font-size: 1.65rem;
  }
  .legal-doc-content {
    padding: 20px 18px;
    border-radius: var(--radius-md);
  }
  .legal-doc-content h2 {
    font-size: 1.1rem;
    margin-top: 22px;
    margin-bottom: 8px;
  }
  .legal-doc-content p,
  .legal-doc-content ul,
  .legal-doc-content ol {
    font-size: 0.88rem;
    line-height: 1.62;
  }
  .in-card-title {
    font-size: 1.5rem !important;
  }

  /* Modals on Phone */
  .modal-box {
    padding: 22px 16px;
    border-radius: var(--radius-lg);
    max-height: 90vh;
    overflow-y: auto;
  }
}

/* ==========================================================================
   MEDIUM / SMALL PHONES (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .brand-svg-logo {
    height: 23px;
    max-width: 130px;
  }
  .header-actions {
    gap: 6px;
  }
  .theme-toggle-btn {
    width: 36px;
    height: 36px;
  }
  .stair-menu-btn {
    padding: 7px 9px;
  }
  .hero-headline {
    font-size: 1.78rem;
    word-break: break-word;
  }
  .hero-subtitle {
    font-size: 0.90rem;
  }
  .phone-frame {
    max-width: 250px;
    border-radius: 26px;
  }
  .stat-number {
    font-size: 1.65rem;
  }
  .stat-label {
    font-size: 0.72rem;
  }
  .section-title {
    font-size: 1.55rem;
    word-break: break-word;
  }
  .feature-card {
    padding: 15px 13px;
  }
  .sticky-bottom-bar {
    width: calc(100% - 14px);
    bottom: max(6px, env(safe-area-inset-bottom, 6px));
    padding: 6px 10px;
    gap: 6px;
  }
  .bottom-bar-thumb {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }
  .bottom-bar-title {
    font-size: 0.84rem;
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .sticky-bottom-bar .btn-sm {
    padding: 5px 9px;
    font-size: 0.76rem;
  }
  .bottom-bar-close {
    width: 24px;
    height: 24px;
  }
  .stair-drawer-panel {
    width: min(340px, 88vw);
    padding: 16px 14px max(14px, env(safe-area-inset-bottom, 14px)) 14px;
  }
  .legal-meta-row {
    flex-direction: column;
    gap: 6px;
  }
}

/* ==========================================================================
   ULTRA-COMPACT PHONES & FOLDABLES (max-width: 360px - e.g. iPhone SE, Galaxy Fold cover)
   ========================================================================== */
@media (max-width: 360px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .brand-svg-logo {
    height: 20px;
    max-width: 110px;
  }
  .header-actions {
    gap: 6px;
  }
  .theme-toggle-btn {
    width: 34px;
    height: 34px;
  }
  .stair-icon-box {
    width: 18px;
    height: 15px;
  }
  .hero-headline {
    font-size: 1.55rem;
  }
  .hero-subtitle {
    font-size: 0.88rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .phone-frame {
    max-width: 220px;
  }
  .section-title {
    font-size: 1.45rem;
  }
  .section-desc {
    font-size: 0.9rem;
  }
  .about-stats-strip {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .stair-drawer-panel {
    width: min(310px, 92vw);
    padding: 14px 12px max(12px, env(safe-area-inset-bottom, 12px)) 12px;
  }
  .drawer-quick-pills {
    display: none;
  }
  .footer-bottom-links {
    gap: 4px;
  }
  .footer-bottom-link {
    font-size: 0.78rem;
  }
  .footer-copyright-note {
    font-size: 0.76rem;
  }
}

