@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Glass Effect - Core of Liquid Glass Philosophy */
.glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%) brightness(110%);
    -webkit-backdrop-filter: blur(20px) saturate(180%) brightness(110%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.glass-strong {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(30px) saturate(200%) brightness(115%);
    -webkit-backdrop-filter: blur(30px) saturate(200%) brightness(115%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 48px 0 rgba(31, 38, 135, 0.45);
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px) saturate(180%) brightness(110%);
    -webkit-backdrop-filter: blur(25px) saturate(180%) brightness(110%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px 0 rgba(31, 38, 135, 0.5),
                inset 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Lens Effect on Hover */
.lens-effect {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lens-effect:hover {
    box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.25),
                0 0 40px rgba(255, 255, 255, 0.15);
}

/* Fluid Animations - Physics-based */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(2deg); 
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-float {
    animation: float 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-scaleIn {
    animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Universal Softness - Only rounded-2xl and rounded-full */
.rounded-universal {
    border-radius: 1rem; /* 16px */
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #fff 0%, #e0d8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2),
                inset 0 0 20px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Particle Background Effect */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Navigation active state */
nav a {
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: rgba(255, 255, 255, 0.8);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 9999px;
}

nav a:hover::after {
    width: 100%;
}

/* Form inputs focus state */
input:focus, textarea:focus {
    outline: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .glass-card:hover {
        transform: translateY(-4px) scale(1.01);
    }
    
    h1 {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
}

/* Loading animation for images */
img {
    opacity: 0;
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Section spacing */
section {
    position: relative;
    z-index: 1;
}

/* Ensure all interactive elements have proper cursor */
button, a, .glass-card {
    cursor: pointer;
}

/* Accessibility */
:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}
