﻿/* ===== ExpertGo about.css ===== */

.page-about .eg-about-hero {
    margin-top: .75rem;
}

.eg-about-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .7rem;
    border-radius: 999px;
    border: 1px solid color-mix(in oklab, var(--border-strong) 70%, var(--brand-blue) 30%);
    background: color-mix(in oklab, var(--surface) 92%, var(--brand-blue) 8%);
    color: var(--text-secondary);
    font-weight: 750;
    letter-spacing: .02em;
    margin-bottom: .75rem;
}

html[data-theme="dark"] .eg-about-hero__badge {
    border-color: var(--border-subtle);
    background: rgba(0, 159, 227, .10);
}

.eg-about-hero__cta .eg-about-btn {
    min-height: 44px;
    border-radius: 14px;
    font-weight: 750;
}

.eg-about-callout {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    border-radius: 22px;
    border: 1.5px solid var(--border-strong);
    background: linear-gradient(180deg, var(--surface) 0%, color-mix(in oklab, var(--surface) 86%, var(--brand-cream) 14%) 100%);
    box-shadow: 0 18px 50px rgba(16, 24, 40, .10);
}

html[data-theme="dark"] .eg-about-callout {
    border-color: var(--border-subtle);
    background: linear-gradient(180deg, color-mix(in oklab, var(--surface) 92%, #000 8%) 0%, color-mix(in oklab, var(--surface) 82%, #000 18%) 100%);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .35);
}

.eg-about-callout__icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(0, 159, 227, .12);
    border: 1px solid rgba(0, 159, 227, .22);
    color: var(--brand-blue);
    flex: 0 0 auto;
}

html[data-theme="dark"] .eg-about-callout__icon {
    background: rgba(0, 159, 227, .14);
    border-color: rgba(0, 159, 227, .26);
}

.eg-about-card {
    border-radius: 18px;
    border: 1.5px solid var(--border-strong);
    background: var(--surface);
    box-shadow: 0 14px 34px rgba(16, 24, 40, .10);
}

html[data-theme="dark"] .eg-about-card {
    border-color: var(--border-subtle);
    box-shadow: 0 18px 44px rgba(0,0,0,.35);
}

.eg-about-card__kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 800;
    color: var(--text-secondary);
    margin-bottom: .75rem;
}

.eg-about-surface {
    border-radius: 18px;
    border: 1.5px solid var(--border-strong);
    background: var(--surface);
    box-shadow: 0 14px 34px rgba(16, 24, 40, .10);
}

html[data-theme="dark"] .eg-about-surface {
    border-color: var(--border-subtle);
    box-shadow: 0 18px 44px rgba(0,0,0,.35);
}

.eg-about-sectionhead {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.eg-about-eyebrow {
    display: inline-block;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-muted);
    font-weight: 800;
    margin-bottom: .4rem;
}

.eg-about-step {
    display: flex;
    gap: .85rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    background: color-mix(in oklab, var(--surface) 92%, var(--brand-blue) 8%);
}

html[data-theme="dark"] .eg-about-step {
    background: color-mix(in oklab, var(--surface) 86%, #000 14%);
}

.eg-about-step__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(178, 24, 24, .10);
    border: 1px solid rgba(178, 24, 24, .18);
    color: var(--brand-primary);
    flex: 0 0 auto;
}

html[data-theme="dark"] .eg-about-step__icon {
    background: rgba(178, 24, 24, .16);
    border-color: rgba(178, 24, 24, .30);
    color: rgba(255,255,255,.92);
}

.eg-about-step__title {
    font-weight: 850;
    color: var(--text-primary);
    margin-bottom: .2rem;
}

.eg-about-bridge {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .75rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: var(--surface);
    color: var(--text-secondary);
    font-weight: 750;
}

html[data-theme="dark"] .eg-about-bridge {
    background: color-mix(in oklab, var(--surface) 90%, #000 10%);
}

.eg-about-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .6rem;
    color: var(--text-secondary);
    font-weight: 650;
}

    .eg-about-list li {
        display: flex;
        align-items: flex-start;
        gap: .6rem;
    }

    .eg-about-list i {
        color: var(--brand-blue-deep);
        line-height: 1.2;
        margin-top: .1rem;
    }

html[data-theme="dark"] .eg-about-list i {
    color: var(--brand-blue);
}

.eg-about-goal {
    display: flex;
    gap: .85rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    background: var(--surface);
}

html[data-theme="dark"] .eg-about-goal {
    background: color-mix(in oklab, var(--surface) 92%, #000 8%);
}

.eg-about-goal > i {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(0, 159, 227, .10);
    border: 1px solid rgba(0, 159, 227, .20);
    color: var(--brand-blue-deep);
    flex: 0 0 auto;
}

html[data-theme="dark"] .eg-about-goal > i {
    color: var(--brand-blue);
    background: rgba(0, 159, 227, .12);
    border-color: rgba(0, 159, 227, .22);
}

.eg-about-goal__title {
    font-weight: 850;
    color: var(--text-primary);
    margin-bottom: .2rem;
}

.eg-about-value {
    height: 100%;
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    background: color-mix(in oklab, var(--surface) 94%, var(--brand-cream) 6%);
}

html[data-theme="dark"] .eg-about-value {
    background: color-mix(in oklab, var(--surface) 88%, #000 12%);
}

.eg-about-value--accent {
    border-color: color-mix(in oklab, var(--border-strong) 55%, var(--brand-primary) 45%);
    background: color-mix(in oklab, var(--surface) 90%, var(--brand-primary) 10%);
}

html[data-theme="dark"] .eg-about-value--accent {
    border-color: rgba(178, 24, 24, .32);
    background: rgba(178, 24, 24, .12);
}

.eg-about-value__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(0, 159, 227, .10);
    border: 1px solid rgba(0, 159, 227, .20);
    color: var(--brand-blue-deep);
    margin-bottom: .75rem;
}

html[data-theme="dark"] .eg-about-value__icon {
    color: var(--brand-blue);
    background: rgba(0, 159, 227, .12);
    border-color: rgba(0, 159, 227, .22);
}

.eg-about-value--accent .eg-about-value__icon {
    background: rgba(178, 24, 24, .10);
    border-color: rgba(178, 24, 24, .20);
    color: var(--brand-primary);
}

html[data-theme="dark"] .eg-about-value--accent .eg-about-value__icon {
    background: rgba(178, 24, 24, .16);
    border-color: rgba(178, 24, 24, .30);
    color: rgba(255,255,255,.92);
}

.eg-about-value__title {
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: .35rem;
}

.eg-about-bottomcta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
    flex-wrap: wrap;
}

.eg-about-bottomcta__title {
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: .2rem;
}

.eg-about-bottomcta__actions {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

@media (max-width: 575.98px) {
    .eg-about-callout {
        flex-direction: column;
    }

    .eg-about-bottomcta__actions .eg-about-btn {
        width: 100%;
    }

    .eg-about-hero__cta .eg-about-btn {
        width: 100%;
    }
}

/* Reveal helper (works with public-layout.js) */
[data-eg-reveal] {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .35s ease, transform .35s ease;
}

    [data-eg-reveal].is-visible {
        opacity: 1;
        transform: translateY(0);
    }
