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

body {
    font-family: 'Inter', sans-serif;
    background-color: #05070a;
    color: #eef5ff;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #0a0e17;
}

::-webkit-scrollbar-thumb {
    background: #2c5f8a;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00b4ff;
}

/* Canvas background */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Main content */
main, header, footer {
    position: relative;
    z-index: 10;
}

/* Container */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 5;
}

/* Glassmorphism card style */
.glass-card {
    background: rgba(15, 25, 35, 0.55);
    backdrop-filter: blur(12px);
    border-radius: 32px;
    border: 1px solid rgba(0, 242, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 15px rgba(0, 242, 255, 0.1);
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    flex-wrap: wrap;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #00f2ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 42px;
    font-weight: 500;
}

.nav-links a {
    color: #ccdeee;
    text-decoration: none;
    transition: 0.3s;
    font-size: 16px;
    letter-spacing: 0.3px;
}

.nav-links a:hover {
    color: #00f2ff;
    text-shadow: 0 0 8px #00f2ff;
}

/* Buttons */
.btn-outline {
    background: transparent;
    border: 1px solid #00f2ff;
    padding: 8px 24px;
    border-radius: 40px;
    color: #00f2ff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-outline:hover {
    background: rgba(0, 242, 255, 0.15);
    box-shadow: 0 0 12px rgba(0,242,255,0.4);
    transform: scale(1.02);
}

.btn-primary {
    background: linear-gradient(105deg, #00b4ff, #0077ff);
    border: none;
    padding: 14px 36px;
    border-radius: 48px;
    font-weight: 700;
    font-size: 16px;
    color: white;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 8px 20px rgba(0, 119, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    filter: brightness(1.08);
    box-shadow: 0 12px 28px rgba(0, 180, 255, 0.5);
}

.btn-ghost {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 14px 32px;
    border-radius: 48px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: 0.2s;
}

.btn-ghost:hover {
    background: rgba(0,242,255,0.2);
    border-color: #00f2ff;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 0 100px;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 242, 255, 0.15);
    backdrop-filter: blur(4px);
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    border: 0.5px solid rgba(0,242,255,0.5);
    margin-bottom: 28px;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 20%, #a0f0ff 60%, #3cc7ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    max-width: 900px;
}

.hero p {
    font-size: 20px;
    max-width: 560px;
    margin: 28px 0 40px;
    color: #b4c8e0;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Sections */
section {
    margin: 140px 0;
}

.section-title {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
    background: linear-gradient(120deg, #fff, #92daff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 36px 28px;
    background: rgba(12, 20, 30, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 36px;
    border: 1px solid rgba(0,242,255,0.2);
    transition: all 0.4s;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: #00f2ff;
    box-shadow: 0 20px 35px -12px rgba(0,242,255,0.2);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 24px;
    display: inline-block;
}

.feature-card h3 {
    font-size: 26px;
    margin-bottom: 16px;
}

.feature-card p {
    color: #b8ceec;
    line-height: 1.5;
}

/* Stats Section */
.stats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    text-align: center;
    gap: 40px;
    background: rgba(5, 15, 25, 0.5);
    backdrop-filter: blur(16px);
    border-radius: 80px;
    padding: 50px 30px;
    border: 1px solid rgba(0,242,255,0.2);
}

.stat-item h2 {
    font-size: 52px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #6bc5ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-item p {
    font-size: 18px;
    letter-spacing: 1px;
    margin-top: 8px;
}

/* Footer */
footer {
    margin-top: 100px;
    border-top: 1px solid rgba(0,242,255,0.2);
    padding: 56px 0 48px;
    text-align: center;
}

.footer-content p {
    color: #9ab3cf;
    font-size: 15px;
    margin: 8px 0;
}

.footer-note {
    font-size: 13px;
    opacity: 0.7;
    margin-top: 20px;
}

/* Reveal animation class */
.reveal-el {
    opacity: 0;
    transform: translateY(35px);
}

/* Responsive Design */
@media (max-width: 900px) {
    .container {
        padding: 0 24px;
    }
    
    .hero h1 {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .navbar {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-links {
        gap: 28px;
    }
    
    .stats-row {
        border-radius: 48px;
        padding: 32px 20px;
    }
}

@media (max-width: 550px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .btn-primary, .btn-ghost {
        padding: 10px 22px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item h2 {
        font-size: 36px;
    }
}

/* Dark/Light Mode Toggle Support (default dark mode, light mode override if needed) */
@media (prefers-color-scheme: light) {
    body {
        background-color: #f0f4fa;
        color: #1a2a3a;
    }
    
    .feature-card {
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(10px);
        border-color: rgba(0, 100, 200, 0.2);
    }
    
    .feature-card p {
        color: #2c3e4e;
    }
    
    .stats-row {
        background: rgba(255, 255, 255, 0.6);
    }
    
    .footer-content p {
        color: #2c3e4e;
    }
    
    .hero p {
        color: #2c3e4e;
    }
    
    .nav-links a {
        color: #1a2a3a;
    }
}

/* Smooth transitions */
a, button, .feature-card {
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}