/* ============================================
   InfraredTested.com — Design System & Styles
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

/* --- Design Tokens --- */
:root {
  /* Core palette */
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #16161f;
  --bg-card-hover: #1c1c28;
  --bg-glass: rgba(16, 16, 24, 0.72);
  --bg-glass-border: rgba(255, 255, 255, 0.06);

  /* Brand colors */
  --infrared: #ff3344;
  --infrared-dim: #cc1a2b;
  --orange: #ff6b35;
  --purple: #8b5cf6;
  --purple-dim: #6d3fd4;
  --cyan: #06b6d4;
  --gold: #f59e0b;
  --green: #22c55e;
  --red-negative: #ef4444;

  /* Text */
  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b8;
  --text-muted: #64648a;
  --text-link: #8b5cf6;

  /* Gradients */
  --grad-infrared: linear-gradient(135deg, #ff3344, #ff6b35);
  --grad-purple: linear-gradient(135deg, #8b5cf6, #06b6d4);
  --grad-gold: linear-gradient(135deg, #f59e0b, #ff6b35);
  --grad-hero: linear-gradient(160deg, #0a0a0f 0%, #1a0a1e 40%, #120a0f 70%, #0a0a0f 100%);
  --grad-card-glow: radial-gradient(ellipse at top, rgba(255, 51, 68, 0.08), transparent 60%);
  --grad-cta-red: linear-gradient(135deg, #ff3344, #ff6b35);
  --grad-cta-purple: linear-gradient(135deg, #8b5cf6, #06b6d4);

  /* Glow effects */
  --glow-infrared: 0 0 30px rgba(255, 51, 68, 0.25);
  --glow-purple: 0 0 30px rgba(139, 92, 246, 0.25);
  --glow-orange: 0 0 30px rgba(255, 107, 53, 0.25);
  --glow-gold: 0 0 30px rgba(245, 158, 11, 0.25);
  --glow-cyan: 0 0 30px rgba(6, 182, 212, 0.25);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

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

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.25rem;

  --leading-tight: 1.15;
  --leading-normal: 1.6;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-base: 0.35s var(--ease-out);
  --transition-slow: 0.5s var(--ease-out);

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;
  --nav-height: 72px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gradient-text {
  background: var(--grad-infrared);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text--purple {
  background: var(--grad-purple);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-label {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--infrared);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: var(--leading-tight);
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 640px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--leading-tight);
  color: var(--text-primary);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

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

/* ============================================
   COMPONENTS
   ============================================ */

/* --- Affiliate Disclosure Banner --- */
.affiliate-banner {
  background: rgba(139, 92, 246, 0.08);
  border-bottom: 1px solid rgba(139, 92, 246, 0.15);
  padding: var(--space-sm) var(--space-lg);
  text-align: center;
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.affiliate-banner a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-decoration-color: rgba(160, 160, 184, 0.3);
}

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

/* --- Navigation / Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--bg-glass-border);
  transition: background var(--transition-base);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  position: relative;
}

.logo span {
  background: var(--grad-infrared);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--grad-infrared);
  opacity: 0.4;
  filter: blur(3px);
}

.nav-links {
  display: none;
  gap: var(--space-xl);
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-infrared);
  transition: width var(--transition-base);
}

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

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

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 15, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  padding: var(--space-2xl) var(--space-lg);
  flex-direction: column;
  gap: var(--space-lg);
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--text-primary);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + var(--space-4xl)) 0 var(--space-4xl);
  background: var(--grad-hero);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 51, 68, 0.12) 0%, rgba(139, 92, 246, 0.06) 40%, transparent 70%);
  pointer-events: none;
  animation: hero-pulse 6s ease-in-out infinite alternate;
}

@keyframes hero-pulse {
  0% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  100% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero__title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-lg);
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

/* --- Buttons / CTAs --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--grad-cta-red);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 51, 68, 0.25);
}

.btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(255, 51, 68, 0.4);
}

.btn--purple {
  background: var(--grad-cta-purple);
  color: #fff;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.25);
}

.btn--purple:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(139, 92, 246, 0.4);
}

.btn--gold {
  background: var(--grad-gold);
  color: #0a0a0f;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.25);
}

.btn--gold:hover {
  color: #0a0a0f;
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(245, 158, 11, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

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

.btn--lg {
  font-size: var(--text-lg);
  padding: 18px 36px;
}

.btn--sm {
  font-size: var(--text-sm);
  padding: 10px 20px;
}

.btn__arrow {
  transition: transform var(--transition-fast);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* --- Cards --- */
.card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 51, 68, 0.3), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 51, 68, 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), var(--glow-infrared);
}

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

/* --- Trend Cards --- */
.trend-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.trend-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 53, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), var(--glow-orange);
}

.trend-card__category {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(139, 92, 246, 0.15);
  color: var(--purple);
  width: fit-content;
}

.trend-card__category--mask {
  background: rgba(255, 51, 68, 0.12);
  color: var(--infrared);
}

.trend-card__category--panel {
  background: rgba(6, 182, 212, 0.12);
  color: var(--cyan);
}

.trend-card__category--blanket {
  background: rgba(245, 158, 11, 0.12);
  color: var(--gold);
}

.trend-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
}

.trend-card__velocity {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--green);
}

.trend-card__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0;
}

.trend-card__link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--infrared);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

.trend-card__link:hover {
  color: var(--orange);
}

/* --- Category Pillar Cards --- */
.pillar-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--grad-card-glow);
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.pillar-card--masks {
  border-top: 3px solid var(--infrared);
}

.pillar-card--masks:hover {
  border-color: var(--infrared);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), var(--glow-infrared);
}

.pillar-card--panels {
  border-top: 3px solid var(--purple);
}

.pillar-card--panels:hover {
  border-color: var(--purple);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), var(--glow-purple);
}

.pillar-card--blankets {
  border-top: 3px solid var(--gold);
}

.pillar-card--blankets:hover {
  border-color: var(--gold);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), var(--glow-gold);
}

.pillar-card__icon {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}

.pillar-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.pillar-card__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}

/* --- Product Review Cards --- */
.review-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), var(--glow-infrared);
}

.review-card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--bg-secondary);
}

.review-card__body {
  padding: var(--space-xl);
}

.review-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.review-card__rating {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.review-card__stars {
  color: var(--gold);
  font-size: var(--text-lg);
  letter-spacing: 2px;
}

.review-card__score {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
}

.review-card__price {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--green);
  margin-bottom: var(--space-md);
}

.review-card__cta {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* --- Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.badge--best-overall {
  background: var(--grad-infrared);
  color: #fff;
}

.badge--best-value {
  background: var(--grad-purple);
  color: #fff;
}

.badge--best-budget {
  background: var(--grad-gold);
  color: #0a0a0f;
}

.badge--trending {
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
}

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

.stars__filled {
  color: var(--gold);
}

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

/* --- Price Tag --- */
.price-tag {
  font-family: var(--font-heading);
  font-weight: 700;
}

.price-tag__current {
  font-size: var(--text-2xl);
  color: var(--green);
}

.price-tag__original {
  font-size: var(--text-base);
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: var(--space-sm);
}

/* --- Pros/Cons Boxes --- */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.pros-cons__box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.pros-cons__box--pros {
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-top: 3px solid var(--green);
}

.pros-cons__box--cons {
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-top: 3px solid var(--red-negative);
}

.pros-cons__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.pros-cons__title--pros {
  color: var(--green);
}

.pros-cons__title--cons {
  color: var(--red-negative);
}

.pros-cons__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.pros-cons__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

.pros-cons__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  margin-top: 1px;
}

.pros-cons__icon--pro {
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
}

.pros-cons__icon--con {
  background: rgba(239, 68, 68, 0.15);
  color: var(--red-negative);
}

/* --- Comparison Table --- */
.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.comparison-table th {
  font-family: var(--font-heading);
  font-weight: 600;
  text-align: left;
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.comparison-table td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
}

.comparison-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.015);
}

.comparison-table tbody tr:hover {
  background: rgba(255, 51, 68, 0.04);
}

.comparison-table .winner-col {
  background: rgba(255, 51, 68, 0.06);
  border-left: 2px solid var(--infrared);
  border-right: 2px solid var(--infrared);
}

.comparison-table th.winner-col {
  background: rgba(255, 51, 68, 0.12);
  color: var(--infrared);
}

/* --- Safety / Recall Alert --- */
.alert {
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.alert--warning {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-left: 4px solid var(--gold);
}

.alert--danger {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-left: 4px solid var(--red-negative);
}

.alert__icon {
  font-size: var(--text-xl);
  flex-shrink: 0;
  line-height: 1;
}

.alert__content {
  flex: 1;
}

.alert__title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}

.alert--danger .alert__title {
  color: var(--red-negative);
}

.alert__text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0;
}

.alert__text a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(245, 158, 11, 0.3);
}

.alert--danger .alert__text a {
  color: var(--red-negative);
}

/* --- Brand Spotlight --- */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.brand-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  text-decoration: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.brand-card:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.brand-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.brand-card__score {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.brand-card__score strong {
  color: var(--gold);
}

/* --- How We Test --- */
.how-we-test {
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.how-we-test__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.how-we-test__item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.how-we-test__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  flex-shrink: 0;
  background: rgba(255, 51, 68, 0.1);
}

.how-we-test__item-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--text-primary);
  margin-bottom: 4px;
}

.how-we-test__item-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0;
}

/* --- Newsletter Section --- */
.newsletter {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
}

.newsletter__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 480px;
  margin: var(--space-xl) auto 0;
}

.newsletter__input {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.newsletter__input::placeholder {
  color: var(--text-muted);
}

.newsletter__input:focus {
  border-color: var(--infrared);
  box-shadow: 0 0 0 3px rgba(255, 51, 68, 0.15);
}

.newsletter__privacy {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin: 0;
}

/* --- Footer --- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: var(--space-4xl) 0 var(--space-xl);
}

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

.footer-col__title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.footer-col__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-col__links a {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

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

.footer-newsletter {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-newsletter__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.footer-newsletter__input {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  outline: none;
}

.footer-newsletter__input:focus {
  border-color: var(--infrared);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  text-align: center;
}

.footer-bottom__tagline {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  background: var(--grad-infrared);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-bottom__copy {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.footer-bottom__links {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  justify-content: center;
}

.footer-bottom__links a {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

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

/* --- Sections / Layout Spacing --- */
.section {
  padding: var(--space-4xl) 0;
}

.section--alt {
  background: var(--bg-secondary);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section__header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* --- Grid Layouts --- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

/* --- Trust Signals --- */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xl);
  padding: var(--space-lg) 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.trust-item__icon {
  font-size: var(--text-lg);
}

/* --- Page Content (About, Disclosure, etc.) --- */
.page-hero {
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-2xl);
  text-align: center;
  background: var(--grad-hero);
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1), transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-md);
}

.page-hero p {
  position: relative;
  z-index: 1;
  font-size: var(--text-lg);
  max-width: 600px;
  margin: 0 auto;
}

.page-content {
  padding: var(--space-3xl) 0;
}

.page-content h2 {
  font-size: var(--text-2xl);
  margin: var(--space-2xl) 0 var(--space-md);
}

.page-content h3 {
  font-size: var(--text-xl);
  margin: var(--space-xl) 0 var(--space-md);
}

.page-content p {
  margin-bottom: var(--space-lg);
  line-height: 1.75;
}

.page-content ul {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.page-content ul li {
  position: relative;
  padding-left: var(--space-md);
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

.page-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--infrared);
}

.page-content a {
  color: var(--infrared);
  text-decoration: underline;
  text-decoration-color: rgba(255, 51, 68, 0.3);
}

.page-content a:hover {
  text-decoration-color: var(--infrared);
}

.page-content .highlight-box {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 4px solid var(--infrared);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
}

.page-content .highlight-box p:last-child {
  margin-bottom: 0;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablet — 768px */
@media (min-width: 768px) {
  :root {
    --text-4xl: 3rem;
    --text-5xl: 3.75rem;
  }

  .nav-links {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .hero__title {
    font-size: var(--text-5xl);
  }

  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .pros-cons {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .newsletter__form {
    flex-direction: row;
  }

  .newsletter__form .btn {
    flex-shrink: 0;
  }

  .footer-newsletter__form {
    flex-direction: row;
  }

  .how-we-test__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop — 1024px */
@media (min-width: 1024px) {
  :root {
    --text-5xl: 4.25rem;
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .brand-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .how-we-test__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Large Desktop — 1280px */
@media (min-width: 1280px) {
  .brand-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}
