/* ==========================================================================
   AthletiCore Landing Page — Design System
   Concept: the athletics track itself — lane lines, split times, the
   stadium scoreboard. Navy + orange are the brand marks (from the logo);
   everything else is built to earn its place next to them.
   ========================================================================== */

/* Font-face declarations moved to shared assets/css/fonts.css (loaded before this file) */

:root {
    --lp-navy: #0d1a3d;
    --lp-navy-950: #08122b;
    --lp-navy-brand: #12224a;
    --lp-orange: #f2701e;
    --lp-orange-deep: #c8570f;
    --lp-track: #eef1f6;
    --lp-ink: #16213f;
    --lp-muted: #626e8a;
    --lp-hairline: rgba(18,34,74,0.1);

    --font-display: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

body.lp {
    font-family: var(--font-body);
    color: var(--lp-ink);
    background: #fff;
}

.lp h1, .lp h2, .lp h3 { font-family: var(--font-display); letter-spacing: 0.01em; }

.lp-eyebrow {
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    font-weight: 500;
    color: var(--lp-orange);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.lp-eyebrow::before {
    content: '';
    width: 22px; height: 2px;
    background: var(--lp-orange);
    display: inline-block;
}

/* Lane-line texture, used on navy sections */
.lp-lanes {
    background-color: var(--lp-navy);
    background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.035) 0px, rgba(255,255,255,0.035) 1px, transparent 1px, transparent 64px);
    position: relative;
}

/* ===== Navbar ===== */
.lp-nav {
    background: #fff;
    border-bottom: 1px solid var(--lp-hairline);
}
.lp-nav .nav-link-lp {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--lp-ink);
    text-decoration: none;
}
.lp-nav .nav-link-lp:hover { color: var(--lp-orange); }

/* ===== Buttons ===== */
.lp-btn {
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    font-weight: 700;
    padding: 0.85rem 1.9rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    text-decoration: none;
    border: 2px solid transparent;
}
.lp-btn-primary { background: var(--lp-orange); color: #fff; }
.lp-btn-primary:hover { background: var(--lp-orange-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(242,112,30,0.3); }
.lp-btn-outline-light { border-color: rgba(255,255,255,0.35); color: #fff; }
.lp-btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); color: #fff; }
.lp-btn-outline-navy { border-color: var(--lp-navy-brand); color: var(--lp-navy-brand); }
.lp-btn-outline-navy:hover { background: var(--lp-navy-brand); color: #fff; }

/* ===== Hero decorative artwork ===== */
.lp-hero { position: relative; overflow: hidden; }
.lp-hero-art {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 46%;
    pointer-events: none;
    z-index: 0;
}
@media (max-width: 991px) {
    .lp-hero-art { height: 38%; opacity: 0.7; }
}
@media (max-width: 576px) {
    .lp-hero-art { display: none; }
}
.lp-hero .container { position: relative; z-index: 1; }

/* ===== Hero ===== */
.lp-hero { padding: 2.75rem 0 3rem; }
.lp-hero h1 {
    font-size: clamp(2.1rem, 4.6vw, 3.6rem);
    line-height: 1.04;
    color: #fff;
    margin-bottom: 1rem;
}
.lp-hero h1 .hl { color: var(--lp-orange); }
.lp-hero-sub {
    color: rgba(255,255,255,0.72);
    font-size: 1.05rem;
    max-width: 540px;
    line-height: 1.55;
}
@media (max-width: 576px) {
    .lp-hero { padding: 1.5rem 0 2rem; }
    .lp-hero h1 { margin-bottom: 0.75rem; }
    .lp-eyebrow { font-size: 0.68rem; }
    .lp-scoreboard { margin-top: 1.5rem; }
    .lp-scoreboard-label { padding: 0.6rem 1rem 0; font-size: 0.62rem; }
    .lp-scoreboard-cell { padding: 0.7rem 1rem 0.9rem; }
}
.lp-hero-anim { animation: lpRise .7s ease both; }
.lp-hero-anim.d1 { animation-delay: .08s; }
.lp-hero-anim.d2 { animation-delay: .16s; }
.lp-hero-anim.d3 { animation-delay: .24s; }
@keyframes lpRise {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .lp-hero-anim { animation: none; }
}

/* Scoreboard ticker — signature element */
.lp-scoreboard {
    background: var(--lp-navy-950);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    margin-top: 2rem;
    overflow: hidden;
}
.lp-scoreboard-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    padding: 0.7rem 1.25rem 0;
}
.lp-scoreboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.lp-scoreboard-cell {
    padding: 0.85rem 1.25rem 1.1rem;
    border-left: 1px solid rgba(255,255,255,0.08);
}
.lp-scoreboard-cell:first-child { border-left: none; }
.lp-scoreboard-value {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: clamp(1.25rem, 2.2vw, 1.75rem);
    color: var(--lp-orange);
    text-shadow: 0 0 18px rgba(242,112,30,0.35);
}
.lp-scoreboard-tag {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-top: 0.25rem;
}
@media (max-width: 767px) {
    .lp-scoreboard-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-scoreboard-cell:nth-child(3) { border-left: none; }
}

/* ===== Section headers ===== */
.lp-section { padding: 6rem 0; }
.lp-section-head h2 {
    font-size: clamp(2rem, 3.6vw, 2.9rem);
    color: var(--lp-navy-brand);
    margin: 0.6rem 0 1rem;
}
.lp-section-head p { color: var(--lp-muted); font-size: 1.05rem; }

/* ===== Feature cards ===== */
.lp-feature {
    border: 1px solid var(--lp-hairline);
    border-radius: 4px;
    padding: 2rem 1.75rem;
    height: 100%;
    background: #fff;
    position: relative;
    transition: border-color .2s ease, transform .2s ease;
}
.lp-feature:hover { transform: translateY(-3px); border-color: var(--lp-orange); }
.lp-feature-icon {
    width: 46px; height: 46px;
    border: 2px solid var(--lp-navy-brand);
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    color: var(--lp-navy-brand);
    margin-bottom: 1.25rem;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.lp-feature:hover .lp-feature-icon { background: var(--lp-orange); border-color: var(--lp-orange); color: #fff; }
.lp-feature h3 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; color: var(--lp-navy-brand); margin-bottom: 0.6rem; }
.lp-feature p { color: var(--lp-muted); font-size: 0.94rem; line-height: 1.6; margin: 0; }
.lp-feature-tag {
    position: absolute; top: 1.5rem; right: 1.5rem;
    font-family: var(--font-mono); font-size: 0.68rem; color: #c3cadb;
    letter-spacing: 0.06em;
}

/* ===== How it works — lane markers ===== */
.lp-lanes-row { position: relative; }
.lp-lanes-row::before {
    content: '';
    position: absolute;
    top: 34px; left: 8%; right: 8%;
    height: 0;
    border-top: 3px dashed #d7ddea;
    z-index: 0;
}
.lp-lane-marker {
    width: 68px; height: 68px;
    border-radius: 50%;
    background: var(--lp-orange);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 1.7rem;
    margin: 0 auto 1.25rem;
    position: relative; z-index: 1;
    box-shadow: 0 8px 20px rgba(242,112,30,0.3);
}
.lp-lane-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--lp-orange);
    font-weight: 700;
}
.lp-lane-step h3 { font-family: var(--font-body); font-weight: 700; color: var(--lp-navy-brand); font-size: 1.15rem; margin: 0.4rem 0 0.6rem; }
.lp-lane-step p { color: var(--lp-muted); font-size: 0.95rem; margin: 0; }

/* ===== FAQ ===== */
.lp-faq-item { border-bottom: 1px solid var(--lp-hairline); }
.lp-faq-q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem 0.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--lp-navy-brand);
    font-size: 1.05rem;
    cursor: pointer;
}
.lp-faq-q .bi { transition: transform .2s ease; color: var(--lp-orange); flex-shrink: 0; margin-left: 1rem; }
.lp-faq-q[aria-expanded="true"] .bi { transform: rotate(45deg); }
.lp-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
}
.lp-faq-a-inner { padding: 0 0.25rem 1.5rem; color: var(--lp-muted); line-height: 1.65; }

/* ===== CTA ===== */
.lp-cta h2 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.2rem); }
.lp-cta p { color: rgba(255,255,255,0.7); }

/* ===== Footer ===== */
.lp-footer { background: var(--lp-navy-950); }
.footer-logo-badge {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    padding: 0.7rem 1.2rem;
    width: fit-content;
    box-shadow: 0 4px 14px rgba(0,0,0,0.22);
}
.lp-footer .col-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1.1rem;
}
.lp-footer a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.92rem; }
.lp-footer a:hover { color: var(--lp-orange); }
.lp-footer .legal { font-family: var(--font-mono); font-size: 0.72rem; color: rgba(255,255,255,0.35); letter-spacing: 0.04em; }

/* ==========================================================================
   Auth pages (Login / Register) — reuse the exact same design tokens,
   nav, and components as the landing page for full visual consistency.
   ========================================================================== */

.lp-auth-split { min-height: calc(100vh - 78px); }
.lp-auth-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
}
.lp-auth-side h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.7rem); line-height: 1.05; margin: 1rem 0 1.25rem; }
.lp-auth-side h2 .hl { color: var(--lp-orange); }
.lp-auth-mini-stats { display: flex; gap: 2.25rem; margin-top: 2.75rem; flex-wrap: wrap; }
.lp-auth-mini-stats .lp-scoreboard-value { font-size: 1.4rem; text-shadow: none; }

.lp-auth-form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 1.5rem;
    background: #fff;
}
.lp-auth-form-inner { width: 100%; max-width: 460px; }
.lp-auth-form-inner h2 { color: var(--lp-navy-brand); font-size: clamp(1.8rem, 3vw, 2.2rem); margin: 0.75rem 0 0.5rem; }
.lp-auth-form-inner > p { color: var(--lp-muted); margin-bottom: 2rem; }

.lp .form-label {
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: var(--lp-navy-brand);
    margin-bottom: 0.45rem;
}
.lp .form-control, .lp .form-select {
    border: 1.5px solid var(--lp-hairline);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
}
.lp .form-control:focus, .lp .form-select:focus {
    border-color: var(--lp-orange);
    box-shadow: 0 0 0 3px rgba(242,112,30,0.15);
}
.lp .form-check-input:checked { background-color: var(--lp-orange); border-color: var(--lp-orange); }
.lp .invalid-feedback { font-size: 0.8rem; }
.lp .alert { border-radius: 10px; font-family: var(--font-body); font-size: 0.92rem; }
.lp .lp-btn { width: 100%; padding: 0.95rem; font-size: 0.85rem; justify-content: center; }

@media (max-width: 991px) {
    .lp-auth-side { display: none; }
}
