/* Lightning Track — shared styles for all pages */

:root {
    --bg: #0a0a0c;
    --bg-raised: #121216;
    --bg-card: #16161b;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.16);
    --maroon: #800000;
    --maroon-glow: rgba(128, 0, 0, 0.55);
    --accent: #f06418;
    --accent-soft: rgba(240, 100, 24, 0.12);
    --text: #f4f2ef;
    --text-muted: #a19c97;
    --text-dim: #77726d;
    --radius: 16px;
    --max: 1200px;
    --display: 'Barlow Condensed', sans-serif;
    --body: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}

.section-title {
    font-family: var(--display);
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin: 12px 0 14px;
}

.section-lead {
    color: var(--text-muted);
    max-width: 560px;
}

.section { padding: 96px 0; }
.section--raised { background: var(--bg-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 12, 0.72);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--line);
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.site-logo__img {
    height: 54px;
    width: auto;
    background: #fff;
    border-radius: 10px;
    padding: 5px 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    padding: 8px 14px;
    border-radius: 999px;
    transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.06); }

.nav-links .nav-cta {
    color: #fff;
    background: var(--accent);
    margin-left: 8px;
}

.nav-links .nav-cta:hover { background: #ff7a30; color: #fff; }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
    position: absolute;
    left: 12px;
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle-bars { top: 21px; }
.nav-toggle-bars::before { content: ""; left: 0; top: -6px; }
.nav-toggle-bars::after { content: ""; left: 0; top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Glow backdrop (home hero + inner page heroes) ---------- */
.glow {
    position: relative;
    isolation: isolate;
}

.glow::before {
    content: "";
    position: absolute;
    inset: -20% -10% auto;
    height: 120%;
    background:
        radial-gradient(600px 400px at 20% 30%, var(--maroon-glow), transparent 70%),
        radial-gradient(500px 360px at 85% 20%, rgba(240, 100, 24, 0.16), transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.glow::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}

/* ---------- Inner page hero ---------- */
.page-hero { padding: 88px 0 64px; border-bottom: 1px solid var(--line); }

.page-hero h1 {
    font-family: var(--display);
    font-size: clamp(44px, 6.5vw, 76px);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.015em;
    margin: 14px 0 16px;
}

.page-hero h1 em {
    font-style: normal;
    background: linear-gradient(90deg, var(--accent), #ffb15e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.page-hero p { font-size: 18px; color: var(--text-muted); max-width: 600px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 24px;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.btn svg { transition: transform 0.2s; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 10px 30px -8px rgba(240, 100, 24, 0.6);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(240, 100, 24, 0.75); }

.btn-ghost {
    border: 1px solid var(--line-strong);
    color: var(--text);
    background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.06); }

/* ---------- Call-to-action panel ---------- */
.cta-band { padding: 96px 0; }

.cta-panel {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 56px;
    display: grid;
    grid-template-columns: 1.4fr auto;
    gap: 32px;
    align-items: center;
    background:
        radial-gradient(500px 300px at 100% 0%, rgba(240, 100, 24, 0.35), transparent 70%),
        linear-gradient(135deg, #800000, #3d0000 60%, #1a0a0a);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-panel .eyebrow { color: #ffb98f; }
.cta-panel h2 { font-family: var(--display); font-size: clamp(30px, 4vw, 44px); font-weight: 800; line-height: 1.05; margin: 10px 0; }
.cta-panel p { color: rgba(255, 255, 255, 0.78); max-width: 520px; }
.cta-panel .btn-primary { background: #fff; color: #5a0000; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6); }
.cta-panel .btn-primary:hover { background: #fff3ea; }

/* ---------- Footer ---------- */
.lt-footer { border-top: 1px solid var(--line); background: #070708; }

.lt-footer__inner {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding: 64px 24px 48px;
}

.lt-footer__logo-wrap {
    display: inline-block;
    background: #fff;
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 18px;
}

.lt-footer__logo-wrap img { width: 240px; height: auto; }

.lt-footer__tagline { font-size: 15px; color: var(--text-muted); max-width: 280px; margin-bottom: 20px; }

.lt-footer__social { display: flex; gap: 10px; margin-bottom: 20px; }

.lt-footer__social-link,
.lt-footer__app-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.lt-footer__social-link { width: 38px; height: 38px; }
.lt-footer__social-link:hover { color: var(--accent); border-color: rgba(240, 100, 24, 0.4); }

.lt-footer__apps { display: flex; flex-wrap: wrap; gap: 8px; }
.lt-footer__app-badge { font-size: 14px; font-weight: 500; padding: 9px 14px; }
.lt-footer__app-badge:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }

.lt-footer__col-heading {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.lt-footer__links { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.lt-footer__links a,
.lt-footer__email {
    font-size: 15px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.lt-footer__links a:hover,
.lt-footer__email:hover { color: var(--text); }

.lt-footer__contact { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }

.lt-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding: 20px 24px;
    border-top: 1px solid var(--line);
    font-size: 14px;
    color: var(--text-dim);
}

.lt-footer__bottom-links { display: flex; align-items: center; gap: 10px; }
.lt-footer__bottom-links a { text-decoration: none; transition: color 0.2s; }
.lt-footer__bottom-links a:hover { color: var(--text); }

.lt-footer__trust { display: flex; flex-wrap: wrap; gap: 10px; }

.lt-footer__trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    padding: 5px 12px;
    border-radius: 999px;
    color: #f3a274;
    background: var(--accent-soft);
    border: 1px solid rgba(240, 100, 24, 0.22);
}

.lt-footer__trust-badge--maroon { color: #e08a8a; background: rgba(128, 0, 0, 0.2); border-color: rgba(200, 60, 60, 0.3); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .cta-panel { grid-template-columns: 1fr; padding: 40px; }
    .lt-footer__inner { grid-template-columns: 1fr 1fr; }
    .lt-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
    .nav-toggle { display: block; }

    .nav-links {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px 16px 20px;
        background: rgba(10, 10, 12, 0.97);
        border-bottom: 1px solid var(--line);
        display: none;
    }

    .nav-links.is-open { display: flex; }
    .nav-links a { padding: 14px 16px; border-radius: 12px; font-size: 16px; }
    .nav-links .nav-cta { margin: 8px 0 0; text-align: center; }
}

@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .nav-bar { height: 68px; }
    .nav-links { top: 68px; }
    .site-logo__img { height: 46px; padding: 4px 8px; }
    .section, .cta-band { padding: 64px 0; }
    .page-hero { padding: 56px 0 44px; }
    .page-hero p { font-size: 16px; }
    .cta-panel { padding: 32px 24px; }
    .cta-panel .btn { width: 100%; }
    .lt-footer__inner { grid-template-columns: 1fr; padding: 48px 16px 36px; gap: 32px; }
    .lt-footer__bottom { flex-direction: column; align-items: flex-start; padding: 18px 16px; }
}
