/* ═══════════════════════════════════════════════════════
   style_about.css  —  styles specific to about.html
   Requires: style_common.css
   ═══════════════════════════════════════════════════════ */

html { scroll-padding-top: 16rem; }

/* ── HERO overrides ── */
.hero { min-height: 50vh; }

.hero::before {
    background:
        radial-gradient(ellipse 50% 60% at 80% 25%, rgba(200,80,255,0.09) 0%, transparent 65%),
        radial-gradient(ellipse 40% 50% at 15% 65%, rgba(0,212,255,0.07) 0%, transparent 60%),
        radial-gradient(ellipse 35% 45% at 50% 95%, rgba(57,232,122,0.04) 0%, transparent 55%);
}

/* Large decorative text behind hero */
.hero-bg-text {
    position: absolute;
    bottom: -0.15em;
    right: -0.05em;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(8rem, 18vw, 18rem);
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0,212,255,0.06);
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.04em;
}

.hero h1 { font-size: clamp(2.2rem, 5vw, 4.8rem); max-width: 22ch; }

/* ── ORIGIN STORY ── */
.origin-section {
    padding: 7rem 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7rem;
    align-items: start;
    border-bottom: 1px solid var(--border);
}

.origin-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 2rem;
}

.origin-content p {
    color: #7aa8bc;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.9;
    margin-bottom: 1.25rem;
}

.origin-content p:last-child { margin-bottom: 0; }
.origin-content strong { color: var(--white); font-weight: 500; }

/* Timeline of milestones */
.origin-milestones {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 0.5rem;
}

.milestone {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 1.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border2);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.milestone:last-child { border-bottom: none; }
.milestone.in-view { opacity: 1; transform: translateY(0); }

.milestone-year {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 0.05em;
    padding-top: 0.2rem;
}

.milestone-text {
    font-size: 0.92rem;
    color: #7aa8bc;
    font-weight: 300;
    line-height: 1.7;
}

.milestone-text strong { color: var(--white); font-weight: 500; }

/* ── TRUST SECTION ── */
.trust-section {
    background: var(--mid2);
    border-bottom: 1px solid var(--border);
    padding: 6rem 3rem;
}

.trust-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.trust-section > p {
    color: #7aa8bc;
    font-size: 1rem;
    font-weight: 300;
    max-width: 54ch;
    margin-bottom: 3.5rem;
    line-height: 1.8;
}

/* Logo grid */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-bottom: 3.5rem;
}

.logo-cell {
    background: var(--mid);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    position: relative;
    overflow: hidden;
}

.logo-cell::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,212,255,0.05), rgba(200,80,255,0.05));
    opacity: 0;
    transition: opacity 0.2s;
}

.logo-cell:hover { background: #0d1e30; }
.logo-cell:hover::after { opacity: 1; }

.logo-cell-inner {
    width: 70%;
    height: 10px;
    background: rgba(0,212,255,0.1);
    border-radius: 2px;
}

/* Stat row */
.stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.stat-cell {
    background: var(--mid);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-cell-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-cell-label {
    font-size: 0.88rem;
    color: var(--muted);
    font-weight: 300;
    line-height: 1.5;
}

/* ── CTA STRIP ── */
.cta-strip {
    padding: 6rem 3rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 70% at 50% 50%, rgba(200,80,255,0.07) 0%, transparent 70%),
        radial-gradient(ellipse 35% 40% at 80% 20%, rgba(0,212,255,0.05) 0%, transparent 55%);
    pointer-events: none;
}

.cta-strip h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.cta-strip p {
    color: #7aa8bc;
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 2.25rem;
    max-width: 46ch;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

.btn-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── TABLET ── */
@media (max-width: 1024px) {
    .origin-section { padding: 5rem 2rem; gap: 4rem; }
    .trust-section, .cta-strip { padding: 5rem 2rem; }
    .logo-grid { grid-template-columns: repeat(4, 1fr); }
    .logo-grid .logo-cell:last-child { display: none; }
    .stat-row { grid-template-columns: repeat(3, 1fr); }
}

/* ── MOBILE ── */
@media (max-width: 767px) {
    .hero-bg-text { font-size: clamp(5rem, 22vw, 8rem); right: -0.1em; bottom: -0.1em; }
    .hero h1 { font-size: clamp(2rem, 8.5vw, 2.8rem); max-width: 100%; }

    .origin-section {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 4rem 1.25rem;
    }

    .trust-section { padding: 4rem 1.25rem; }
    .cta-strip { padding: 4.5rem 1.25rem; }

    .logo-grid { grid-template-columns: repeat(2, 1fr); }
    .logo-grid .logo-cell:last-child { display: flex; }

    .stat-row { grid-template-columns: 1fr; }
    .stat-cell { padding: 2rem 1.5rem; }
    .stat-cell-number { font-size: 2.2rem; }

    .milestone { grid-template-columns: 56px 1fr; gap: 1rem; padding: 1.5rem 0; }

    .btn-row { flex-direction: column; align-items: center; }
    .btn-row .btn { width: 100%; max-width: 320px; justify-content: center; }
}

@media (max-width: 380px) {
    .hero h1 { font-size: 1.85rem; }
    .logo-grid { grid-template-columns: repeat(2, 1fr); }
}
