@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0f0e17;
    --navy: #1a1a2e;
    --accent: #06b6d4;
    --accent2: #a855f7;
    --light: #ffffff;
    --gray: #6b7280;
    --gray-light: #f8fafc;
    --gray-mid: #e2e8f0;
    --gradient-main: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #06b6d4 100%);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--light);
    color: var(--secondary);
}

/* ── TOP ANNOUNCEMENT BAR ── */
.top-bar {
    background: var(--gradient-main);
    padding: 9px 0;
    text-align: center;
    position: relative;
    z-index: 1001;
}
.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.top-bar-inner .top-bar-badge {
    background: rgba(255,255,255,0.2);
    border-radius: 50px;
    padding: 3px 12px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.top-bar-inner a {
    color: white;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 700;
}
.top-bar-close {
    position: absolute;
    right: 16px; top: 50%;
    transform: translateY(-50%);
    background: none; border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer; font-size: 1rem;
    line-height: 1;
    transition: color 0.2s;
}
.top-bar-close:hover { color: white; }

/* ── NAVBAR ── */
.navbar {
    background: rgba(15, 14, 23, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: all 0.3s ease;
}
.navbar.scrolled {
    background: rgba(15, 14, 23, 0.99);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.navbar .container {
    display: flex;
    align-items: stretch;
    min-height: 70px;
}

/* ── BRAND ── */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 12px 0;
    flex-shrink: 0;
}
.brand-icon-wrap {
    width: 42px; height: 42px;
    background: var(--gradient-main);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: white;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.brand-icon-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s;
}
.navbar-brand:hover .brand-icon-wrap::after { opacity: 1; }
.brand-text-wrap { display: flex; flex-direction: column; line-height: 1.25; }
.brand-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    white-space: nowrap;
}
.brand-sub {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.45);
    font-weight: 400;
    white-space: nowrap;
}

/* ── NAV LINKS ── */
.navbar-nav { align-items: center; gap: 2px; }
.nav-link {
    color: rgba(255,255,255,0.72) !important;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 8px 14px !important;
    border-radius: 8px;
    transition: all 0.25s ease;
    position: relative;
    white-space: nowrap;
}
.nav-link:hover,
.nav-link.active {
    color: white !important;
    background: rgba(255,255,255,0.08);
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 50%;
    transform: translateX(-50%);
    width: 20px; height: 2px;
    background: var(--gradient-main);
    border-radius: 2px;
}

/* ── CTA PHONE BUTTON ── */
.btn-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-main);
    border: none;
    padding: 10px 22px;
    border-radius: 50px;
    color: white !important;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    margin-left: 8px;
}
.btn-call::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #0891b2 100%);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 50px;
}
.btn-call:hover::before { opacity: 1; }
.btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(99,102,241,0.45);
    color: white !important;
}
.btn-call .call-pulse {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: callPulse 2s infinite;
    flex-shrink: 0;
    position: relative; z-index: 1;
}
@keyframes callPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
    50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}
.btn-call span { position: relative; z-index: 1; }
.btn-call i { position: relative; z-index: 1; }

/* ── TOGGLER ── */
.navbar-toggler {
    border: 1px solid rgba(255,255,255,0.18);
    padding: 7px 10px;
    border-radius: 10px;
    transition: all 0.3s;
}
.navbar-toggler:hover { background: rgba(255,255,255,0.07); }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── MOBILE MENU ── */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(15, 14, 23, 0.98);
        backdrop-filter: blur(20px);
        padding: 18px 16px 20px;
        margin-top: 8px;
        border-radius: 16px;
        border: 1px solid rgba(255,255,255,0.08);
        max-height: 82vh;
        overflow-y: auto;
    }
    .navbar-nav {
        text-align: center;
        gap: 4px;
        width: 100%;
    }
    .nav-item { width: 100%; }
    .nav-link {
        padding: 12px 18px !important;
        font-size: 0.95rem;
        width: 100%;
        display: block;
        border-radius: 10px;
    }
    .nav-link.active::after { display: none; }
    .btn-call {
        margin: 10px 0 0 0;
        width: 100%;
        justify-content: center;
        font-size: 0.95rem;
        padding: 13px 22px;
        border-radius: 50px;
    }
    .brand-title { font-size: 0.85rem; }
    .brand-sub { display: none; }
}

@media (max-width: 576px) {
    .navbar .container { min-height: 62px; }
    .brand-icon-wrap { width: 36px; height: 36px; font-size: 0.95rem; border-radius: 10px; }
    .brand-title { font-size: 0.8rem; }
    .top-bar-inner { font-size: 0.75rem; flex-wrap: wrap; gap: 6px; padding: 0 40px; }
}

/* ── NAVBAR SCROLL BEHAVIOR ── */
.navbar-scrolled-offset {
    /* Used by JS to push page content below top-bar + navbar */
}
