/* =============================================
   CHROMOBYTES — Global Styles
   ============================================= */

:root {
    --color-primary:   #0176FA;
    --color-secondary: #03287F;
    --color-accent:    #36ACFC;
    --color-dark:      #071F5C;
    --color-light:     #F7FBFF;
    --color-white:     #FFFFFF;

    --font-brand: 'Orbitron', sans-serif;
    --font-body:  'Inter', sans-serif;

    --nav-height: 72px;
    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  20px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glow-primary: 0 0 20px rgba(1, 118, 250, 0.4);
    --glow-accent:  0 0 30px rgba(54, 172, 252, 0.3);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    background-color: #050E2A;
    color: var(--color-light);
    line-height: 1.7;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Layout ───────────────────────────────── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section { padding: 100px 0; }

/* ── Typography ───────────────────────────── */
h1, h2, h3, h4 {
    font-family: var(--font-brand);
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.section-label {
    display: inline-block;
    font-family: var(--font-brand);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: rgba(247, 251, 255, 0.6);
    max-width: 560px;
}

/* ── Buttons ──────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: var(--radius-sm);
    font-family: var(--font-brand);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(1, 118, 250, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(1, 118, 250, 0.55);
}

.btn-outline {
    background: transparent;
    color: var(--color-accent);
    border: 1.5px solid var(--color-accent);
}

.btn-outline:hover {
    background: rgba(54, 172, 252, 0.1);
    transform: translateY(-2px);
    box-shadow: var(--glow-accent);
}

/* ── Gradient text ────────────────────────── */
.gradient-text {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Logo ─────────────────────────────────── */
.nav-logo-img {
    display: block;
    height: 52px;
    width: auto;
}

.footer-logo-img {
    display: block;
    height: 60px;
    width: auto;
    margin-bottom: 16px;
}

/* ── Navbar ───────────────────────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
    background: rgba(5, 14, 42, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(1, 118, 250, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-logo { flex-shrink: 0; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    margin-left: auto;
}

.nav-link {
    font-family: var(--font-brand);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(247, 251, 255, 0.7);
    position: relative;
    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--color-accent);
    transition: width var(--transition);
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-white);
}

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-cta { margin-left: 16px; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}

.nav-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ── Footer ───────────────────────────────── */
.footer {
    position: relative;
    background: #020B1E;
    padding: 80px 0 0;
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    top: -120px; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 300px;
    background: radial-gradient(ellipse, rgba(1, 118, 250, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(247, 251, 255, 0.5);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 280px;
}

.footer-socials { display: flex; gap: 10px; }

.social-link {
    width: 36px; height: 36px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    color: rgba(247, 251, 255, 0.5);
    transition: var(--transition);
}

.social-link:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(54, 172, 252, 0.08);
}

.footer-col h4 {
    font-family: var(--font-brand);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
    font-size: 0.9rem;
    color: rgba(247, 251, 255, 0.5);
    transition: color var(--transition);
}

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

.footer-contact li { font-size: 0.9rem; color: rgba(247, 251, 255, 0.5); }
.footer-contact a  { color: rgba(247, 251, 255, 0.5); }
.footer-contact a:hover { color: var(--color-accent); }

.footer-bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.82rem;
    color: rgba(247, 251, 255, 0.28);
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-legal-links a {
    font-size: 0.82rem;
    color: rgba(247, 251, 255, 0.28);
    transition: color var(--transition);
}

.footer-legal-links a:hover { color: rgba(247, 251, 255, 0.6); }

/* ── Scroll animations ────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ── Responsive ───────────────────────────── */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    section { padding: 72px 0; }

    .nav-links, .nav-cta {
        display: none;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--nav-height); left: 0; right: 0;
        background: rgba(5, 14, 42, 0.97);
        backdrop-filter: blur(20px);
        padding: 32px 24px 40px;
        gap: 24px;
        border-top: 1px solid rgba(255,255,255,0.06);
    }

    .nav-toggle { display: flex; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}
