/* ===== Base Styles ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0d0d11; }
::-webkit-scrollbar-thumb { background: #2a2a31; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #44444c; }

/* Selection */
::selection { background: rgba(51, 141, 255, 0.3); color: #fff; }

/* ===== Nav Links ===== */
.nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #a4a5ad;
    border-radius: 0.5rem;
    transition: all 0.2s;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nav-active { color: #fff !important; background: rgba(51, 141, 255, 0.1); }

/* ===== Gradient Text ===== */
.gradient-text {
    background: linear-gradient(135deg, #338dff, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Glass Card ===== */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s;
}
.glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(51, 141, 255, 0.2);
    transform: translateY(-2px);
}

/* ===== Glow Effect ===== */
.glow-blue { box-shadow: 0 0 40px rgba(51, 141, 255, 0.15); }
.glow-cyan { box-shadow: 0 0 40px rgba(34, 211, 238, 0.15); }

/* ===== Animated Background Grid ===== */
.bg-grid {
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* ===== Hero Gradient Orbs ===== */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    pointer-events: none;
}

/* ===== Pricing Card Active ===== */
.pricing-popular {
    border-color: rgba(51, 141, 255, 0.4) !important;
    background: rgba(51, 141, 255, 0.05) !important;
    box-shadow: 0 0 60px rgba(51, 141, 255, 0.1);
}

/* ===== Feature Icon Box ===== */
.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ===== Stat Counter ===== */
.stat-card {
    text-align: center;
    padding: 1.5rem;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

/* ===== Billing Toggle ===== */
.billing-toggle {
    position: relative;
    width: 3.5rem;
    height: 2rem;
    background: #2a2a31;
    border-radius: 9999px;
    cursor: pointer;
    transition: background 0.3s;
}
.billing-toggle.active { background: #1a6ef5; }
.billing-toggle::after {
    content: '';
    position: absolute;
    top: 0.25rem;
    left: 0.25rem;
    width: 1.5rem;
    height: 1.5rem;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s;
}
.billing-toggle.active::after { transform: translateX(1.5rem); }

/* ===== Smooth Animations ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.animate-fade-in-up { animation: fadeInUp 0.6s ease-out forwards; }
.animate-float { animation: float 6s ease-in-out infinite; }

/* Staggered animation delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .stat-number { font-size: 1.75rem; }
}
