/* ── MathCraft Maths Hub — Dark RPG Theme ────── */
/* Matches landing page navy/purple aesthetic     */

/* ── Reset & Base ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #d0dae6;
  background: #0f1923;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #4facfe; text-decoration: none; }
a:hover { text-decoration: underline; color: #7dc4ff; }
button { cursor: pointer; border: none; font-family: inherit; }

/* ── Starfield Background ────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.15), transparent),
    radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.1), transparent),
    radial-gradient(1.5px 1.5px at 50% 10%, rgba(255,255,255,0.12), transparent),
    radial-gradient(1px 1px at 70% 40%, rgba(255,255,255,0.08), transparent),
    radial-gradient(1px 1px at 85% 75%, rgba(255,255,255,0.1), transparent),
    radial-gradient(1.5px 1.5px at 15% 80%, rgba(255,255,255,0.06), transparent),
    radial-gradient(1px 1px at 60% 90%, rgba(255,255,255,0.1), transparent),
    linear-gradient(180deg, #0f1923 0%, #141e2e 40%, #1a1a3e 70%, #0f1923 100%);
  pointer-events: none;
}

/* ── Typography ───────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.25; font-weight: 800; color: #e8f1f8; }
h1 { font-size: clamp(1.6rem, 4.5vw, 2.2rem); margin-bottom: 16px; }
h2 { font-size: clamp(1.25rem, 3.5vw, 1.6rem); margin-top: 40px; margin-bottom: 16px; }
h3 { font-size: clamp(1.05rem, 2.5vw, 1.25rem); margin-top: 32px; margin-bottom: 12px; }
p { margin-bottom: 16px; }
ul, ol { margin-bottom: 16px; padding-left: 24px; }
li { margin-bottom: 8px; }
strong { color: #e8f1f8; }

/* ── Nav ──────────────────────────────────────── */
.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(12, 18, 32, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topnav-brand {
  font-weight: 800;
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.topnav-brand:hover { text-decoration: none; color: #fff; }
.topnav-brand img { width: 28px; height: 28px; image-rendering: pixelated; }
.topnav-links { display: flex; align-items: center; gap: 20px; }
.topnav-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.topnav-links a:hover { color: #fff; text-decoration: none; }
.topnav-cta {
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: 8px;
  background: #2ecc71;
  color: #fff !important;
  font-weight: 700;
}
.topnav-cta:hover { background: #27ae60; }

/* ── Breadcrumb ───────────────────────────────── */
.breadcrumb {
  max-width: 960px;
  margin: 16px auto 0;
  padding: 0 20px;
  font-size: 0.85rem;
  color: #6b7f95;
}
.breadcrumb a { color: #4facfe; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; color: #3a4d62; }

/* ── Page Header ──────────────────────────────── */
.page-header {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 20px 0;
}
.page-header h1 { margin-top: 8px; }
.page-intro {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  color: #8899a8;
  line-height: 1.7;
  max-width: 720px;
}

/* ── Year Badge ───────────────────────────────── */
.year-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(79, 172, 254, 0.15);
  color: #4facfe;
}
.year-badge.ks1 { background: rgba(46, 204, 113, 0.15); color: #2ecc71; }
.year-badge.ks2 { background: rgba(79, 172, 254, 0.15); color: #4facfe; }
.year-badge.ks3 { background: rgba(167, 139, 250, 0.15); color: #a78bfa; }
.year-badge.primaria { background: rgba(46, 204, 113, 0.15); color: #2ecc71; }
.year-badge.eso { background: rgba(167, 139, 250, 0.15); color: #a78bfa; }

/* ── Phase Colours ────────────────────────────── */
.phase-feeding { --phase: #2ecc71; }
.phase-building { --phase: #4facfe; }
.phase-crafting { --phase: #a78bfa; }
.phase-trading { --phase: #f39c12; }
.phase-exploring { --phase: #e74c3c; }

/* ── Topic Grid ───────────────────────────────── */
.topic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 960px;
  margin: 24px auto 0;
  padding: 0 20px;
}
@media (min-width: 640px) { .topic-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .topic-grid { grid-template-columns: repeat(3, 1fr); } }

.topic-card {
  background: linear-gradient(180deg, #1a2735 0%, #162232 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 20px;
  border-left: 4px solid var(--phase, #4facfe);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  color: inherit;
  display: block;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.topic-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 8px 24px rgba(0,0,0,0.4),
    0 0 20px rgba(var(--phase-rgb, 79,172,254), 0.15);
  text-decoration: none;
  border-color: rgba(255,255,255,0.15);
}
.topic-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.3;
  color: #e8f1f8;
}
.topic-card .topic-meta {
  font-size: 0.82rem;
  color: #6b7f95;
  display: flex;
  align-items: center;
  gap: 8px;
}
.topic-card .topic-steps {
  font-size: 0.78rem;
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  color: var(--phase, #4facfe);
}

/* ── Year Hub Grid ────────────────────────────── */
.year-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 960px;
  margin: 24px auto 0;
  padding: 0 20px;
}
@media (min-width: 640px) { .year-grid { grid-template-columns: repeat(3, 1fr); } }

.year-card {
  position: relative;
  background: linear-gradient(180deg, #1a2735 0%, #162232 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
  display: block;
  box-shadow:
    0 2px 8px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
}
/* Subtle glow ring on hover */
.year-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 15px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.year-card:hover::before { opacity: 1; }
.year-card:hover {
  transform: translateY(-4px);
  text-decoration: none;
}

/* KS1 year cards (Y1, Y2) — green glow */
.year-card:nth-child(1),
.year-card:nth-child(2) {
  border-top: 2px solid rgba(46, 204, 113, 0.4);
}
.year-card:nth-child(1):hover,
.year-card:nth-child(2):hover {
  box-shadow:
    0 8px 28px rgba(0,0,0,0.4),
    0 0 24px rgba(46, 204, 113, 0.2),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

/* KS2 year cards (Y3-Y6) — blue glow */
.year-card:nth-child(3),
.year-card:nth-child(4),
.year-card:nth-child(5),
.year-card:nth-child(6) {
  border-top: 2px solid rgba(79, 172, 254, 0.4);
}
.year-card:nth-child(3):hover,
.year-card:nth-child(4):hover,
.year-card:nth-child(5):hover,
.year-card:nth-child(6):hover {
  box-shadow:
    0 8px 28px rgba(0,0,0,0.4),
    0 0 24px rgba(79, 172, 254, 0.2),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

/* KS3 year cards (Y7-Y9) — purple glow */
.year-card:nth-child(7),
.year-card:nth-child(8),
.year-card:nth-child(9) {
  border-top: 2px solid rgba(167, 139, 250, 0.4);
}
.year-card:nth-child(7):hover,
.year-card:nth-child(8):hover,
.year-card:nth-child(9):hover {
  box-shadow:
    0 8px 28px rgba(0,0,0,0.4),
    0 0 24px rgba(167, 139, 250, 0.2),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.year-card h2 {
  margin: 0 0 6px;
  font-size: 1.3rem;
  color: #e8f1f8;
}
.year-card .year-age {
  font-size: 0.85rem;
  color: #6b7f95;
  margin-bottom: 8px;
}
.year-card .year-count {
  font-size: 0.82rem;
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  color: #4facfe;
}
/* Color-match year-count to KS glow */
.year-card:nth-child(1) .year-count,
.year-card:nth-child(2) .year-count { color: #2ecc71; }
.year-card:nth-child(7) .year-count,
.year-card:nth-child(8) .year-count,
.year-card:nth-child(9) .year-count { color: #a78bfa; }

/* ── Content Section ──────────────────────────── */
.content-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 20px;
}
.content-section.narrow { max-width: 720px; }

/* ── Worked Example Box ───────────────────────── */
.worked-example {
  background: linear-gradient(180deg, #1a2735 0%, #162232 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 4px solid #2ecc71;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.worked-example h4 {
  margin: 0 0 12px;
  font-size: 1rem;
  color: #e8f1f8;
}
.worked-example .we-question {
  font-weight: 700;
  color: #e8f1f8;
  margin-bottom: 12px;
}
.worked-example ol {
  margin-bottom: 12px;
  padding-left: 20px;
}
.worked-example .we-answer {
  font-weight: 800;
  font-family: 'Space Mono', monospace;
  font-size: 1.1rem;
  color: #2ecc71;
  text-shadow: 0 0 8px rgba(46, 204, 113, 0.3);
}
.worked-example .we-npc {
  font-size: 0.82rem;
  font-weight: 700;
  color: #a78bfa;
}

/* ── Step List ────────────────────────────────── */
.step-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}
.step-list li {
  counter-increment: step-counter;
  padding: 12px 16px 12px 52px;
  position: relative;
  background: linear-gradient(180deg, #1a2735 0%, #162232 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  margin-bottom: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.step-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 16px;
  top: 12px;
  width: 24px;
  height: 24px;
  background: #4facfe;
  color: #0f1923;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px rgba(79, 172, 254, 0.3);
}
.step-list .step-name { font-weight: 700; color: #e8f1f8; }
.step-list .step-desc { font-size: 0.9rem; color: #8899a8; }

/* ── Related Topics ───────────────────────────── */
.related-topics {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.related-topics h2 { margin-top: 0; }
.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Info Box ─────────────────────────────────── */
.info-box {
  background: linear-gradient(180deg, #1a2735 0%, #162232 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.info-box h4 { margin-bottom: 8px; font-size: 1rem; color: #e8f1f8; }
.info-box ul { margin-bottom: 0; }
.info-box li:last-child { margin-bottom: 0; }
.info-box.green { border-left: 4px solid #2ecc71; }
.info-box.blue { border-left: 4px solid #4facfe; }
.info-box.orange { border-left: 4px solid #f39c12; }
.vocab-list li { margin-bottom: 6px; }

/* ── CTA Box ──────────────────────────────────── */
.cta-box {
  background: linear-gradient(135deg, #1a1a3e 0%, #2d1b4e 50%, #1a1a3e 100%);
  color: #fff;
  border-radius: 16px;
  padding: 32px;
  margin: 40px 0 0;
  text-align: center;
  border: 1px solid rgba(167, 139, 250, 0.2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.cta-box h3 { color: #fff; margin-top: 0; margin-bottom: 8px; }
.cta-box p { color: rgba(255,255,255,0.7); margin-bottom: 16px; }
.cta-box .btn {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 10px;
  background: #2ecc71;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(46, 204, 113, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta-box .btn:hover {
  background: #27ae60;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(46, 204, 113, 0.45);
  text-decoration: none;
}
.cta-box .btn-note {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ── Footer ───────────────────────────────────── */
footer {
  background: #080d18;
  color: rgba(255,255,255,0.4);
  padding: 40px 0;
  font-size: 0.85rem;
  text-align: center;
  margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-brand {
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  display: block;
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.footer-links a {
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  text-decoration: none;
}
.footer-links a:hover { color: #fff; text-decoration: none; }

/* ── Responsive ───────────────────────────────── */
@media (min-width: 768px) {
  .page-header { padding: 40px 40px 0; }
  .content-section { padding: 40px; }
  .breadcrumb { padding: 0 40px; }
}
@media (max-width: 480px) {
  .topnav-links a:not(.topnav-cta) { display: none; }
}

/* ── Persona Page Components ─────────────────── */

.hero-cta {
  display: inline-block;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 32px;
  border-radius: 10px;
  background: #2ecc71;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(46, 204, 113, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  margin-top: 20px;
}
.hero-cta:hover {
  background: #27ae60;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(46, 204, 113, 0.45);
  text-decoration: none;
  color: #fff;
}
.hero-note {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  color: #6b7f95;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 24px 0;
}
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  background: linear-gradient(180deg, #1a2735 0%, #162232 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.feature-card h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  line-height: 1.3;
  color: #e8f1f8;
}
.feature-card p {
  font-size: 0.85rem;
  color: #8899a8;
  margin: 0;
  line-height: 1.5;
}

/* Social Proof */
.proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 32px 0 16px;
}
.proof-stat {
  text-align: center;
  background: linear-gradient(180deg, #1a2735 0%, #162232 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.proof-stat .proof-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: 'Space Mono', monospace;
  color: #2ecc71;
  text-shadow: 0 0 8px rgba(46, 204, 113, 0.3);
}
.proof-stat .proof-label {
  display: block;
  font-size: 0.75rem;
  color: #6b7f95;
  margin-top: 4px;
  line-height: 1.3;
}
@media (max-width: 480px) {
  .proof-row { grid-template-columns: 1fr; }
  .proof-stat { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
  .proof-stat .proof-number { font-size: 1.2rem; }
}

.testimonial {
  background: linear-gradient(180deg, #1a2735 0%, #162232 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 4px solid #f39c12;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 16px 0 32px;
  font-style: italic;
  color: #8899a8;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.testimonial cite {
  display: block;
  font-style: normal;
  font-size: 0.82rem;
  color: #6b7f95;
  margin-top: 8px;
}

/* How It Works */
.steps-how {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 24px 0;
}
@media (min-width: 640px) { .steps-how { grid-template-columns: repeat(3, 1fr); } }

.step-how {
  text-align: center;
  padding: 20px;
}
.step-how .step-number {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: #4facfe;
  color: #0f1923;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 12px;
  box-shadow: 0 0 12px rgba(79, 172, 254, 0.3);
}
.step-how h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: #e8f1f8;
}
.step-how p {
  font-size: 0.85rem;
  color: #8899a8;
  margin: 0;
}

/* Year link in persona pages */
.year-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ── Find Your Level (persona links) ──────────── */
.persona-links { margin: 24px 0 32px; }
.persona-links h3 { font-size: 1rem; margin: 16px 0 8px; color: #6b7f95; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.12);
  font-size: 0.85rem;
  font-weight: 600;
  color: #d0dae6;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.pill:hover { background: rgba(79, 172, 254, 0.1); border-color: #4facfe; color: #fff; text-decoration: none; }
.pill.ks1 { border-color: rgba(46, 204, 113, 0.4); color: #2ecc71; }
.pill.ks1:hover { background: rgba(46, 204, 113, 0.1); border-color: #2ecc71; }
.pill.ks2 { border-color: rgba(79, 172, 254, 0.4); color: #4facfe; }
.pill.ks2:hover { background: rgba(79, 172, 254, 0.1); border-color: #4facfe; }
.pill.ks3 { border-color: rgba(167, 139, 250, 0.4); color: #a78bfa; }
.pill.ks3:hover { background: rgba(167, 139, 250, 0.1); border-color: #a78bfa; }

/* ── Footer persona links ─────────────────────── */
.footer-persona {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
}
.footer-persona a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 0.8rem;
}
.footer-persona a:hover { color: #fff; }

/* ── Comparison Page Components ──────────────── */

.year-badge.compare {
  background: rgba(243, 156, 18, 0.15);
  color: #f39c12;
}

/* Comparison Table */
.comparison-table-wrap {
  overflow-x: auto;
  margin: 16px 0 32px;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 480px;
}
.comparison-table th {
  background: #1a1a3e;
  color: #e8f1f8;
  font-weight: 700;
  padding: 12px 16px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.comparison-table th:first-child { border-radius: 8px 0 0 0; }
.comparison-table th:last-child { border-radius: 0 8px 0 0; }
.comparison-table td {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  vertical-align: top;
  color: #d0dae6;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) { background: rgba(255,255,255,0.02); }
.comparison-table .highlight-row { background: rgba(46, 204, 113, 0.06); }

/* Pro/Con Lists */
.pro-list li::marker { color: #2ecc71; }
.con-list li::marker { color: #e74c3c; }

/* Verdict Box */
.verdict-box {
  background: linear-gradient(180deg, #1a2735 0%, #162232 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 28px;
  margin: 32px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.verdict-box h3 {
  margin: 0 0 16px;
  font-size: 1.2rem;
  color: #e8f1f8;
}
.verdict-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .verdict-grid { grid-template-columns: 1fr 1fr; } }

.verdict-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 20px;
}
.verdict-card h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #e8f1f8;
}
.verdict-card p {
  font-size: 0.9rem;
  color: #8899a8;
  margin: 0;
}
.verdict-card.accent {
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.08) 0%, rgba(79, 172, 254, 0.08) 100%);
  border: 1px solid rgba(46, 204, 113, 0.2);
}

/* FAQ Section */
.faq-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.faq-section h2 { margin-top: 0; }
.faq-item {
  margin-bottom: 24px;
}
.faq-q {
  font-size: 1.05rem;
  margin: 0 0 6px;
  color: #e8f1f8;
}
.faq-a {
  font-size: 0.92rem;
  color: #8899a8;
  line-height: 1.7;
  margin: 0;
}

/* Cross-links */
.compare-cross-links {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.compare-cross-links h3 {
  font-size: 1rem;
  margin: 0 0 12px;
}

/* Alternatives Page — Alt Profiles */
.alt-profile {
  background: linear-gradient(180deg, #1a2735 0%, #162232 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.alt-profile.highlight {
  border-left: 4px solid #2ecc71;
  background: linear-gradient(180deg, #1a2735 0%, #162232 100%);
  box-shadow:
    0 2px 8px rgba(0,0,0,0.3),
    inset 0 0 20px rgba(46, 204, 113, 0.03);
}
.alt-profile h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: #e8f1f8;
}
.alt-meta {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
  color: #6b7f95;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.alt-price {
  font-weight: 700;
  color: #2ecc71;
  text-shadow: 0 0 6px rgba(46, 204, 113, 0.2);
}
.alt-ages { font-weight: 600; color: #8899a8; }
