/* ==========================================================================
   Soundboard Landing Page - Design System "Console"
   ========================================================================== */

:root {
  color-scheme: dark;

  /* Cores de Fundo e Superfície */
  --bg: #0c0e13;
  --surface: #14171f;
  --surface-2: #1b1f29;
  --surface-3: #232835;
  --surface-glass: rgba(20, 23, 31, 0.75);

  /* Bordas e Divisores */
  --border: #242936;
  --border-strong: #353c4c;
  --border-control: #5f677b;
  --row-line: rgba(255, 255, 255, 0.05);

  /* Texto */
  --text: #eceef4;
  --text-bright: #ffffff;
  --muted: #979eb0;
  --faint: #646b7e;

  /* Cores de Acento */
  --accent: #6c5cff;
  --accent-hover: #7b6dff;
  --accent-press: #5d4df0;
  --accent-text: #ab9fff;
  --accent-soft: rgba(108, 92, 255, 0.16);
  --accent-glow: rgba(108, 92, 255, 0.35);

  /* Cores dos Sons (idênticas ao app) */
  --c0: #9b8aff;
  --c1: #ff6fa8;
  --c2: #2ec4b6;
  --c3: #ffb547;
  --c4: #4ea8ff;
  --c5: #a3e635;

  /* Estados e Utilitários */
  --danger: #ff6470;
  --danger-soft: rgba(255, 100, 112, 0.14);
  --ok: #3ddc97;
  --ok-soft: rgba(61, 220, 151, 0.15);

  /* Keycaps 3D */
  --keycap: #272c39;
  --keycap-edge: #0e1016;
  --keycap-hi: rgba(255, 255, 255, 0.12);
  --keycap-text: #f2f3f8;

  /* Tipografia */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Espaçamentos e Raios */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;

  /* Sombras */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.05);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
  --shadow-glow: 0 0 35px var(--accent-glow);

  /* Transições */
  --transition-fast: 150ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Reset Básico */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

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

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

/* ==========================================================================
   Background & Glows
   ========================================================================== */

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -2;
  opacity: 0.45;
}

.bg-glow-1 {
  top: -100px;
  left: 15%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(108, 92, 255, 0.5) 0%, transparent 70%);
}

.bg-glow-2 {
  top: 400px;
  right: 5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 111, 168, 0.25) 0%, transparent 70%);
}

.bg-grid-overlay {
  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: linear-gradient(to bottom, black 30%, transparent 100%);
  pointer-events: none;
  z-index: -1;
}

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

.container-narrow {
  max-width: 840px;
}

.section {
  padding: 96px 0;
}

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

.header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(12, 14, 19, 0.8);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.nav-menu {
  display: none;
  align-items: center;
  gap: 28px;
}

@media (min-width: 820px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-bright);
}

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

/* Language Switcher */
.lang-flag {
  font-size: 1rem;
}

.lang-code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--r-md);
  transition: all var(--transition-fast);
  text-align: center;
  user-select: none;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
  height: 34px;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(108, 92, 255, 0.35);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 16px rgba(108, 92, 255, 0.5);
  transform: translateY(-1px);
}

.btn-primary:active {
  background: var(--accent-press);
  transform: translateY(0);
}

.btn-secondary {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--surface-3);
  border-color: var(--accent-text);
  color: var(--text-bright);
}

.btn-ghost {
  color: var(--muted);
  border: 1px solid transparent;
}

.btn-ghost:hover {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--border);
}

.btn-outline {
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: rgba(27, 31, 41, 0.4);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--muted);
  background: var(--surface-2);
  color: var(--text-bright);
}

.btn-hero {
  padding: 14px 24px;
  background: linear-gradient(135deg, #7b6dff 0%, #5844f7 100%);
  color: #fff;
  border-radius: var(--r-lg);
  box-shadow: 0 6px 20px rgba(108, 92, 255, 0.4);
  font-size: 1rem;
}

.btn-hero:hover {
  background: linear-gradient(135deg, #8b7dff 0%, #6854f9 100%);
  box-shadow: 0 10px 30px rgba(108, 92, 255, 0.55);
  transform: translateY(-2px);
}

.btn-hero-bright {
  background: #ffffff;
  color: #0c0e13;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-hero-bright:hover {
  background: #f0f2fa;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.35);
}

.btn-hero-secondary {
  padding: 14px 22px;
  font-size: 0.98rem;
  border-radius: var(--r-lg);
}

.btn-hero-secondary:hover {
  transform: translateY(-2px);
}

.btn-text-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.btn-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.btn-meta {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.85;
}

.btn-block {
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 600;
}

.badge-subtle {
  background: var(--surface-2);
  color: var(--accent-text);
  border: 1px solid var(--border);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  padding-top: 60px;
  padding-bottom: 90px;
}

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

@media (min-width: 1000px) {
  .hero-container {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(108, 92, 255, 0.3);
  border-radius: var(--r-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-text);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-hover);
  box-shadow: 0 0 10px var(--accent-hover);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-bright);
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #a395ff 0%, #ff8ab6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.65;
  margin-bottom: 34px;
}

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

.hero-other-os {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 36px;
}

.text-link {
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.text-link:hover {
  color: #ffffff;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

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

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-bright);
}

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

.stat-separator {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ==========================================================================
   Interactive Hero Deck Mockup (Console)
   ========================================================================== */

.hero-visual {
  width: 100%;
}

.deck-frame {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  overflow: hidden;
  transition: transform var(--transition-normal);
}

.deck-frame:hover {
  transform: translateY(-3px);
}

.deck-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.deck-dots {
  display: flex;
  gap: 7px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.deck-title-bar {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.deck-status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  color: var(--ok);
  font-weight: 600;
}

.remote-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 6px var(--ok);
}

.deck-body {
  padding: 24px;
}

.deck-controls-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
}

.deck-hint-badge {
  font-size: 0.8rem;
  color: var(--muted);
}

.btn-deck-stop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--danger);
  background: var(--danger-soft);
  border: 1px solid rgba(255, 100, 112, 0.25);
  border-radius: var(--r-sm);
  transition: all var(--transition-fast);
}

.btn-deck-stop:hover {
  background: rgba(255, 100, 112, 0.25);
  transform: scale(1.02);
}

/* Sound Grid */
.sound-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

@media (min-width: 500px) {
  .sound-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sound-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  min-height: 98px;
  text-align: left;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.sound-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-color, var(--accent));
  opacity: 0.8;
}

.sound-card:hover {
  background: var(--surface-3);
  border-color: var(--border-control);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.sound-card:active, .sound-card.playing {
  transform: translateY(1px);
}

.sound-card.playing {
  border-color: var(--card-color, var(--accent));
  box-shadow: 0 0 20px rgba(108, 92, 255, 0.35);
  background: rgba(27, 31, 41, 0.95);
}

.sound-c0 { --card-color: var(--c0); }
.sound-c1 { --card-color: var(--c1); }
.sound-c2 { --card-color: var(--c2); }
.sound-c3 { --card-color: var(--c3); }
.sound-c4 { --card-color: var(--c4); }
.sound-c5 { --card-color: var(--c5); }

.sound-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.sound-info {
  margin-top: 10px;
}

.sound-name {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-bright);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sound-duration {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
}

/* 3D Keycaps */
.kc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  background: var(--keycap);
  color: var(--keycap-text);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  border-radius: 5px;
  border: 1px solid var(--border-strong);
  border-bottom: 3px solid var(--keycap-edge);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), inset 0 1px 0 var(--keycap-hi);
  user-select: none;
  transition: all 60ms ease;
}

.kc-tiny {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--keycap);
  border: 1px solid var(--border-strong);
  border-bottom: 2px solid var(--keycap-edge);
  border-radius: 4px;
}

.sound-card.playing .kc {
  transform: translateY(2px);
  border-bottom-width: 1px;
}

/* Sound Wave Bars Animation */
.sound-wave-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.sound-wave-bars span {
  width: 3px;
  height: 3px;
  background: var(--muted);
  border-radius: 1px;
  transition: all 0.2s ease;
}

.sound-card.playing .sound-wave-bars span {
  background: var(--card-color, var(--accent));
  animation: equalize 0.8s infinite ease-in-out alternate;
}

.sound-card.playing .sound-wave-bars span:nth-child(1) { animation-delay: 0.1s; }
.sound-card.playing .sound-wave-bars span:nth-child(2) { animation-delay: 0.3s; }
.sound-card.playing .sound-wave-bars span:nth-child(3) { animation-delay: 0.2s; }
.sound-card.playing .sound-wave-bars span:nth-child(4) { animation-delay: 0.4s; }

@keyframes equalize {
  0% { height: 3px; }
  100% { height: 14px; }
}

/* Deck Footer */
.deck-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
}

.now-playing-box {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.8rem;
}

.playing-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.tag-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 3px 8px;
  background: var(--surface-3);
  border-radius: var(--r-full);
  color: var(--accent-text);
  border: 1px solid var(--border);
}

/* ==========================================================================
   Features Section
   ========================================================================== */

.section-heading {
  margin-bottom: 56px;
}

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

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

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-bright);
  margin-bottom: 16px;
}

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

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 680px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.feature-card:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon-purple { background: rgba(108, 92, 255, 0.15); color: var(--accent); }
.feature-icon-pink { background: rgba(255, 111, 168, 0.15); color: var(--c1); }
.feature-icon-cyan { background: rgba(46, 196, 182, 0.15); color: var(--c2); }
.feature-icon-yellow { background: rgba(255, 181, 71, 0.15); color: var(--c3); }
.feature-icon-blue { background: rgba(78, 168, 255, 0.15); color: var(--c4); }
.feature-icon-green { background: rgba(163, 230, 53, 0.15); color: var(--c5); }

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.feature-keycaps {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.kc-meta {
  font-size: 0.74rem;
  color: var(--muted);
}

.feature-highlight-badge {
  font-size: 0.78rem;
  color: var(--accent-text);
  font-weight: 600;
}

/* ==========================================================================
   Downloads Section
   ========================================================================== */

.download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 860px) {
  .download-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.dl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

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

.dl-card-highlight {
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(108, 92, 255, 0.2);
}

.dl-card-highlight::before {
  content: 'Seu Sistema Recomendado';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 12px;
  border-radius: var(--r-full);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.dl-os-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.dl-os-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
}

.win-icon { color: #00a4ef; }
.mac-icon { color: #ffffff; }
.linux-icon { color: #fcc624; }

.dl-os-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-bright);
}

.dl-os-compat {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

.dl-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.dl-tip {
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

.dl-tip strong {
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}

.dl-tip code {
  font-family: var(--font-mono);
  background: var(--surface-3);
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--accent-text);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item[open] {
  border-color: var(--border-control);
  background: var(--surface-2);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  color: var(--text-bright);
  user-select: none;
}

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

.faq-arrow {
  font-size: 0.72rem;
  color: var(--muted);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-arrow {
  transform: rotate(180deg);
  color: var(--accent-text);
}

.faq-answer {
  padding: 0 22px 20px 22px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* ==========================================================================
   Banner CTA
   ========================================================================== */

.banner-inner {
  background: linear-gradient(135deg, #1f1b47 0%, #171c2b 100%);
  border: 1px solid rgba(108, 92, 255, 0.4);
  border-radius: var(--r-xl);
  padding: 60px 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.banner-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.banner-subtitle {
  font-size: 1.05rem;
  color: #c0c6dc;
  margin-bottom: 28px;
}

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

.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: #090a0e;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
  }
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--faint);
  margin-top: 6px;
}

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

.footer-link {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--text-bright);
}
