/* === HUB PAGE === */

/* Hero */
.hub-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  padding: 5rem 2rem 4rem;
  overflow: hidden;
  background: var(--bg);
}

.hub-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hub-headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hub-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--fg-muted);
  line-height: 1.65;
  font-weight: 300;
  max-width: 52ch;
  margin: 0 auto 1.75rem;
}

.hub-programs {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.program-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  background: var(--bg-alt);
  color: var(--fg-muted);
  border: 1px solid var(--border);
  padding: 0.3rem 0.75rem;
  border-radius: 2rem;
}

.hub-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  pointer-events: none;
}

.hub-orb-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #F0D5C4 0%, transparent 70%);
  top: -80px;
  right: -60px;
}

.hub-orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #D4622A22 0%, transparent 70%);
  bottom: 20px;
  left: -40px;
}

/* Disclosure bar */
.disclosure-bar {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 2rem;
}

.disclosure-bar p {
  max-width: 860px;
  margin: 0 auto;
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.5;
  font-weight: 300;
}

.disclosure-bar strong {
  color: var(--fg);
  font-weight: 500;
}

/* Category sections */
.hub-category {
  padding: 5rem 2rem;
  background: var(--bg);
}

.hub-category:nth-child(even) {
  background: var(--bg-alt);
}

.hub-category-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.hub-cat-header {
  margin-bottom: 2.5rem;
}

.hub-cat-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hub-cat-emoji {
  font-size: 1.1rem;
  line-height: 1;
}

/* Product grid */
.hub-products-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hub-product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 1.25rem;
  align-items: center;
  transition: box-shadow 0.25s, transform 0.25s;
}

.hub-product-card:hover {
  box-shadow: 0 6px 28px rgba(26, 21, 16, 0.09);
  transform: translateY(-1px);
}

.hub-product-rank {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
}

.hub-product-body {
  min-width: 0;
}

.hub-product-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.hub-product-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.55;
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.hub-product-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hub-affiliate-program {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--fg-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 0.2rem 0.6rem;
  border-radius: 2rem;
}

.hub-buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  background: var(--accent);
  color: white;
  border-radius: 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}

.hub-buy-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

/* Explainer section */
.hub-explainer {
  background: var(--ink);
  color: var(--bg);
  padding: 5rem 2rem;
}

.hub-explainer-inner {
  max-width: 860px;
  margin: 0 auto;
}

.hub-explainer .eyebrow {
  color: var(--accent-light);
}

.hub-explainer-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 600;
  color: var(--bg);
  margin-bottom: 2.5rem;
  line-height: 1.2;
}

.hub-explainer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.hub-explain-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.hub-step-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-explain-step h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bg);
  margin-bottom: 0.3rem;
}

.hub-explain-step p {
  font-size: 0.8rem;
  color: rgba(253, 250, 245, 0.6);
  line-height: 1.55;
  font-weight: 300;
}

.hub-explainer-note {
  font-size: 0.85rem;
  color: rgba(253, 250, 245, 0.5);
  line-height: 1.6;
  font-weight: 300;
  border-top: 1px solid rgba(253, 250, 245, 0.1);
  padding-top: 1.5rem;
}

/* Final disclosure */
.hub-final-disclosure {
  padding: 2.5rem 2rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.hub-final-disclosure-inner {
  max-width: 860px;
  margin: 0 auto;
}

.hub-final-disclosure p {
  font-size: 0.75rem;
  color: var(--fg-muted);
  line-height: 1.6;
  font-weight: 300;
}

/* Responsive */
@media (max-width: 700px) {
  .hub-product-card {
    grid-template-columns: 2.5rem 1fr;
    grid-template-rows: auto auto;
  }

  .hub-buy-btn {
    grid-column: 2;
    justify-self: start;
  }

  .hub-product-rank {
    font-size: 1.5rem;
  }

  .hub-explainer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hub-hero {
    min-height: auto;
    padding: 4rem 1.5rem 3rem;
  }
}