/* ============================================================
   bitmagicreviews — static review site
   Brand palette pulled from Bitmagic: black bg, mint #10f5d0
   ============================================================ */

:root {
  --bg: #07070a;
  --bg-elev: #0e0f14;
  --bg-card: #14151c;
  --border: #1f2230;
  --text: #ebecf0;
  --text-dim: #a6a9b7;
  --text-mute: #6f7384;
  --accent: #10f5d0;
  --accent-2: #0dd4b8;
  --star: #ffc857;
  --shadow-lg: 0 30px 80px -30px rgba(16, 245, 208, 0.25);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
}

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

body {
  font-family: 'DM Sans', system-ui, -apple-system, Segoe UI, sans-serif;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(16,245,208,0.10), transparent 60%),
              radial-gradient(900px 500px at -10% 20%, rgba(189,147,249,0.07), transparent 60%),
              var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; transition: color .15s ease; }
a:hover { color: #fff; }

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

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'DM Sans', system-ui, sans-serif;
  letter-spacing: -0.01em;
  margin: 0;
  color: #fff;
}

p { margin: 0; }

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

/* ===================== HEADER ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(7,7,10,0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: #fff;
}
.brand:hover { color: #fff; }
.brand-mark {
  display: inline-flex;
  width: 32px; height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, #10f5d0, #0dd4b8);
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(16, 245, 208, 0.35);
}
.brand-text { color: #fff; }
.brand-text-accent { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a {
  color: var(--text-dim);
  font-size: 15px;
  font-weight: 500;
}
.site-nav a:hover { color: #fff; }
.nav-cta {
  background: var(--accent);
  color: #000 !important;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
}
.nav-cta:hover { background: #fff; }

@media (max-width: 720px) {
  .site-nav a:not(.nav-cta) { display: none; }
}

/* ===================== HERO ===================== */
.hero { padding: 70px 0 50px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}
.eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  font-weight: 700;
  margin-bottom: 22px;
}
.accent { color: var(--accent); }
.lede {
  font-size: 19px;
  color: var(--text-dim);
  max-width: 620px;
  margin-bottom: 32px;
}
.lede a { color: var(--accent); border-bottom: 1px dashed rgba(16,245,208,0.4); }
.lede a:hover { color: #fff; border-bottom-color: #fff; }

.rating-summary {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  padding: 18px 20px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 520px;
}
.rating-score {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 44px;
  color: #fff;
  line-height: 1;
}
.rating-out { color: var(--text-mute); font-size: 22px; margin-left: 2px; }
.rating-meta { font-size: 13px; color: var(--text-mute); margin-top: 6px; }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: all .2s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: #000;
  border-color: var(--accent-2);
  box-shadow: 0 6px 30px rgba(16,245,208,0.35);
}
.btn-primary:hover { transform: translateY(-2px); background: #fff; color: #000; }
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: #fff;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-big { padding: 20px 44px; font-size: 17px; }

/* Hero card */
.hero-card {
  background: linear-gradient(180deg, rgba(16,245,208,0.06), rgba(16,245,208,0) 60%), var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.card-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-mute);
  margin-bottom: 18px;
  font-family: 'Space Grotesk', sans-serif;
}
.rating-bars { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.rating-bars li {
  display: grid;
  grid-template-columns: 40px 1fr 44px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-dim);
}
.rating-bars .label { font-weight: 700; color: #fff; }
.rating-bars .bar {
  height: 8px;
  background: var(--bg-card);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.rating-bars .fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px;
}
.rating-bars .pct { text-align: right; color: var(--text-mute); }

.quick-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.quick-facts > div { display: flex; flex-direction: column; }
.quick-facts dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-mute);
}
.quick-facts dd { margin: 4px 0 0; color: #fff; font-weight: 500; }

/* ===================== STARS ===================== */
.stars { display: inline-flex; gap: 2px; }
.stars-lg .star { width: 22px; height: 22px; }
.star {
  width: 16px; height: 16px;
  background: var(--bg-card);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.62L12 2 9.19 8.62 2 9.24l5.46 4.73L5.82 21z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.62L12 2 9.19 8.62 2 9.24l5.46 4.73L5.82 21z'/></svg>") center / contain no-repeat;
}
.star.filled { background: var(--star); }
.star.three-quarter {
  background: linear-gradient(90deg, var(--star) 75%, var(--bg-card) 75%);
}

/* ===================== SECTIONS ===================== */
section { padding: 60px 0; }
.section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 10px;
  font-weight: 700;
}
.section-lede {
  color: var(--text-dim);
  font-size: 17px;
  margin-bottom: 36px;
  max-width: 680px;
}

/* glance */
.glance-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 980px) { .glance-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .glance-grid { grid-template-columns: 1fr; } }
.glance-grid li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .2s ease, border-color .2s ease;
}
.glance-grid li:hover { transform: translateY(-3px); border-color: rgba(16,245,208,0.4); }
.glance-grid h3 { font-size: 17px; margin-bottom: 8px; color: var(--accent); }
.glance-grid p { color: var(--text-dim); font-size: 15px; }

/* ===================== REVIEWS ===================== */
.reviews { background: var(--bg-elev); border-block: 1px solid var(--border); }
.review-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 22px;
  grid-template-columns: repeat(3, 1fr);
  counter-reset: rev;
}
@media (max-width: 980px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .review-grid { grid-template-columns: 1fr; } }

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16,245,208,0.45);
  box-shadow: 0 24px 60px -28px rgba(16,245,208,0.35);
}
.review-card header { margin-bottom: 14px; }
.review-card h3 {
  font-size: 18px;
  line-height: 1.3;
  margin-top: 12px;
  color: #fff;
}
.review-card blockquote {
  margin: 0 0 22px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-dim);
  flex: 1;
}
.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--c, var(--accent));
  color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.reviewer strong { color: #fff; font-weight: 700; }
.reviewer .role { color: var(--text-mute); font-size: 13px; }

/* ===================== PROS / CONS ===================== */
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 760px) { .pros-cons-grid { grid-template-columns: 1fr; } }
.pc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.pc-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
  font-family: 'Space Grotesk', sans-serif;
}
.pc-pros h3 { color: var(--accent); }
.pc-cons h3 { color: #ff6e6e; }
.pc-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.pc-card li {
  position: relative;
  padding-left: 26px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.55;
}
.pc-pros li::before {
  content: "+";
  position: absolute; left: 0; top: 0;
  width: 18px; height: 18px;
  background: rgba(16,245,208,0.15);
  color: var(--accent);
  border-radius: 6px;
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.pc-cons li::before {
  content: "−";
  position: absolute; left: 0; top: 0;
  width: 18px; height: 18px;
  background: rgba(255,110,110,0.15);
  color: #ff6e6e;
  border-radius: 6px;
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
}

/* ===================== COMPARISON ===================== */
.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}
.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 15px;
}
.compare-table thead th {
  text-align: left;
  padding: 18px 20px;
  background: var(--bg-elev);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.compare-table thead th.col-highlight {
  color: var(--accent);
  background: linear-gradient(180deg, rgba(16,245,208,0.12), rgba(16,245,208,0.04));
}
.compare-table tbody th {
  text-align: left;
  padding: 16px 20px;
  font-weight: 500;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  background: transparent;
  width: 26%;
}
.compare-table tbody td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  vertical-align: top;
}
.compare-table tbody td.col-highlight {
  color: #fff;
  background: rgba(16,245,208,0.05);
  border-left: 1px solid rgba(16,245,208,0.15);
  border-right: 1px solid rgba(16,245,208,0.15);
}
.compare-table tbody td.col-highlight strong { color: var(--accent); }
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-takeaway {
  margin-top: 22px;
  padding: 18px 22px;
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-dim);
  font-size: 15.5px;
  line-height: 1.6;
}
.compare-takeaway strong { color: #fff; }

/* ===================== COMPARISON HUB (on index page) ===================== */
.compare-deep-title {
  margin-top: 48px;
  font-size: 24px;
  font-family: 'Space Grotesk', sans-serif;
  color: #fff;
}
.compare-deep-lede {
  color: var(--text-dim);
  margin: 8px 0 22px;
  font-size: 15px;
}
.compare-hub {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 980px) { .compare-hub { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .compare-hub { grid-template-columns: 1fr; } }
.compare-hub a {
  display: block;
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  color: var(--text-dim);
}
.compare-hub a:hover {
  transform: translateY(-3px);
  border-color: rgba(16,245,208,0.5);
  box-shadow: 0 18px 40px -22px rgba(16,245,208,0.4);
  color: #fff;
}
.compare-hub h4 {
  font-size: 17px;
  margin-bottom: 8px;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
}
.compare-hub p { font-size: 14.5px; color: var(--text-dim); margin-bottom: 14px; }
.compare-hub .arrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===================== VS PAGES ===================== */
.vs-page { padding: 50px 0 80px; }
.breadcrumb {
  font-size: 14px;
  color: var(--text-mute);
  margin-bottom: 28px;
}
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb strong { color: #fff; }
.breadcrumb span { margin: 0 8px; color: var(--text-mute); }

.vs-hero { margin-bottom: 40px; max-width: 900px; }
.vs-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 18px;
}
.vs-hero .lede {
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 0;
}

.vs-verdict {
  background: linear-gradient(180deg, rgba(16,245,208,0.07), rgba(16,245,208,0.02));
  border: 1px solid rgba(16,245,208,0.25);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-bottom: 50px;
}
.vs-card-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 12px;
  font-family: 'Space Grotesk', sans-serif;
}
.vs-verdict p { font-size: 16.5px; color: var(--text); line-height: 1.65; }
.vs-verdict strong { color: var(--accent); }

.vs-section-title {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 20px;
  font-family: 'Space Grotesk', sans-serif;
}
.vs-table-section { margin-bottom: 50px; }

.vs-choose { margin-bottom: 50px; }
.vs-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 760px) { .vs-choose-grid { grid-template-columns: 1fr; } }
.vs-choose-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.vs-choose-card h3 {
  font-size: 19px;
  margin-bottom: 16px;
  font-family: 'Space Grotesk', sans-serif;
}
.vs-choose-bitmagic h3 { color: var(--accent); }
.vs-choose-other h3 { color: #fff; }
.vs-choose-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.vs-choose-card li {
  position: relative;
  padding-left: 24px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.55;
}
.vs-choose-card li::before {
  content: "›";
  position: absolute; left: 4px; top: 0;
  color: var(--accent);
  font-weight: 700;
}

.vs-prose { margin-bottom: 50px; max-width: 820px; }
.vs-prose p {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 16px;
}
.vs-prose em { color: #fff; font-style: italic; }

.vs-faq { background: transparent; border: none; padding: 0; margin-bottom: 50px; }
.vs-faq details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 10px;
}

.vs-cta-section {
  text-align: center;
  padding: 50px 30px;
  background: radial-gradient(600px 240px at 50% 0%, rgba(16,245,208,0.12), transparent 70%), var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 30px;
}
.vs-cta-section h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 10px;
}
.vs-cta-section p {
  color: var(--text-dim);
  margin-bottom: 24px;
}

/* ===================== AUDIENCE ===================== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .audience-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .audience-grid { grid-template-columns: 1fr; } }
.audience-grid article {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.audience-grid h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #fff;
}
.audience-grid p { color: var(--text-dim); font-size: 15px; }

/* ===================== FAQ ===================== */
.faq { background: var(--bg-elev); border-top: 1px solid var(--border); }
.faq details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: rgba(16,245,208,0.4); }
.faq summary {
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  list-style: none;
  position: relative;
  padding-right: 40px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--accent);
  transition: transform .2s ease;
  line-height: 1;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p {
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 15.5px;
  line-height: 1.65;
}

/* ===================== FINAL CTA ===================== */
.final-cta {
  text-align: center;
  background:
    radial-gradient(800px 300px at 50% 0%, rgba(16,245,208,0.15), transparent 70%),
    var(--bg);
  padding: 90px 0 110px;
}
.cta-inner h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 14px;
}
.cta-inner p {
  color: var(--text-dim);
  font-size: 18px;
  margin-bottom: 32px;
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: #050507;
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
  color: var(--text-dim);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.6fr;
  gap: 40px;
  margin-bottom: 36px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.brand-footer { margin-bottom: 14px; }
.footer-tag { color: var(--text-mute); max-width: 320px; }
.site-footer h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 14px;
  font-family: 'Space Grotesk', sans-serif;
}
.site-footer nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer nav a { color: var(--text-dim); }
.site-footer nav a:hover { color: var(--accent); }
.muted { color: var(--text-mute); line-height: 1.6; }
.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--text-mute);
  font-size: 13px;
}

/* ===================== A11Y ===================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
