/* --- VARIABLES & RESET --- */
:root {
    --bg-dark: #0a0c12;
    --bg-panel: rgba(20, 25, 35, 0.7);
    --gold: #ffd700;
    --blue: #00e0ff;
    --purple: #a478ff;
    --text-main: #e0e4f0;
    --text-muted: #9aa1b8;
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- 3D CANVAS BACKGROUND --- */
#canvas-container {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; opacity: 1; pointer-events: none;
}

/* --- UTILITIES --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-gradient {
    background: linear-gradient(135deg, var(--gold), var(--blue));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.highlight { color: var(--gold); }
.divider { width: 80px; height: 4px; background: var(--gold); margin: 20px auto; border-radius: 2px; }
.section { padding: 100px 0; position: relative; }
.bg-gradient { background: linear-gradient(180deg, rgba(0,0,0,0), rgba(255, 215, 0, 0.03), rgba(0,0,0,0)); }

/* --- NAVBAR --- */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 20px 0; transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(10, 12, 18, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}
.nav-box { display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: white; }
.brand-icon { font-size: 1.8rem; color: var(--gold); filter: drop-shadow(0 0 5px var(--gold)); }
.brand-text { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; letter-spacing: 1px; }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
    color: var(--text-muted); text-decoration: none; font-size: 0.95rem; font-weight: 500;
    transition: var(--transition); position: relative;
}
.nav-links a:hover { color: var(--text-main); }
.nav-links a::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px;
    background: var(--gold); transition: var(--transition);
}
.nav-links a:hover::after { width: 100%; }

.external-link { 
    font-size: 0.85rem; border: 1px solid var(--glass-border); padding: 5px 12px; border-radius: 20px;
    display: flex; align-items: center; gap: 5px;
}
.external-link:hover { border-color: var(--gold); color: var(--gold) !important; }

.nav-actions { display: flex; gap: 15px; align-items: center; }
.mobile-toggle { display: none; font-size: 1.5rem; color: white; cursor: pointer; }

/* Mobile Menu */
.mobile-menu {
    position: fixed; top: 0; right: -100%; width: 300px; height: 100vh;
    background: rgba(10, 12, 18, 0.98); backdrop-filter: blur(20px);
    z-index: 1001; padding: 40px; display: flex; flex-direction: column; gap: 20px;
    border-left: 1px solid var(--glass-border); transition: var(--transition);
}
.mobile-menu.active { right: 0; }
.mobile-menu a { color: white; text-decoration: none; font-size: 1.2rem; font-weight: 600; }
.close-menu { position: absolute; top: 20px; right: 20px; font-size: 1.5rem; cursor: pointer; color: var(--text-muted); }

/* Buttons */
.btn {
    padding: 12px 28px; border-radius: 50px; text-decoration: none; font-weight: 600;
    transition: var(--transition); display: inline-block; cursor: pointer; border: none; font-size: 1rem;
}
.btn-sm { padding: 8px 20px; font-size: 0.9rem; background: rgba(255,255,255,0.1); color: white; border: 1px solid transparent; }
.btn-sm:hover { border-color: var(--gold); color: var(--gold); }

.btn-primary { 
    background: linear-gradient(135deg, var(--gold), #e6c200); color: #000; 
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3); 
}
.btn-primary:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5); 
}
.btn-outline { 
    border: 2px solid var(--gold); color: var(--gold); background: transparent; 
}
.btn-outline:hover { 
    background: rgba(255, 215, 0, 0.1); color: white; 
}

/* --- HERO SECTION --- */
.hero { 
    min-height: 100vh; display: flex; align-items: center; padding-top: 80px; 
    position: relative;
}
.hero-content { max-width: 800px; position: relative; z-index: 2; }
.hero-content h1 {
    font-family: var(--font-head); font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1; margin-bottom: 25px; font-weight: 800; letter-spacing: -1px;
}
.hero-content p { 
    font-size: 1.3rem; color: var(--text-muted); margin-bottom: 40px; max-width: 650px; 
}
.pill-badge {
    display: inline-flex; align-items: center; padding: 6px 16px; border-radius: 30px;
    background: rgba(255, 215, 0, 0.1); border: 1px solid var(--gold);
    color: var(--gold); font-size: 0.85rem; font-weight: 700; margin-bottom: 25px;
    letter-spacing: 0.5px; text-transform: uppercase;
}
.cta-group { display: flex; gap: 20px; margin-bottom: 50px; flex-wrap: wrap; }
.trust-bar { display: flex; align-items: center; gap: 15px; font-size: 0.9rem; color: var(--text-muted); }
.trust-logo { font-weight: 800; color: white; letter-spacing: 1px; font-family: var(--font-head); }

.scroll-indicator {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px;
    animation: bounce 2s infinite;
}
@keyframes bounce { 0%, 20%, 50%, 80%, 100% {transform:translateX(-50%) translateY(0);} 40% {transform:translateX(-50%) translateY(-10px);} 60% {transform:translateX(-50%) translateY(-5px);} }

/* --- SECTIONS & HEADERS --- */
.section-header { text-align: center; max-width: 800px; margin: 0 auto; }
.section-header h2 { font-family: var(--font-head); font-size: 3rem; margin-bottom: 15px; }
.section-header p { color: var(--text-muted); font-size: 1.2rem; }

/* --- PILOT FORMATION GRID --- */
.pilot-grid { 
    display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; margin-top: 60px; 
}
.pilot-card {
    background: var(--bg-panel); border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px); padding: 35px; border-radius: 20px;
    transition: var(--transition); width: 340px; text-align: center;
    position: relative; overflow: hidden;
}
.pilot-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.pilot-icon {
    width: 70px; height: 70px; background: rgba(255, 255, 255, 0.05); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
    font-size: 2rem;
}

/* Specific Pilot Colors */
.p-vigil { border-top: 4px solid #9b59b6; }
.p-vigil .pilot-icon { color: #9b59b6; background: rgba(155, 89, 182, 0.1); }
.p-compass { border-top: 4px solid #e67e22; }
.p-compass .pilot-icon { color: #e67e22; background: rgba(230, 126, 34, 0.1); }
.p-custodian { border-top: 4px solid #2ecc71; }
.p-custodian .pilot-icon { color: #2ecc71; background: rgba(46, 204, 113, 0.1); }
.p-phoenix { border-top: 4px solid #e74c3c; }
.p-phoenix .pilot-icon { color: #e74c3c; background: rgba(231, 76, 60, 0.1); }
.p-art { border-top: 4px solid #3498db; }
.p-art .pilot-icon { color: #3498db; background: rgba(52, 152, 219, 0.1); }

.pilot-card h3 { font-size: 1.5rem; margin-bottom: 5px; font-family: var(--font-head); }
.pilot-role { 
    color: var(--gold); font-size: 0.85rem; text-transform: uppercase; 
    font-weight: 700; margin-bottom: 15px; letter-spacing: 1px;
}
.pilot-card p { color: var(--text-muted); font-size: 0.95rem; }

/* --- ENGAGEMENT MODELS --- */
.models-grid { 
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; margin-top: 60px; 
}
.model-card {
    background: #0b1221; border: 1px solid var(--glass-border);
    border-radius: 24px; padding: 35px; text-align: center;
    transition: var(--transition); position: relative;
}
.model-card.featured { 
    border-color: var(--gold); transform: scale(1.05); z-index: 2; 
    background: #111827; box-shadow: 0 0 40px rgba(255, 215, 0, 0.1);
}
.popular-badge {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    background: var(--gold); color: black; font-weight: 700; font-size: 0.75rem;
    padding: 4px 12px; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px;
    text-transform: uppercase;
}
.model-icon { font-size: 2.5rem; color: var(--text-main); margin-bottom: 20px; }
.featured .model-icon { color: var(--gold); }
.model-card h3 { font-size: 1.8rem; margin-bottom: 10px; }
.model-desc { color: var(--text-muted); margin-bottom: 25px; font-size: 0.95rem; }

.resp-chart {
    display: flex; height: 10px; border-radius: 5px; overflow: hidden; margin-bottom: 25px;
}
.resp-bar { height: 100%; position: relative; }
.resp-bar span {
    position: absolute; top: 15px; left: 0; width: 200px; font-size: 0.75rem;
    font-weight: 600; color: var(--text-muted);
}
.vpilot { background: var(--gold); }
.client { background: #374151; }

.check-list { list-style: none; margin-bottom: 25px; text-align: left; }
.check-list li { margin-bottom: 10px; display: flex; gap: 10px; align-items: center; color: var(--text-muted); }
.check-list i { color: var(--gold); }

.btn-full { width: 100%; text-align: center; border: 1px solid var(--glass-border); color: white; background: transparent; }
.btn-full:hover { background: white; color: black; border-color: white; }
.btn-glow { background: var(--gold); color: black; border: none; box-shadow: 0 0 20px rgba(255, 215, 0, 0.3); }

/* --- TIER CARDS --- */
.tier-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-top: 60px; }
.tier-card {
    background: #0b1221; border: 1px solid var(--glass-border);
    border-radius: 20px; width: 320px; display: flex; flex-direction: column;
    transition: var(--transition);
}
.tier-card:hover { transform: translateY(-5px); }
.tier-header { padding: 30px; text-align: center; border-bottom: 1px solid var(--glass-border); }
.tier-tag { 
    font-size: 0.75rem; text-transform: uppercase; font-weight: 700; 
    padding: 5px 12px; border-radius: 20px; background: rgba(255,255,255,0.1);
    margin-bottom: 15px; display: inline-block;
}
.featured-tier { border: 1px solid var(--gold); transform: scale(1.05); z-index: 2; }
.featured-tier .tier-tag { background: rgba(255, 215, 0, 0.2); color: var(--gold); }

.tier-body { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; }
.tier-body ul { list-style: none; margin-bottom: 30px; flex-grow: 1; }
.tier-body li { margin-bottom: 15px; display: flex; gap: 10px; color: var(--text-muted); }
.tier-body i { color: var(--gold); }

/* --- CTA SECTION --- */
.cta-section { padding-bottom: 150px; }
.cta-box {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    border: 1px solid var(--glass-border); border-radius: 30px;
    padding: 60px; text-align: center; position: relative; overflow: hidden;
}
.cta-box::after {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
    pointer-events: none;
}
.input-group {
    display: flex; gap: 10px; justify-content: center; margin-top: 30px; max-width: 500px; margin-left: auto; margin-right: auto;
}
.input-group input {
    flex: 1; padding: 15px 20px; border-radius: 50px; border: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.3); color: white; font-family: var(--font-body); outline: none;
}
.input-group input:focus { border-color: var(--gold); }
.legal-text { margin-top: 15px; font-size: 0.8rem; color: var(--text-muted); opacity: 0.7; }

/* --- FOOTER --- */
.main-footer {
    background: #020408; border-top: 1px solid var(--glass-border);
    padding: 80px 0 30px;
}
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 50px; margin-bottom: 60px; }
.footer-brand h4 { font-family: var(--font-head); font-size: 1.8rem; margin-bottom: 15px; }
.footer-brand p { color: var(--text-muted); max-width: 300px; margin-bottom: 25px; }
.social-links { display: flex; gap: 15px; }
.social-links a {
    width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center; color: white; text-decoration: none;
    transition: var(--transition);
}
.social-links a:hover { background: var(--gold); color: black; }

.footer-nav { display: flex; gap: 80px; flex-wrap: wrap; }
.nav-col h5 { font-size: 1rem; color: white; margin-bottom: 20px; font-family: var(--font-head); }
.nav-col a { display: block; color: var(--text-muted); text-decoration: none; margin-bottom: 12px; font-size: 0.95rem; transition: var(--transition); }
.nav-col a:hover { color: var(--gold); }

.footer-bottom {
    border-top: 1px solid var(--glass-border); padding-top: 30px;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px;
    color: var(--text-muted); font-size: 0.9rem;
}
.footer-legal span { color: var(--gold); font-weight: 600; }

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 3.5rem; }
    .featured, .featured-tier { transform: scale(1); }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions .btn { display: none; }
    .mobile-toggle { display: block; }
    
    .hero { padding-top: 100px; }
    .hero-content h1 { font-size: 2.8rem; }
    .cta-group { justify-content: center; }
    .hero-content p, .hero-content h1 { text-align: center; }
    .trust-bar { justify-content: center; }
    .pill-badge { margin-left: auto; margin-right: auto; }

    .footer-top { flex-direction: column; gap: 40px; }
    .footer-nav { gap: 40px; width: 100%; justify-content: space-between; }
    .input-group { flex-direction: column; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
