/*
  EBB Guide Hub v1.0
  Scoped to .guide-hub only (guides/index.html)
*/

.guide-hub-main {
  width: 100%;
}

.guide-hub-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
}

/* =========================
   HERO
========================= */

.guide-hub-hero {
  padding-top: 72px;
  padding-bottom: 72px;
  position: relative;
  overflow: hidden;
}

.guide-hub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(124, 58, 237, 0.16), transparent 46%),
    radial-gradient(circle at 82% 24%, rgba(14, 165, 233, 0.10), transparent 42%);
  pointer-events: none;
}

.guide-hub-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.guide-hub-breadcrumb {
  font-size: 15px;
  line-height: 22px;
  margin-bottom: 20px;
  color: rgba(203, 213, 225, 0.85);
}

.guide-hub-breadcrumb a {
  color: rgba(196, 181, 253, 0.95);
  transition: color 0.2s ease;
}

.guide-hub-breadcrumb a:hover {
  color: #e9d5ff;
}

.guide-hub-breadcrumb span {
  color: rgba(148, 163, 184, 0.9);
}

.guide-hub-hero h1 {
  font-size: 56px;
  line-height: 1.08;
  font-weight: 800;
  margin-bottom: 24px;
  color: #fff;
}

.guide-hub-lead {
  font-size: 21px;
  line-height: 1.65;
  margin-bottom: 16px;
  color: #cbd5e1;
}

.guide-hub-hero-note {
  font-size: 18px;
  line-height: 1.65;
  color: #94a3b8;
}

/* =========================
   START HERE
========================= */

.guide-hub-start {
  padding-top: 80px;
  padding-bottom: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.guide-hub-start-header {
  max-width: 760px;
  margin-bottom: 32px;
}

.guide-hub-start-header h2 {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.guide-hub-start-header p {
  font-size: 18px;
  line-height: 1.7;
  color: #94a3b8;
}

.guide-hub-start-featured {
  max-width: 760px;
  padding: 32px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(196, 181, 253, 0.22);
}

.guide-hub-start-featured h3 {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 16px;
}

.guide-hub-start-featured h3 a {
  color: #f8fafc;
  transition: color 0.2s ease;
}

.guide-hub-start-featured h3 a:hover {
  color: #e9d5ff;
}

.guide-hub-start-featured p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 24px;
  color: #cbd5e1;
}

.guide-hub-start-link {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  color: #7dd3fc;
  transition: color 0.2s ease;
}

.guide-hub-start-link:hover {
  color: #bae6fd;
}

/* =========================
   TOPIC CLUSTERS
========================= */

.guide-hub-topics {
  padding-bottom: 88px;
}

.guide-hub-cluster {
  padding-top: 80px;
}

.guide-hub-cluster:first-child {
  padding-top: 0;
}

.guide-hub-eyebrow {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a78bfa;
  margin-bottom: 12px;
}

.guide-hub-cluster h2 {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.guide-hub-cluster-desc {
  font-size: 18px;
  line-height: 1.7;
  max-width: 760px;
  margin-bottom: 32px;
  color: #94a3b8;
}

.guide-hub-grid {
  display: grid;
  gap: 20px;
}

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

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

/* Guide cards */
.guide-hub-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.guide-hub-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(196, 181, 253, 0.22);
}

.guide-hub-card h3 {
  font-size: 20px;
  line-height: 1.35;
  font-weight: 600;
  margin-bottom: 12px;
}

.guide-hub-card h3 a {
  color: #f1f5f9;
  transition: color 0.2s ease;
}

.guide-hub-card h3 a:hover {
  color: #e9d5ff;
}

.guide-hub-card p {
  flex: 1;
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 20px;
  color: #94a3b8;
}

.guide-hub-card-link {
  font-size: 15px;
  font-weight: 600;
  color: #7dd3fc;
  transition: color 0.2s ease;
}

.guide-hub-card-link:hover {
  color: #bae6fd;
}

/* =========================
   EXPLORE EBB
========================= */

.guide-hub-explore {
  padding-top: 88px;
  padding-bottom: 88px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.guide-hub-explore-header {
  max-width: 760px;
  margin-bottom: 40px;
}

.guide-hub-explore-header h2 {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.guide-hub-explore-header p {
  font-size: 18px;
  line-height: 1.7;
  color: #94a3b8;
}

.guide-hub-explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.guide-hub-explore-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.guide-hub-explore-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(14, 165, 233, 0.25);
}

.guide-hub-explore-card h3 {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 12px;
  color: #f8fafc;
}

.guide-hub-explore-card p {
  flex: 1;
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 20px;
  color: #94a3b8;
}

.guide-hub-explore-link {
  font-size: 15px;
  font-weight: 600;
  color: #7dd3fc;
  transition: color 0.2s ease;
}

.guide-hub-explore-link:hover {
  color: #bae6fd;
}

/* =========================
   FINAL CTA
========================= */

.guide-hub-cta {
  padding-top: 72px;
  padding-bottom: 88px;
}

.guide-hub-cta-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 52px 32px;
  border-radius: 16px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(139, 92, 246, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-hub-cta-inner h2 {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.guide-hub-cta-inner p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 24px;
  color: #cbd5e1;
}

.guide-hub-cta-inner .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 11px;
}

/* =========================
   TABLET
========================= */

@media (max-width: 1024px) {
  .guide-hub-shell {
    padding-left: 32px;
    padding-right: 32px;
  }

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

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

  .guide-hub-explore-grid .guide-hub-explore-card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 10px);
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
  .guide-hub-shell {
    padding-left: 20px;
    padding-right: 20px;
  }

  .guide-hub-hero {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .guide-hub-hero h1 {
    font-size: 38px;
    line-height: 1.1;
  }

  .guide-hub-lead {
    font-size: 18px;
  }

  .guide-hub-hero-note {
    font-size: 17px;
  }

  .guide-hub-start {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .guide-hub-start-header h2,
  .guide-hub-cluster h2,
  .guide-hub-explore-header h2,
  .guide-hub-cta-inner h2 {
    font-size: 30px;
  }

  .guide-hub-start-featured {
    padding: 24px;
  }

  .guide-hub-start-featured h3 {
    font-size: 21px;
  }

  .guide-hub-cluster {
    padding-top: 64px;
  }

  .guide-hub-grid--3,
  .guide-hub-grid--2,
  .guide-hub-explore-grid {
    grid-template-columns: 1fr;
  }

  .guide-hub-explore-grid .guide-hub-explore-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .guide-hub-explore {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .guide-hub-cta {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .guide-hub-cta-inner {
    padding: 40px 24px;
  }
}
