/* ============================================
   Hero Section (Homepage)
   ============================================ */

.hero {
  position: relative;
  padding: var(--space-24) 0 var(--space-20);
  text-align: center;
  background: var(--color-slate-900);
  color: var(--color-white);
  overflow: hidden;
  min-height: 540px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/hero-cold-plunge.jpg') center/cover no-repeat;
  opacity: 0.2;
  z-index: 0;
  filter: contrast(1.1);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 40, 0.6) 0%,
    rgba(10, 22, 40, 0.4) 50%,
    rgba(10, 22, 40, 0.95) 100%
  );
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: var(--text-3xl);
  max-width: 780px;
  margin: 0 auto var(--space-5);
  color: var(--color-white);
  font-weight: var(--font-black);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.hero .subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.7);
  max-width: 580px;
  margin: 0 auto var(--space-8);
  line-height: var(--leading-relaxed);
  font-weight: var(--font-normal);
}

.hero .hero-cta {
  display: inline-flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
}

.hero .hero-cta .cta-button-primary {
  background: var(--color-white);
  color: var(--color-slate-900);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  font-weight: var(--font-bold);
  padding: 16px 32px;
}

.hero .hero-cta .cta-button-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  color: var(--color-slate-900);
}

.hero .hero-cta .cta-button-secondary {
  border-color: rgba(255,255,255,0.25);
  color: var(--color-white);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(4px);
}

.hero .hero-cta .cta-button-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.5);
  color: var(--color-white);
  box-shadow: none;
}

.hero .hero-meta {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.45);
  margin-top: var(--space-6);
}

@media (min-width: 768px) {
  .hero {
    padding: var(--space-32) 0 var(--space-24);
    min-height: 620px;
  }
  .hero h1 {
    font-size: 3.25rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: var(--text-5xl);
  }
}

/* ============================================
   Homepage Sections
   ============================================ */

.picks-intro {
  max-width: 700px;
  margin-bottom: var(--space-10);
}

.picks-intro h2 {
  font-size: var(--text-3xl);
  position: relative;
}

.picks-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.methodology-box {
  background: var(--color-slate-900);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  margin: var(--space-10) 0;
  color: var(--color-white);
  box-shadow: var(--shadow-2xl);
  position: relative;
  overflow: hidden;
}

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

.methodology-box::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.methodology-box h3 {
  color: var(--color-white);
  margin-bottom: var(--space-4);
  font-size: var(--text-2xl);
}

.methodology-box > p {
  color: rgba(255, 255, 255, 0.65);
}

.methodology-box a {
  color: var(--color-teal-mid);
}

.methodology-box a:hover {
  color: #A5F3FC;
}

.methodology-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-6);
}

@media (min-width: 768px) {
  .methodology-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.methodology-item {
  padding: var(--space-6);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-base);
}

.methodology-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.methodology-item .method-icon {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
  width: 48px;
  height: 48px;
  background: rgba(8, 145, 178, 0.15);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.methodology-item h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
  color: var(--color-white);
}

.methodology-item p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
  line-height: var(--leading-relaxed);
}

/* ============================================
   Comparison Page
   ============================================ */

.comparison-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: var(--space-8) 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.comparison-table {
  width: 100%;
  min-width: 700px;
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.comparison-table thead th {
  background: var(--color-slate-900);
  color: var(--color-white);
  font-weight: var(--font-semibold);
  position: sticky;
  top: 0;
  z-index: 2;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  padding: var(--space-4) var(--space-5);
}

.comparison-table th:first-child {
  position: sticky;
  left: 0;
  z-index: 3;
  background: var(--color-cream);
  font-weight: var(--font-semibold);
  min-width: 140px;
  color: var(--color-text-dark);
}

.comparison-table thead th:first-child {
  background: var(--color-slate-900);
  color: var(--color-white);
  z-index: 4;
}

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

.comparison-table tbody tr:hover {
  background: var(--color-teal-light);
}

.comparison-table tbody tr:last-child td,
.comparison-table tbody tr:last-child th {
  border-bottom: none;
}

.comparison-table .highlight-cell {
  background: var(--color-teal-light);
  font-weight: var(--font-semibold);
}

.comparison-table .cta-cell {
  white-space: nowrap;
}

.comparison-narrative {
  max-width: 800px;
}

.comparison-narrative h3 {
  margin-top: var(--space-10);
}

/* ============================================
   Review Pages
   ============================================ */

.review-hero {
  padding: var(--space-16) 0 var(--space-8);
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-white) 100%);
  margin-bottom: var(--space-8);
  position: relative;
}

.review-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.review-hero h1 {
  margin-bottom: var(--space-3);
}

.review-hero .review-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-medium);
  margin-bottom: var(--space-4);
}

.review-summary-box {
  background: var(--color-cream);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-8);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  border: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .review-summary-box {
    grid-template-columns: 1fr 1fr;
  }
}

.review-content h2 {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}

.review-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.review-content ul,
.review-content ol {
  margin: var(--space-4) 0;
  padding-left: var(--space-6);
}

.review-content ul {
  list-style: disc;
}

.review-content ol {
  list-style: decimal;
}

.review-content li {
  margin-bottom: var(--space-2);
  line-height: var(--leading-relaxed);
  color: var(--color-text-medium);
}

.review-content figure {
  margin: var(--space-8) 0;
}

.review-content figcaption {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  text-align: center;
  margin-top: var(--space-2);
}

.review-content img {
  border-radius: var(--radius-lg);
}

/* ============================================
   Buying Guide
   ============================================ */

.guide-toc {
  background: var(--color-cream);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-10);
  border: 1px solid var(--color-border);
}

.guide-toc h3 {
  font-size: var(--text-base);
  margin-bottom: var(--space-3);
}

.guide-toc ol {
  list-style: decimal;
  padding-left: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.guide-toc a {
  font-size: var(--text-sm);
  color: var(--color-text-medium);
}

.guide-toc a:hover {
  color: var(--color-teal);
}

.guide-content h2 {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}

.guide-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.guide-content p {
  max-width: 75ch;
}

.tip-box {
  background: var(--color-teal-light);
  border-left: 4px solid var(--color-teal);
  padding: var(--space-5) var(--space-6);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin: var(--space-8) 0;
}

.tip-box p {
  font-size: var(--text-sm);
  color: var(--color-text-dark);
  margin-bottom: 0;
}

.tip-box strong {
  color: var(--color-teal-dark);
}

/* ============================================
   Benefits Page
   ============================================ */

.benefit-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-teal);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.benefit-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

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

.benefit-card .benefit-icon {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
  width: 52px;
  height: 52px;
  background: var(--color-teal-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-card h3 {
  font-size: var(--text-lg);
}

.benefit-card p {
  font-size: var(--text-sm);
  color: var(--color-text-medium);
}

.citation {
  font-size: var(--text-xs);
  color: var(--color-text-light);
  font-style: italic;
}

.study-ref {
  background: var(--color-cream);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  margin: var(--space-2) 0;
  border-left: 3px solid var(--color-teal);
}

/* ============================================
   About Page
   ============================================ */

.about-content {
  max-width: 75ch;
  margin: 0 auto;
}

.about-content h2 {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}

.about-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.team-card {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  padding: var(--space-6);
  background: var(--color-cream);
  border-radius: var(--radius-xl);
  margin: var(--space-6) 0;
  border: 1px solid var(--color-border);
}

.team-card .avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: var(--color-teal-light);
  flex-shrink: 0;
  border: 3px solid var(--color-white);
  box-shadow: var(--shadow-md);
}

.testing-steps {
  counter-reset: step;
}

.testing-step {
  position: relative;
  padding-left: var(--space-12);
  margin-bottom: var(--space-8);
}

.testing-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  background: var(--color-teal);
  color: var(--color-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-bold);
  font-size: var(--text-sm);
  font-family: var(--font-heading);
}

.testing-step h4 {
  margin-bottom: var(--space-2);
}

.testing-step p {
  font-size: var(--text-sm);
  color: var(--color-text-medium);
  margin-bottom: 0;
}
