/* ══════════════════════════════════════
   ABOUT US PAGE
   Inherits all CSS variables from theme-dark.css / theme-light.css
   ══════════════════════════════════════ */

/* ── Hero ── */
.abt-hero {
    padding: 150px 0 80px;
    position: relative;
    overflow: hidden;
}

.abt-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.abt-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--bdr);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.82rem;
    color: var(--t3);
    margin-bottom: 28px;
}

.abt-hero .hero-badge span {
    color: var(--blue);
    font-weight: 600;
}

.abt-hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    max-width: 700px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--t1) 30%, var(--blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.abt-hero-sub {
    font-size: 1.12rem;
    color: var(--t3);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Sections ── */
.abt-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.abt-alt {
    background: rgba(255, 255, 255, 0.015);
}

.abt-section .section-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.abt-section .section-title {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.2;
    color: var(--t1);
}

.abt-section .section-desc {
    font-size: 1.02rem;
    color: var(--t3);
    max-width: 560px;
    margin-bottom: 48px;
    line-height: 1.7;
}

/* ── Story Grid ── */
.abt-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.abt-story-text p {
    color: var(--t3);
    margin-bottom: 18px;
    font-size: 1rem;
    line-height: 1.75;
}

.abt-story-text p strong {
    color: var(--t1);
}

.abt-story-visual {
    background: var(--bg-card);
    border: 1px solid var(--bdr);
    border-radius: var(--card-r);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.abt-story-visual::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1), transparent 70%);
    pointer-events: none;
}

.abt-stat-row {
    display: flex;
    gap: 32px;
    margin-bottom: 24px;
}

.abt-stat-item h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--blue);
    line-height: 1.2;
}

.abt-stat-item p {
    font-size: 0.85rem;
    color: var(--t4);
    margin: 0;
}

.abt-tagline {
    font-size: 1rem;
    color: var(--t3);
    border-top: 1px solid var(--bdr);
    padding-top: 20px;
    font-style: italic;
}

/* ── Values Grid ── */
.abt-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.abt-value-card {
    background: var(--bg-card);
    border: 1px solid var(--bdr);
    border-radius: var(--card-r);
    padding: 32px;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.abt-value-card:hover {
    border-color: var(--bdr-h);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.abt-value-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.abt-value-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--t1);
}

.abt-value-card p {
    font-size: 0.92rem;
    color: var(--t3);
    line-height: 1.65;
}

/* ── Team Grid ── */
.abt-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.abt-team-card {
    background: var(--bg-card);
    border: 1px solid var(--bdr);
    border-radius: var(--card-r);
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.abt-team-card:hover {
    border-color: var(--bdr-h);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.abt-team-avatar {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--t4);
    position: relative;
    overflow: hidden;
}

.abt-team-avatar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, var(--bg-card), transparent);
}

.abt-team-avatar-plus {
    font-size: 3rem;
    color: var(--blue);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(59, 130, 246, 0.1));
}

.abt-team-info {
    padding: 18px 22px 22px;
}

.abt-team-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--t1);
}

.abt-role {
    font-size: 0.82rem;
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 6px;
}

.abt-team-info p {
    font-size: 0.85rem;
    color: var(--t4);
    line-height: 1.55;
}

.abt-team-info p a {
    color: var(--blue);
    font-weight: 500;
}

.abt-team-info p a:hover {
    text-decoration: underline;
}

.abt-team-hiring {
    border-style: dashed;
}

/* ── Timeline ── */
.abt-timeline {
    position: relative;
    padding-left: 40px;
    max-width: 680px;
}

.abt-timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, var(--blue), var(--bdr));
}

.abt-tl-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 28px;
}

.abt-tl-item:last-child {
    margin-bottom: 0;
}

.abt-tl-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--blue);
    border: 3px solid var(--bg);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.25);
}

.abt-tl-year {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 1px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.abt-tl-item h3 {
    font-size: 1.12rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--t1);
}

.abt-tl-item p {
    font-size: 0.92rem;
    color: var(--t3);
    line-height: 1.65;
}

/* ── CTA ── */
.abt-cta {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.abt-cta h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--t1);
}

.abt-cta p {
    font-size: 1.08rem;
    color: var(--t3);
    max-width: 480px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.abt-cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
}

/* ── Responsive — Tablet ── */
@media (max-width: 1024px) {
    .abt-story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

/* ── Responsive — Mobile ── */
@media (max-width: 768px) {
    .abt-hero {
        padding: 130px 0 60px;
    }

    .abt-hero h1 {
        font-size: 2.2rem;
    }

    .abt-section {
        padding: 60px 0;
    }

    .abt-section .section-title {
        font-size: 1.7rem;
    }

    .abt-values-grid,
    .abt-team-grid {
        grid-template-columns: 1fr;
    }

    .abt-stat-row {
        flex-direction: column;
        gap: 16px;
    }

    .abt-cta h2 {
        font-size: 1.9rem;
    }

    .abt-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .abt-cta-buttons a {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

/* ── Responsive — Small phone ── */
@media (max-width: 480px) {
    .abt-hero h1 {
        font-size: 1.9rem;
    }

    .abt-hero-sub {
        font-size: 1rem;
    }

    .abt-story-visual {
        padding: 28px;
    }

    .abt-stat-item h3 {
        font-size: 1.8rem;
    }

    .abt-value-card {
        padding: 24px;
    }

    .abt-cta {
        padding: 70px 0;
    }
}

/* ── Light Theme Overrides ── */
body.light .abt-hero::before {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
}

body.light .abt-hero h1 {
    background: linear-gradient(135deg, #0f172a 30%, var(--blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light .abt-alt {
    background: rgba(241, 245, 249, 0.5);
}

body.light .abt-story-visual {
    background: rgba(255, 255, 255, 0.85);
    border-color: #e2e8f0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

body.light .abt-story-visual::before {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06), transparent 70%);
}

body.light .abt-stat-item h3 {
    color: var(--blue);
}

body.light .abt-tagline {
    border-top-color: #e2e8f0;
}

body.light .abt-value-card {
    background: rgba(255, 255, 255, 0.85);
    border-color: #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

body.light .abt-value-card:hover {
    background: #fff;
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

body.light .abt-value-card h3 {
    color: #0f172a;
}

body.light .abt-value-card p {
    color: #64748b;
}

body.light .abt-team-card {
    background: rgba(255, 255, 255, 0.85);
    border-color: #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

body.light .abt-team-card:hover {
    background: #fff;
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

body.light .abt-team-avatar {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(124, 58, 237, 0.06));
}

body.light .abt-team-avatar::after {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.85), transparent);
}

body.light .abt-team-hiring {
    border-color: rgba(37, 99, 235, 0.2);
}

body.light .abt-tl-item::before {
    border-color: #f8fafc;
}

body.light .abt-timeline::before {
    background: linear-gradient(to bottom, var(--blue), #e2e8f0);
}
