/* ═══════════════════════════════════════════
   SHARED DESIGN SYSTEM — All pages
   Matches index.html dark/3D style
═══════════════════════════════════════════ */
:root {
    --black: #060608;
    --dark: #0a0a0c;
    --card: #0e0e12;
    --border: rgba(255,255,255,.06);
    --orange: #ff6b00;
    --orange-dim: rgba(255,107,0,.12);
    --orange-glow: rgba(255,107,0,.25);
    --text: #e8e8e8;
    --text2: #888;
    --muted: #555;
    --font: 'Inter', sans-serif;
    --font-head: 'Montserrat', sans-serif;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { overflow-x: hidden; }

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

h1,h2,h3,h4 {
    font-family: var(--font-head);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

::selection { background: var(--orange); color: #000; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 10px; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── CURSOR ────────────────────────────── */
.cursor-dot {
    position: fixed; width: 8px; height: 8px;
    background: var(--orange); border-radius: 50%;
    pointer-events: none; z-index: 99999;
    transform: translate(-50%,-50%);
    transition: width .2s, height .2s, background .2s;
    mix-blend-mode: difference;
}
.cursor-ring {
    position: fixed; width: 40px; height: 40px;
    border: 1.5px solid rgba(255,107,0,.4); border-radius: 50%;
    pointer-events: none; z-index: 99998;
    transform: translate(-50%,-50%);
    transition: width .3s, height .3s, border-color .3s;
}
.cursor-dot.hover { width: 50px; height: 50px; background: rgba(255,107,0,.15); }
.cursor-ring.hover { width: 60px; height: 60px; border-color: var(--orange); }
@media (max-width: 768px) { .cursor-dot, .cursor-ring { display: none !important; } }

/* ── NAVBAR ────────────────────────────── */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    height: 80px; display: flex; align-items: center;
    justify-content: space-between; padding: 0 6%;
    z-index: 1000; transition: all .4s ease;
    background: transparent;
}
.navbar.scrolled {
    background: rgba(6,6,8,.92);
    backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid rgba(255,107,0,.1);
    height: 68px;
}
.nav-logo {
    font-family: var(--font-head);
    font-size: 1.4rem; font-weight: 800;
    letter-spacing: 2px; text-decoration: none;
    color: #fff;
    transition: letter-spacing .3s ease, color .3s ease;
}
.nav-logo span { color: var(--orange); }
.nav-logo:hover { letter-spacing: 4px; color: var(--orange); }

.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
    color: var(--text2); font-size: .82rem; font-weight: 600;
    letter-spacing: 1.5px; text-transform: uppercase;
    position: relative; transition: color .3s;
}
.nav-links a::after {
    content:''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1.5px; background: var(--orange);
    transition: width .3s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
    padding: 10px 26px; border-radius: 100px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.03);
    backdrop-filter: blur(10px);
    color: #fff !important; font-weight: 600 !important;
    transition: all .4s ease !important;
}
.nav-cta:hover {
    background: var(--orange) !important;
    border-color: var(--orange) !important;
    box-shadow: 0 8px 30px rgba(255,107,0,.3);
}
.nav-cta::after { display: none !important; }

.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 6px; }
.hamburger span { width: 28px; height: 2.5px; background: #fff; transition: all .3s ease; border-radius: 2px; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(6px,6px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(6px,-6px); }

@media (max-width: 768px) {
    .hamburger { display: flex; z-index: 1001; }
    .nav-links {
        position: fixed; top: 0; right: -100%;
        width: 80%; height: 100vh;
        background: rgba(6,6,8,.98);
        backdrop-filter: blur(20px);
        flex-direction: column; justify-content: center;
        align-items: center; gap: 40px;
        transition: right .5s cubic-bezier(.77,.2,.05,1); z-index: 1000;
    }
    .nav-links.active { right: 0; }
    .nav-links a { font-size: 1.2rem; }
}

/* ── MAGNETIC BUTTON ──────────────────── */
.btn-magnetic {
    position: relative;
    transition: transform .25s cubic-bezier(.23,1,.32,1);
    will-change: transform;
}

/* ── PAGE HERO ────────────────────────── */
.page-hero {
    padding: 160px 6% 70px;
    text-align: center;
    position: relative; overflow: hidden;
    background: linear-gradient(180deg, #0a0a0e 0%, var(--black) 100%);
}
.page-hero::after {
    content:''; position: absolute;
    width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(255,107,0,.06) 0%, transparent 60%);
    top: 15%; left: 50%; transform: translateX(-50%);
    filter: blur(80px); pointer-events: none;
}
.page-hero h1 {
    font-size: clamp(2.5rem, 7vw, 4rem);
    position: relative; z-index: 1;
    line-height: 1.1;
}
.page-hero h1 .accent { color: var(--orange); }
.page-hero .hero-sub {
    color: var(--orange); letter-spacing: 3px;
    font-weight: 600; font-size: .85rem;
    margin-top: 14px; position: relative; z-index: 1;
}

/* ── SECTION HELPERS ──────────────────── */
.section-label {
    font-size: .75rem; font-weight: 700;
    letter-spacing: 4px; text-transform: uppercase;
    color: var(--orange); margin-bottom: 16px;
    display: flex; align-items: center; gap: 12px;
}
.section-label::before {
    content:''; width: 30px; height: 1.5px;
    background: var(--orange);
}
.section-heading {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.1; margin-bottom: 24px;
}

/* ── CARD BASE ────────────────────────── */
.glass-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px; position: relative;
    overflow: hidden; transition: all .4s ease;
    backdrop-filter: blur(15px);
}
.glass-card:hover {
    border-color: rgba(255,107,0,.2);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,.4), 0 0 40px rgba(255,107,0,.05);
}
.glass-card::after {
    content:''; position: absolute;
    width: 120px; height: 120px;
    background: var(--orange); filter: blur(80px);
    opacity: 0; bottom: -30px; right: -30px;
    transition: opacity .5s; pointer-events: none;
}
.glass-card:hover::after { opacity: .1; }

/* ── CTA BUTTON ───────────────────────── */
.btn-outline {
    display: inline-block; padding: 16px 44px;
    border: 1px solid rgba(255,107,0,.4);
    color: #fff; font-weight: 600; font-size: .85rem;
    letter-spacing: 2px; border-radius: 100px;
    background: transparent; text-transform: uppercase;
    transition: all .4s cubic-bezier(.23,1,.32,1);
    position: relative; overflow: hidden;
}
.btn-outline::before {
    content:''; position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,107,0,.1), transparent);
    transition: left .6s ease;
}
.btn-outline:hover {
    background: var(--orange);
    border-color: var(--orange);
    box-shadow: 0 10px 40px rgba(255,107,0,.3), 0 0 60px rgba(255,107,0,.1);
    transform: translateY(-3px);
}
.btn-outline:hover::before { left: 100%; }

.btn-solid {
    display: inline-block; padding: 18px 56px;
    background: var(--orange); color: #000;
    font-weight: 700; font-size: .9rem;
    letter-spacing: 2px; text-transform: uppercase;
    border-radius: 100px; border: none;
    transition: all .4s cubic-bezier(.23,1,.32,1);
    box-shadow: 0 8px 30px rgba(255,107,0,.3);
    cursor: pointer;
}
.btn-solid:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 50px rgba(255,107,0,.4), 0 0 80px rgba(255,107,0,.15);
}

/* ── FOOTER ───────────────────────────── */
.footer {
    border-top: 1px solid var(--border);
    padding: 80px 8% 30px; position: relative;
}
.footer::before {
    content:''; position: absolute; top: -1px; left: 20%; width: 60%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,107,0,.3), transparent);
}
.footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px; margin-bottom: 60px;
}
.footer-col h4 {
    color: #fff; margin-bottom: 20px;
    font-size: .85rem; letter-spacing: 2px;
    position: relative;
}
.footer-col h4::after {
    content:''; position: absolute; bottom: -8px; left: 0;
    width: 25px; height: 2px; background: var(--orange);
}
.footer-col p, .footer-col a {
    color: var(--muted); font-size: .88rem;
    line-height: 1.8; transition: color .3s;
}
.footer-col a:hover { color: var(--orange); }
.footer-col li { margin-bottom: 10px; }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px; text-align: center;
}
.risk-text {
    font-size: .7rem; color: #333;
    max-width: 900px; margin: 0 auto 16px; line-height: 1.6;
}
.copyright {
    font-size: .75rem; color: var(--muted); letter-spacing: 1.5px;
}
.social-btn {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--border);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.1rem; transition: all .3s;
}
.social-btn:hover {
    background: var(--orange); border-color: var(--orange);
    box-shadow: 0 8px 25px rgba(255,107,0,.3);
    transform: translateY(-3px);
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
}

/* ── NOISE OVERLAY ────────────────────── */
.noise-overlay {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none; z-index: 9990; opacity: .025;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ── SCROLL PROGRESS ──────────────────── */
.scroll-progress {
    position: fixed; top: 0; left: 0;
    height: 2px; background: var(--orange);
    z-index: 10001; width: 0%;
    box-shadow: 0 0 10px rgba(255,107,0,.5);
}

/* ── INPUT STYLES ─────────────────────── */
.input-group { margin-bottom: 20px; }
.input-group label {
    display: block; margin-bottom: 7px;
    font-size: .78rem; color: var(--muted);
    letter-spacing: 1px; text-transform: uppercase;
    font-weight: 600;
}
.input-group input,
.input-group textarea,
.input-group select {
    width: 100%; padding: 14px 16px;
    background: rgba(6,6,8,.8);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px; color: #fff;
    font-size: 1rem; font-family: var(--font);
    outline: none; transition: all .3s;
}
.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255,107,0,.1), 0 0 20px rgba(255,107,0,.05);
}
.input-group textarea { resize: vertical; min-height: 120px; }
