/* ========================================================
   Eko Landing Page — Cosmic Purple-Charcoal Design System
   ======================================================== */

:root {
  --bg-obsidian: #08060f;
  --bg-deep: #0e0b18;
  --bg-surface: rgba(20, 16, 32, 0.78);
  --bg-surface-strong: rgba(25, 20, 42, 0.92);
  --bg-surface-hover: rgba(34, 27, 56, 0.88);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(192, 132, 252, 0.28);

  --accent: #a855f7;
  --accent-bright: #c084fc;
  --accent-deep: #7e22ce;
  --accent-glow: rgba(168, 85, 247, 0.42);
  --emerald: #10b981;
  --emerald-soft: rgba(16, 185, 129, 0.14);
  --rose: #f43f5e;

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #948eb0;

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-window: 0 30px 80px rgba(0, 0, 0, 0.68), 0 0 0 1px rgba(255, 255, 255, 0.09);
  --shadow-card: 0 16px 40px rgba(0, 0, 0, 0.42);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg-obsidian);
  color-scheme: dark;
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-obsidian);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

/* ========================================================
   Atmospheric Background
   ======================================================== */

.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, #170e2e 0%, #08060f 65%);
}

.ambient-banner {
  position: absolute;
  inset: 0;
  background: url('assets/banner.jpg') center top / cover no-repeat;
  opacity: 0.18;
  filter: blur(8px) saturate(1.15);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.25) 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.25) 55%, transparent 100%);
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
}

.orb-violet {
  width: 560px;
  height: 560px;
  top: -160px;
  right: -120px;
  background: rgba(168, 85, 247, 0.22);
}

.orb-indigo {
  width: 500px;
  height: 500px;
  bottom: 10%;
  left: -180px;
  background: rgba(99, 102, 241, 0.14);
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 25%, rgba(0, 0, 0, 0.85) 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 25%, rgba(0, 0, 0, 0.85) 0%, transparent 72%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(8, 6, 15, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  background: rgba(8, 6, 15, 0.9);
  border-bottom-color: rgba(168, 85, 247, 0.2);
}

.nav-container {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(168, 85, 247, 0.16);
  border: 1px solid rgba(192, 132, 252, 0.3);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 18px rgba(168, 85, 247, 0.26);
}

.brand-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-bright);
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.3);
}

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

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

.nav-links a:hover {
  color: var(--text-primary);
}

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

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
}

.lang-btn {
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: rgba(168, 85, 247, 0.24);
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn-sm {
  padding: 9px 15px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 0.97rem;
  border-radius: 14px;
}

.btn-primary {
  background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(168, 85, 247, 0.45);
}

.btn-glow {
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.34);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(192, 132, 252, 0.4);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.mobile-menu-btn span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-primary);
  transition: transform 0.2s ease;
}

.mobile-drawer {
  padding: 16px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(10, 8, 18, 0.96);
}

.mobile-drawer[hidden] {
  display: none;
}

.mobile-drawer a:not(.btn) {
  padding: 8px 4px;
  font-weight: 500;
  color: var(--text-secondary);
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

/* ========================================================
   Hero Section & Interactive App Showcase
   ======================================================== */

.hero-section {
  padding: 64px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1.12fr;
  gap: 44px;
  align-items: center;
}

.hero-copy,
.hero-showcase,
.spotlight-copy,
.spotlight-visual,
.privacy-copy,
.privacy-interactive-card,
.bento-card,
.mock-hero-card,
.mock-form-card,
.server-channels-col,
.server-friends-col,
.mock-stage {
  min-width: 0;
}

.mock-code-box code,
.friend-tag-row code,
.wifi-url {
  overflow-wrap: anywhere;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.45rem, 5vw, 3.85rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(125deg, #f8fafc 0%, #d8b4fe 45%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 54ch;
  margin-bottom: 30px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-radius: var(--radius-lg);
  background: rgba(20, 16, 32, 0.65);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
}

.stat-chip {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.stat-chip ~ .stat-chip {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 12px;
}

.stat-chip strong {
  font-family: var(--font-display);
  font-size: 0.96rem;
  color: #fff;
}

.stat-chip span {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.stat-divider {
  display: none;
}

/* Interactive Window Mockup */
.hero-showcase {
  position: relative;
}

.showcase-glow {
  position: absolute;
  inset: -14px;
  background: radial-gradient(circle at 60% 35%, rgba(168, 85, 247, 0.32), transparent 70%);
  filter: blur(34px);
  z-index: -1;
}

.app-window-mock {
  border-radius: 22px;
  background: rgba(14, 11, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-window);
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.mock-titlebar {
  height: 44px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11, 9, 18, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.mock-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.85rem;
}

.mock-shield {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.mock-win-controls {
  display: flex;
  gap: 7px;
}

.win-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-min { background: rgba(255, 255, 255, 0.18); }
.dot-max { background: rgba(168, 85, 247, 0.45); }
.dot-close { background: rgba(244, 63, 94, 0.72); }

.mock-workspace {
  display: grid;
  grid-template-columns: 82px 1fr;
  min-height: 360px;
}

.mock-sidebar {
  background: rgba(10, 8, 18, 0.92);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 4px;
  border-radius: 12px;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.mock-nav-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.mock-nav-btn.active {
  color: #fff;
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.mock-stage {
  padding: 20px;
  background: radial-gradient(circle at 80% 15%, rgba(124, 58, 237, 0.2), transparent 65%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mock-panel {
  display: none;
  animation: fadePanel 0.28s ease;
}

.mock-panel.active {
  display: block;
}

@keyframes fadePanel {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mock Tab 1: Lobby */
.mock-lobby-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 16px;
}

.mock-hero-card,
.mock-form-card {
  border-radius: 16px;
  padding: 18px;
  background: rgba(23, 19, 36, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mock-hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: center;
}

.mock-logo-ring {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.32), rgba(168, 85, 247, 0.06));
  border: 1px solid rgba(192, 132, 252, 0.36);
  display: grid;
  place-items: center;
  box-shadow: 0 0 32px rgba(168, 85, 247, 0.34);
}

.mock-mic-status {
  width: 100%;
}

.vu-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.vu-bar-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.vu-bar-fill {
  height: 100%;
  width: 58%;
  border-radius: 999px;
  background: linear-gradient(90deg, #10b981, #a855f7);
  transition: width 0.16s ease;
}

.mock-rnnoise-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 600;
}

.mock-rnnoise-toggle input {
  display: none;
}

.mini-switch {
  width: 28px;
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  position: relative;
  transition: background 0.2s ease;
}

.mini-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}

.mock-rnnoise-toggle input:checked + .mini-switch {
  background: var(--emerald);
}

.mock-rnnoise-toggle input:checked + .mini-switch::after {
  transform: translateX(12px);
}

.mock-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-bright);
}

.mock-form-card h2 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  line-height: 1.2;
  margin: 6px 0 8px;
}

.mock-form-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.mock-code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(10, 8, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.09);
  margin-bottom: 14px;
}

.mock-code-box code {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: #e9d5ff;
}

.mock-copy-btn {
  padding: 4px 10px;
  border-radius: 7px;
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid rgba(168, 85, 247, 0.35);
  font-size: 0.72rem;
  font-weight: 600;
  color: #f3e8ff;
  transition: background 0.2s ease;
}

.mock-copy-btn:hover {
  background: rgba(168, 85, 247, 0.35);
}

.mock-btn-primary {
  width: 100%;
  padding: 11px 14px;
  border-radius: 11px;
  background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.36);
  transition: transform 0.2s ease;
}

.mock-btn-primary:hover {
  transform: translateY(-1px);
}

/* Mock Tab 2: Screen Share */
.mock-screen-stage {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.screen-stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(244, 63, 94, 0.16);
  border: 1px solid rgba(244, 63, 94, 0.35);
  color: #fda4af;
  font-size: 0.72rem;
  font-weight: 700;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rose);
}

.quality-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid rgba(192, 132, 252, 0.35);
  color: #f3e8ff;
}

.screen-canvas {
  position: relative;
  height: 180px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #1b1033 0%, #0d1328 55%, #190d2a 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  padding: 16px;
}

.screen-wave-lines {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(168, 85, 247, 0.28), transparent 55%),
              radial-gradient(circle at 75% 65%, rgba(16, 185, 129, 0.16), transparent 50%);
}

.screen-overlay-card {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(11, 9, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.screen-source-name {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 3px;
}

.screen-overlay-card small {
  color: var(--text-muted);
  font-size: 0.76rem;
}

.screen-pip {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 6px;
  border-radius: 10px;
  background: rgba(11, 9, 18, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.72rem;
  font-weight: 600;
}

.pip-avatar {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--accent);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
}

.screen-picker-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.picker-group {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.picker-pill {
  padding: 4px 9px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.picker-pill.active {
  background: var(--accent);
  color: #fff;
}

/* Mock Tab 3: Wi-Fi Mic */
.mock-wifi-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 16px;
  background: rgba(23, 19, 36, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.wifi-qr-box {
  padding: 10px;
  border-radius: 14px;
  background: rgba(168, 85, 247, 0.16);
  border: 1px solid rgba(192, 132, 252, 0.35);
}

.wifi-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.73rem;
  font-weight: 600;
  color: #6ee7b7;
  margin-bottom: 8px;
}

.wifi-details h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.wifi-details p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.wifi-wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  margin-bottom: 10px;
}

.wifi-wave span {
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, #c084fc, #10b981);
  animation: waveBar 1.1s ease-in-out infinite;
}

.wifi-wave span:nth-child(odd) { animation-delay: 0.15s; height: 18px; }
.wifi-wave span:nth-child(3n) { animation-delay: 0.32s; height: 10px; }
.wifi-wave span:nth-child(even) { height: 22px; }

@keyframes waveBar {
  0%, 100% { transform: scaleY(0.45); opacity: 0.7; }
  50% { transform: scaleY(1); opacity: 1; }
}

.wifi-url {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent-bright);
}

/* Mock Tab 4: Servers & Friends */
.mock-servers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.server-channels-col,
.server-friends-col {
  border-radius: 14px;
  padding: 14px;
  background: rgba(23, 19, 36, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.channel-group-title {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.channel-group-title.mt {
  margin-top: 14px;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.channel-item.active {
  background: rgba(168, 85, 247, 0.2);
  color: #fff;
}

.channel-item small {
  margin-left: auto;
  font-family: var(--font-mono);
  color: #6ee7b7;
  font-size: 0.72rem;
}

.privacy-mini-note {
  padding: 11px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.26);
  margin-bottom: 12px;
}

.privacy-mini-note strong {
  display: block;
  font-size: 0.78rem;
  color: #6ee7b7;
  margin-bottom: 3px;
}

.privacy-mini-note span {
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.friend-tag-card {
  padding: 11px;
  border-radius: 10px;
  background: rgba(10, 8, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.friend-tag-card > span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.friend-tag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.friend-tag-row code {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #f3e8ff;
}

.mock-helper-bar {
  padding: 9px 16px;
  text-align: center;
  font-size: 0.74rem;
  color: var(--text-muted);
  background: rgba(11, 9, 18, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ========================================================
   Sections & Bento Grid
   ======================================================== */

.section {
  padding: 76px 0;
}

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

.section-eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

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

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

.bento-card {
  padding: 26px;
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--bg-surface-hover);
}

.bento-wide {
  grid-column: span 2;
}

.card-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: rgba(168, 85, 247, 0.16);
  border: 1px solid rgba(192, 132, 252, 0.3);
  color: var(--accent-bright);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}

.card-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.card-meta-tags span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  margin-bottom: 10px;
}

.bento-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ========================================================
   Wi-Fi Mic Spotlight
   ======================================================== */

.spotlight-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  padding: 38px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(24, 18, 42, 0.9) 0%, rgba(15, 12, 24, 0.92) 100%);
  border: 1px solid rgba(192, 132, 252, 0.24);
  box-shadow: var(--shadow-card);
}

.spotlight-copy .section-title,
.privacy-copy .section-title {
  text-align: left;
}

.steps-list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(168, 85, 247, 0.22);
  border: 1px solid rgba(192, 132, 252, 0.36);
  color: #f3e8ff;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.steps-list strong {
  display: block;
  font-size: 0.95rem;
}

.steps-list li span:not(.step-num) {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.bridge-diagram {
  padding: 28px 22px;
  border-radius: 20px;
  background: rgba(8, 6, 15, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bridge-node {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.node-circle {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
}

.node-phone {
  color: #e9d5ff;
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(192, 132, 252, 0.3);
}

.node-active .node-circle {
  background: rgba(168, 85, 247, 0.2);
  border-color: rgba(192, 132, 252, 0.45);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.34);
}

.bridge-node span {
  font-size: 0.82rem;
  font-weight: 600;
}

.bridge-node small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.bridge-stream {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.stream-wave {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 28px;
}

.stream-wave span {
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, #a855f7, #10b981);
  animation: waveBar 1s ease-in-out infinite;
}

.stream-wave span:nth-child(2) { height: 24px; animation-delay: 0.1s; }
.stream-wave span:nth-child(3) { height: 14px; animation-delay: 0.2s; }
.stream-wave span:nth-child(4) { height: 26px; animation-delay: 0.3s; }
.stream-wave span:nth-child(5) { height: 16px; animation-delay: 0.4s; }
.stream-wave span:nth-child(6) { height: 22px; animation-delay: 0.5s; }
.stream-wave span:nth-child(1) { height: 18px; }

.stream-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #6ee7b7;
  white-space: nowrap;
}

/* ========================================================
   Privacy & Interactive Topology
   ======================================================== */

.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.privacy-checklist {
  list-style: none;
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.privacy-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--emerald-soft);
  color: #6ee7b7;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 2px;
}

.privacy-interactive-card {
  padding: 26px;
  border-radius: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.mode-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  border-radius: 13px;
  background: rgba(8, 6, 15, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

.mode-tab {
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.mode-tab.active {
  background: rgba(168, 85, 247, 0.24);
  color: #fff;
  border: 1px solid rgba(192, 132, 252, 0.35);
}

.topology-stage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 26px 18px;
  border-radius: 16px;
  background: rgba(8, 6, 15, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 16px;
}

.topo-node {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.topo-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.24);
  border: 2px solid var(--accent-bright);
  box-shadow: 0 0 22px rgba(168, 85, 247, 0.4);
}

.dot-peer {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--emerald);
  box-shadow: 0 0 22px rgba(16, 185, 129, 0.35);
}

.topo-node strong {
  font-size: 0.84rem;
}

.topo-node small {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.topo-pipe {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.topo-relay-pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 600;
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid rgba(192, 132, 252, 0.35);
  color: #f3e8ff;
  transition: all 0.25s ease;
}

.topology-stage.is-password .topo-relay-pill {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.42);
  color: #6ee7b7;
}

.topo-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--emerald));
  border-radius: 2px;
  opacity: 0.65;
}

.topology-caption {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* ========================================================
   Download Box
   ======================================================== */

.download-box {
  position: relative;
  padding: 46px 40px;
  border-radius: 28px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.24), transparent 65%),
    rgba(19, 15, 31, 0.9);
  border: 1px solid rgba(192, 132, 252, 0.32);
  box-shadow: var(--shadow-window);
}

.download-badge-row {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  margin-bottom: 18px;
}

.download-logo {
  filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.45));
}

.download-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-bright);
  margin-bottom: 3px;
}

.download-badge-row h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.download-desc {
  max-width: 60ch;
  margin: 0 auto 28px;
  color: var(--text-secondary);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 26px;
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ========================================================
   FAQ Accordion
   ======================================================== */

.faq-container {
  max-width: 820px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.open {
  border-color: rgba(192, 132, 252, 0.36);
}

.faq-trigger {
  width: 100%;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.faq-plus {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--accent-bright);
  transition: transform 0.25s ease;
}

.faq-item.open .faq-plus {
  transform: rotate(45deg);
}

.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.faq-item.open .faq-body {
  grid-template-rows: 1fr;
}

.faq-body p {
  overflow: hidden;
  padding: 0 22px;
  color: var(--text-muted);
  font-size: 0.93rem;
}

.faq-item.open .faq-body p {
  padding-bottom: 20px;
}

/* ========================================================
   Footer, Modal & Toast
   ======================================================== */

.site-footer {
  margin-top: 20px;
  padding: 34px 0 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(7, 5, 13, 0.72);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: #fff;
}

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

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 3, 9, 0.75);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  width: min(460px, 100%);
  padding: 32px;
  border-radius: 24px;
  text-align: center;
  background: #130f21;
  border: 1px solid rgba(192, 132, 252, 0.32);
  box-shadow: var(--shadow-window);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 1.4rem;
  color: var(--text-muted);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.modal-header-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  margin: 0 auto 16px;
  background: rgba(168, 85, 247, 0.16);
  border: 1px solid rgba(192, 132, 252, 0.32);
  display: grid;
  place-items: center;
}

.modal-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.modal-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.modal-actions .btn {
  padding: 11px 18px;
  font-size: 0.9rem;
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 120;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(21, 17, 36, 0.96);
  border: 1px solid rgba(192, 132, 252, 0.42);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sections stay fully opaque for instant anchor jumps & crisp readability */
[data-reveal] {
  opacity: 1;
}

/* ========================================================
   Responsive Breakpoints
   ======================================================== */

@media (max-width: 1024px) {
  .hero-grid,
  .spotlight-card,
  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-wide {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(1180px, calc(100% - 28px));
  }

  .nav-container {
    gap: 10px;
  }

  .nav-links,
  .nav-discord,
  .nav-download {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-section {
    padding: 32px 0 48px;
  }

  .hero-title {
    font-size: clamp(2rem, 8.8vw, 2.75rem);
  }

  .hero-ctas .btn,
  .download-actions .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px;
    gap: 14px 16px;
  }

  .stat-chip ~ .stat-chip {
    border-left: none;
    padding-left: 0;
  }

  .stat-divider {
    display: none;
  }

  .mock-titlebar {
    padding: 0 12px;
  }

  .mock-shield {
    font-size: 0.65rem;
    padding: 2px 7px;
  }

  .mock-workspace {
    grid-template-columns: 1fr;
  }

  .mock-sidebar {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .mock-nav-btn {
    flex: 1;
    min-width: 68px;
  }

  .mock-stage {
    padding: 14px;
  }

  .mock-lobby-grid,
  .mock-servers-grid,
  .mock-wifi-layout,
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-wide {
    grid-column: span 1;
  }

  .spotlight-card,
  .download-box {
    padding: 26px 18px;
  }

  .download-badge-row {
    flex-direction: column;
    text-align: center;
  }

  .bridge-diagram,
  .topology-stage {
    flex-direction: column;
  }

  .stream-tag {
    white-space: normal;
    text-align: center;
  }

  .topo-pipe {
    width: 100%;
    padding: 8px 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
