/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* ── Hero ── */
.about-hero {
    position: relative; width: 100%; height: 45vh; min-height: 300px;
    overflow: hidden; display: flex; align-items: center; justify-content: center;
    margin-top: calc(-1 * var(--nav-height));
}

.about-hero__canvas { position: absolute; inset: 0; z-index: 0; }
.about-hero__canvas canvas { width: 100% !important; height: 100% !important; display: block; }

.about-hero__overlay {
    position: absolute; inset: 0; z-index: 1;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%);
    pointer-events: none;
}

.about-hero__content {
    position: relative; z-index: 2; text-align: center; padding: 0 2rem;
    padding-top: var(--nav-height);
}

.about-hero__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 700;
    color: #fff; line-height: 1.15; margin: 0 0 0.75rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.about-hero__subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 2vw, 1.15rem);
    color: rgba(255,255,255,0.85); margin: 0;
}

.about-hero__fade {
    position: absolute; bottom: 0; left: 0; right: 0; height: 160px; z-index: 2;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent, var(--bg-primary));
}

[data-theme="light"] .about-hero__fade {
    height: 100px;
    background: linear-gradient(to bottom, transparent 0%, rgba(236,232,244,0.3) 30%, #ece8f4 100%);
}

/* ── Container ── */
.about-container {
    max-width: 820px; margin: 0 auto; padding: 0 1.25rem 5rem;
}

/* ── Sections ── */
.about-section {
    padding-bottom: 5rem;
    scroll-margin-top: 100px;
}

/* ── Headings ── */
.about-heading {
    font-family: var(--font-display);
    font-size: 1.3rem; font-weight: 700;
    color: var(--text-primary); margin: 0 0 1.5rem;
}

/* ── Body text ── */
.about-body {
    font-size: 0.92rem; line-height: 1.85;
    color: var(--text-secondary); margin: 0;
}

/* ── Manifesto ── */
.about-manifesto__lead {
    font-family: var(--font-display);
    font-size: 1.2rem; font-weight: 700; line-height: 1.6;
    color: var(--text-primary); margin: 0 0 1.5rem; max-width: 680px;
}

.about-manifesto__body {
    font-size: 0.95rem; line-height: 1.85;
    color: var(--text-secondary); margin: 0 0 1.25rem; max-width: 680px;
}

.about-manifesto__body:last-child { margin-bottom: 0; }

/* ═══ UNIFIED CARD STYLE ═══ */
.about-card {
    background: rgba(20,16,34,0.65);
    border: 1px solid rgba(139,92,246,0.14);
    border-radius: 14px;
}

[data-theme="light"] .about-card {
    background: rgba(255,255,255,0.72);
    border-color: rgba(139,92,246,0.10);
}

.about-card__icon {
    color: var(--accent); margin-bottom: 0.75rem;
}

.about-card__title {
    font-family: var(--font-display);
    font-size: 0.85rem; font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase; letter-spacing: 0.06em;
    margin: 0 0 0.5rem;
}

.about-card__num {
    font-family: var(--font-display);
    font-size: 0.7rem; font-weight: 700;
    color: var(--accent);
    text-transform: uppercase; letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.about-card__text {
    font-size: 0.85rem; line-height: 1.7;
    color: var(--text-secondary); margin: 0;
}

/* ── Card Grids ── */
.about-cards-3 {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}

.about-cards-3 .about-card { padding: 1.75rem 1.5rem; }

.about-cards-2 {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
    margin-bottom: 1.5rem;
}

.about-cards-2 .about-card { padding: 1.25rem 1.5rem; }

/* ── Metrics ── */
.about-metrics {
    display: flex; justify-content: center; gap: 3.5rem;
    padding: 2.5rem 2rem; margin-bottom: 5rem;
    flex-wrap: wrap;
}

.about-metric { text-align: center; min-width: 100px; }

.about-metric__number {
    font-family: var(--font-display);
    font-size: 2.2rem; font-weight: 700;
    color: var(--accent); line-height: 1;
}

.about-metric__label {
    font-family: var(--font-display);
    font-size: 0.68rem; font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.06em;
    margin-top: 0.5rem;
}

/* ── Products ── */
.about-products { overflow: hidden; }

.about-products__tabs {
    display: flex; gap: 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    overflow-x: auto;
}

[data-theme="light"] .about-products__tabs {
    border-bottom-color: rgba(0,0,0,0.06);
}

.about-products__tab {
    padding: 14px 24px;
    background: none; border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 0.78rem; font-weight: 600;
    cursor: pointer; transition: all 0.2s ease;
    text-transform: uppercase; letter-spacing: 0.04em;
    white-space: nowrap; flex-shrink: 0;
}

.about-products__tab:hover { color: var(--text-secondary); }

.about-products__tab--active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.about-products__content { padding: 1.75rem 2rem; }

.about-products__panel { display: none; }
.about-products__panel--active { display: block; }

.about-products__title {
    font-family: var(--font-display);
    font-size: 1.05rem; font-weight: 700;
    color: var(--text-primary); margin: 0 0 0.6rem;
}

.about-products__text {
    font-size: 0.9rem; line-height: 1.85;
    color: var(--text-secondary); margin: 0;
}

/* ── Equation ── */
.about-equation {
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap; gap: 0.5rem;
    padding: 1.5rem 1.5rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.about-eq__item {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 10px; border-radius: 6px;
    background: rgba(255,255,255,0.04);
}

[data-theme="light"] .about-eq__item {
    background: rgba(0,0,0,0.03);
}

.about-eq__label { font-weight: 600; }
.about-eq__weight { color: var(--text-muted); }

.about-eq__op {
    color: var(--text-muted); font-weight: 700;
    margin: 0 0.15rem;
}

.about-eq__equals { color: var(--accent); }

.about-eq__result {
    padding: 4px 14px; border-radius: 6px;
    background: rgba(147,102,255,0.1);
    color: var(--accent); font-weight: 700;
}

[data-theme="light"] .about-eq__result {
    background: rgba(124,58,237,0.06);
}

/* ── Callout ── */
.about-callout { padding: 1.5rem 2rem; }

/* ── Horizontal card (B2B + CTA) ── */
.about-horizontal {
    display: flex; align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 2.5rem;
}

.about-horizontal__body { flex: 1; min-width: 0; }

.about-horizontal__title {
    font-family: var(--font-display);
    font-size: 0.95rem; font-weight: 700;
    color: var(--text-primary); margin: 0 0 0.5rem;
}

.about-horizontal__btn {
    padding: 10px 24px; border-radius: 9999px;
    border: 1px solid rgba(139,92,246,0.3);
    background: transparent; color: var(--accent);
    font-family: var(--font-display);
    font-size: 0.82rem; font-weight: 600;
    text-decoration: none; white-space: nowrap;
    flex-shrink: 0; cursor: pointer;
    transition: all 0.2s ease;
}

.about-horizontal__btn:hover {
    border-color: rgba(139,92,246,0.5);
    background: rgba(139,92,246,0.06);
}

.about-horizontal__btn--filled {
    background: var(--accent); color: #fff;
    border: none; box-shadow: 0 2px 12px rgba(147,102,255,0.3);
}

.about-horizontal__btn--filled:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 20px rgba(147,102,255,0.4);
}

[data-theme="light"] .about-horizontal__btn {
    border-color: rgba(139,92,246,0.2);
}

/* Social links */
.about-social {
    display: flex; gap: 1.5rem; flex-wrap: wrap;
    margin-top: 0.75rem;
}

.about-social__link {
    font-size: 0.72rem; color: var(--text-muted);
    text-decoration: none; font-family: var(--font-display);
    font-weight: 500; transition: color 0.2s;
}

.about-social__link:hover { color: var(--text-primary); }

/* ── B2B + CTA spacing ── */
#section-enterprise { padding-bottom: 1.5rem; scroll-margin-top: 100px; }

/* ── Fade-in animation ── */
.about-fade {
    opacity: 0; transform: translateY(24px);
    filter: blur(4px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                filter 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-fade--visible {
    opacity: 1; transform: translateY(0); filter: blur(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .about-hero { height: 40vh; min-height: 260px; }
    .about-container { padding: 0 1rem 4rem; }
    .about-section { padding-bottom: 4rem; }

    .about-cards-3 { grid-template-columns: 1fr; }
    .about-cards-2 { grid-template-columns: 1fr; }

    .about-metrics { gap: 2rem; padding: 2rem 1.5rem; margin-bottom: 4rem; }
    .about-metric__number { font-size: 1.8rem; }

    .about-products__tab { padding: 10px 14px; font-size: 0.7rem; }
    .about-products__content { padding: 1.25rem 1.25rem; }

    .about-equation { font-size: 0.65rem; padding: 1.25rem 0.75rem; }

    .about-horizontal {
        flex-direction: column; align-items: flex-start;
        padding: 1.75rem 1.25rem; gap: 1.25rem;
    }

    .about-callout { padding: 1.25rem 1.25rem; }
}
