/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { text-decoration: none; color: inherit; }
input, select, button { font-family: inherit; font-size: inherit; }

/* ---------- Tokens ---------- */
:root {
  --bg: #0a0e1a;
  --bg-alt: #0f1424;
  --surface: #141a2e;
  --surface-2: #1b2238;
  --surface-3: #232c47;
  --border: #2a3552;
  --border-light: #364263;
  --text: #e8ecf7;
  --text-dim: #a3acc7;
  --text-faint: #6b7596;
  --accent: #4f8fff;
  --accent-2: #6aa3ff;
  --accent-glow: rgba(79, 143, 255, 0.18);
  --gold: #ffc23c;
  --gold-dim: #6b5a2c;
  --green: #1ec46d;
  --green-dim: #133b22;
  --red: #ff5a6a;
  --yellow: #ffb84d;
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --radius-sm: 10px;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #fff;
  box-shadow: 0 6px 18px var(--accent-glow);
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost {
  background: transparent;
  border-color: var(--border-light);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-arrow {
  display: inline-block;
  margin-left: 2px;
  transition: transform 0.2s ease;
}
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---------- CTA Banner ---------- */
.cta-banner {
  position: relative;
  padding: 88px 0;
  background:
    radial-gradient(ellipse at 20% 50%, var(--accent-glow), transparent 55%),
    radial-gradient(ellipse at 90% 30%, rgba(106, 163, 255, 0.12), transparent 50%),
    linear-gradient(180deg, var(--bg-alt), var(--bg));
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 143, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 143, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: center;
}
.cta-content h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 12px 0 14px;
}
.cta-content p {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0 0 28px;
  max-width: 560px;
}
.cta-content strong { color: var(--text); font-weight: 600; }
.cta-buttons {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.cta-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-faint);
  font-size: 13.5px;
  font-weight: 500;
}
.cta-meta svg { color: var(--green); }

.cta-stars {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-stars-num {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(180deg, #fff, #a9b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-stars-row {
  font-size: 24px;
  color: var(--gold);
  letter-spacing: 4px;
  margin: 12px 0 8px;
}
.cta-stars-label {
  font-size: 13.5px;
  color: var(--text-dim);
}

@media (max-width: 820px) {
  .cta-inner { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner { padding: 64px 0; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 4px 12px var(--accent-glow);
}
.logo-text { font-size: 19px; letter-spacing: -0.01em; }
.logo-accent { color: var(--accent-2); }

.site-nav {
  display: flex;
  gap: 28px;
}
.site-nav a {
  color: var(--text-dim);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--text); }

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

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 64px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 600px;
  background: radial-gradient(ellipse at center, var(--accent-glow), transparent 60%);
  filter: blur(40px);
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-left h1 {
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.05;
  margin: 18px 0 18px;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.accent {
  background: linear-gradient(120deg, var(--accent-2), #b2c8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-dim);
  margin: 0 0 28px;
  max-width: 540px;
  line-height: 1.6;
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
}
.trust-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(30, 196, 109, 0.18);
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.meta-item {
  display: flex;
  flex-direction: column;
}
.meta-num {
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
}
.meta-num-sm { font-size: 16px; color: var(--text-dim); font-weight: 600; }
.meta-label { font-size: 13px; color: var(--text-faint); }
.meta-divider {
  width: 1px;
  align-self: stretch;
  background: var(--border);
}

/* Hero right — rating card */
.rating-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-alt));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.rating-card-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.rating-score-num {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(180deg, #fff, #b8c5e0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rating-score-stars {
  display: flex;
  gap: 4px;
  margin: 6px 0;
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 2px;
}
.rating-score-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.rating-score-total { font-size: 14px; color: var(--text-dim); }
.rating-score-total strong { color: var(--text); }
.rating-score-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--green);
  font-weight: 500;
}

.rating-bars { display: flex; flex-direction: column; gap: 8px; }
.bar-row {
  display: grid;
  grid-template-columns: 38px 1fr 60px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.bar-label {
  color: var(--text-dim);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 2px;
}
.bar-track {
  height: 8px;
  border-radius: 999px;
  background: var(--surface-3);
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.8s cubic-bezier(.2, .8, .2, 1);
}
.bar-fill.s5 { background: linear-gradient(90deg, #1ec46d, #21d97a); }
.bar-fill.s4 { background: linear-gradient(90deg, #8fcf3e, #b6dc5a); }
.bar-fill.s3 { background: linear-gradient(90deg, #ffc23c, #ffd166); }
.bar-fill.s2 { background: linear-gradient(90deg, #ff944d, #ffb37a); }
.bar-fill.s1 { background: linear-gradient(90deg, #ff5a6a, #ff8089); }
.bar-count { color: var(--text-faint); font-variant-numeric: tabular-nums; text-align: right; }

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}
.section h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 16px;
  line-height: 1.15;
}
.section-sub {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0;
}

/* ---------- Overview ---------- */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.overview-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.overview-card:hover { transform: translateY(-3px); border-color: var(--border-light); }
.overview-num {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent-2);
}
.overview-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin: 4px 0 12px;
}
.overview-card p { margin: 0; font-size: 14.5px; color: var(--text-dim); line-height: 1.55; }

@media (max-width: 920px) { .overview-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .overview-grid { grid-template-columns: 1fr; } }

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  background: var(--surface-2);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-glow), transparent);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
  margin-bottom: 16px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; }
.feature-card p { margin: 0 0 14px; font-size: 14px; color: var(--text-dim); line-height: 1.55; }
.feature-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}
.feature-rating-num { font-weight: 700; font-size: 14px; }
.feature-rating-stars { color: var(--gold); font-size: 13px; letter-spacing: 1.5px; }

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

/* ---------- Ratings breakdown ---------- */
.ratings-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 48px;
}
.ratings-big-num {
  font-size: 88px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(180deg, #fff, #a9b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ratings-big-stars {
  display: flex;
  gap: 4px;
  margin: 10px 0 8px;
  color: var(--gold);
  font-size: 22px;
  letter-spacing: 3px;
}
.ratings-big-label {
  color: var(--text-dim);
  font-size: 15px;
}
.ratings-highlights {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ratings-highlights li {
  font-size: 14.5px;
  color: var(--text-dim);
  padding-left: 22px;
  position: relative;
}
.ratings-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 2px solid var(--accent-2);
}
.ratings-highlights strong { color: var(--text); }
.ratings-highlights em { color: var(--text); font-style: normal; font-weight: 500; }

.ratings-bars-large { display: flex; flex-direction: column; gap: 14px; }
.ratings-bars-large .bar-row {
  grid-template-columns: 70px 1fr 100px;
  font-size: 14.5px;
}
.ratings-bars-large .bar-track { height: 12px; }
.ratings-bars-large .bar-label { font-weight: 600; color: var(--text); }

@media (max-width: 920px) {
  .ratings-grid { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
}

/* ---------- Reviews ---------- */
.reviews-controls {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.filter-chip:hover { color: var(--text); border-color: var(--border-light); }
.filter-chip.active {
  background: var(--accent-glow);
  border-color: var(--accent);
  color: var(--text);
}
.filter-count {
  background: var(--surface-3);
  color: var(--text-dim);
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.filter-chip.active .filter-count {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.review-tools {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.search-wrap svg {
  position: absolute;
  left: 12px;
  color: var(--text-faint);
}
.search-wrap input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 14px 9px 36px;
  color: var(--text);
  width: 220px;
  outline: none;
  transition: border-color 0.15s ease;
}
.search-wrap input:focus { border-color: var(--accent); }
.search-wrap input::placeholder { color: var(--text-faint); }

#sortSelect {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 14px;
  color: var(--text);
  outline: none;
  cursor: pointer;
}

.reviews-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 820px) { .reviews-list { grid-template-columns: 1fr; } }

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.15s ease;
}
.review-card:hover { border-color: var(--border-light); }

.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}
.review-author { display: flex; flex-direction: column; min-width: 0; }
.review-name {
  font-weight: 600;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  color: #fff;
}
.verified-badge svg { width: 9px; height: 9px; }
.review-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12.5px;
  color: var(--text-faint);
}
.review-stars-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.review-stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 2px;
}
.review-stars-dim {
  color: var(--gold-dim);
}
.review-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tag-positive { background: rgba(30, 196, 109, 0.12); color: #4ad88a; }
.tag-neutral  { background: rgba(255, 184, 77, 0.12); color: #ffc56b; }
.tag-support  { background: rgba(255, 90, 106, 0.12); color: #ff8089; }

.review-title {
  font-weight: 700;
  font-size: 16px;
  margin: 0;
  line-height: 1.35;
}
.review-body {
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0;
}
.review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: 12.5px;
  color: var(--text-faint);
}
.review-feature-pill {
  background: var(--surface-3);
  color: var(--text-dim);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
}
.review-helpful {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.review-helpful svg { width: 13px; height: 13px; }

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.page-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.page-btn:hover:not(:disabled) { color: var(--text); border-color: var(--border-light); }
.page-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.page-ellipsis {
  padding: 0 8px;
  color: var(--text-faint);
  font-weight: 600;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-dim);
  grid-column: 1 / -1;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding-top: 56px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 48px;
}
.footer-left { max-width: 420px; }
.footer-disclaimer {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--text-faint);
  line-height: 1.6;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-col h4 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}
.footer-col a {
  display: block;
  color: var(--text-dim);
  font-size: 14px;
  padding: 4px 0;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--accent-2); }

.footer-bottom {
  margin-top: 48px;
  padding: 22px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 820px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}
