/* ============ SoundVerdict — Design System ============ */
:root {
  --bg: #0a0c10;
  --bg-soft: #10141a;
  --surface: #151a21;
  --surface-2: #1b222b;
  --line: #262e38;
  --text: #eef1f5;
  --text-2: #a9b2bf;
  --text-3: #6b7684;
  --accent: #f5a524;
  --accent-2: #ff7a3d;
  --accent-soft: rgba(245, 165, 36, 0.14);
  --ok: #34d399;
  --bad: #f87171;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --nav-h: 64px;
  --maxw: 1180px;
}

* { 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.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .2s;
  font-family: inherit;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #14100a;
  box-shadow: 0 10px 28px rgba(245, 165, 36, 0.35);
}
.btn-primary:hover { box-shadow: 0 14px 34px rgba(245, 165, 36, 0.45); }
.btn-ghost { background: var(--surface-2); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: #222b35; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); display: flex; align-items: center; gap: 9px; }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center;
  color: #14100a; font-weight: 900; font-size: 15px;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-2); font-weight: 500; font-size: 14.5px; transition: color .15s; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta { padding: 9px 18px; font-size: 13.5px; }
.nav-burger { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 8px 11px; cursor: pointer; font-size: 16px; }
.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  background: var(--bg-soft); border-bottom: 1px solid var(--line);
  padding: 12px 20px 18px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 6px; color: var(--text-2); font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border-bottom: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 92px 0 76px;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 78% 8%, rgba(245, 165, 36, 0.20), transparent 60%),
    radial-gradient(45% 45% at 12% 85%, rgba(255, 122, 61, 0.12), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft);
  border: 1px solid rgba(245, 165, 36, 0.35);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(38px, 5vw, 62px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; margin-bottom: 20px; }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 18px; color: var(--text-2); max-width: 54ch; margin-bottom: 30px; }
.hero-stats { display: flex; gap: 34px; margin-top: 38px; }
.hero-stats .stat b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.hero-stats .stat span { font-size: 13px; color: var(--text-3); }

.hero-card {
  position: relative; border-radius: 24px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-card-img { aspect-ratio: 4/3; overflow: hidden; }
.hero-card-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-body { padding: 26px 26px 28px; }
.hero-card-tag { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--accent); margin-bottom: 10px; }
.hero-card h3 { font-size: 26px; letter-spacing: -0.02em; margin-bottom: 6px; }
.hero-card .sub { color: var(--text-2); font-size: 15px; margin-bottom: 16px; }
.score-row { display: flex; align-items: center; gap: 12px; }
.score-pill {
  font-size: 15px; font-weight: 800; padding: 6px 12px; border-radius: 8px;
  background: var(--accent-soft); color: var(--accent);
}
.verdict-line { font-size: 14px; color: var(--text-2); }
.hero-card .btn { margin-top: 18px; }

/* ---------- Section scaffolding ---------- */
.section { padding: 84px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head .kicker { color: var(--accent); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.025em; margin-bottom: 12px; }
.section-head p { color: var(--text-2); font-size: 16.5px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Featured picks ---------- */
.picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pick {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .2s ease, border-color .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.pick:hover { transform: translateY(-5px); border-color: rgba(245, 165, 36, 0.5); box-shadow: var(--shadow); }
.pick-img { aspect-ratio: 4/3; overflow: hidden; }
.pick-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pick:hover .pick-img img { transform: scale(1.045); }
.pick-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pick-body .rank { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); margin-bottom: 6px; }
.pick-body h3 { font-size: 20px; letter-spacing: -0.015em; margin-bottom: 4px; }
.pick-body .price { color: var(--text-2); font-size: 14px; margin-bottom: 14px; }
.pick-meta { display: flex; align-items: center; gap: 12px; margin-top: auto; }

/* ---------- Stars ---------- */
.stars { display: inline-flex; gap: 2px; color: var(--accent); }
.stars svg { width: 16px; height: 16px; }
.stars .dim { color: #3a4450; }

/* ---------- Review grid ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .2s ease, border-color .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); border-color: rgba(245, 165, 36, 0.45); box-shadow: var(--shadow); }
.card-img { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em;
  background: rgba(10, 12, 16, 0.8); backdrop-filter: blur(6px);
  border: 1px solid var(--line); color: var(--text);
  padding: 5px 10px; border-radius: 999px;
}
.card-score {
  position: absolute; right: 12px; bottom: 12px;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; font-size: 15px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #14100a;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}
.card-body { padding: 17px 19px 20px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 17.5px; letter-spacing: -0.01em; margin-bottom: 3px; }
.card-body .price { color: var(--text-3); font-size: 13.5px; margin-bottom: 12px; }
.card-body .stars { margin-bottom: 14px; }
.card-body .btn { margin-top: auto; align-self: flex-start; padding: 9px 18px; font-size: 13.5px; }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.compare { width: 100%; border-collapse: collapse; min-width: 860px; }
.compare th, .compare td { padding: 14px 16px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--surface-2); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-3); font-weight: 700; }
.compare thead th:first-child { width: 170px; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:hover td { background: rgba(245, 165, 36, 0.04); }
.compare td.score { font-weight: 800; color: var(--accent); }
.compare .model { font-weight: 600; }
.compare .model img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; display: inline-block; vertical-align: middle; margin-right: 10px; }

/* ---------- Buying guide ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.guide-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.guide-item .num { font-family: var(--serif); font-size: 34px; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 14px; }
.guide-item h3 { font-size: 18px; margin-bottom: 8px; }
.guide-item p { color: var(--text-2); font-size: 14.5px; }

/* ---------- CTA / Newsletter ---------- */
.cta { border-radius: 24px; padding: 64px 48px; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(245, 165, 36, 0.16), rgba(255, 122, 61, 0.07)), var(--surface);
  border: 1px solid rgba(245, 165, 36, 0.35); }
.cta h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.02em; margin-bottom: 12px; }
.cta p { color: var(--text-2); max-width: 46ch; margin: 0 auto 28px; }
.newsletter { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.newsletter input {
  padding: 13px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--bg-soft); color: var(--text); font-family: inherit; font-size: 15px;
  min-width: min(320px, 80vw);
}
.newsletter input:focus { outline: none; border-color: var(--accent); }
.newsletter .btn { border-radius: 999px; }
.form-msg { margin-top: 16px; font-size: 14.5px; min-height: 22px; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--bad); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; background: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.09em; color: var(--text-3); margin-bottom: 16px; }
.footer p { color: var(--text-2); font-size: 14px; max-width: 34ch; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: var(--text-2); font-size: 14px; }
.footer ul a:hover { color: var(--text); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--text-3); font-size: 13px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Review page ---------- */
.review-hero { padding: 56px 0 44px; }
.crumbs { color: var(--text-3); font-size: 13.5px; margin-bottom: 22px; }
.crumbs a { color: var(--text-3); }
.crumbs a:hover { color: var(--accent); }
.review-title { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 14px; }
.review-sub { color: var(--text-2); font-size: 17px; max-width: 62ch; margin-bottom: 26px; }
.review-top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.big-score {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 18px;
}
.big-score .num { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; color: var(--accent); line-height: 1; }
.big-score .lbl { font-size: 12.5px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; }
.review-top .price-tag { font-size: 15px; color: var(--text-2); }
.review-top .price-tag b { color: var(--text); font-size: 19px; }

.review-hero-img { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/9; margin-top: 34px; }
.review-hero-img img { width: 100%; height: 100%; object-fit: cover; }

.rv-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; padding-bottom: 70px; }
.rv-body h2 { font-size: 26px; letter-spacing: -0.02em; margin: 40px 0 16px; }
.rv-body h2:first-child { margin-top: 0; }
.rv-body p { color: var(--text-2); font-size: 16.5px; margin-bottom: 16px; }
.rv-body p b { color: var(--text); }

.verdict-box {
  background: linear-gradient(135deg, rgba(245, 165, 36, 0.12), transparent 70%), var(--surface);
  border: 1px solid rgba(245, 165, 36, 0.4); border-radius: var(--radius);
  padding: 26px 28px; margin: 30px 0;
}
.verdict-box h3 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 12px; }
.verdict-box p { margin: 0; font-size: 16.5px; color: var(--text); }

.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 26px 0; }
.proscons h4 { font-size: 15px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.proscons ul { list-style: none; }
.proscons li { padding: 8px 0 8px 26px; position: relative; color: var(--text-2); font-size: 15px; border-bottom: 1px solid var(--line); }
.proscons li:last-child { border-bottom: 0; }
.proscons li::before { position: absolute; left: 2px; top: 8px; font-weight: 800; }
.pros li::before { content: "+"; color: var(--ok); }
.cons li::before { content: "–"; color: var(--bad); }

.spec-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.spec-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table td:first-child { color: var(--text-3); width: 38%; }

.breakdown { display: flex; flex-direction: column; gap: 12px; margin: 22px 0; }
.break-row { display: flex; align-items: center; gap: 14px; font-size: 14.5px; }
.break-row .k { width: 120px; color: var(--text-2); flex-shrink: 0; }
.break-track { flex: 1; height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.break-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.break-row .v { width: 40px; text-align: right; font-weight: 700; color: var(--accent); flex-shrink: 0; }

/* ---------- Sidebar ---------- */
.rv-side { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; }
.verdict-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; margin-bottom: 22px;
}
.verdict-card h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); margin-bottom: 14px; }
.verdict-card .score-big { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; color: var(--accent); line-height: 1; }
.verdict-card .score-lbl { color: var(--text-3); font-size: 13px; margin-bottom: 12px; }
.verdict-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.verdict-card .note { font-size: 12.5px; color: var(--text-3); text-align: center; margin-top: 10px; }
.alts { list-style: none; }
.alts li { border-bottom: 1px solid var(--line); }
.alts li:last-child { border-bottom: 0; }
.alts a { display: flex; align-items: center; gap: 12px; padding: 12px 0; color: var(--text-2); font-size: 14px; }
.alts a:hover { color: var(--text); text-decoration: none; }
.alts img { width: 42px; height: 42px; border-radius: 9px; object-fit: cover; flex-shrink: 0; }
.alts b { display: block; color: var(--text); font-size: 14px; font-weight: 600; }
.alts span { font-size: 12.5px; color: var(--text-3); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding: 60px 0 56px; }
  .guide-grid { grid-template-columns: 1fr 1fr; }
  .picks { grid-template-columns: 1fr 1fr; }
  .rv-layout { grid-template-columns: 1fr; }
  .rv-side { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .rv-side .verdict-card { margin-bottom: 0; }
}

@media (max-width: 720px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .picks { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-burger { display: inline-block; }
  .proscons { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .cta { padding: 44px 24px; }
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pick, .card, .btn { transition: none; }
}
