/* ============================================
   CoursePrime — Premium Affiliate Review Site
   Design System & Global Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Color Palette */
  --clr-bg-primary: #0a0e1a;
  --clr-bg-secondary: #111827;
  --clr-bg-card: rgba(17, 24, 39, 0.7);
  --clr-bg-glass: rgba(255, 255, 255, 0.04);
  --clr-bg-glass-hover: rgba(255, 255, 255, 0.08);
  --clr-surface: #1a1f35;
  --clr-surface-elevated: #1e2642;

  --clr-text-primary: #f0f2f8;
  --clr-text-secondary: #9ca3af;
  --clr-text-muted: #6b7280;
  --clr-text-accent: #c9a34f;

  --clr-accent-gold: #d4a843;
  --clr-accent-gold-light: #f0d68a;
  --clr-accent-purple: #8b5cf6;
  --clr-accent-purple-light: #a78bfa;
  --clr-accent-blue: #3b82f6;
  --clr-accent-emerald: #10b981;
  --clr-accent-rose: #f43f5e;
  --clr-accent-amber: #f59e0b;
  --clr-accent-cyan: #06b6d4;

  --clr-border: rgba(255, 255, 255, 0.06);
  --clr-border-hover: rgba(255, 255, 255, 0.12);
  --clr-border-accent: rgba(212, 168, 67, 0.3);

  --clr-gradient-hero: linear-gradient(135deg, #0a0e1a 0%, #1a103a 40%, #0f1b3d 70%, #0a0e1a 100%);
  --clr-gradient-gold: linear-gradient(135deg, #d4a843, #f0d68a, #c9a34f);
  --clr-gradient-purple: linear-gradient(135deg, #7c3aed, #a78bfa);
  --clr-gradient-card: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);

  /* Typography */
  --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ff-heading: 'Playfair Display', Georgia, serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 1.875rem;
  --fs-3xl: 2.25rem;
  --fs-4xl: 3rem;
  --fs-5xl: 3.75rem;

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-glow-gold: 0 0 30px rgba(212, 168, 67, 0.15);
  --shadow-glow-purple: 0 0 30px rgba(139, 92, 246, 0.15);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --max-width: 1200px;
  --max-width-article: 860px;
  --sidebar-width: 320px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--clr-text-primary);
  background: var(--clr-bg-primary);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--clr-accent-gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--clr-accent-gold-light);
}

ul, ol {
  list-style: none;
}

/* --- Utility Classes --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--clr-border);
  transition: background var(--transition-base);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--clr-text-primary);
  letter-spacing: -0.02em;
}

.navbar-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--clr-gradient-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  color: var(--clr-bg-primary);
  font-weight: 900;
}

.navbar-logo .logo-svg {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(212, 168, 67, 0.3));
}

.navbar-logo span {
  background: var(--clr-gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.navbar-nav a {
  color: var(--clr-text-secondary);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding: var(--sp-2) 0;
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-gradient-gold);
  transition: width var(--transition-base);
}

.navbar-nav a:hover {
  color: var(--clr-text-primary);
}

.navbar-nav a:hover::after {
  width: 100%;
}

.navbar-nav a.active {
  color: var(--clr-accent-gold);
}

.navbar-nav a.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: var(--sp-2);
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--clr-text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: var(--clr-gradient-hero);
  overflow: hidden;
  padding-top: 72px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212, 168, 67, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.04), transparent 70%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-30px, 30px) rotate(5deg); }
  50% { transform: translate(20px, -20px) rotate(-3deg); }
  75% { transform: translate(-15px, -10px) rotate(2deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(212, 168, 67, 0.1);
  border: 1px solid rgba(212, 168, 67, 0.25);
  border-radius: var(--radius-full);
  padding: var(--sp-2) var(--sp-5);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--clr-accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-8);
  animation: fadeInUp 0.6s ease-out;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-accent-gold);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
  font-family: var(--ff-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--clr-text-primary);
  margin-bottom: var(--sp-6);
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero h1 em {
  font-style: italic;
  background: var(--clr-gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: var(--fs-lg);
  color: var(--clr-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--sp-10);
  max-width: 560px;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-stats {
  display: flex;
  gap: var(--sp-10);
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  display: block;
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--clr-accent-gold);
  line-height: 1.2;
}

.hero-stat-label {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Affiliate Disclosure --- */
.affiliate-disclosure {
  background: rgba(212, 168, 67, 0.06);
  border: 1px solid rgba(212, 168, 67, 0.15);
  border-radius: var(--radius-md);
  padding: var(--sp-4) var(--sp-6);
  margin: var(--sp-12) auto;
  max-width: var(--max-width);
  font-size: var(--fs-sm);
  color: var(--clr-text-secondary);
  line-height: 1.6;
}

.affiliate-disclosure strong {
  color: var(--clr-accent-gold);
}

/* --- Section Titles --- */
.section-header {
  text-align: center;
  margin-bottom: var(--sp-16);
}

.section-eyebrow {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--clr-accent-gold);
  margin-bottom: var(--sp-4);
}

.section-title {
  font-family: var(--ff-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--clr-text-primary);
  line-height: 1.2;
  margin-bottom: var(--sp-4);
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--clr-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Product Cards Grid (Homepage) --- */
.products-section {
  padding: var(--sp-20) 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: var(--sp-8);
}

.product-card {
  background: var(--clr-gradient-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
}

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

.product-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-card-image .card-badge {
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-4);
  background: rgba(10, 14, 26, 0.8);
  backdrop-filter: blur(8px);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--clr-accent-gold);
  border: 1px solid rgba(212, 168, 67, 0.3);
}

/* CSS gradient backgrounds for cards without images */
.product-card-image.gradient-bg {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-image.gradient-bg .card-icon {
  font-size: 4rem;
  opacity: 0.3;
}

.gradient-purple { background: linear-gradient(135deg, #2d1b69, #1a103a, #0f0a2e); }
.gradient-blue { background: linear-gradient(135deg, #0c2340, #1a365d, #0f1b3d); }
.gradient-emerald { background: linear-gradient(135deg, #064e3b, #065f46, #0a3d31); }
.gradient-rose { background: linear-gradient(135deg, #4c0519, #6b0f1a, #3b0a11); }
.gradient-amber { background: linear-gradient(135deg, #451a03, #78350f, #5c2a06); }
.gradient-cyan { background: linear-gradient(135deg, #083344, #0e4c5c, #0a3240); }
.gradient-gold { background: linear-gradient(135deg, #3d2b0a, #5c4415, #4a360e); }
.gradient-indigo { background: linear-gradient(135deg, #1e1b4b, #312e81, #252262); }

.product-card-body {
  padding: var(--sp-6);
}

.product-card-category {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-accent-purple-light);
  margin-bottom: var(--sp-3);
}

.product-card-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--clr-text-primary);
  margin-bottom: var(--sp-3);
  line-height: 1.3;
}

.product-card-excerpt {
  font-size: var(--fs-sm);
  color: var(--clr-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-5);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--clr-border);
}

.product-card-rating {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.stars {
  display: flex;
  gap: 2px;
  color: var(--clr-accent-gold);
  font-size: var(--fs-sm);
}

.rating-text {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-text-primary);
}

.product-card-link {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-accent-gold);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  transition: gap var(--transition-fast);
}

.product-card-link:hover {
  gap: var(--sp-3);
}

/* --- Review Article Page --- */
.article-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  padding-top: 72px;
  overflow: hidden;
}

.article-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.article-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--clr-bg-primary) 0%, rgba(10, 14, 26, 0.7) 50%, rgba(10, 14, 26, 0.3) 100%);
}

.article-hero-content {
  position: relative;
  z-index: 2;
  padding: var(--sp-16) 0;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--sp-6);
  padding-right: var(--sp-6);
}

.article-category-badge {
  display: inline-block;
  background: rgba(139, 92, 246, 0.15);
  color: var(--clr-accent-purple-light);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-full);
  border: 1px solid rgba(139, 92, 246, 0.3);
  margin-bottom: var(--sp-5);
}

.article-hero h1 {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--clr-text-primary);
  line-height: 1.2;
  margin-bottom: var(--sp-5);
  max-width: 750px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--clr-text-secondary);
}

.article-meta-item svg {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

/* --- Quick Verdict Box --- */
.verdict-box {
  background: var(--clr-gradient-card);
  border: 1px solid var(--clr-border-accent);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  margin: var(--sp-10) 0;
  position: relative;
  overflow: hidden;
}

.verdict-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--clr-gradient-gold);
}

.verdict-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-6);
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.verdict-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-accent-gold);
}

.verdict-score {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.verdict-score-number {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--clr-accent-gold);
  line-height: 1;
}

.verdict-score-max {
  font-size: var(--fs-md);
  color: var(--clr-text-muted);
}

.verdict-stars {
  display: flex;
  gap: 3px;
  color: var(--clr-accent-gold);
  font-size: var(--fs-lg);
}

.verdict-summary {
  font-size: var(--fs-md);
  color: var(--clr-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--sp-6);
}

.verdict-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}

.verdict-pros h4,
.verdict-cons h4 {
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.verdict-pros h4 { color: var(--clr-accent-emerald); }
.verdict-cons h4 { color: var(--clr-accent-rose); }

.verdict-pros ul li,
.verdict-cons ul li {
  font-size: var(--fs-sm);
  color: var(--clr-text-secondary);
  padding: var(--sp-2) 0;
  padding-left: var(--sp-5);
  position: relative;
  line-height: 1.6;
}

.verdict-pros ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--clr-accent-emerald);
  font-weight: 700;
}

.verdict-cons ul li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: var(--clr-accent-rose);
  font-weight: 700;
}

.verdict-cta {
  margin-top: var(--sp-8);
  text-align: center;
}

/* --- CTA Buttons --- */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-10);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-cta-gold {
  background: var(--clr-gradient-gold);
  color: var(--clr-bg-primary);
  box-shadow: 0 4px 15px rgba(212, 168, 67, 0.3);
}

.btn-cta-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 168, 67, 0.4);
  color: var(--clr-bg-primary);
}

.btn-cta-outline {
  background: transparent;
  color: var(--clr-accent-gold);
  border: 2px solid var(--clr-accent-gold);
}

.btn-cta-outline:hover {
  background: rgba(212, 168, 67, 0.1);
  transform: translateY(-2px);
  color: var(--clr-accent-gold);
}

/* --- Article Content --- */
.article-layout {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  gap: var(--sp-12);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--sp-12) var(--sp-6);
}

.article-content {
  min-width: 0;
}

.article-content h2 {
  font-family: var(--ff-heading);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--clr-text-primary);
  margin-top: var(--sp-12);
  margin-bottom: var(--sp-6);
  line-height: 1.3;
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--clr-border);
}

.article-content h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--clr-text-primary);
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-4);
}

.article-content p {
  font-size: var(--fs-md);
  color: var(--clr-text-secondary);
  line-height: 1.85;
  margin-bottom: var(--sp-6);
}

.article-content ul,
.article-content ol {
  margin-bottom: var(--sp-6);
  padding-left: var(--sp-6);
}

.article-content ul li {
  position: relative;
  padding: var(--sp-2) 0;
  padding-left: var(--sp-5);
  font-size: var(--fs-md);
  color: var(--clr-text-secondary);
  line-height: 1.7;
  list-style: none;
}

.article-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-accent-gold);
}

.article-content ol {
  counter-reset: list-counter;
}

.article-content ol li {
  counter-increment: list-counter;
  position: relative;
  padding: var(--sp-2) 0;
  padding-left: var(--sp-8);
  font-size: var(--fs-md);
  color: var(--clr-text-secondary);
  line-height: 1.7;
  list-style: none;
}

.article-content ol li::before {
  content: counter(list-counter);
  position: absolute;
  left: 0;
  top: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(212, 168, 67, 0.15);
  color: var(--clr-accent-gold);
  font-size: var(--fs-xs);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-content blockquote {
  border-left: 3px solid var(--clr-accent-gold);
  padding: var(--sp-5) var(--sp-8);
  margin: var(--sp-8) 0;
  background: rgba(212, 168, 67, 0.04);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--clr-text-secondary);
  font-size: var(--fs-md);
  line-height: 1.8;
}

.article-content strong {
  color: var(--clr-text-primary);
  font-weight: 600;
}

/* --- Info Box / Callout --- */
.info-box {
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  margin: var(--sp-8) 0;
  border: 1px solid;
}

.info-box.tip {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.2);
}

.info-box.tip .info-box-title { color: var(--clr-accent-emerald); }

.info-box.warning {
  background: rgba(245, 158, 11, 0.06);
  border-color: rgba(245, 158, 11, 0.2);
}

.info-box.warning .info-box-title { color: var(--clr-accent-amber); }

.info-box.important {
  background: rgba(59, 130, 246, 0.06);
  border-color: rgba(59, 130, 246, 0.2);
}

.info-box.important .info-box-title { color: var(--clr-accent-blue); }

.info-box-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-3);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.info-box p {
  font-size: var(--fs-sm) !important;
  margin-bottom: 0 !important;
}

/* --- Feature Breakdown Table --- */
.feature-table-wrapper {
  overflow-x: auto;
  margin: var(--sp-8) 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
}

.feature-table {
  width: 100%;
  border-collapse: collapse;
}

.feature-table thead th {
  background: rgba(255, 255, 255, 0.04);
  padding: var(--sp-4) var(--sp-5);
  text-align: left;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--clr-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--clr-border);
}

.feature-table tbody td {
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--fs-sm);
  color: var(--clr-text-secondary);
  border-bottom: 1px solid var(--clr-border);
}

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

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

/* --- Who Is This For / Not For --- */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  margin: var(--sp-8) 0;
}

.audience-card {
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  border: 1px solid;
}

.audience-card.for {
  background: rgba(16, 185, 129, 0.04);
  border-color: rgba(16, 185, 129, 0.2);
}

.audience-card.not-for {
  background: rgba(244, 63, 94, 0.04);
  border-color: rgba(244, 63, 94, 0.2);
}

.audience-card h3 {
  font-size: var(--fs-base);
  font-weight: 700;
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.audience-card.for h3 { color: var(--clr-accent-emerald); }
.audience-card.not-for h3 { color: var(--clr-accent-rose); }

.audience-card ul li {
  font-size: var(--fs-sm);
  color: var(--clr-text-secondary);
  padding: var(--sp-2) 0;
  padding-left: var(--sp-5);
  position: relative;
  line-height: 1.6;
}

.audience-card.for ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--clr-accent-emerald);
  font-weight: 700;
}

.audience-card.not-for ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--clr-accent-rose);
  font-weight: 700;
}

/* --- Sidebar --- */
.article-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.sidebar-widget {
  background: var(--clr-gradient-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  margin-bottom: var(--sp-6);
}

.sidebar-widget h3 {
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-text-primary);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--clr-border);
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.toc-list a {
  display: block;
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--clr-text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  border-left: 2px solid transparent;
}

.toc-list a:hover,
.toc-list a.active {
  color: var(--clr-accent-gold);
  background: rgba(212, 168, 67, 0.06);
  border-left-color: var(--clr-accent-gold);
}

/* Sidebar CTA */
.sidebar-cta {
  text-align: center;
}

.sidebar-cta .cta-price {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--clr-text-primary);
  margin: var(--sp-4) 0;
}

.sidebar-cta .cta-price-note {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-5);
}

/* --- FAQ Section --- */
.faq-section {
  margin: var(--sp-12) 0;
}

.faq-item {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-4);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--clr-border-hover);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) var(--sp-6);
  background: var(--clr-bg-glass);
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--clr-text-primary);
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: var(--clr-bg-glass-hover);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(212, 168, 67, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-accent-gold);
  font-size: var(--fs-sm);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 var(--sp-6) var(--sp-6);
  font-size: var(--fs-sm);
  color: var(--clr-text-secondary);
  line-height: 1.8;
}

/* --- Related Reviews --- */
.related-section {
  padding: var(--sp-16) 0;
  border-top: 1px solid var(--clr-border);
  margin-top: var(--sp-12);
}

/* --- Footer --- */
.site-footer {
  background: var(--clr-bg-secondary);
  border-top: 1px solid var(--clr-border);
  padding: var(--sp-16) 0 var(--sp-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-12);
}

.footer-brand p {
  font-size: var(--fs-sm);
  color: var(--clr-text-secondary);
  line-height: 1.7;
  margin-top: var(--sp-4);
  max-width: 300px;
}

.footer-col h4 {
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-text-primary);
  margin-bottom: var(--sp-5);
}

.footer-col ul li {
  margin-bottom: var(--sp-3);
}

.footer-col ul li a {
  font-size: var(--fs-sm);
  color: var(--clr-text-secondary);
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--clr-accent-gold);
}

.footer-bottom {
  padding-top: var(--sp-8);
  border-top: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer-bottom p {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
}

/* --- Scroll-to-Top --- */
.scroll-top {
  position: fixed;
  bottom: var(--sp-8);
  right: var(--sp-8);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--clr-gradient-gold);
  color: var(--clr-bg-primary);
  border: none;
  cursor: pointer;
  font-size: var(--fs-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: all var(--transition-base);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(212, 168, 67, 0.4);
}

/* --- Rating Bars --- */
.rating-breakdown {
  margin: var(--sp-6) 0;
}

.rating-bar-item {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-3);
}

.rating-bar-label {
  font-size: var(--fs-sm);
  color: var(--clr-text-secondary);
  min-width: 140px;
}

.rating-bar {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--clr-gradient-gold);
  transition: width 1s ease-out;
}

.rating-bar-value {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--clr-accent-gold);
  min-width: 40px;
  text-align: right;
}

/* --- Comparison Table --- */
.comparison-section {
  padding: var(--sp-16) 0;
  background: var(--clr-bg-secondary);
}

/* --- Image in Article --- */
.article-image {
  margin: var(--sp-8) 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--clr-border);
}

.article-image img {
  width: 100%;
  display: block;
}

.article-image figcaption {
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-6);
  }

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

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

  .navbar-nav.active {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-stats {
    gap: var(--sp-6);
  }

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

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

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

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

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--sp-4);
  }

  .verdict-box {
    padding: var(--sp-5);
  }
}
