/* ============================================
   DPC Tech Review - Complete Design System
   Dark tech review aesthetic
   ============================================ */

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

:root {
  --bg-primary: #0f0f1a;
  --bg-card: #1a1a2e;
  --bg-card-hover: #1f1f35;
  --bg-elevated: #232340;
  --bg-input: #16162b;
  --blue-primary: #4361ee;
  --blue-hover: #5a7bff;
  --blue-glow: rgba(67, 97, 238, 0.25);
  --cyan-accent: #06d6a0;
  --cyan-glow: rgba(6, 214, 160, 0.2);
  --red-accent: #ef476f;
  --yellow-accent: #ffd166;
  --orange-accent: #f4845f;
  --text-primary: #e8e8ed;
  --text-secondary: #b0b0c0;
  --text-muted: #8888a0;
  --text-dim: #555570;
  --border-subtle: #2a2a45;
  --border-medium: #3a3a55;
  --border-bright: #4a4a65;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 20px var(--blue-glow);
  --font-heading: 'Space Mono', monospace;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition-fast: 0.15s ease;
  --transition-med: 0.3s ease;
  --transition-slow: 0.5s ease;
  --container-max: 1200px;
  --container-narrow: 860px;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
}

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

a {
  color: var(--blue-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--blue-hover);
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.3;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 0.85rem;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}

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

/* ---- Layout Containers ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ---- Header & Navigation ---- */
.site-header {
  background: rgba(15, 15, 26, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--blue-primary), var(--cyan-accent));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}

.logo-text-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 400;
  display: block;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 16px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: rgba(67, 97, 238, 0.12);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Hero Section ---- */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -25%;
  width: 150%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(67, 97, 238, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero h1 {
  font-size: 3rem;
  max-width: 800px;
  margin: 0 auto 1rem;
  position: relative;
}

.hero .hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: var(--blue-primary);
  color: #fff;
  box-shadow: 0 2px 12px var(--blue-glow);
}

.btn-primary:hover {
  background: var(--blue-hover);
  color: #fff;
  box-shadow: 0 4px 20px var(--blue-glow);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-bright);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.btn-small {
  padding: 8px 18px;
  font-size: 0.85rem;
}

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

.btn-outline:hover {
  background: rgba(67, 97, 238, 0.1);
  color: var(--blue-hover);
}

/* ---- Cards ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition-med);
}

.card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-link:hover {
  color: inherit;
}

/* ---- Review Cards ---- */
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition-med);
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-primary), var(--cyan-accent));
  opacity: 0;
  transition: opacity var(--transition-med);
}

.review-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md), 0 0 30px var(--blue-glow);
  transform: translateY(-3px);
}

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

.review-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 16px;
}

.review-card-info {
  flex: 1;
}

.review-card .category-badge {
  margin-bottom: 8px;
}

.review-card h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.review-card h3 a {
  color: var(--text-primary);
  text-decoration: none;
}

.review-card h3 a:hover {
  color: var(--blue-primary);
}

.review-card .excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.review-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.review-card-meta .pricing {
  color: var(--cyan-accent);
  font-weight: 600;
}

/* ---- Score Circles ---- */
.score-circle {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.score-circle svg {
  transform: rotate(-90deg);
  width: 72px;
  height: 72px;
}

.score-circle .score-bg {
  fill: none;
  stroke: var(--border-subtle);
  stroke-width: 5;
}

.score-circle .score-progress {
  fill: none;
  stroke: var(--cyan-accent);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 339.292;
  stroke-dashoffset: 339.292;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.score-circle[data-score*="9"] .score-progress,
.score-circle[data-score="10"] .score-progress {
  stroke: var(--cyan-accent);
}

.score-circle[data-score^="8"] .score-progress {
  stroke: var(--blue-primary);
}

.score-circle[data-score^="7"] .score-progress {
  stroke: var(--yellow-accent);
}

.score-circle[data-score^="6"] .score-progress,
.score-circle[data-score^="5"] .score-progress {
  stroke: var(--orange-accent);
}

.score-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.score-circle-sm {
  width: 52px;
  height: 52px;
}

.score-circle-sm svg {
  width: 52px;
  height: 52px;
}

.score-circle-sm .score-bg,
.score-circle-sm .score-progress {
  stroke-width: 4;
  r: 20;
  cx: 26;
  cy: 26;
}

.score-circle-sm .score-progress {
  stroke-dasharray: 125.664;
  stroke-dashoffset: 125.664;
}

.score-circle-sm .score-value {
  font-size: 0.85rem;
}

/* ---- Large Score Display ---- */
.score-large {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.score-large .score-circle {
  width: 120px;
  height: 120px;
}

.score-large .score-circle svg {
  width: 120px;
  height: 120px;
}

.score-large .score-value {
  font-size: 2rem;
}

.score-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-heading);
}

/* ---- Category Badges ---- */
.category-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 100px;
  background: rgba(67, 97, 238, 0.12);
  color: var(--blue-primary);
  border: 1px solid rgba(67, 97, 238, 0.2);
}

.category-badge.hardware {
  background: rgba(6, 214, 160, 0.1);
  color: var(--cyan-accent);
  border-color: rgba(6, 214, 160, 0.2);
}

.category-badge.comparison {
  background: rgba(255, 209, 102, 0.1);
  color: var(--yellow-accent);
  border-color: rgba(255, 209, 102, 0.2);
}

.category-badge.stack {
  background: rgba(244, 132, 95, 0.1);
  color: var(--orange-accent);
  border-color: rgba(244, 132, 95, 0.2);
}

/* ---- Winner Badge ---- */
.winner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(6, 214, 160, 0.15), rgba(67, 97, 238, 0.15));
  color: var(--cyan-accent);
  border: 1px solid rgba(6, 214, 160, 0.3);
}

.winner-badge::before {
  content: '\2605';
}

/* ---- Top Pick Badge ---- */
.top-pick-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--cyan-accent), var(--blue-primary));
  color: #fff;
}

.top-pick-badge::before {
  content: '#1';
}

/* ---- Pros & Cons ---- */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 32px 0;
}

.pros-card, .cons-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.pros-card {
  border-top: 3px solid var(--cyan-accent);
}

.cons-card {
  border-top: 3px solid var(--red-accent);
}

.pros-card h3, .cons-card h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.pros-card h3 {
  color: var(--cyan-accent);
}

.cons-card h3 {
  color: var(--red-accent);
}

.pros-list, .cons-list {
  list-style: none;
}

.pros-list li, .cons-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  border-bottom: 1px solid var(--border-subtle);
  opacity: 0;
  transform: translateX(-10px);
  transition: all var(--transition-med);
}

.pros-list li.visible, .cons-list li.visible {
  opacity: 1;
  transform: translateX(0);
}

.pros-list li:last-child, .cons-list li:last-child {
  border-bottom: none;
}

.pros-list li::before {
  content: '+';
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--cyan-accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}

.cons-list li::before {
  content: '-';
  position: absolute;
  left: 2px;
  top: 10px;
  color: var(--red-accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}

/* ---- Features Table ---- */
.features-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9rem;
}

.features-table th {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid var(--border-medium);
  background: var(--bg-elevated);
}

.features-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  vertical-align: middle;
}

.features-table tr {
  transition: background var(--transition-fast);
}

.features-table tr.row-highlight,
.features-table tr:hover {
  background: rgba(67, 97, 238, 0.04);
}

.features-table .feature-name {
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

.feature-yes {
  color: var(--cyan-accent);
  font-weight: 700;
  font-family: var(--font-heading);
}

.feature-no {
  color: var(--text-dim);
  font-family: var(--font-heading);
}

.feature-partial {
  color: var(--yellow-accent);
  font-size: 0.85rem;
}

/* ---- Comparison Table ---- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.comparison-table th {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 16px;
  border-bottom: 2px solid var(--border-medium);
  background: var(--bg-elevated);
}

.comparison-table th:first-child {
  text-align: left;
  color: var(--text-muted);
}

.comparison-table th:not(:first-child) {
  text-align: center;
  color: var(--text-primary);
}

.comparison-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
}

.comparison-table td:not(:first-child) {
  text-align: center;
}

.comparison-table tr:hover {
  background: rgba(67, 97, 238, 0.04);
}

.comparison-winner-cell {
  background: rgba(6, 214, 160, 0.08);
  font-weight: 600;
  color: var(--cyan-accent) !important;
}

/* ---- Comparison Category Details ---- */
.comparison-category {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  overflow: hidden;
}

.comparison-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
}

.comparison-category-header h3 {
  font-size: 1.05rem;
  margin: 0;
}

.comparison-scores {
  display: flex;
  gap: 24px;
  align-items: center;
}

.comparison-score-item {
  text-align: center;
}

.comparison-score-item .product-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison-score-item .score-num {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
}

.comparison-score-item .score-num.winner {
  color: var(--cyan-accent);
}

.comparison-toggle-btn {
  padding: 6px 14px;
  font-size: 0.8rem;
  font-family: var(--font-body);
  font-weight: 600;
  background: var(--bg-elevated);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.comparison-toggle-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.comparison-details {
  padding: 0 24px 20px;
  display: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  border-top: 1px solid var(--border-subtle);
}

.comparison-details.expanded {
  display: block;
  padding-top: 16px;
}

/* ---- Sections ---- */
.section {
  padding: 60px 0;
}

.section-header {
  margin-bottom: 40px;
}

.section-header h2 {
  margin-bottom: 8px;
}

.section-header .section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--blue-primary);
  margin-bottom: 8px;
  display: block;
}

.section-divider {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 0;
}

/* ---- Review Grid ---- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

/* ---- Filter Bar ---- */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  align-items: center;
}

.filter-btn {
  padding: 8px 20px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  font-weight: 500;
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.filter-btn.active {
  background: var(--blue-primary);
  color: #fff;
  border-color: var(--blue-primary);
}

.review-search {
  padding: 10px 20px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  background: var(--bg-input);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  outline: none;
  transition: all var(--transition-fast);
  width: 260px;
  margin-left: auto;
}

.review-search::placeholder {
  color: var(--text-dim);
}

.review-search:focus {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px var(--blue-glow);
}

/* ---- Verdict Box ---- */
.verdict-box {
  background: linear-gradient(135deg, rgba(67, 97, 238, 0.08), rgba(6, 214, 160, 0.06));
  border: 1px solid rgba(67, 97, 238, 0.2);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 32px 0;
}

.verdict-box h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan-accent);
  margin-bottom: 12px;
}

.verdict-box p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0;
}

/* ---- Review Detail Page ---- */
.review-hero {
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--border-subtle);
}

.review-hero-inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.review-hero-content {
  flex: 1;
}

.review-hero-content h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.review-hero-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.review-hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.review-body {
  padding: 40px 0;
}

.review-body h3 {
  margin-top: 36px;
  margin-bottom: 16px;
  color: var(--blue-primary);
  font-size: 1.25rem;
}

.review-body p {
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.review-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 200px;
}

/* ---- Specs Box ---- */
.specs-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 24px 0;
}

.specs-box h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
  margin-top: 0;
}

.specs-list {
  list-style: none;
}

.specs-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.88rem;
}

.specs-list li:last-child {
  border-bottom: none;
}

.specs-list .spec-label {
  color: var(--text-muted);
}

.specs-list .spec-value {
  color: var(--text-primary);
  font-weight: 500;
  text-align: right;
  max-width: 60%;
}

/* ---- Stack Cards ---- */
.stack-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-med);
}

.stack-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}

.stack-card-header {
  padding: 28px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
}

.stack-card-header h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.stack-card-header h3 a {
  color: var(--text-primary);
  text-decoration: none;
}

.stack-card-header h3 a:hover {
  color: var(--blue-primary);
}

.stack-budget {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cyan-accent);
  margin-bottom: 4px;
}

.stack-budget-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stack-card-body {
  padding: 24px 28px;
}

.stack-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

.stack-item:last-child {
  border-bottom: none;
}

.stack-item-name {
  font-weight: 600;
  color: var(--text-primary);
}

.stack-item-category {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.stack-item-cost {
  font-family: var(--font-heading);
  color: var(--cyan-accent);
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* ---- Stack Detail Page ---- */
.stack-hero {
  padding: 48px 0;
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.stack-hero .stack-budget {
  font-size: 3rem;
}

.stack-detail-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
}

.stack-detail-item h3 {
  margin-bottom: 4px;
  margin-top: 0;
}

.stack-detail-item h3 a {
  color: var(--text-primary);
}

.stack-detail-item h3 a:hover {
  color: var(--blue-primary);
}

.stack-detail-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  font-size: 0.8rem;
}

.stack-detail-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
}

.stack-detail-meta .meta-cost {
  color: var(--cyan-accent);
  font-family: var(--font-heading);
  font-weight: 600;
}

.stack-alternatives {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-dim);
}

.stack-alternatives strong {
  color: var(--text-muted);
}

/* ---- Stack Tabs ---- */
.stack-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.stack-tab-btn {
  padding: 10px 24px;
  font-size: 0.9rem;
  font-family: var(--font-heading);
  font-weight: 600;
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.stack-tab-btn:hover {
  border-color: var(--border-medium);
  color: var(--text-primary);
}

.stack-tab-btn.active {
  background: var(--blue-primary);
  color: #fff;
  border-color: var(--blue-primary);
}

/* ---- Homepage Featured Section ---- */
.featured-review {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.featured-review::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-primary), var(--cyan-accent));
}

.featured-review-inner {
  display: flex;
  padding: 36px;
  gap: 36px;
  align-items: flex-start;
}

.featured-review-content {
  flex: 1;
}

.featured-review-content h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.featured-review-content h3 a {
  color: var(--text-primary);
}

.featured-review-content h3 a:hover {
  color: var(--blue-primary);
}

/* ---- Category Navigation (Homepage) ---- */
.category-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.category-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-secondary);
  transition: all var(--transition-med);
  text-align: center;
}

.category-nav-item:hover {
  border-color: var(--blue-primary);
  color: var(--text-primary);
  box-shadow: 0 0 20px var(--blue-glow);
  transform: translateY(-2px);
}

.category-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
}

.category-nav-item h4 {
  font-size: 0.9rem;
  margin: 0;
}

.category-nav-item p {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin: 0;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 32px;
  margin-top: 60px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .site-logo {
  margin-bottom: 12px;
}

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

.footer-nav h4 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 10px;
}

.footer-nav a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  margin-top: 40px;
  padding-top: 24px;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-bottom-links a:hover {
  color: var(--text-secondary);
}

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--blue-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-med);
  box-shadow: var(--shadow-md);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
}

/* ---- Breadcrumbs ---- */
.breadcrumbs {
  padding: 16px 0;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--text-primary);
}

.breadcrumbs .sep {
  margin: 0 8px;
  color: var(--text-dim);
}

/* ---- About Page ---- */
.about-section {
  padding: 60px 0;
}

.about-section h2 {
  margin-bottom: 20px;
}

.about-section p {
  max-width: 700px;
  line-height: 1.85;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.about-card h3 {
  color: var(--blue-primary);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

/* ---- Legal Pages ---- */
.legal-page {
  padding: 60px 0;
}

.legal-page h1 {
  margin-bottom: 8px;
}

.legal-page .last-updated {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 32px;
}

.legal-page h2 {
  font-size: 1.3rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-page p, .legal-page li {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.8;
}

.legal-page ul {
  margin: 12px 0 20px 24px;
}

.legal-page li {
  margin-bottom: 8px;
}

/* ---- Comparison Page Cards ---- */
.comparison-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
  transition: all var(--transition-med);
}

.comparison-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}

.comparison-card h3 a {
  color: var(--text-primary);
  text-decoration: none;
}

.comparison-card h3 a:hover {
  color: var(--blue-primary);
}

.comparison-card-products {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 16px 0;
}

.comparison-card-product {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
}

.comparison-vs {
  color: var(--text-dim);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
}

/* ---- Info Banner ---- */
.info-banner {
  background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(6, 214, 160, 0.06));
  border: 1px solid rgba(67, 97, 238, 0.2);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  margin: 24px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- Terminal Style Labels ---- */
.terminal-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan-accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.terminal-label::before {
  content: '>';
  color: var(--text-dim);
}

/* ---- Pricing Display ---- */
.pricing-display {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--cyan-accent);
  font-weight: 700;
}

.pricing-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---- Content Grid ---- */
.content-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.content-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ---- Animations ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.animate-in {
  animation: fadeInUp 0.5s ease forwards;
}

/* ---- Review Layout (2 column) ---- */
.review-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}

.review-main {
  min-width: 0;
}

/* ---- Sticky Sidebar ---- */
.sidebar-sticky {
  position: sticky;
  top: 92px;
}

/* ---- DPC Fit Meter ---- */
.dpc-fit-meter {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
}

.dpc-fit-meter h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.dpc-fit-bar {
  width: 100%;
  height: 8px;
  background: var(--border-subtle);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.dpc-fit-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue-primary), var(--cyan-accent));
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.dpc-fit-score {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cyan-accent);
}

/* ---- Quick Links Box ---- */
.quick-links-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.quick-links-box h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.quick-links-box a {
  display: block;
  padding: 8px 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.quick-links-box a:last-child {
  border-bottom: none;
}

.quick-links-box a:hover {
  color: var(--blue-primary);
}

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

  .review-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .review-sidebar > * {
    flex: 1;
    min-width: 200px;
  }

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

  .content-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.15rem; }

  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 2rem; }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(15, 15, 26, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-subtle);
    animation: slideDown 0.3s ease;
    gap: 0;
  }

  .nav-links.nav-open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

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

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

  .featured-review-inner {
    flex-direction: column;
  }

  .review-hero-inner {
    flex-direction: column;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .review-search {
    width: 100%;
    margin-left: 0;
  }

  .content-grid-2,
  .content-grid-3 {
    grid-template-columns: 1fr;
  }

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

  .category-nav {
    grid-template-columns: 1fr 1fr;
  }

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

  .comparison-category-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .section {
    padding: 40px 0;
  }

  .stack-hero .stack-budget {
    font-size: 2.2rem;
  }

  .comparison-table {
    font-size: 0.8rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px 8px;
  }
}

@media (max-width: 480px) {
  .container, .container-narrow {
    padding: 0 16px;
  }

  .hero h1 { font-size: 1.6rem; }

  .card, .review-card {
    padding: 20px;
  }

  .category-nav {
    grid-template-columns: 1fr;
  }

  .score-circle {
    width: 60px;
    height: 60px;
  }

  .score-circle svg {
    width: 60px;
    height: 60px;
  }

  .score-value {
    font-size: 1rem;
  }
}

/* ---- Print Styles ---- */
@media print {
  .site-header,
  .site-footer,
  .back-to-top,
  .nav-toggle {
    display: none !important;
  }

  body {
    background: #fff;
    color: #222;
  }

  .card, .review-card, .comparison-card, .stack-card {
    border: 1px solid #ccc;
    box-shadow: none;
    background: #fff;
  }

  a {
    color: #222;
    text-decoration: underline;
  }
}
