/* ========================================
   LinguaFlow AI - Liquid Glass Design System
   ======================================== */

/* === Glass Effects === */
.glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.glass-strong {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-hover:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* === Text Glow Effect === */
.glow-text {
    text-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
}

/* === Background === */
body {
    background: linear-gradient(135deg, #0c4a6e 0%, #1e293b 50%, #0f172a 100%);
    min-height: 100vh;
}

/* === Mesh Gradient Overlay === */
.mesh-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(56, 189, 248, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(125, 211, 252, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* === Smooth Scroll === */
html {
    scroll-behavior: smooth;
}

/* === Button Styles === */
.btn-primary {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
}

/* === Mobile Menu === */
#mobile-menu {
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu.active {
    display: block;
}

/* === Responsive Adjustments === */
@media (max-width: 768px) {
    .mesh-gradient {
        background: 
            radial-gradient(circle at 50% 20%, rgba(14, 165, 233, 0.12) 0%, transparent 60%),
            radial-gradient(circle at 50% 80%, rgba(56, 189, 248, 0.08) 0%, transparent 60%);
    }
}

/* === Utility Classes === */
.container {
    position: relative;
    z-index: 1;
}

/* === Section Spacing === */
section {
    position: relative;
    z-index: 1;
}

/* === Link Hover Effects === */
a {
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Focus States === */
button:focus,
a:focus {
    outline: 2px solid rgba(14, 165, 233, 0.5);
    outline-offset: 2px;
}

/* === Selection Styling === */
::selection {
    background: rgba(14, 165, 233, 0.3);
    color: white;
}

/* === Scrollbar Styling === */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
}

::-webkit-scrollbar-thumb {
    background: rgba(14, 165, 233, 0.5);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(14, 165, 233, 0.7);
}
