:root {
    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.5);
    --secondary: #8b5cf6;
    --secondary-glow: rgba(139, 92, 246, 0.5);
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
    --glass: rgba(255, 255, 255, 0.03);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glassmorphism Utility */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px var(--primary-glow);
}

/* Inputs */
.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: white;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-main);
}

/* Section Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Dashboard Sidebar */
.dashboard-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.sidebar {
    background: rgba(15, 23, 42, 0.95);
    border-right: 1px solid var(--border);
    padding: 2rem;
}

.main-content {
    padding: 2rem;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.05), transparent);
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.5rem;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Marquee Animation */
.marquee-container {
    overflow: hidden;
    padding: 3rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    width: 100%;
    margin: 4rem 0;
}

.marquee-content {
    display: flex;
    gap: 5rem;
    width: max-content;
    animation: marquee 60s linear infinite;
    will-change: transform;
    transform: translateZ(0);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-item {
    font-size: 3rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    white-space: nowrap;
}

.marquee-item:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.marquee-item span {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
}
/* Animations & Reveals */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stat Counters */
.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.stat-counter {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: block;
}

/* Badges */
.badge {
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--primary);
    color: white;
}

/* =========================================
   Responsive & Layout Utilities
   ========================================= */

.hero-title {
    font-size: 5rem;
    line-height: 1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.flex-center-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-buttons a {
    width: auto;
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 101;
}

/* =========================================
   Media Queries (Mobile & Tablet)
   ========================================= */

@media (max-width: 992px) {
    .split-section {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    /* Hide on mobile utility */
    .hide-mobile {
        display: none !important;
    }

    /* Typography scaling */
    .hero-title {
        font-size: 3rem !important;
    }

    .section-title {
        font-size: 2.2rem !important;
    }

    /* Layout adjustments */
    .split-section {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .flex-center-wrap {
        gap: 2rem !important;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }
    
    .hero-buttons a {
        width: 100% !important;
        text-align: center;
    }

    /* Section padding */
    section, footer {
        padding: 60px 5% !important;
    }
    
    .hero {
        padding: 100px 5% 60px !important;
        height: auto !important;
        min-height: 100vh;
    }
    
    .hero .glass {
        padding: 2rem !important;
    }
    
    /* Navigation Menu */
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 99;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    /* Responsive Tables */
    table {
        display: block !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        width: 100% !important;
    }
}
