/* ── Capabilities Page Styles ── */

.capabilities-page-hero {
    padding-block: var(--space-16);
    text-align: center;
    background: radial-gradient(ellipse at 60% 0%, rgba(30, 144, 255, 0.12), transparent 60%), var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

/* Anchor nav */
.anchor-nav {
    position: sticky;
    top: 72px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    padding-block: var(--space-3);
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-border) transparent;
}

.anchor-nav::-webkit-scrollbar {
    height: 4px;
}
.anchor-nav::-webkit-scrollbar-track {
    background: transparent;
}
.anchor-nav::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: var(--radius-full);
}

.anchor-nav-list {
    display: flex;
    gap: var(--space-1);
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: var(--space-6);
    white-space: nowrap;
    list-style: none;
}

.anchor-nav-list a {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-muted);
    border-radius: var(--radius-md);
    transition: all 150ms ease;
    text-decoration: none;
}

.anchor-nav-list a:hover,
.anchor-nav-list a:focus-visible {
    color: var(--color-gradient-start);
    background: var(--color-bg-secondary);
}

/* Feature sections */
.feature-section {
    padding-block: var(--space-20);
    border-bottom: 1px solid var(--color-border);
}

.feature-section:last-child {
    border-bottom: none;
}

.feature-section__header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.feature-section__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    min-width: 64px;
    background: rgba(30, 144, 255, 0.1);
    border: 1px solid rgba(30, 144, 255, 0.2);
    border-radius: var(--radius-xl);
}

.feature-section__content h2 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-4);
}

.feature-section__content p {
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
    line-height: var(--line-height-relaxed);
    max-width: 760px;
    margin-bottom: var(--space-6);
}

.feature-bullets {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-3);
    list-style: none;
    margin-top: var(--space-6);
}

.feature-bullets li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    line-height: var(--line-height-relaxed);
}

@media (max-width: 767px) {
    .feature-section {
        padding-block: var(--space-12);
    }
    .feature-section__content h2 {
        font-size: var(--font-size-2xl);
    }
    .feature-bullets {
        grid-template-columns: 1fr;
    }
    .anchor-nav-list {
        padding-inline: var(--space-4);
    }
}

.feature-bullets li::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gradient-brand);
    margin-top: 0.4em;
    flex-shrink: 0;
}
