/* Hub page styles */

.hub-body {
  background: #f8fafc;
  color: #1a1a2e;
}

.hub-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #dbe3ef;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
}

.hub-nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.hub-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.hub-nav-logo {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #e0edff, #eef6ff);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  flex-shrink: 0;
}

.hub-nav-name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #15213a;
  line-height: 1.2;
}

.hub-nav-tagline {
  display: block;
  font-size: 13px;
  color: #5c6b84;
  line-height: 1.25;
}

.hub-nav-links {
  display: flex;
  gap: 6px;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
}

.hub-nav-link {
  text-decoration: none;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.hub-nav-link:hover {
  background: #eef4ff;
  color: #1d4ed8;
}

.hub-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.hub-btn-primary,
.hub-btn-outline,
.hub-btn-secondary,
.hub-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.hub-btn-primary {
  background: #2563eb;
  color: #fff;
  border: 1px solid #2563eb;
}

.hub-btn-primary:hover {
  background: #1d4ed8;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.24);
  transform: translateY(-1px);
}

.hub-btn-outline {
  background: #fff;
  color: #2563eb;
  border: 1px solid #bfd5ff;
}

.hub-btn-outline:hover {
  background: #eef4ff;
  transform: translateY(-1px);
}

.hub-btn-secondary {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #d6e4ff;
}

.hub-btn-secondary:hover {
  background: #e4efff;
  transform: translateY(-1px);
}

.hub-btn-ghost {
  background: #fff;
  color: #334155;
  border: 1px solid #dbe3ef;
}

.hub-btn-ghost:hover {
  background: #f8fafc;
  border-color: #c8d5e6;
}

.hub-btn-sm {
  padding: 8px 14px;
  font-size: 14px;
}

.hub-btn-lg {
  padding: 14px 20px;
  font-size: 15px;
}

.hub-nav-link:focus-visible,
.hub-btn-primary:focus-visible,
.hub-btn-outline:focus-visible,
.hub-btn-secondary:focus-visible,
.hub-btn-ghost:focus-visible,
.hub-card-cta:focus-visible,
.hub-which-link:focus-visible,
.hub-footer-link:focus-visible,
.hub-faq-item summary:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 3px;
}

.hub-hero {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(22, 163, 74, 0.08), transparent 22%),
    #ffffff;
  padding: 76px 28px 56px;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}

.hub-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.hub-hero-kicker {
  margin: 0 0 12px;
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hub-hero-headline {
  font-size: 48px;
  font-weight: 800;
  color: #15213a;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}

.hub-hero-sub {
  font-size: 19px;
  color: #445268;
  line-height: 1.65;
  margin: 0 auto 32px;
  max-width: 820px;
}

.hub-hero-ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.hub-trust-badges {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.hub-trust-badges li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #526074;
  font-weight: 600;
}

.hub-trust-badges li svg {
  color: #2563eb;
  flex-shrink: 0;
}

.hub-usecase-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.hub-usecase-pill {
  padding: 8px 12px;
  border: 1px solid #dbe3ef;
  background: #fff;
  color: #334155;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.hub-section {
  padding: 64px 28px;
  background: #f8fafc;
}

.hub-section--alt {
  background: #fff;
}

.hub-section-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.hub-section-inner--narrow {
  max-width: 860px;
}

.hub-section-title {
  font-size: 30px;
  font-weight: 750;
  color: #15213a;
  text-align: center;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.hub-section-subtitle {
  font-size: 16px;
  color: #526074;
  line-height: 1.7;
  text-align: center;
  margin: 0 auto 36px;
  max-width: 760px;
}

.hub-proof-grid,
.hub-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.hub-proof-card,
.hub-benefit-card {
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.hub-proof-title,
.hub-benefit-title {
  font-size: 19px;
  font-weight: 700;
  color: #15213a;
  margin: 0 0 10px;
}

.hub-proof-copy,
.hub-benefit-copy {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.7;
  margin: 0;
}

.hub-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.hub-card {
  position: relative;
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  padding: 30px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.hub-card:hover {
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.11);
  border-color: #b9d0ff;
  transform: translateY(-2px);
}

.hub-card-badge {
  align-self: flex-start;
  margin-bottom: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hub-card-badge--green {
  background: #eefcf3;
  color: #15803d;
}

.hub-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hub-card-icon--blue {
  background: #eff6ff;
  color: #2563eb;
}

.hub-card-icon--green {
  background: #eefcf3;
  color: #16a34a;
}

.hub-card-title {
  font-size: 21px;
  font-weight: 700;
  color: #15213a;
  margin: 0;
}

.hub-card-desc {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
  margin: 0;
}

.hub-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hub-tag {
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid #dbe3ef;
}

.hub-card-usecase {
  font-size: 13px;
  color: #5f6f86;
  margin: 0;
  font-style: italic;
}

.hub-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 15px;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  margin-top: auto;
  padding-top: 8px;
}

.hub-card-cta:hover {
  text-decoration: underline;
}

.hub-which-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.hub-which-card {
  display: flex;
  gap: 16px;
  background: #f8fbff;
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  padding: 24px 20px;
}

.hub-which-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hub-which-icon--blue {
  background: #eff6ff;
  color: #2563eb;
}

.hub-which-icon--green {
  background: #eefcf3;
  color: #16a34a;
}

.hub-which-scenario {
  font-size: 15px;
  font-weight: 700;
  color: #15213a;
  margin: 0 0 6px;
}

.hub-which-link {
  font-size: 15px;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 8px;
}

.hub-which-link:hover {
  text-decoration: underline;
}

.hub-which-desc {
  font-size: 14px;
  color: #526074;
  line-height: 1.7;
  margin: 0;
}

.hub-diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.hub-diff-grid--four {
  grid-template-columns: 1fr 1fr;
}

.hub-diff-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hub-diff-label {
  font-size: 13px;
  font-weight: 800;
  margin: 0;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hub-diff-label--rephrase {
  color: #2563eb;
}

.hub-diff-label--para {
  color: #16a34a;
}

.hub-diff-box {
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.hub-diff-before-label,
.hub-diff-after-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

.hub-diff-before-label {
  color: #64748b;
}

.hub-diff-after-label {
  color: #15803d;
}

.hub-diff-before {
  font-size: 14px;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}

.hub-diff-after {
  font-size: 14px;
  color: #15213a;
  line-height: 1.7;
  margin: 0;
  font-weight: 600;
}

.hub-diff-arrow {
  font-size: 12px;
  font-weight: 700;
  color: #1d4ed8;
  background: #eef4ff;
  border-radius: 999px;
  padding: 5px 10px;
  align-self: flex-start;
}

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

.hub-step {
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  padding: 26px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.hub-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hub-step-title {
  font-size: 17px;
  font-weight: 700;
  color: #15213a;
  margin: 2px 0 8px;
}

.hub-step-desc {
  font-size: 14px;
  color: #526074;
  line-height: 1.7;
  margin: 0;
}

.hub-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hub-faq-item {
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  padding: 0 20px;
}

.hub-faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: #15213a;
  padding: 20px 0;
}

.hub-faq-item summary::-webkit-details-marker {
  display: none;
}

.hub-faq-item p {
  margin: 0 0 20px;
  color: #526074;
  font-size: 14px;
  line-height: 1.7;
}

.hub-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
  border-radius: 24px;
  padding: 30px;
  color: #fff;
}

.hub-cta-kicker {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.78);
}

.hub-cta-title {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  max-width: 520px;
}

.hub-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.hub-cta-band .hub-btn-primary {
  background: #fff;
  color: #1d4ed8;
  border-color: #fff;
}

.hub-cta-band .hub-btn-primary:hover {
  background: #eff6ff;
}

.hub-cta-band .hub-btn-outline,
.hub-cta-band .hub-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

.hub-cta-band .hub-btn-outline:hover,
.hub-cta-band .hub-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hub-footer {
  background: #f3f6fb;
  border-top: 1px solid #dbe3ef;
  padding: 24px 28px;
}

.hub-footer-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.hub-footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
}

.hub-footer-link {
  font-size: 14px;
  color: #526074;
  text-decoration: none;
  font-weight: 600;
}

.hub-footer-link:hover {
  color: #2563eb;
}

.hub-footer-sep {
  color: #94a3b8;
}

.hub-footer-copy {
  font-size: 13px;
  color: #64748b;
}

@media (max-width: 980px) {
  .hub-proof-grid,
  .hub-benefits-grid,
  .hub-cards-grid,
  .hub-which-grid,
  .hub-diff-grid,
  .hub-diff-grid--four,
  .hub-steps-grid {
    grid-template-columns: 1fr;
  }

  .hub-cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .hub-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .hub-nav-inner {
    padding: 14px 18px;
    align-items: flex-start;
    flex-direction: column;
  }

  .hub-nav-links {
    justify-content: flex-start;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 2px;
  }

  .hub-nav-actions {
    width: 100%;
  }

  .hub-nav-actions .hub-btn-ghost {
    width: 100%;
  }

  .hub-hero {
    padding: 56px 20px 42px;
  }

  .hub-hero-headline {
    font-size: 34px;
  }

  .hub-hero-sub {
    font-size: 16px;
  }

  .hub-section {
    padding: 48px 20px;
  }

  .hub-hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hub-btn-lg,
  .hub-cta-actions a {
    width: 100%;
  }

  .hub-cta-title {
    font-size: 24px;
  }
}
