/* Bari Code - Custom Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --brand-dark: #070d18;
    --brand-navy: #0e1e38;
    --brand-blue: #2563eb;
    --brand-blue-glow: rgba(37, 99, 235, 0.4);
    --brand-cyan: #06b6d4;
    --brand-cyan-glow: rgba(6, 182, 212, 0.4);
    --brand-light: #f0f9ff;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-dark-bg: rgba(14, 30, 56, 0.7);
    --glass-dark-border: rgba(255, 255, 255, 0.08);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    color: #0f172a;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Glassmorphism Classes */
.glass-nav {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-card {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05);
}

.glass-card-dark {
    background: rgba(14, 30, 56, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Gradients & Background Mesh */
.gradient-mesh {
    background: 
        radial-gradient(at 10% 20%, rgba(6, 182, 212, 0.12) 0px, transparent 45%),
        radial-gradient(at 90% 10%, rgba(37, 99, 235, 0.1) 0px, transparent 45%),
        radial-gradient(at 50% 50%, rgba(6, 182, 212, 0.06) 0px, transparent 50%),
        radial-gradient(at 15% 85%, rgba(37, 99, 235, 0.08) 0px, transparent 45%),
        radial-gradient(at 85% 90%, rgba(6, 182, 212, 0.1) 0px, transparent 45%);
}

.pattern-dots {
    background-image: radial-gradient(rgba(37, 99, 235, 0.12) 1.2px, transparent 1.2px);
    background-size: 28px 28px;
}

.text-gradient {
    background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 40%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradient-shift 6s ease infinite alternate;
}

.text-gradient-cyan {
    background: linear-gradient(135deg, #38bdf8 0%, #22d3ee 50%, #67e8f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* Floating Animation */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(0.5deg); }
}

.animate-float {
    animation: float-slow 5s ease-in-out infinite;
}

/* Hover Lift Effect */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-lift:hover {
    transform: translateY(-6px);
}

/* Glow Buttons */
.glow-btn {
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.35), 0 8px 10px -6px rgba(6, 182, 212, 0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glow-btn:hover {
    box-shadow: 0 15px 35px -5px rgba(37, 99, 235, 0.55), 0 10px 15px -5px rgba(6, 182, 212, 0.35);
    transform: translateY(-2px);
}

.glow-btn-cyan {
    box-shadow: 0 10px 25px -5px rgba(6, 182, 212, 0.4);
    transition: all 0.3s ease;
}

.glow-btn-cyan:hover {
    box-shadow: 0 15px 35px -5px rgba(6, 182, 212, 0.6);
    transform: translateY(-2px);
}

/* Badge styles */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* Modals */
.modal-overlay {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 9px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Language selector */
.lang-btn.active {
    background-color: #2563eb;
    color: #ffffff;
    font-weight: 700;
}
