/* ===== NON-CRITICAL CSS (DEFERRED) ===== */

/* ===== HAMBURGER ===== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}
.hamburger span {
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ===== SKIP TO MAIN ===== */
.skip-to-main {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: 10px;
    background: #0066ff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}
.skip-to-main:focus {
    left: 10px;
    top: 10px;
}

/* ===== FLOATING STATS ===== */
.stats-bar {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: -40px auto 0;
    padding: 0 20px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: rgba(10, 15, 40, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 102, 255, 0.15);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}
.stat-item {
    text-align: center;
}
.stat-number {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #0088ff, #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label {
    font-size: 13px;
    color: #6680aa;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== SECTION COMMON ===== */
section {
    padding: 80px 20px;
}
.section-container {
    max-width: 1200px;
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}
.section-header h2 .blue {
    color: #0066ff;
}
.section-header p {
    font-size: 16px;
    color: #6680aa;
    max-width: 600px;
    margin: 0 auto;
}
.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0066ff, #00ccff);
    margin: 16px auto 0;
    border-radius: 4px;
}

/* ===== ABOUT SECTION ===== */
#about {
    background: rgba(10, 15, 40, 0.3);
}
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.about-card {
    background: rgba(10, 18, 50, 0.6);
    border: 1px solid rgba(0, 102, 255, 0.1);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}
.about-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 102, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.1);
}
.about-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.15), rgba(0, 200, 255, 0.08));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}
.about-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}
.about-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #7788aa;
}

/* ===== PROMO SECTION ===== */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.promo-card {
    background: rgba(10, 18, 50, 0.6);
    border: 1px solid rgba(0, 102, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.promo-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 102, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.1);
}
.promo-card img {
    width: 100%;
    aspect-ratio: 16/7;
    object-fit: cover;
}
.promo-info {
    padding: 20px;
}
.promo-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.promo-info p {
    font-size: 14px;
    color: #7788aa;
    line-height: 1.6;
    margin-bottom: 16px;
}
.promo-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(0, 102, 255, 0.15);
    color: #0088ff;
    border: 1px solid rgba(0, 102, 255, 0.2);
}

/* ===== FAQ SECTION ===== */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}
.faq-item {
    background: rgba(10, 18, 50, 0.6);
    border: 1px solid rgba(0, 102, 255, 0.1);
    border-radius: 16px;
    padding: 28px 24px;
    transition: all 0.3s ease;
}
.faq-item:hover {
    border-color: rgba(0, 102, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.1);
}
.faq-item h3 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.4;
}
.faq-item p {
    font-size: 14px;
    line-height: 1.7;
    color: #8899bb;
}

/* ===== BANNER SECTION ===== */
.banner-section {
    padding: 0 20px 60px;
}
.banner-link {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 102, 255, 0.15);
    transition: all 0.3s ease;
}
.banner-link:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 102, 255, 0.2);
}
.banner-link img {
    width: 100%;
    display: block;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, rgba(0, 40, 120, 0.4), rgba(0, 80, 200, 0.15));
    border-top: 1px solid rgba(0, 102, 255, 0.1);
    border-bottom: 1px solid rgba(0, 102, 255, 0.1);
    text-align: center;
}
.cta-section h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}
.cta-section p {
    font-size: 16px;
    color: #8899bb;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
    background: rgba(4, 8, 20, 0.8);
    border-top: 1px solid rgba(0, 102, 255, 0.1);
    padding: 40px 20px 20px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}
.footer-brand img {
    height: 36px;
    margin-bottom: 12px;
}
.footer-brand p {
    font-size: 14px;
    color: #556688;
    line-height: 1.7;
}
.footer-links h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aabbdd;
    margin-bottom: 16px;
}
.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a {
    font-size: 14px;
    color: #556688;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: #0088ff;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-bottom p {
    font-size: 13px;
    color: #334466;
    margin-bottom: 6px;
}
.footer-disclaimer {
    font-size: 12px;
    color: #223344;
    font-style: italic;
}

/* ===== FLOATING CTA MOBILE ===== */
.floating-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 12px 16px;
    background: rgba(6, 11, 30, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 102, 255, 0.2);
    gap: 10px;
}
.floating-cta .btn {
    flex: 1;
    padding: 12px;
    font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-text h1 {
        font-size: 36px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .promo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .nav-buttons {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .floating-cta {
        display: flex;
    }
    body {
        padding-bottom: 70px;
    }
    .hero-text h1 {
        font-size: 30px;
    }
    .hero-text .tagline {
        font-size: 18px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
        gap: 16px;
    }
    .stat-number {
        font-size: 22px;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .promo-grid {
        grid-template-columns: 1fr;
    }
    .section-header h2 {
        font-size: 28px;
    }
    .cta-section h2 {
        font-size: 28px;
    }

    /* Mobile menu */
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(6, 11, 30, 0.98);
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid rgba(0, 102, 255, 0.15);
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 26px;
    }
    .btn-hero {
        padding: 12px 28px;
        font-size: 14px;
    }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
