/* ===== AundALabs / StreamSnap — Design System ===== */

:root {
  --bg: #0a0e17;
  --bg-elevated: #10151f;
  --surface: #141a26;
  --surface-hover: #1a2130;
  --border: #232b3d;

  --text: #f2f4f8;
  --text-muted: #9aa4b8;
  --text-faint: #626d82;

  --accent: #7c5cff;
  --accent-2: #22d3ee;
  --gradient: linear-gradient(120deg, #7c5cff 0%, #22d3ee 100%);

  --success: #34d399;
  --danger: #f87171;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-glow: 0 0 0 1px rgba(124, 92, 255, 0.15), 0 20px 60px -20px rgba(124, 92, 255, 0.35);

  --max-width: 1160px;

  --font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 0%, rgba(124, 92, 255, 0.16), transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(34, 211, 238, 0.12), transparent 40%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

@media (max-width: 720px) {
  section { padding: 64px 0; }
}

/* ---- Typography ---- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
}

h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; }

h1 {
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.08;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
}

.section-head { max-width: 620px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { margin-top: 16px; }
.section-head p { margin-top: 14px; color: var(--text-muted); font-size: 17px; }

p.lead { font-size: 19px; color: var(--text-muted); max-width: 560px; }

/* ---- Nav ---- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10, 14, 23, 0.75);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  font-size: 15px;
  color: #fff;
}

.brand-sub {
  color: var(--text-faint);
  font-weight: 500;
  font-size: 14px;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px -4px rgba(168, 85, 247, 0.55);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-word {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #f2f2f4 20%, #8e8ea8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.brand-by {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-faint);
  text-align: right;
  margin-top: 3px;
}

@media (max-width: 360px) {
  .brand-by { display: none; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  color: var(--text-muted);
}

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

.nav-cta { display: flex; align-items: center; gap: 16px; }

@media (max-width: 780px) {
  .nav-links { display: none; }
}

@media (max-width: 640px) {
  .nav .container { padding: 0 14px; gap: 10px; }
  .brand { gap: 7px; min-width: 0; }
  .brand-logo { width: 28px; height: 28px; }
  .brand-word { font-size: 15px; }
  .nav-cta { flex-shrink: 0; }
  .nav-cta .btn { padding: 9px 13px; font-size: 12px; }
}

@media (max-width: 360px) {
  .brand-word { display: none; }
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(124, 92, 255, 0.6);
}

.btn-primary:hover { box-shadow: 0 12px 32px -8px rgba(124, 92, 255, 0.8); }

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

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

.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---- Hero ---- */

.hero {
  padding: 88px 0 40px;
  text-align: center;
}

.hero .eyebrow { margin-bottom: 24px; }

.hero h1 { max-width: 780px; margin: 0 auto; }

.hero p.lead { margin: 22px auto 0; text-align: center; }

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-faint);
}

.hero-frame {
  margin: 64px auto 0;
  max-width: 960px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-glow);
  overflow: hidden;
}

.hero-frame .frame-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.frame-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border);
}

.hero-frame .frame-body {
  aspect-ratio: 16/9;
  display: grid;
  place-items: center;
  color: var(--text-faint);
  font-size: 14px;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 2px, transparent 2px 10px);
}

/* ---- Slideshow ---- */

.slideshow {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0d1119;
}

.slide {
  position: absolute;
  inset: 0;
  padding: 28px 32px;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.slide-caption {
  position: absolute;
  left: 32px;
  bottom: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.slide-dots {
  position: absolute;
  right: 24px;
  bottom: 18px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

.slide-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.slide-dot.is-active {
  background: var(--accent-2);
  transform: scale(1.3);
}

/* Mock: Download Manager */

.mock-panel-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.mock-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

.mock-row-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mock-thumb {
  width: 40px;
  height: 26px;
  border-radius: 5px;
  background: linear-gradient(135deg, #2a2f42, #1a1e2c);
  flex-shrink: 0;
}

.mock-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-live {
  font-size: 10px;
  font-weight: 700;
  color: #f87171;
  letter-spacing: 0.03em;
}

.mock-status {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.mock-status.active { background: rgba(124,92,255,0.15); color: #b3a2ff; }
.mock-status.complete { background: rgba(52,211,153,0.15); color: var(--success); }
.mock-status.paused { background: rgba(154,164,184,0.15); color: var(--text-muted); }

.mock-progress-track {
  height: 5px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}

.mock-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--gradient);
}

.mock-meta {
  display: flex;
  gap: 14px;
  font-size: 11px;
  color: var(--text-faint);
}

/* Mock: Download window */

.mock-modal {
  max-width: 340px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.mock-field-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-faint);
  margin-bottom: 6px;
  margin-top: 14px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.mock-field-label:first-child { margin-top: 0; }

.mock-select {
  font-size: 13px;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 9px 12px;
}

.mock-chip-row { display: flex; gap: 8px; }

.mock-chip {
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 7px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--bg-elevated);
}

.mock-chip.is-selected {
  background: rgba(124,92,255,0.15);
  border-color: var(--accent);
  color: #fff;
}

.mock-start-btn {
  margin-top: 18px;
  text-align: center;
  background: var(--gradient);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 11px;
  border-radius: 8px;
}

/* Mock: Browser overlay */

.mock-player {
  max-width: 460px;
  margin: 0 auto;
  aspect-ratio: 16/9.5;
  border-radius: 12px;
  position: relative;
  border: 1px solid var(--border);
  overflow: hidden;
  background: #0d1119;
}

.mock-player-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mock-player-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 700;
  color: #f87171;
  background: rgba(0,0,0,0.5);
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  z-index: 2;
}

/* Authentische Nachbildung des echten Overlay-Buttons (extension/content/overlay.css) */
.mock-ss-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.mock-ss-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(15, 15, 15, 0.92);
  border: 1.5px solid rgba(108, 99, 255, 0.8);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.mock-ss-btn svg {
  width: 18px;
  height: 18px;
  color: #6c63ff;
}

.mock-ss-btn-mp3 {
  width: auto;
  padding: 0 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #f97316;
  border-color: rgba(249, 115, 22, 0.7);
}

.mock-player-controls {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.25);
  z-index: 2;
}

.mock-player-controls::after {
  content: "";
  display: block;
  width: 38%;
  height: 100%;
  border-radius: 999px;
  background: var(--gradient);
}

/* ---- Feature grid ---- */

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

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.card:hover { border-color: rgba(124, 92, 255, 0.4); transform: translateY(-2px); }

.card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(124, 92, 255, 0.12);
  border: 1px solid rgba(124, 92, 255, 0.25);
  margin-bottom: 18px;
  font-size: 20px;
}

.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 15px; }

/* ---- Steps ---- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

@media (max-width: 780px) {
  .steps { grid-template-columns: 1fr; }
}

.step { position: relative; padding-left: 4px; }

.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  margin-bottom: 16px;
}

.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: 15px; }

/* ---- Download ---- */

.download-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
}

.download-options {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.download-card {
  width: 220px;
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.download-card .badge-soon { margin-top: auto; padding-top: 14px; }

.download-card-mobile {
  width: 264px;
}

.download-card .os-icon { font-size: 28px; margin-bottom: 10px; }
.download-card h4 { font-size: 16px; margin-bottom: 4px; }
.download-card span { font-size: 13px; color: var(--text-faint); display: block; margin-bottom: 16px; }

.download-card .price {
  font-size: 21px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.download-card .price small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-faint);
  margin-top: 2px;
}

.mobile-tier-mini {
  display: flex;
  gap: 14px;
  text-align: left;
  margin-bottom: 16px;
}

.tier-mini {
  flex: 1;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
}

.tier-mini-pro {
  border-color: rgba(124, 92, 255, 0.4);
  background: rgba(124, 92, 255, 0.07);
}

.tier-mini-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-faint);
  margin-bottom: 8px;
}

.tier-mini-pro .tier-mini-label { color: #b3a2ff; }

.tier-mini ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--text-muted);
}

.store-hint {
  font-size: 12.5px;
  color: var(--text-faint);
  margin-top: auto;
  padding-top: 6px;
}

.badge-soon {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-faint);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 10px;
  margin-top: 10px;
}

/* ---- FAQ ---- */

.faq { max-width: 760px; margin: 0 auto; }

.faq details {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  font-size: 20px;
  color: var(--text-faint);
  transition: transform 0.15s ease;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq p {
  color: var(--text-muted);
  margin-top: 12px;
  font-size: 15px;
}

/* ---- Footer ---- */

.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

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

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--text-muted);
}

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

.footer-copy { font-size: 13px; color: var(--text-faint); }

/* ---- Coming soon (root page) ---- */

.coming-soon {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.coming-soon .brand-mark { width: 56px; height: 56px; border-radius: 16px; font-size: 24px; margin-bottom: 28px; }

.coming-soon h1 { font-size: clamp(32px, 6vw, 48px); }

.coming-soon p.lead { margin: 18px 0 34px; }
