﻿/* ==========================================================================
   FastSite — About page
   Self-contained stylesheet. Does not depend on or affect style.css.
   ========================================================================== */

:root {
    --ab-purple-deep: #3b0d78;
    --ab-purple: #7c3aed;
    --ab-purple-mid: #8b2fd6;
    --ab-magenta: #a21caf;
    --ab-orange: #fbbf24;
    --ab-orange-deep: #f59e0b;
    --ab-pink: #ec4899;
    --ab-pink-deep: #db2777;

    --ab-ink: #0f0f1a;
    --ab-ink-2: #15152a;
    --ab-card: #1c1c33;
    --ab-line: rgba(255, 255, 255, 0.09);
    --ab-text: #e8e8f2;
    --ab-muted: #a2a2b8;

    /* Overwritten at runtime by page.js from Admin > Appearance > Typography.
       The defaults here must mirror the stored settings so the first paint is
       already correct and nothing visibly re-sizes or re-fonts afterwards. */
    --ab-font-heading: 'Tajawal', 'Poppins', 'Segoe UI', system-ui, sans-serif;
    --ab-font-body: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;

    /* Mirrors landing.logoSize. */
    --ab-logo-size: 70px;
    --ab-shell: 1200px;
    --ab-radius: 16px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--ab-font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ab-text);
    background: var(--ab-ink);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3 {
    font-family: var(--ab-font-heading);
    line-height: 1.15;
    margin: 0 0 .6em;
    letter-spacing: -0.02em;
}

p { margin: 0 0 1.1em; }

.shell {
    width: 100%;
    max-width: var(--ab-shell);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- accessibility helpers ------------------------------------------------ */

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 200;
    padding: 10px 18px;
    border-radius: 0 0 10px 10px;
    background: #ffffff;
    color: #3b0d78;
    font-weight: 600;
    text-decoration: none;
    transition: top .18s ease;
}

.skip-link:focus { top: 0; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 3px solid var(--ab-orange);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.ab-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    padding: 18px 0;
    transition: background-color .28s ease, padding .28s ease, box-shadow .28s ease;
}

.ab-header.is-stuck {
    padding: 10px 0;
    background: rgba(48, 12, 96, 0.86);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 30px rgba(10, 2, 30, 0.45);
}

.ab-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.ab-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
}

.ab-brand img {
    flex: 0 0 auto;
    width: var(--ab-logo-size);
    height: var(--ab-logo-size);
    object-fit: contain;
    filter: brightness(10);
}

.ab-brand-name {
    font-family: var(--ab-font-heading);
    font-size: clamp(0.95rem, 2.3vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.ab-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ab-menu a {
    padding: 9px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.86);
    font-size: .95rem;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}

.ab-menu a:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }

.ab-menu a[aria-current="page"] {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.75);
}

.ab-burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.ab-hero {
    position: relative;
    overflow: hidden;
    padding: 170px 0 90px;
    background:
        radial-gradient(120% 90% at 88% 12%, rgba(236, 72, 153, 0.30) 0%, rgba(236, 72, 153, 0) 55%),
        linear-gradient(118deg, var(--ab-purple-deep) 0%, var(--ab-purple) 46%, var(--ab-magenta) 100%);
}

/* hexagon texture */
.ab-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../img/hex-pattern.svg");
    background-size: 485px 840px;
    background-repeat: repeat;
    opacity: .85;
    pointer-events: none;
}

/* fade the hero into the dark page below */
.ab-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 140px;
    background: linear-gradient(to bottom, rgba(15, 15, 26, 0), var(--ab-ink));
    pointer-events: none;
}

.ab-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.02fr 1fr;
    align-items: center;
    gap: 40px;
}

.ab-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 7px 16px 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #fff;
}

.ab-eyebrow i { color: var(--ab-orange); }

.ab-hero h1 {
    margin: 0 0 22px;
    font-size: clamp(2.5rem, 6.4vw, 4.9rem);
    line-height: .96;
    letter-spacing: -0.035em;
    text-transform: uppercase;
}

.ab-hero h1 .line-1 {
    display: block;
    font-weight: 800;
    color: var(--ab-orange);
}

.ab-hero h1 .line-2 {
    display: block;
    font-weight: 400;
    color: #fff;
}

.ab-hero-lead {
    max-width: 50ch;
    margin-bottom: 32px;
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.86);
}

.btn-pink {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 34px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #f472b6, var(--ab-pink-deep));
    color: #fff;
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(219, 39, 119, 0.42);
    transition: transform .2s ease, box-shadow .2s ease;
}

.btn-pink:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(219, 39, 119, 0.52);
}

.ab-dots {
    display: flex;
    gap: 10px;
    margin-top: 46px;
}

.ab-dots span {
    width: 34px;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
}

.ab-dots span:first-child { width: 46px; background: var(--ab-orange); }

.ab-hero-art { position: relative; }

.ab-hero-art img {
    width: 100%;
    height: auto;
    animation: ab-float 7s ease-in-out infinite;
}

@keyframes ab-float {
    0%, 100% { transform: translateY(-10px); }
    50%      { transform: translateY(10px); }
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

.ab-section { padding: 92px 0; }

.ab-section.tint { background: var(--ab-ink-2); }

.ab-section-head {
    max-width: 62ch;
    margin: 0 auto 54px;
    text-align: center;
}

.ab-kicker {
    display: block;
    margin-bottom: 12px;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ab-orange);
}

.ab-section-head h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
}

.ab-section-head p { margin: 0; color: var(--ab-muted); }

/* --- story ---------------------------------------------------------------- */

.ab-story {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 56px;
    align-items: start;
}

.ab-story h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    font-weight: 700;
    color: #fff;
}

.ab-story p { color: var(--ab-muted); }

.ab-story strong { color: var(--ab-text); font-weight: 600; }

.ab-pillars {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ab-pillars li {
    display: flex;
    gap: 14px;
    padding: 20px 22px;
    border: 1px solid var(--ab-line);
    border-left: 3px solid var(--ab-purple);
    border-radius: 12px;
    background: var(--ab-card);
}

.ab-pillars i {
    flex: 0 0 auto;
    margin-top: 5px;
    font-size: 1.05rem;
    color: var(--ab-orange);
}

.ab-pillars h3 {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.ab-pillars p {
    margin: 0;
    font-size: .9rem;
    line-height: 1.6;
    color: var(--ab-muted);
}

/* --- capability cards ---------------------------------------------------- */

.ab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 22px;
}

.ab-card {
    position: relative;
    padding: 32px 28px;
    border: 1px solid var(--ab-line);
    border-radius: var(--ab-radius);
    background: var(--ab-card);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.ab-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 58, 237, 0.6);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4);
}

.ab-card-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--ab-purple), var(--ab-magenta));
    color: #fff;
    font-size: 1.25rem;
}

.ab-card h3 {
    margin: 0 0 10px;
    font-size: 1.12rem;
    font-weight: 600;
    color: #fff;
}

.ab-card p {
    margin: 0;
    font-size: .93rem;
    color: var(--ab-muted);
}

/* --- stats band ---------------------------------------------------------- */

.ab-stats-band {
    padding: 62px 0;
    background:
        radial-gradient(90% 140% at 15% 0%, rgba(236, 72, 153, 0.28) 0%, rgba(236, 72, 153, 0) 60%),
        linear-gradient(118deg, var(--ab-purple-deep), var(--ab-magenta));
}

.ab-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    text-align: center;
}

.ab-stat b {
    display: block;
    font-size: clamp(2rem, 4.6vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--ab-orange);
}

.ab-stat span {
    font-size: .84rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
}

/* --- approach steps ------------------------------------------------------ */

.ab-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
    counter-reset: step;
}

.ab-step {
    padding: 30px 26px;
    border: 1px solid var(--ab-line);
    border-radius: var(--ab-radius);
    background: var(--ab-ink);
    counter-increment: step;
}

.ab-step::before {
    content: "0" counter(step);
    display: block;
    margin-bottom: 14px;
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(124, 58, 237, 0.85);
}

.ab-step h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
}

.ab-step p {
    margin: 0;
    font-size: .9rem;
    color: var(--ab-muted);
}

/* --- CTA ----------------------------------------------------------------- */

.ab-cta {
    padding: 72px 0;
    text-align: center;
    background: var(--ab-ink-2);
    border-top: 1px solid var(--ab-line);
}

.ab-cta h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.3rem);
    font-weight: 700;
    color: #fff;
}

.ab-cta p {
    max-width: 56ch;
    margin: 0 auto 28px;
    color: var(--ab-muted);
}

/* --- footer -------------------------------------------------------------- */

.ab-footer {
    padding: 30px 0;
    background: #0b0b14;
    border-top: 1px solid var(--ab-line);
}

.ab-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.ab-footer p {
    margin: 0;
    font-size: .87rem;
    color: var(--ab-muted);
}

.ab-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.ab-footer nav a {
    font-size: .87rem;
    color: var(--ab-muted);
    text-decoration: none;
    transition: color .2s ease;
}

.ab-footer nav a:hover { color: #fff; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 960px) {
    .ab-hero { padding: 138px 0 70px; }

    .ab-hero-grid,
    .ab-story {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .ab-hero-art { order: -1; max-width: 560px; }

    .ab-dots { margin-top: 32px; }

    .ab-burger { display: block; }

    .ab-menu {
        position: absolute;
        inset: 100% 16px auto 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 16px;
        background: rgba(38, 9, 78, 0.97);
        backdrop-filter: blur(12px);
        box-shadow: 0 20px 50px rgba(8, 2, 24, 0.55);
    }

    .ab-menu[hidden] { display: none; }

    .ab-menu a { text-align: center; }
}

@media (max-width: 620px) {
    .shell { padding: 0 18px; }

    .ab-section { padding: 68px 0; }


    .ab-footer-inner { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    .ab-hero-art img { animation: none; }

    *, *::before, *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
