/* =========================================
   ABOUT PAGE — Variables & Base
   Matched to index.html dark navy theme
   ========================================= */
.about-page {
    --ab-bg: #020518;
    --ab-bg-alt: #0a1033;
    --ab-text: #ffffff;
    --ab-text-light: #b0c4de;
    --ab-text-muted: #7a8faa;
    --ab-blue: #5c8aff;
    --ab-blue-dark: #0066ff;
    --ab-border: rgba(60, 100, 180, 0.3);
    --ab-radius: 12px;
    --ab-card-bg: rgba(10, 20, 50, 0.4);
    --ab-card-border: rgba(60, 100, 180, 0.3);
}

.about-page {
    background: var(--ab-bg);
    color: var(--ab-text);
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
}

.about-main {
    overflow-x: hidden;
    scroll-snap-type: y proximity;
}

/* =========================================
   HERO
   ========================================= */
.ab-hero {
    background: radial-gradient(circle at center, #0a1033 0%, #020518 70%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 0;
    scroll-snap-align: start;
}

.ab-hero > .container {
    width: 100%;
}

.ab-hero-inner {
    max-width: 700px;
    margin: 0 auto;
}

.ab-hero-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--ab-blue);
    background: rgba(92, 138, 255, 0.12);
    padding: 0.35rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}

.ab-hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--ab-text);
    margin: 0 0 1.25rem;
    letter-spacing: -0.02em;
}

.ab-hero-sub {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--ab-text-light);
    max-width: 560px;
    margin: 0 auto;
}

/* =========================================
   SHARED SECTION
   ========================================= */
.ab-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 0;
    scroll-snap-align: start;
}

.ab-section > .container {
    width: 100%;
    animation: ab-fade-up linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
}

.ab-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--ab-blue);
    margin-bottom: 0.75rem;
}

.ab-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--ab-text);
    line-height: 1.25;
    margin: 0 0 1rem;
    letter-spacing: -0.01em;
}

.ab-heading-center {
    text-align: center;
}

/* Two-column layout */
.ab-two-col {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.ab-col-right p {
    font-size: 0.95rem;
    color: var(--ab-text-light);
    line-height: 1.75;
    margin: 0 0 1rem;
}

.ab-col-right p:last-child {
    margin-bottom: 0;
}

/* =========================================
   MISSION
   ========================================= */
.ab-mission {
    background: var(--ab-bg);
}

/* =========================================
   STATS
   ========================================= */
.ab-stats {
    background: #0d1a3a;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    scroll-snap-align: start;
    border-top: 1px solid var(--ab-border);
    border-bottom: 1px solid var(--ab-border);
}

.ab-stats > .container {
    width: 100%;
}

.ab-stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    text-align: center;
}

.ab-stat {
    padding: 1rem 0.5rem;
}

.ab-stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.ab-stat-label {
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 500;
}

/* =========================================
   PRODUCTS
   ========================================= */
.ab-products {
    background: var(--ab-bg-alt);
}

.ab-products .ab-label {
    text-align: center;
    display: block;
}

.ab-products .ab-heading {
    margin-bottom: 0.6rem;
}

.ab-products-sub {
    text-align: center;
    font-size: 0.92rem;
    color: var(--ab-text-muted);
    max-width: 480px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.ab-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.ab-product-card {
    --pc: var(--ab-blue);
    --pc-bg: rgba(92, 138, 255, 0.12);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--ab-card-bg);
    border: 1px solid var(--ab-card-border);
    border-radius: var(--ab-radius);
    padding: 1.35rem 1.25rem;
    text-decoration: none;
    color: inherit;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.3s cubic-bezier(.22,.61,.36,1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    position: relative;
}

.ab-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-color: var(--ab-blue);
    background: rgba(15, 25, 60, 0.8);
}

.ab-product-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pc-bg);
    border-radius: 10px;
    color: var(--pc);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ab-product-card:hover .ab-product-icon {
    transform: scale(1.08);
    box-shadow: 0 3px 12px rgba(92, 138, 255, 0.2);
}

.ab-product-body {
    flex: 1;
    min-width: 0;
}

.ab-product-card h3 {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ab-text);
    margin: 0 0 0.3rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.ab-product-card:hover h3 {
    color: var(--pc);
}

.ab-product-card p {
    font-size: 0.82rem;
    color: var(--ab-text-muted);
    line-height: 1.55;
    margin: 0;
}

.ab-product-arrow {
    font-size: 1rem;
    color: var(--ab-text-muted);
    transition: color 0.3s ease, transform 0.3s ease;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.ab-product-card:hover .ab-product-arrow {
    color: var(--pc);
    transform: translateX(3px);
}

/* =========================================
   STORY
   ========================================= */
.ab-story {
    background: var(--ab-bg);
}

/* =========================================
   OUR PEOPLE
   ========================================= */
.ab-people {
    background: var(--ab-bg-alt);
}

.ab-people .ab-label {
    text-align: center;
    display: block;
}

.ab-people .ab-heading {
    margin-bottom: 0.6rem;
}

.ab-people-sub {
    text-align: center;
    font-size: 0.92rem;
    color: var(--ab-text-muted);
    max-width: 480px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* -- Founders (featured, side-by-side) -- */
.ab-founders-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.ab-founder-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--ab-card-bg);
    border: 1px solid var(--ab-card-border);
    border-radius: 14px;
    padding: 1.75rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.35s cubic-bezier(.22,.61,.36,1), box-shadow 0.35s ease;
}

.ab-founder-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.3);
    border-color: var(--ab-blue);
}

.ab-founder-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid rgba(60, 100, 180, 0.4);
}

.ab-founder-info {
    flex: 1;
    min-width: 0;
}

.ab-person-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ab-blue);
    background: rgba(92, 138, 255, 0.15);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.ab-founder-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ab-text);
    margin: 0 0 0.4rem;
}

.ab-founder-info p {
    font-size: 0.82rem;
    color: var(--ab-text-muted);
    line-height: 1.55;
    margin: 0 0 0.65rem;
}

.ab-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    color: #7a8faa;
    background: rgba(255, 255, 255, 0.06);
    transition: color 0.2s, background 0.2s;
}

.ab-social-link:hover {
    color: #5c8aff;
    background: rgba(92, 138, 255, 0.15);
}

/* -- Group label -- */
.ab-people-group-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    color: var(--ab-text-muted);
    margin: 0 0 1.25rem;
    text-align: center;
}

/* -- Team grid (core team + advisors) -- */
.ab-team-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.ab-advisors-grid {
    margin-bottom: 0;
}

.ab-team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 140px;
    padding: 1.25rem 0.75rem;
    border-radius: 12px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.ab-team-card:hover {
    transform: translateY(-3px);
    background: rgba(92, 138, 255, 0.08);
}

.ab-team-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(60, 100, 180, 0.4);
    margin-bottom: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ab-team-card:hover .ab-team-photo {
    transform: scale(1.06);
    box-shadow: 0 4px 16px rgba(92, 138, 255, 0.2);
}

.ab-team-card h4 {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ab-text);
    margin: 0 0 0.15rem;
}

.ab-team-card .ab-person-role {
    font-size: 0.73rem;
    color: var(--ab-blue);
    font-weight: 600;
    margin: 0;
}

/* =========================================
   BACKED BY
   ========================================= */
.ab-backed {
    background: var(--ab-bg);
}

.ab-backed .ab-label {
    text-align: center;
    display: block;
}

.ab-backed .ab-heading {
    margin-bottom: 2rem;
}

.ab-backed-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.ab-backed-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ab-text);
    letter-spacing: -0.01em;
}

.ab-backed-sep {
    display: inline-block;
    width: 1px;
    height: 28px;
    background: var(--ab-border);
}

/* =========================================
   OFFICE
   ========================================= */
.ab-office {
    background: var(--ab-bg-alt);
}

.ab-address-card {
    background: var(--ab-card-bg);
    border: 1px solid var(--ab-card-border);
    border-radius: var(--ab-radius);
    padding: 1.75rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.ab-address {
    font-size: 0.95rem;
    color: var(--ab-text-light);
    line-height: 1.7;
    margin: 0 0 1rem;
}

.ab-contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.ab-contact-links a {
    font-size: 0.9rem;
    color: var(--ab-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.ab-contact-links a:hover {
    color: #fff;
}

/* =========================================
   FOOTER
   ========================================= */
.about-page .r-footer {
    background: #0c1222;
    color: #c8d6e5;
    padding: 3.5rem 0 2rem;
    scroll-snap-align: start;
    border-top: 1px solid rgba(60, 100, 180, 0.15);
}

.about-page .r-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.about-page .r-footer-logo {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    display: block;
    margin-bottom: 1rem;
}

.about-page .r-footer-addr {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #8899aa;
    margin-bottom: 0.75rem;
}

.about-page .r-footer-contact-info {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #8899aa;
}

.about-page .r-footer-contact-info a {
    color: #a3bffa;
}

.about-page .r-footer-contact-info a:hover {
    color: #fff;
}

.about-page .r-footer-col h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #8899aa;
    margin-bottom: 1rem;
}

.about-page .r-footer-col ul {
    list-style: none;
    padding: 0;
}

.about-page .r-footer-col li {
    margin-bottom: 0.5rem;
}

.about-page .r-footer-col a {
    font-size: 0.88rem;
    color: #c8d6e5;
    text-decoration: none;
    transition: color 0.2s;
}

.about-page .r-footer-col a:hover {
    color: #fff;
}

.about-page .r-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    font-size: 0.82rem;
    color: #5a6a7a;
}

.about-page .r-footer-legal {
    display: flex;
    gap: 1.5rem;
}

.about-page .r-footer-legal a {
    color: #5a6a7a;
    text-decoration: none;
    transition: color 0.2s;
}

.about-page .r-footer-legal a:hover {
    color: #fff;
}

/* =========================================
   SCROLL REVEAL
   ========================================= */
@keyframes ab-fade-up {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ab-stats > .container {
    animation: ab-fade-up linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
}

.ab-hero-inner {
    animation: ab-fade-up 0.6s ease both;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .ab-two-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ab-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ab-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ab-founders-row { grid-template-columns: 1fr; }
    .ab-founder-card { gap: 1.25rem; }

    .about-page .r-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .ab-hero {
        min-height: 100svh;
        padding: 5rem 1rem;
    }

    .ab-hero-title {
        font-size: 2rem;
    }

    .ab-hero-sub {
        font-size: 0.92rem;
    }

    .ab-section,
    .ab-stats {
        min-height: 100svh;
        padding: 3.5rem 0;
    }

    .ab-heading {
        font-size: 1.4rem;
    }

    .ab-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ab-stat-num {
        font-size: 1.6rem;
    }

    .ab-products-grid {
        grid-template-columns: 1fr;
    }

    .ab-founder-photo { width: 64px; height: 64px; }
    .ab-team-card { width: 120px; padding: 1rem 0.5rem; }
    .ab-team-photo { width: 52px; height: 52px; }
    .ab-team-card h4 { font-size: 0.82rem; }

    .ab-backed-row {
        flex-direction: column;
        gap: 1rem;
    }

    .ab-backed-sep {
        width: 40px;
        height: 1px;
    }

    .about-page .r-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-page .r-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .about-page .r-footer-legal {
        justify-content: center;
    }
}
