/* ============================================================ */
/* ambitiv.com — PAGE: About                                      */
/* Loaded only on /about page. Place after main styles.css.       */
/* ============================================================ */

/* ===== 1. HERO ===== */
.abt-hero {
    padding: 130px 0 80px;
    position: relative;
    overflow: hidden;
}

.abt-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.abt-hero-bg::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
}

.abt-hero-bg::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 97, 70, 0.05) 0%, transparent 70%);
}

.abt-hero-inner {
    position: relative;
    z-index: 1;
}

.abt-hero-content {
    max-width: 840px;
    margin: 0 auto 60px;
    text-align: center;
}

.abt-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-light);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 100px;
    font-family: 'Unbounded', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.abt-hero h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.abt-hero h1 .accent {
    color: var(--accent);
}

.abt-hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.18rem);
    color: var(--gray);
    line-height: 1.65;
}

.abt-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.abt-hero-stat {
    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px 22px;
    text-align: center;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.abt-hero-stat:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(255, 97, 70, 0.08);
}

.abt-hero-stat strong {
    display: block;
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.abt-hero-stat span {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.4;
}

/* ===== 2. TIMELINE ===== */
.abt-timeline {
    padding: 100px 0;
    background: var(--bg-alt);
}

.abt-timeline-track {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 30px;
}

.abt-timeline-line {
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent) 80%, transparent 100%);
    opacity: 0.3;
    border-radius: 2px;
}

.abt-timeline-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 32px;
}

.abt-timeline-item:last-child {
    margin-bottom: 0;
}

.abt-timeline-dot {
    position: absolute;
    left: -10px;
    top: 14px;
    width: 18px;
    height: 18px;
    background: white;
    border: 3px solid var(--accent);
    border-radius: 50%;
    z-index: 1;
    transition: all 0.3s ease;
}

.abt-timeline-item-active .abt-timeline-dot {
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(255, 97, 70, 0.15);
    animation: abtDotPulse 2.5s infinite;
}

@keyframes abtDotPulse {
    0%, 100% { box-shadow: 0 0 0 6px rgba(255, 97, 70, 0.15); }
    50% { box-shadow: 0 0 0 10px rgba(255, 97, 70, 0.05); }
}

.abt-timeline-year {
    font-family: 'Unbounded', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.abt-timeline-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 28px;
    transition: all 0.3s ease;
}

.abt-timeline-card:hover {
    border-color: var(--accent);
    transform: translateX(6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
}

.abt-timeline-item-active .abt-timeline-card {
    border-color: var(--accent);
    box-shadow: 0 16px 36px rgba(255, 97, 70, 0.1);
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 97, 70, 0.025) 100%);
}

.abt-timeline-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 14px;
}

.abt-timeline-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
    line-height: 1.3;
}

.abt-timeline-card p {
    color: var(--gray);
    font-size: 0.96rem;
    line-height: 1.6;
}

/* ===== 3. CURRENT NUMBERS ===== */
.abt-now {
    padding: 100px 0;
}

.abt-now-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: center;
}

.abt-now-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-light);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 100px;
    font-family: 'Unbounded', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.abt-now h2 {
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.abt-now-content > p {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.65;
}

.abt-now-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.abt-now-stat {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 18px;
    text-align: center;
    transition: all 0.3s ease;
}

.abt-now-stat:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.abt-now-stat-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin: 0 auto 12px;
}

.abt-now-stat strong {
    display: block;
    font-family: 'Unbounded', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 6px;
}

.abt-now-stat span {
    font-size: 0.82rem;
    color: var(--gray);
    line-height: 1.4;
    display: block;
}

/* ===== 4. WHY AI ===== */
.abt-why {
    padding: 100px 0;
    background: var(--dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.abt-why::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 97, 70, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.abt-why-inner {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 32px;
    align-items: flex-start;
    max-width: 920px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.abt-why-quote {
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.5;
    line-height: 1;
}

.abt-why h2 {
    color: white;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.2;
    margin-bottom: 24px;
}

.abt-why-text {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.abt-why-text:last-child {
    margin-bottom: 0;
}

.abt-why-text strong {
    color: var(--accent);
    font-weight: 600;
}

/* ===== 5. VALUES ===== */
.abt-values {
    padding: 100px 0;
    background: var(--bg-alt);
}

.abt-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.abt-value {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 28px;
    transition: all 0.3s ease;
}

.abt-value:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.abt-value-num {
    font-family: 'Unbounded', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.85;
}

.abt-value h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
    color: var(--dark);
}

.abt-value p {
    color: var(--gray);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ===== 6. ROOTS ===== */
.abt-roots {
    padding: 100px 0;
}

.abt-roots-inner {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 36px;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
    background: white;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);
}

.abt-roots-icon {
    width: 100px;
    height: 100px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    flex-shrink: 0;
}

.abt-roots h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    line-height: 1.25;
    margin-bottom: 14px;
}

.abt-roots p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 12px;
}

.abt-roots p:last-child {
    margin-bottom: 0;
}

.abt-roots strong {
    color: var(--dark);
}

/* ===== GLOBAL PRESENCE — world map ===== */
.abt-world {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark) 0%, #2d2d2d 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.abt-world::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 97, 70, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.abt-world .section-header h2 {
    color: white;
}

.abt-world .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.abt-world-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0 0 8px;
    padding: 0 24px;
}

.abt-world-svg {
    width: 100%;
    height: auto;
    display: block;
    max-height: 70vh;
}

.abt-world .abt-world-legend,
.abt-world .abt-world-stats {
    position: relative;
    z-index: 1;
}

/* Continent silhouette dots — subtle */
.abt-world-continents circle {
    transition: fill 0.3s ease;
}

/* Client pins */
.abt-pin-core {
    fill: var(--accent);
}

.abt-pin-pulse {
    fill: var(--accent);
    transform-origin: center;
    transform-box: fill-box;
    animation: abtPinPulse 2.6s ease-out infinite;
}

.abt-pin-hq .abt-pin-core {
    fill: #ff7a5c;
}

.abt-pin-hq .abt-pin-pulse {
    animation-duration: 2s;
}

/* Stagger the pulses so they don't blink in unison */
.abt-pin:nth-child(2n) .abt-pin-pulse { animation-delay: 0.4s; }
.abt-pin:nth-child(3n) .abt-pin-pulse { animation-delay: 0.8s; }
.abt-pin:nth-child(4n) .abt-pin-pulse { animation-delay: 1.2s; }
.abt-pin:nth-child(5n) .abt-pin-pulse { animation-delay: 1.6s; }
.abt-pin:nth-child(7n) .abt-pin-pulse { animation-delay: 2s; }

.abt-pin-minor .abt-pin-pulse {
    opacity: 0.7;
}

@keyframes abtPinPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    70% {
        transform: scale(3.2);
        opacity: 0;
    }
    100% {
        transform: scale(3.2);
        opacity: 0;
    }
}

/* Legend */
.abt-world-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    margin-top: 32px;
}

.abt-world-legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.abt-world-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.abt-world-dot-hq {
    background: #ff7a5c;
    box-shadow: 0 0 0 4px rgba(255, 97, 70, 0.25);
}

.abt-world-dot-active {
    background: var(--accent);
}

.abt-world-dot-minor {
    background: var(--accent);
    opacity: 0.55;
}

/* Stats row */
.abt-world-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px;
    margin-top: 40px;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.abt-world-stat {
    text-align: center;
}

.abt-world-stat strong {
    display: block;
    font-family: 'Unbounded', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.abt-world-stat span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 160px;
    display: inline-block;
    line-height: 1.4;
}

/* ===== 7. CTA ===== */
.abt-cta {
    padding: 100px 0;
    background: var(--bg-alt);
}

.abt-cta-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.abt-cta h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 14px;
}

.abt-cta > .container > .abt-cta-inner > p {
    color: var(--gray);
    font-size: 1.08rem;
    line-height: 1.6;
    margin-bottom: 28px;
}

.abt-cta-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .abt-hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .abt-now-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .abt-now-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .abt-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .abt-roots-inner {
        padding: 36px;
    }
}

@media (max-width: 768px) {
    .abt-hero {
        padding: 100px 0 60px;
    }

    .abt-timeline,
    .abt-now,
    .abt-why,
    .abt-values,
    .abt-roots,
    .abt-world,
    .abt-cta {
        padding: 60px 0;
    }

    .abt-world-wrap {
        padding: 0 12px;
        margin-bottom: 4px;
    }

    .abt-world-svg {
        max-height: none;
    }

    .abt-world-legend {
        gap: 12px 20px;
        margin-top: 24px;
        justify-content: center;
    }

    .abt-world-legend-item {
        font-size: 0.82rem;
    }

    .abt-world-stats {
        gap: 28px;
        margin-top: 28px;
        padding-top: 28px;
    }

    .abt-world-stat strong {
        font-size: 1.6rem;
    }

    .abt-world-stat span {
        font-size: 0.82rem;
    }

    .abt-hero-content {
        margin-bottom: 40px;
    }

    .abt-hero-stat {
        padding: 20px 16px;
    }

    .abt-hero-stat strong {
        font-size: 1.4rem;
    }

    .abt-hero-stat span {
        font-size: 0.78rem;
    }

    /* Timeline more compact */
    .abt-timeline-track {
        padding-left: 24px;
    }

    .abt-timeline-line {
        left: 6px;
    }

    .abt-timeline-item {
        padding-left: 30px;
        margin-bottom: 24px;
    }

    .abt-timeline-dot {
        left: -10px;
        top: 12px;
        width: 14px;
        height: 14px;
        border-width: 2px;
    }

    .abt-timeline-card {
        padding: 20px 22px;
    }

    .abt-timeline-card h3 {
        font-size: 1.05rem;
    }

    .abt-now-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .abt-why-inner {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .abt-why-quote {
        font-size: 2rem;
    }

    .abt-values-grid {
        grid-template-columns: 1fr;
    }

    .abt-roots-inner {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 28px 24px;
        text-align: center;
    }

    .abt-roots-icon {
        margin: 0 auto;
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .abt-cta-ctas .btn-primary,
    .abt-cta-ctas .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .abt-hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .abt-now-grid {
        grid-template-columns: 1fr;
    }
}