/* Features hub — capability discovery on top of directory chrome */
.seo-hub-features .feat-eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #818cf8;
}

.seo-hub-features .feat-hero h1 {
  font-size: clamp(2.4rem, 4.4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #fff;
}

.seo-hub-features .hub-preview-cap {
  min-height: 2.4em;
}

.feat-steps-wrap,
.feat-steps {
  margin: 0;
  padding: 0;
}

.feat-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(7, minmax(148px, 1fr));
  gap: 10px;
}

.feat-steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 100%;
  padding: 16px 14px 16px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #111827;
}

.feat-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, #6366f1, #8b5cf6);
}

.feat-steps span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #818cf8;
}

.feat-steps strong {
  font-size: 14px;
  color: #f8fafc;
}

.feat-steps em {
  font-style: normal;
  font-size: 13px;
  line-height: 1.5;
  color: #94a3b8;
}

.feat-groups {
  display: grid;
  gap: 20px;
}

.feat-group {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 28px;
  align-items: center;
  padding: 24px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #111827;
}

.feat-group:nth-child(even) {
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
}

.feat-group:nth-child(even) .feat-group-copy { order: 2; }
.feat-group:nth-child(even) .feat-group-shot { order: 1; }

.feat-group-copy h3 {
  margin: 10px 0 8px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.feat-group-copy p {
  margin: 0 0 14px;
  color: #94a3b8;
  max-width: 40rem;
}

.feat-group-copy ul {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.feat-group-copy li a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 14px;
}

.feat-group-copy li a::before {
  content: "→ ";
  color: #818cf8;
}

.feat-group-copy li a:hover { color: #fff; }

.feat-explore {
  font-size: 14px;
  font-weight: 600;
  color: #a78bfa;
  text-decoration: none;
}

.feat-explore:hover { color: #c4b5fd; }

.feat-group-shot {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b1220;
}

.feat-group-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feat-group-shot figcaption {
  padding: 8px 12px;
  font-size: 12px;
  color: #64748b;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.feat-ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.16);
}

.feat-ico::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid #a78bfa;
  border-radius: 3px;
}

.feat-ico-rfp::before { border-radius: 2px; }
.feat-ico-compliance::before {
  width: 16px;
  height: 10px;
  border-radius: 0;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg) translate(-1px, -2px);
}
.feat-ico-gaps::before {
  width: 12px;
  height: 12px;
  border-radius: 12px 12px 2px 12px;
  transform: rotate(45deg);
}
.feat-ico-delivery::before {
  width: 16px;
  height: 2px;
  border: 0;
  background: #a78bfa;
  box-shadow: 0 -5px 0 #a78bfa, 0 5px 0 #a78bfa;
}
.feat-ico-commercial::before {
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-bottom-color: #a78bfa;
  border-top: 0;
  transform: translateY(-2px);
}
.feat-ico-executive::before {
  width: 14px;
  height: 10px;
  border-radius: 2px 2px 0 0;
}

.feat-pillar-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feat-pillar-grid li {
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #111827;
}

.feat-pillar-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.feat-pillar-grid p {
  margin: 0;
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.55;
}

.feat-tour-steps {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.feat-tour-steps a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #111827;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.feat-tour-steps a:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 92, 246, 0.5);
}

.feat-tour-steps strong {
  font-size: 14px;
  color: #f8fafc;
}

.feat-tour-steps span {
  font-size: 13px;
  color: #94a3b8;
}

.feat-final {
  margin: 8px 0 0;
  padding: 36px 32px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.12), rgba(15, 23, 42, 0.4));
  text-align: center;
}

.feat-final h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.02em;
}

.feat-final p {
  margin: 0 auto 20px;
  max-width: 40rem;
  color: #94a3b8;
}

.seo-hub-features .hub-btn:focus-visible,
.seo-hub-features .hub-chip:focus-visible,
.seo-hub-features .hub-preview-tab:focus-visible,
.seo-hub-features .feat-explore:focus-visible,
.seo-hub-features .feat-group-copy a:focus-visible,
.seo-hub-features .feat-tour-steps a:focus-visible,
.seo-hub-features .hub-faq summary:focus-visible {
  outline: 2px solid #8b5cf6;
  outline-offset: 2px;
}

@media (max-width: 1100px) {
  .feat-steps {
    grid-auto-flow: column;
    grid-template-columns: repeat(7, minmax(180px, 1fr));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
  .feat-steps li { scroll-snap-align: start; }
  .feat-group,
  .feat-group:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .feat-group:nth-child(even) .feat-group-copy,
  .feat-group:nth-child(even) .feat-group-shot { order: unset; }
  .feat-pillar-grid { grid-template-columns: 1fr; }
  .feat-tour-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .feat-steps {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    overflow: visible;
    scroll-snap-type: none;
  }
  .feat-tour-steps { grid-template-columns: 1fr; }
  .feat-final { padding: 28px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .seo-hub-features *,
  .seo-hub-features *::before {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
