/* ==============================================
   LEGACY AUTOPLEX — INVESTOR PAGE CSS
   Requires base.css loaded first.
=============================================== */

/* ---- HERO ---- */
.invest-hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    border-bottom: 0.5px solid var(--border);
}

.invest-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.invest-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: brightness(0.65) saturate(0.75);
    display: block;
}

.invest-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, var(--black) 0%, rgba(7,7,15,0.75) 40%, transparent 75%),
        linear-gradient(to top, var(--black) 0%, transparent 35%);
}

.invest-hero-content {
    position: relative;
    z-index: 2;
    width: 55%;
    padding: 180px 0 100px 64px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100vh;
}

.invest-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(52px, 7vw, 100px);
    line-height: 0.92;
    letter-spacing: 0.01em;
    color: var(--white);
    margin-bottom: 32px;
    max-width: 700px;
}

.invest-hero h1 em {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--gold);
    font-size: 0.75em;
    display: block;
    line-height: 1.3;
    letter-spacing: 0;
}

.invest-hero-sub {
    font-size: clamp(15px, 1.5vw, 18px);
    color: var(--gray-light);
    line-height: 1.8;
    max-width: 560px;
    margin-bottom: 40px;
    font-weight: 300;
}

.invest-hero-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.invest-badge {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    border: 0.5px solid var(--border-gold);
    padding: 8px 16px;
}

/* ---- THESIS STATS ROW ---- */
.section-thesis {
    padding: var(--section-pad);
    border-bottom: 0.5px solid var(--border);
}

.thesis-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 0.5px solid var(--border-gold);
    margin-bottom: 72px;
}

.thesis-stat {
    padding: 40px 36px;
    border-right: 0.5px solid var(--border-gold);
    position: relative;
}
.thesis-stat:last-child { border-right: none; }

.thesis-stat-num {
    font-family: var(--font-display);
    font-size: clamp(48px, 6vw, 80px);
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
}

.thesis-stat-label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 12px;
}

.thesis-stat-desc {
    font-size: 14px;
    color: var(--gray-light);
    line-height: 1.6;
}

.thesis-body-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.thesis-body h2 { margin-bottom: 24px; }
.thesis-body p { color: var(--gray-light); font-size: 17px; line-height: 1.85; margin-bottom: 20px; }
.thesis-body p:last-child { margin-bottom: 0; }

/* ---- FINANCIAL OVERVIEW ---- */
.section-financials {
    padding: var(--section-pad);
    background: var(--black-mid);
    border-bottom: 0.5px solid var(--border);
}

.financials-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.financials-left h2 { margin-bottom: 24px; }
.financials-left .lead { margin-bottom: 40px; }

.financials-table {
    width: 100%;
    border: 0.5px solid var(--border);
    border-collapse: collapse;
}

.financials-table tr {
    border-bottom: 0.5px solid var(--border);
}
.financials-table tr:last-child { border-bottom: none; }

.financials-table td {
    padding: 16px 20px;
    font-size: 14px;
    vertical-align: top;
}

.financials-table td:first-child {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray);
    width: 45%;
}

.financials-table td:last-child {
    color: var(--white);
    font-weight: 400;
}

.financials-table tr.highlight td:last-child {
    color: var(--gold);
    font-family: var(--font-serif);
    font-size: 18px;
}

.financials-note {
    font-size: 12px;
    color: var(--gray);
    font-style: italic;
    margin-top: 16px;
    line-height: 1.6;
}

/* ---- INVESTOR STRUCTURE ---- */
.section-structure {
    padding: var(--section-pad);
    border-bottom: 0.5px solid var(--border);
}

.structure-header { max-width: 600px; margin-bottom: 64px; }
.structure-header h2 { margin-bottom: 20px; }

.structure-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 0.5px solid var(--border);
    margin-bottom: 64px;
}

.structure-card {
    background: var(--card-bg);
    border-right: 0.5px solid var(--border);
    padding: 40px 32px;
    position: relative;
}
.structure-card:last-child { border-right: none; }

.structure-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.structure-card-num {
    font-family: var(--font-display);
    font-size: 56px;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.6;
}

.structure-card-title {
    font-family: var(--font-display);
    font-size: 20px;
    letter-spacing: 0.04em;
    color: var(--white);
    margin-bottom: 16px;
}

.structure-card-body {
    font-size: 14px;
    color: var(--gray-light);
    line-height: 1.7;
}

/* ---- INVESTOR ADVANTAGE ---- */
.section-advantage {
    padding: var(--section-pad);
    background: var(--black-mid);
    border-bottom: 0.5px solid var(--border);
}

.advantage-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.advantage-left h2 { margin-bottom: 24px; }
.advantage-left .lead { margin-bottom: 40px; }

.advantage-img {
    width: 100%;
    aspect-ratio: 3/2;
    overflow: hidden;
    position: relative;
    margin-top: 8px;
}
.advantage-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.55) saturate(0.7);
    display: block;
}
.advantage-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7,7,15,0.7) 0%, transparent 50%);
}

.advantage-perks { display: flex; flex-direction: column; gap: 0; border: 0.5px solid var(--border); }
.advantage-perk {
    padding: 28px 32px;
    border-bottom: 0.5px solid var(--border);
    transition: background 0.2s;
}
.advantage-perk:last-child { border-bottom: none; }
.advantage-perk:hover { background: var(--black-light); }
.advantage-perk-title {
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 0.04em;
    color: var(--gold);
    margin-bottom: 8px;
}
.advantage-perk-body { font-size: 14px; color: var(--gray-light); line-height: 1.65; }

/* ---- PHASE TIMELINE ---- */
.section-phases {
    padding: var(--section-pad);
    border-bottom: 0.5px solid var(--border);
}

.phases-header { max-width: 600px; margin-bottom: 64px; }
.phases-header h2 { margin-bottom: 20px; }

.phases-list { display: flex; flex-direction: column; gap: 0; border: 0.5px solid var(--border); }

.phase-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 0;
    border-bottom: 0.5px solid var(--border);
    transition: background 0.2s;
}
.phase-item:last-child { border-bottom: none; }
.phase-item:hover { background: var(--black-light); }

.phase-num {
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 0.5px solid var(--border);
    padding: 32px 16px;
}

.phase-num-inner {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--gold);
    opacity: 0.5;
    line-height: 1;
}

.phase-body { padding: 32px 36px; }

.phase-title {
    font-family: var(--font-display);
    font-size: 20px;
    letter-spacing: 0.04em;
    color: var(--white);
    margin-bottom: 8px;
}

.phase-subtitle {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.phase-desc { font-size: 14px; color: var(--gray-light); line-height: 1.7; }

/* ---- WHY NOW ---- */
.section-why {
    padding: var(--section-pad);
    background: var(--black-mid);
    border-bottom: 0.5px solid var(--border);
}

.why-header { max-width: 600px; margin-bottom: 64px; }
.why-header h2 { margin-bottom: 20px; }

.why-list { display: flex; flex-direction: column; gap: 0; border: 0.5px solid var(--border); }

.why-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    border-bottom: 0.5px solid var(--border);
    transition: background 0.2s;
}
.why-item:last-child { border-bottom: none; }
.why-item:hover { background: var(--black-light); }

.why-item-num {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 28px 0 28px 20px;
    border-right: 0.5px solid var(--border);
    font-family: var(--font-display);
    font-size: 32px;
    color: rgba(196,160,80,0.25);
    line-height: 1.2;
}

.why-item-body { padding: 28px 32px; }
.why-item-title { font-family: var(--font-display); font-size: 18px; letter-spacing: 0.04em; color: var(--white); margin-bottom: 6px; }
.why-item-desc { font-size: 14px; color: var(--gray-light); line-height: 1.65; }

/* ---- INVESTOR FORM ---- */
.section-invest-form {
    padding: var(--section-pad);
    border-bottom: 0.5px solid var(--border);
}

.invest-form-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.invest-form-left h2 { margin-bottom: 20px; }
.invest-form-left .lead { margin-bottom: 32px; }

.invest-form-note {
    font-size: 14px;
    font-style: italic;
    color: var(--gray);
    padding: 20px 0;
    border-top: 0.5px solid var(--border-gold);
    margin-top: 32px;
}

/* ---- CLOSING ---- */
.section-invest-closing {
    padding: 100px 24px;
    background: var(--black-mid);
    border-top: 0.5px solid var(--border);
    text-align: center;
}
.section-invest-closing h2 { margin-bottom: 20px; }
.section-invest-closing .lead { max-width: 580px; margin: 0 auto 48px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
    .invest-hero { min-height: 100vh; }
    .invest-hero-bg img { filter: brightness(0.4) saturate(0.6); }
    .invest-hero-bg::after {
        background: rgba(7,7,15,0.7),
                    linear-gradient(to top, var(--black) 0%, transparent 30%);
    }
    .invest-hero-content { width: 100%; padding: 140px 24px 80px; }
    .invest-hero h1 { font-size: clamp(44px, 10vw, 72px); }
    .thesis-stats,
    .structure-cards { grid-template-columns: 1fr; }
    .thesis-stat { border-right: none; border-bottom: 0.5px solid var(--border-gold); }
    .thesis-stat:last-child { border-bottom: none; }
    .structure-card { border-right: none; border-bottom: 0.5px solid var(--border); }
    .structure-card:last-child { border-bottom: none; }
    .thesis-body-layout,
    .financials-layout,
    .advantage-layout,
    .invest-form-layout { grid-template-columns: 1fr; gap: 48px; }
    .phase-item { grid-template-columns: 56px 1fr; }
}

@media (max-width: 600px) {
    .invest-hero-badges { flex-direction: column; }
    .why-item { grid-template-columns: 40px 1fr; }
    .why-item-num { font-size: 22px; padding: 24px 0 24px 12px; }
}