/* ============ VeloStack Global Styles ============ */
/* Fonts loaded via <link> in HTML for performance */

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

:root {
    --black: #09090b;
    --dark: #0f0f12;
    --dark-card: #15151a;
    --yellow: #f5c518;
    --yellow-hover: #e6b800;
    --yellow-glow: rgba(245, 197, 24, 0.06);
    --white: #fafafa;
    --grey-text: #a1a1aa;
    --grey-light: #27272a;
    --grey-border: #1e1e24;
    --radius: 12px;
    --radius-lg: 20px;
    --heading-font: 'Space Grotesk', 'Inter', sans-serif;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============ SCROLL ANIMATIONS ============ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============ NAVBAR ============ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 14px 0;
    transition: padding 0.3s;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.logo {
    font-family: var(--heading-font);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo span { color: var(--yellow); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--grey-text);
    transition: color 0.2s;
    position: relative;
}

.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); }

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 2px;
    background: var(--yellow);
    transform: scaleX(0);
    transition: transform 0.2s;
}

.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-ghost {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    background: none;
    padding: 10px 20px;
    border: 1px solid var(--grey-border);
    border-radius: 8px;
    transition: all 0.25s;
    text-align: center;
}

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

.btn-primary {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    background: var(--yellow);
    padding: 10px 24px;
    border-radius: 8px;
    transition: all 0.25s;
    text-align: center;
}

.btn-primary:hover { background: var(--yellow-hover); transform: translateY(-1px); }

.btn-large {
    font-size: 16px;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 10px;
}

.btn-large.primary {
    color: var(--black);
    background: var(--yellow);
    transition: all 0.25s;
    box-shadow: 0 0 0 0 rgba(245, 197, 24, 0);
}

.btn-large.primary:hover {
    background: var(--yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(245, 197, 24, 0.2);
}

.btn-large.ghost {
    color: var(--white);
    background: none;
    border: 1px solid var(--grey-border);
    transition: all 0.25s;
}

.btn-large.ghost:hover {
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* Mobile nav */
.mobile-menu-btn {
    display: none;
    background: none;
    color: var(--white);
    font-size: 28px;
    padding: 4px;
    z-index: 1001;
}

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-overlay.show {
    display: block;
    opacity: 1;
}

/* ============ SECTION HELPERS ============ */
.section-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--yellow);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--heading-font);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 16px;
    text-wrap: balance;
}

.section-subtitle {
    font-size: 16px;
    color: var(--grey-text);
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: 56px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ============ PAGE HEADER ============ */
.page-header {
    padding: 140px 0 60px;
    text-align: center;
    border-bottom: 1px solid var(--grey-border);
}

.page-header h1 {
    font-family: var(--heading-font);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 18px;
    color: var(--grey-text);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============ FOOTER ============ */
.footer {
    padding: 60px 0 32px;
    border-top: 1px solid var(--grey-border);
    background: var(--dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo-link { margin-bottom: 16px; }

.footer-brand p {
    font-size: 14px;
    color: var(--grey-text);
    line-height: 1.7;
    max-width: 280px;
}

.footer-col h4 {
    font-family: var(--heading-font);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }

.footer-col a {
    font-size: 14px;
    color: var(--grey-text);
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--grey-border);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--grey-text);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px; height: 36px;
    border-radius: 8px;
    border: 1px solid var(--grey-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--grey-text);
    transition: all 0.25s;
}

.social-links a:hover {
    border-color: var(--yellow);
    color: var(--yellow);
    transform: translateY(-2px);
}

/* ============ FORMS ============ */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--white);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: var(--dark-card);
    border: 1px solid var(--grey-border);
    border-radius: 10px;
    color: var(--white);
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============ LEGAL PAGES ============ */
.legal-content {
    padding: 60px 0 100px;
    max-width: 760px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 48px 0 16px;
    letter-spacing: -0.5px;
}

.legal-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 32px 0 12px;
}

.legal-content p {
    font-size: 15px;
    color: var(--grey-text);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-content ul {
    margin: 0 0 16px 20px;
    color: var(--grey-text);
    font-size: 15px;
    line-height: 1.8;
}

/* ============ COOKIE CONSENT ============ */
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9999;
    background: var(--dark-card);
    border-top: 1px solid var(--grey-border);
    padding: 16px 24px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 13px;
    color: var(--grey-text);
    backdrop-filter: blur(20px);
}

.cookie-banner.show { display: flex; }

.cookie-banner a { color: var(--yellow); text-decoration: underline; }

.cookie-banner button {
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
}

.cookie-accept {
    background: var(--yellow);
    color: var(--black);
}

.cookie-decline {
    background: var(--grey-border);
    color: var(--white);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0; right: 0;
        width: 280px; height: 100vh;
        background: var(--dark-card);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        z-index: 999;
        border-left: 1px solid var(--grey-border);
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-links.show {
        display: flex;
        transform: translateX(0);
    }

    .nav-links a { font-size: 18px; }
    .nav-links a::after { display: none; }

    .nav-cta { display: none; }
    .mobile-menu-btn { display: block; }
    .footer-grid { grid-template-columns: 1fr 1fr; }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 20px 24px;
    }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
