/* ============================================================
   TradeWithAI — style.css
   Dark theme, mobile-first, no external dependencies
   ============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #0a0e1a;
  --bg-card:    #1a1f35;
  --bg-card-2:  #141828;
  --cyan:       #00d4ff;
  --purple:     #7b61ff;
  --text:       #ffffff;
  --text-muted: #8892b0;
  --text-dim:   #a8b2d8;
  --border:     rgba(255,255,255,0.08);
  --border-cyan:rgba(0,212,255,0.25);
  --glow-cyan:  0 0 20px rgba(0,212,255,0.15), 0 4px 24px rgba(0,0,0,0.4);
  --glow-purple:0 0 20px rgba(123,97,255,0.2), 0 4px 24px rgba(0,0,0,0.4);
  --radius:     12px;
  --radius-sm:  8px;
  --radius-lg:  16px;
  --font:       -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:  'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  --transition: 0.2s ease;
  --nav-h:      68px;
}

html { scroll-behavior: smooth; font-size: 16px; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; transition: color var(--transition); }
a:hover { color: #40e0ff; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; color: var(--text-dim); }
p:last-child { margin-bottom: 0; }

strong { color: var(--text); font-weight: 600; }

ul, ol { padding-left: 1.5rem; color: var(--text-dim); }
li { margin-bottom: 0.4rem; }

code {
  font-family: var(--font-mono);
  background: rgba(0,212,255,0.08);
  border: 1px solid var(--border-cyan);
  color: var(--cyan);
  padding: 0.15em 0.45em;
  border-radius: 4px;
  font-size: 0.875em;
}

pre {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

pre code {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.6;
}

blockquote {
  border-left: 3px solid var(--purple);
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: rgba(123,97,255,0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

blockquote p { color: var(--text-dim); font-style: italic; }

/* ── Layout helpers ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--tight {
  padding: 3rem 0;
}

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(10,14,26,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text) !important;
  white-space: nowrap;
}

.nav__logo span {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav__links a {
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav__links a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

.nav__cta {
  background: linear-gradient(135deg, var(--cyan), #0099bb) !important;
  color: var(--bg) !important;
  font-weight: 600 !important;
  padding: 0.5rem 1.1rem !important;
  border-radius: 50px !important;
}

.nav__cta:hover {
  background: linear-gradient(135deg, #40e0ff, var(--cyan)) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0,212,255,0.3) !important;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dim);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── Hero ── */
.hero {
  padding: 7rem 0 5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 30% 0%, rgba(0,212,255,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 70% 0%, rgba(123,97,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.2);
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero__title {
  margin-bottom: 1.25rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.hero__title .highlight {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--cyan), #0099cc);
  color: #0a0e1a;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,212,255,0.35);
  color: #0a0e1a;
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--outline:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  transform: translateY(-2px);
}

.btn--purple {
  background: linear-gradient(135deg, var(--purple), #5a45cc);
  color: white;
}

.btn--purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(123,97,255,0.35);
  color: white;
}

.btn--sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
}

/* ── Trust Bar ── */
.trust-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.trust-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-bar__item .icon {
  font-size: 1rem;
}

.trust-bar__sep {
  color: var(--border);
  font-size: 1.2rem;
}

/* ── Section Headers ── */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.section-header__title {
  margin-bottom: 0.75rem;
}

.section-header__subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Comparison Table ── */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin: 1.5rem 0;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
  background: var(--bg-card);
}

.compare-table thead tr {
  background: rgba(0,212,255,0.06);
  border-bottom: 1px solid var(--border-cyan);
}

.compare-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cyan);
  white-space: nowrap;
}

.compare-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-dim);
  vertical-align: middle;
}

.compare-table tr:last-child td { border-bottom: none; }

.compare-table tbody tr {
  transition: background var(--transition);
}

.compare-table tbody tr:hover {
  background: rgba(255,255,255,0.03);
}

.compare-table .tool-name {
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.compare-table .tool-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--bg-card-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--cyan);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.compare-table .badge {
  display: inline-block;
  padding: 0.2em 0.6em;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge--free { background: rgba(0,212,255,0.12); color: var(--cyan); }
.badge--paid { background: rgba(123,97,255,0.12); color: var(--purple); }
.badge--top  { background: rgba(255,180,0,0.12);  color: #ffb400; }

/* ── Star Ratings ── */
.stars {
  display: inline-flex;
  gap: 2px;
  align-items: center;
}

.stars .star {
  color: #ffb400;
  font-size: 0.95rem;
}

.stars .star-empty {
  color: #333a55;
  font-size: 0.95rem;
}

.stars .star-half {
  color: #ffb400;
  font-size: 0.95rem;
}

.rating-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-left: 0.35rem;
}

/* ── Cards ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.cards-grid--3 {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity 0.25s ease;
  background: linear-gradient(135deg, rgba(0,212,255,0.04), rgba(123,97,255,0.04));
}

.card:hover {
  border-color: var(--border-cyan);
  transform: translateY(-4px);
  box-shadow: var(--glow-cyan);
}

.card:hover::before { opacity: 1; }

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.card__icon--purple {
  background: rgba(123,97,255,0.1);
  border-color: rgba(123,97,255,0.2);
}

.card__category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.4rem;
}

.card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.card__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: auto;
}

.card__price {
  font-weight: 600;
  color: var(--text-dim);
}

/* ── Category Section ── */
.category-section {
  padding: 4rem 0;
}

.category-section + .category-section {
  border-top: 1px solid var(--border);
}

.category-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.category-header h2 {
  font-size: 1.5rem;
}

.category-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.25rem;
}

/* ── Tool Cards ── */
.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tool-card:hover {
  border-color: var(--border-cyan);
  transform: translateY(-3px);
  box-shadow: var(--glow-cyan);
}

.tool-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tool-card__logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--cyan);
  flex-shrink: 0;
}

.tool-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.tool-card__tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.tool-card__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.tool-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  gap: 0.75rem;
}

.tool-card__price-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.tool-card__price-tag strong {
  color: var(--cyan);
  font-weight: 700;
}

/* ── Articles ── */
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  border-color: var(--border-cyan);
  transform: translateY(-3px);
  box-shadow: var(--glow-cyan);
}

.article-card__thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--bg-card-2), rgba(0,212,255,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.article-card__thumb::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  opacity: 0;
  transition: opacity var(--transition);
}

.article-card:hover .article-card__thumb::after { opacity: 1; }

.article-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card__tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.article-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.article-card__excerpt {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}

.article-card__meta {
  font-size: 0.75rem;
  color: #556080;
  display: flex;
  gap: 1rem;
}

/* ── FAQ Accordion ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open {
  border-color: var(--border-cyan);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  cursor: pointer;
  user-select: none;
  gap: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
}

.faq-question:hover { color: var(--cyan); }

.faq-question .faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: all var(--transition);
  color: var(--text-muted);
}

.faq-item.open .faq-icon {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #0a0e1a;
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer { display: block; }

/* ── Disclosure Box ── */
.disclosure-box {
  background: rgba(123,97,255,0.07);
  border: 1px solid rgba(123,97,255,0.2);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.6;
}

.disclosure-box .disc-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ── CTA Box ── */
.cta-box {
  background: linear-gradient(135deg, rgba(0,212,255,0.07), rgba(123,97,255,0.07));
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-box__content h4 {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.cta-box__content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── Score Card ── */
.score-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.score-card__score {
  text-align: center;
  flex-shrink: 0;
}

.score-card__score .score-num {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.score-card__score .score-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.score-divider {
  width: 1px;
  height: 80px;
  background: var(--border);
  flex-shrink: 0;
}

.score-card__meta {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.score-meta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
}

.score-meta-row .meta-label {
  color: var(--text-muted);
  min-width: 80px;
}

.score-meta-row .meta-value {
  color: var(--text);
  font-weight: 600;
}

.score-card__cta {
  flex-shrink: 0;
}

/* ── Pros / Cons ── */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.pros-box, .cons-box {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.pros-box { border-top: 3px solid #00c28b; }
.cons-box { border-top: 3px solid #ff4d6a; }

.pros-box h4, .cons-box h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.pros-box h4 { color: #00c28b; }
.cons-box h4 { color: #ff4d6a; }

.pros-box ul, .cons-box ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pros-box li, .cons-box li {
  font-size: 0.875rem;
  color: var(--text-dim);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
}

.pros-box li::before {
  content: '✓';
  color: #00c28b;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1em;
}

.cons-box li::before {
  content: '✕';
  color: #ff4d6a;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1em;
}

/* ── Pricing Table ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition);
}

.pricing-card.featured {
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
  position: relative;
}

.pricing-card:hover {
  border-color: var(--border-cyan);
  transform: translateY(-2px);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #0a0e1a;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2em 0.8em;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-card__name {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pricing-card__price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.pricing-card__price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.pricing-card__features li {
  font-size: 0.85rem;
  color: var(--text-dim);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
}

.pricing-card__features li::before {
  content: '✓';
  color: var(--cyan);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Mini Review (Best-Of pages) ── */
.mini-review {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: border-color var(--transition);
}

.mini-review:hover { border-color: var(--border-cyan); }

.mini-review__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.mini-review__rank {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.mini-review__title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
}

.mini-review__body {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.mini-review__verdict {
  background: rgba(0,212,255,0.05);
  border-left: 3px solid var(--cyan);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.mini-review__verdict strong { color: var(--cyan); }

.mini-review__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ── Article Page Layout ── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
  padding: 3rem 0;
}

.article-content h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  color: var(--text);
}

.article-content h3 {
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}

.article-content h4 {
  font-size: 1rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--text-dim);
}

.article-content p {
  font-size: 0.97rem;
  line-height: 1.8;
}

.article-content ul, .article-content ol {
  margin: 0.75rem 0 1.25rem;
}

.article-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}

.toc-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.toc-box h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.toc-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.toc-list li { margin: 0; }

.toc-list a {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  transition: all var(--transition);
  line-height: 1.4;
}

.toc-list a:hover {
  color: var(--cyan);
  background: rgba(0,212,255,0.06);
}

.toc-list .toc-sub {
  padding-left: 1rem;
}

/* ── Article Hero ── */
.article-hero {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card-2));
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 0 2.5rem;
}

.article-hero__tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.article-hero__title {
  margin-bottom: 1rem;
}

.article-hero__meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.article-hero__meta .author {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ── How We Tested ── */
.tested-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.tested-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  text-align: center;
}

.tested-item .tested-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.tested-item h4 {
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.tested-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── About Page ── */
.about-hero {
  padding: 5rem 0 3rem;
  text-align: center;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 3rem 0;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.about-card h3 {
  color: var(--text);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,212,255,0.2), rgba(123,97,255,0.2));
  border: 2px solid var(--border-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 0.75rem;
}

.team-card h4 {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.team-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── Footer ── */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 1.5rem;
  margin-top: 4rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand .logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.footer__brand .logo span {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer__brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.footer__col h5 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer__col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__col a {
  font-size: 0.875rem;
  color: #556080;
  transition: color var(--transition);
}

.footer__col a:hover { color: var(--text-dim); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer__disclaimer {
  font-size: 0.78rem;
  color: #3d475f;
  max-width: 600px;
  line-height: 1.5;
}

.footer__copy {
  font-size: 0.78rem;
  color: #3d475f;
}

/* ── Sitemap Bar ── */
.sitemap-bar {
  background: var(--bg-card-2);
  border-top: 1px solid var(--border);
  padding: 0.75rem 0;
  font-size: 0.75rem;
}

.sitemap-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: #2d3550;
}

.sitemap-bar__inner span { color: #2d3550; }
.sitemap-bar__inner a { color: #3d475f; }
.sitemap-bar__inner a:hover { color: var(--text-muted); }

/* ── Related Articles ── */
.related-section {
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
  margin-top: 3rem;
}

.related-section h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1.5rem;
}

/* ── Utility Classes ── */
.text-cyan    { color: var(--cyan) !important; }
.text-purple  { color: var(--purple) !important; }
.text-muted   { color: var(--text-muted) !important; }
.text-center  { text-align: center; }
.text-sm      { font-size: 0.875rem; }
.text-xs      { font-size: 0.75rem; }
.font-bold    { font-weight: 700; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-4 { margin-top: 2rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 2rem !important; }

.divider {
  height: 1px;
  background: var(--border);
  margin: 3rem 0;
}

.gradient-text {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-cyan { box-shadow: var(--glow-cyan); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    order: -1;
  }

  .score-divider { display: none; }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(10,14,26,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 0.25rem;
  }

  .nav__links.open { display: flex; }
  .nav__hamburger { display: flex; }

  .hero { padding: 4.5rem 0 3.5rem; }

  .pros-cons {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .score-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-box {
    flex-direction: column;
    text-align: center;
  }

  .mini-review__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.4rem; }
}

@media (max-width: 480px) {
  .trust-bar__sep { display: none; }
  .trust-bar__inner { gap: 0.75rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: center; }
  .cards-grid, .cards-grid--3 { grid-template-columns: 1fr; }
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #2a3050; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #3a4060; }
