/**
 * TV Remote Control · Smart TV - System Design System
 * Architecture: Material Design 3 (M3) System Baseline
 * Aesthetic Direction: Geist Typography + Linear.app Obsidian Craft
 */

/* ========================================================
   1. M3 SYSTEM TOKENS & LINEAR OBSIDIAN COLOR PALETTE
======================================================== */
:root {
  /* Typography */
  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* M3 Surface Container Elevation Tiers (Linear Dark Theme) */
  --md-sys-color-background: #08090A;
  --md-sys-color-surface: #08090A;
  --md-sys-color-surface-dim: #050607;
  --md-sys-color-surface-bright: #121316;

  --md-sys-color-surface-container-lowest: #060708;
  --md-sys-color-surface-container-low: #0D0E12;
  --md-sys-color-surface-container: #121317;
  --md-sys-color-surface-container-high: #18191F;
  --md-sys-color-surface-container-highest: #1F2027;

  /* M3 Outlines & Linear Hairline Dividers */
  --md-sys-color-outline: rgba(255, 255, 255, 0.08);
  --md-sys-color-outline-variant: rgba(255, 255, 255, 0.05);
  --md-sys-color-outline-focus: rgba(255, 255, 255, 0.18);
  --md-sys-color-outline-accent: rgba(110, 86, 207, 0.40);

  /* Typography Hierarchy Colors */
  --md-sys-color-on-surface: #EDEDEF;
  --md-sys-color-on-surface-variant: #8A8F98;
  --md-sys-color-on-surface-dim: #5E646E;
  --md-sys-color-inverse-surface: #F2F3F5;
  --md-sys-color-inverse-on-surface: #0E0F12;

  /* Primary Tonal Accents (Linear Indigo / Violet) */
  --md-sys-color-primary: #6E56CF;
  --md-sys-color-primary-hover: #7C65C1;
  --md-sys-color-primary-container: rgba(110, 86, 207, 0.12);
  --md-sys-color-on-primary-container: #D4BBFF;
  --md-sys-color-secondary: #56B6F7;
  --md-sys-color-tertiary: #10B981;

  /* State Layers */
  --state-hover-layer: rgba(255, 255, 255, 0.04);
  --state-pressed-layer: rgba(255, 255, 255, 0.08);
  --state-accent-hover: rgba(110, 86, 207, 0.08);

  /* M3 Shape System */
  --shape-corner-xs: 4px;
  --shape-corner-sm: 8px;
  --shape-corner-md: 12px;
  --shape-corner-lg: 16px;
  --shape-corner-xl: 24px;
  --shape-corner-full: 9999px;

  /* Linear Machined Shadows & Inner Highlights */
  --shadow-elevation-1: 0 1px 2px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --shadow-elevation-2: 0 4px 16px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  --shadow-elevation-3: 0 14px 38px -6px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --shadow-elevation-4: 0 28px 70px -12px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.10);
  --shadow-accent-glow: 0 0 0 1px rgba(110, 86, 207, 0.4), 0 12px 32px -4px rgba(110, 86, 207, 0.25);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 220ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ========================================================
   2. GLOBAL BASE & TYPOGRAPHY RESET
======================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--md-sys-color-background);
  color: var(--md-sys-color-on-surface);
  font-family: var(--font-sans);
  letter-spacing: -0.011em;
}

body {
  overflow-x: hidden;
  line-height: 1.55;
  background-color: var(--md-sys-color-background);
  min-height: 100vh;
  position: relative;
}

/* Linear Top Ray Spotlight & Subtle Technical Grid */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 800px;
  background: radial-gradient(ellipse 70% 45% at 50% 0%, rgba(110, 86, 207, 0.14) 0%, rgba(110, 86, 207, 0.02) 60%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1200px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 15%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 15%, black 20%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--md-sys-color-background);
}
::-webkit-scrollbar-thumb {
  background: #1C1D22;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2D2F37;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ========================================================
   3. NAVIGATION BAR (M3 SURFACE-CONTAINER BLUR)
======================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: var(--transition-smooth);
}
.navbar.scrolled {
  background: rgba(8, 9, 10, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--md-sys-color-outline);
  padding: 11px 0;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--md-sys-color-on-surface);
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: var(--transition-fast);
}
.brand-logo:hover .brand-icon {
  transform: scale(1.04);
}

.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  line-height: 1.15;
}
.brand-subtitle {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--md-sys-color-on-surface-dim);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(18, 19, 23, 0.65);
  border: 1px solid var(--md-sys-color-outline);
  padding: 4px 8px;
  border-radius: var(--shape-corner-full);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nav-link {
  color: var(--md-sys-color-on-surface-variant);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--shape-corner-full);
  transition: var(--transition-fast);
}
.nav-link:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
}

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

.lang-btn {
  background: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline);
  color: var(--md-sys-color-on-surface);
  font-size: 0.78rem;
  font-family: var(--font-mono);
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--shape-corner-md);
  cursor: pointer;
  transition: var(--transition-fast);
}
.lang-btn:hover {
  background: var(--md-sys-color-surface-container-high);
  border-color: var(--md-sys-color-outline-focus);
}

.btn-nav-download {
  display: inline-flex;
  align-items: center;
  background: #FFFFFF;
  color: #08090A;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--shape-corner-md);
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: var(--transition-fast);
}
.btn-nav-download:hover {
  background: #F0F0F2;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.mobile-toggle span {
  width: 20px;
  height: 2px;
  background: var(--md-sys-color-on-surface);
  border-radius: 1px;
  transition: var(--transition-fast);
}

/* ========================================================
   4. HERO SECTION (LINEAR HERO COMPOSITION)
======================================================== */
.hero {
  padding: 140px 0 90px;
  position: relative;
}

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

.hero-content {
  max-width: 620px;
}

/* Linear Status Badge */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: rgba(18, 19, 23, 0.8);
  border: 1px solid var(--md-sys-color-outline);
  border-radius: var(--shape-corner-full);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--md-sys-color-on-surface-variant);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  margin-bottom: 24px;
}
.badge-pill .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--md-sys-color-tertiary);
  box-shadow: 0 0 8px var(--md-sys-color-tertiary);
}

.hero-title {
  font-size: clamp(2.6rem, 5.2vw, 4.1rem);
  font-weight: 750;
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  margin-bottom: 20px;
}
.hero-title .gradient-text {
  background: linear-gradient(180deg, #FFFFFF 0%, #9FA6B2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--md-sys-color-on-surface-variant);
  margin-bottom: 34px;
  font-weight: 400;
  max-width: 530px;
}

.download-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  border-radius: var(--shape-corner-md);
  border: 1px solid var(--md-sys-color-outline);
  background: var(--md-sys-color-surface-container);
  padding: 2px;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-elevation-1);
}
.store-btn img {
  height: 44px;
  width: auto;
  display: block;
  border-radius: 10px;
}
.store-btn:hover {
  transform: translateY(-2px);
  border-color: var(--md-sys-color-outline-focus);
  box-shadow: var(--shadow-elevation-2);
}

.qr-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline);
  color: var(--md-sys-color-on-surface);
  font-size: 0.84rem;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: var(--shape-corner-md);
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-elevation-1);
}
.qr-trigger:hover {
  background: var(--md-sys-color-surface-container-high);
  border-color: var(--md-sys-color-outline-focus);
  transform: translateY(-2px);
}
.qr-trigger svg {
  color: var(--md-sys-color-on-surface-variant);
}

/* Linear Metric Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 36px;
  padding-top: 30px;
  border-top: 1px solid var(--md-sys-color-outline-variant);
  width: fit-content;
}

.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-val {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  line-height: 1.1;
  font-family: var(--font-mono);
}
.stat-val span {
  font-size: 1.1rem;
  color: var(--md-sys-color-primary);
  font-weight: 600;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--md-sys-color-on-surface-dim);
  margin-top: 4px;
  font-weight: 500;
}

/* Hero Mockup & Floaters */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup-wrapper {
  position: relative;
  width: 320px;
  max-width: 100%;
  border-radius: 40px;
  padding: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 100%);
  box-shadow: 0 28px 70px -15px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.phone-mockup-img {
  width: 100%;
  height: auto;
  border-radius: 34px;
  display: block;
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(18, 19, 23, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--md-sys-color-outline);
  padding: 10px 14px;
  border-radius: var(--shape-corner-md);
  box-shadow: var(--shadow-elevation-3);
  font-size: 0.8rem;
  z-index: 5;
  animation: floatSubtle 6s ease-in-out infinite;
}
.floating-badge-1 {
  top: 14%;
  left: -48px;
}
.floating-badge-2 {
  bottom: 12%;
  right: -36px;
  animation-delay: -3s;
}

.badge-icon-box {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.badge-text-title {
  font-weight: 600;
  color: #FFFFFF;
  font-size: 0.82rem;
  line-height: 1.2;
}
.badge-text-sub {
  font-size: 0.72rem;
  color: var(--md-sys-color-on-surface-dim);
  font-family: var(--font-mono);
}

@keyframes floatSubtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ========================================================
   5. BRAND LOGO TICKER (M3 CHIPS BAR)
======================================================== */
.brands-section {
  padding: 38px 0;
  border-top: 1px solid var(--md-sys-color-outline-variant);
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
  background: var(--md-sys-color-surface-container-lowest);
}

.brands-title {
  text-align: center;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--md-sys-color-on-surface-dim);
  margin-bottom: 20px;
  font-family: var(--font-mono);
}

.brands-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.brand-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--md-sys-color-surface-container-low);
  border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--shape-corner-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--md-sys-color-on-surface-variant);
  transition: var(--transition-fast);
}
.brand-item:hover {
  background: var(--md-sys-color-surface-container);
  color: #FFFFFF;
  border-color: var(--md-sys-color-outline);
}
.brand-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--md-sys-color-on-surface-dim);
}

/* ========================================================
   6. SECTION HEADERS
======================================================== */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--md-sys-color-primary);
  font-family: var(--font-mono);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--md-sys-color-on-surface-variant);
}

/* ========================================================
   7. BENTO GRID FEATURES (LINEAR ARCHITECTURAL CARDS)
======================================================== */
.features-section {
  padding: 110px 0;
}

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

.bento-card {
  background: var(--md-sys-color-surface-container-low);
  border: 1px solid var(--md-sys-color-outline);
  border-radius: var(--shape-corner-lg);
  padding: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-elevation-1);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}
.bento-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: var(--md-sys-color-surface-container);
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevation-2);
}

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

.bento-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: var(--shape-corner-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--md-sys-color-outline);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  margin-bottom: 22px;
}

.bento-title {
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.bento-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--md-sys-color-on-surface-variant);
}

.bento-preview-img {
  margin-top: 24px;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--shape-corner-md);
  border: 1px solid var(--md-sys-color-outline);
  transition: var(--transition-smooth);
}
.bento-card:hover .bento-preview-img {
  transform: scale(1.02);
}

/* ========================================================
   8. TABBED SCREENSHOT SHOWCASE (M3 SEGMENTED CONTROLS)
======================================================== */
.showcase-section {
  padding: 110px 0;
  border-top: 1px solid var(--md-sys-color-outline-variant);
  background: linear-gradient(180deg, var(--md-sys-color-surface-dim) 0%, var(--md-sys-color-background) 100%);
}

.showcase-nav-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--md-sys-color-surface-container-low);
  border: 1px solid var(--md-sys-color-outline);
  padding: 6px;
  border-radius: var(--shape-corner-full);
  max-width: 680px;
  margin: 0 auto 50px;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--md-sys-color-on-surface-variant);
  font-size: 0.84rem;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: var(--shape-corner-full);
  cursor: pointer;
  transition: var(--transition-fast);
}
.tab-btn:hover {
  color: #FFFFFF;
}
.tab-btn.active {
  background: var(--md-sys-color-surface-container-high);
  color: #FFFFFF;
  border: 1px solid var(--md-sys-color-outline);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 2px 8px rgba(0, 0, 0, 0.4);
}

.showcase-display {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  background: var(--md-sys-color-surface-container-low);
  border: 1px solid var(--md-sys-color-outline);
  border-radius: var(--shape-corner-xl);
  padding: 50px 60px;
  box-shadow: var(--shadow-elevation-2);
}

.showcase-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--md-sys-color-primary);
  font-family: var(--font-mono);
  margin-bottom: 12px;
}

.showcase-title {
  font-size: 1.85rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 16px;
}

.showcase-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--md-sys-color-on-surface-variant);
  margin-bottom: 28px;
}

.showcase-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.showcase-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--md-sys-color-on-surface);
  line-height: 1.45;
}
.check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--md-sys-color-tertiary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.showcase-mockup-box {
  display: flex;
  justify-content: center;
}
.showcase-screen-img {
  width: 290px;
  max-width: 100%;
  border-radius: 28px;
  box-shadow: var(--shadow-elevation-3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* ========================================================
   9. INTERACTIVE D-PAD SIMULATOR (ENGINEERED HARDWARE FEEL)
======================================================== */
.simulator-section {
  padding: 110px 0;
  border-top: 1px solid var(--md-sys-color-outline-variant);
}

.simulator-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: var(--md-sys-color-surface-container-low);
  border: 1px solid var(--md-sys-color-outline);
  border-radius: var(--shape-corner-xl);
  padding: 60px;
  box-shadow: var(--shadow-elevation-2);
}

.simulator-info h3 {
  font-size: 1.8rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.simulator-info p {
  color: var(--md-sys-color-on-surface-variant);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Linear Telemetry Terminal / HUD */
.hud-monitor-header {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.hud-live-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  animation: pulse-dot 2s infinite;
}

.hud-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--md-sys-color-on-surface-variant);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-console {
  margin-top: 0;
  background: #050607;
  border: 1px solid var(--md-sys-color-outline);
  border-radius: var(--shape-corner-md);
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #A1A7B4;
  line-height: 1.5;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
  min-height: 48px;
  display: flex;
  align-items: center;
}

.dpad-sim-container {
  display: flex;
  justify-content: center;
}

/* Machined Anodized Aluminum Remote Chassis */
.dpad-remote-body {
  width: 290px;
  background: radial-gradient(circle at 50% 30%, #15161C 0%, #0D0E12 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 44px;
  padding: 28px 24px 34px;
  box-shadow:
    0 30px 60px -15px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 0 0 1px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dpad-header-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 28px;
  gap: 12px;
}

.dpad-mini-btn {
  flex: 1;
  height: 42px;
  background: linear-gradient(180deg, #1A1B22 0%, #121318 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--shape-corner-md);
  color: #EDEDEF;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.dpad-mini-btn:hover {
  background: #22232B;
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}
.dpad-mini-btn:active {
  transform: translateY(1px);
  background: #0E0F14;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8);
}
.dpad-mini-btn.power {
  color: #EF4444;
}
.dpad-mini-btn.power:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
}

/* Machined D-Pad Core */
.web-dpad {
  position: relative;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, #101115 0%, #08090C 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 4px 12px rgba(0, 0, 0, 0.9),
    0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dpad-petal {
  position: absolute;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #EDEDEF;
  transition: var(--transition-fast);
}

.petal-up {
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 48px;
}
.petal-down {
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 48px;
}
.petal-left {
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 60px;
}
.petal-right {
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 60px;
}

.dpad-petal svg {
  transition: var(--transition-fast);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.8));
}
.dpad-petal:hover svg {
  color: var(--md-sys-color-primary-hover);
  transform: scale(1.15);
}
.dpad-petal.active svg, .dpad-petal:active svg {
  transform: scale(0.92);
  color: #FFFFFF;
}

/* Debossed Center Button [O] */
.dpad-ok-center {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: linear-gradient(145deg, #1E1F26 0%, #121318 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 750;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: var(--transition-fast);
}
.dpad-ok-center:hover {
  background: linear-gradient(145deg, #262831 0%, #17181F 100%);
  border-color: rgba(255, 255, 255, 0.22);
}
.dpad-ok-center.active, .dpad-ok-center:active {
  transform: scale(0.94);
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.9),
    inset 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* ========================================================
   10. FAQ ACCORDION (LINEAR MINIMALIST DISCLOSURE)
======================================================== */
.faq-section {
  padding: 110px 0;
  border-top: 1px solid var(--md-sys-color-outline-variant);
  background: var(--md-sys-color-surface-dim);
}

.faq-grid {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-card {
  background: var(--md-sys-color-surface-container-low);
  border: 1px solid var(--md-sys-color-outline);
  border-radius: var(--shape-corner-md);
  overflow: hidden;
  transition: var(--transition-fast);
}
.faq-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}
.faq-card.active {
  border-color: var(--md-sys-color-outline-focus);
  background: var(--md-sys-color-surface-container);
}

.faq-question {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.96rem;
  font-weight: 600;
  color: #FFFFFF;
  cursor: pointer;
}
.faq-toggle-icon {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--md-sys-color-on-surface-variant);
  transition: var(--transition-fast);
}
.faq-card.active .faq-toggle-icon {
  transform: rotate(45deg);
  color: #FFFFFF;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 22px;
  color: var(--md-sys-color-on-surface-variant);
  font-size: 0.9rem;
  line-height: 1.65;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
}
.faq-card.active .faq-answer {
  max-height: 240px;
  padding: 0 22px 20px;
}

/* ========================================================
   11. DOWNLOAD CTA BANNER (LINEAR HERO CARD)
======================================================== */
.cta-section {
  padding: 100px 0;
  border-top: 1px solid var(--md-sys-color-outline-variant);
}

.cta-banner {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(110, 86, 207, 0.18) 0%, var(--md-sys-color-surface-container-low) 100%);
  border: 1px solid var(--md-sys-color-outline);
  border-radius: var(--shape-corner-xl);
  padding: 64px 40px;
  text-align: center;
  box-shadow: var(--shadow-elevation-3);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
}

.cta-banner-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 24px;
}
.cta-banner-icon img {
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cta-title {
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.cta-desc {
  color: var(--md-sys-color-on-surface-variant);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto 34px;
}

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

/* ========================================================
   12. FOOTER (LINEAR MINIMALIST FOOTER)
======================================================== */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--md-sys-color-outline-variant);
  background: var(--md-sys-color-background);
}

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

.footer-brand p {
  color: var(--md-sys-color-on-surface-variant);
  font-size: 0.86rem;
  line-height: 1.6;
  max-width: 320px;
  margin-top: 14px;
}

.footer-heading {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  font-family: var(--font-mono);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-link {
  color: var(--md-sys-color-on-surface-variant);
  text-decoration: none;
  font-size: 0.84rem;
  transition: var(--transition-fast);
}
.footer-link:hover {
  color: #FFFFFF;
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--md-sys-color-outline-variant);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--md-sys-color-on-surface-dim);
}
.footer-disclaimer {
  line-height: 1.5;
  color: #4B4F58;
}

/* ========================================================
   13. QR CODE MODAL DIALOG
======================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--md-sys-color-surface-container);
  border: 1px solid var(--md-sys-color-outline);
  border-radius: var(--shape-corner-xl);
  padding: 36px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-elevation-4);
  transform: scale(0.96);
  transition: var(--transition-smooth);
}
.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--md-sys-color-on-surface-variant);
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: var(--shape-corner-sm);
  transition: var(--transition-fast);
}
.modal-close:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.qr-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.qr-box {
  background: var(--md-sys-color-surface-container-high);
  border: 1px solid var(--md-sys-color-outline);
  border-radius: var(--shape-corner-md);
  padding: 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.qr-box-img {
  width: 130px;
  height: 130px;
  border-radius: 8px;
  background: #FFFFFF;
  padding: 6px;
}
.qr-box-label {
  font-size: 0.76rem;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--md-sys-color-on-surface);
}

/* ========================================================
   14. RESPONSIVE MEDIA QUERIES
======================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .download-group {
    justify-content: center;
  }
  .hero-stats {
    margin: 0 auto;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card-large {
    grid-column: span 1;
  }
  .showcase-display {
    grid-template-columns: 1fr;
    padding: 36px 28px;
    gap: 36px;
    text-align: center;
  }
  .showcase-checklist li {
    text-align: left;
  }
  .simulator-card {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 66px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    padding: 16px;
    border-radius: var(--shape-corner-lg);
    background: rgba(14, 15, 19, 0.98);
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-toggle {
    display: flex;
  }
  .showcase-nav-tabs {
    flex-wrap: wrap;
    border-radius: var(--shape-corner-lg);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .floating-badge {
    display: none;
  }
}
