@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    font-family: 'Inter', sans-serif;
}

body {
    background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 50%, #16213e 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* Liquid Glass Effects - Core Philosophy */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 48px rgba(74, 144, 226, 0.2),
                inset 0 0 20px rgba(74, 144, 226, 0.1);
    transform: translateY(-4px);
    border-color: rgba(74, 144, 226, 0.3);
}

.glass-nav {
    background: rgba(15, 15, 30, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.glass-button {
    background: rgba(74, 144, 226, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 144, 226, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.glass-button:hover {
    background: rgba(74, 144, 226, 0.35);
    box-shadow: 0 0 30px rgba(74, 144, 226, 0.4),
                inset 0 0 20px rgba(74, 144, 226, 0.2);
    transform: scale(1.05);
    border-color: rgba(74, 144, 226, 0.5);
}

.glass-button:active {
    transform: scale(0.98);
}

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(135deg, #4A90E2 0%, #63B3ED 50%, #90CDF4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Feature Icons with Glass Effect */
.feature-icon {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.2), rgba(99, 179, 237, 0.1));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 144, 226, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon:hover {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.3), rgba(99, 179, 237, 0.2));
    box-shadow: 0 0 30px rgba(74, 144, 226, 0.5);
    transform: scale(1.1);
}

/* Animated Background Particles */
.particle {
    position: absolute;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.3), transparent);
    border-radius: 50%;
    pointer-events: none;
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(100px, -100px) scale(1.1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-100px, 100px) scale(0.9);
        opacity: 0.2;
    }
    75% {
        transform: translate(50px, 50px) scale(1.05);
        opacity: 0.4;
    }
}

/* Smooth Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Input Styles with Glass Effect */
.glass-input {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-input:focus {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.3),
                inset 0 0 10px rgba(74, 144, 226, 0.1);
}

/* Stat Counter Animation */
.stat-number {
    font-variant-numeric: tabular-nums;
}

/* Smooth Scrolling Enhancement */
html {
    scroll-behavior: smooth;
}

/* Mobile Menu Button (if needed) */
@media (max-width: 768px) {
    .glass-nav {
        padding: 0.5rem 1rem;
    }
}

/* Link Hover Effects */
a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 15, 30, 0.5);
}

::-webkit-scrollbar-thumb {
    background: rgba(74, 144, 226, 0.3);
    border-radius: 5px;
    transition: background 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(74, 144, 226, 0.5);
}

/* Section Spacing */
section {
    position: relative;
}

/* Enhanced Glass Border Effect */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.glass-card:hover::before {
    opacity: 1;
}

/* Form Elements Enhancement */
textarea, input {
    color: white;
}

textarea::placeholder,
input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Button Loading State */
.glass-button.loading {
    pointer-events: none;
    opacity: 0.7;
}

/* Responsive Adjustments */
@media (max-width: 640px) {
    .particle {
        display: none;
    }
}
