/* CampusFlow.tech - Liquid Glass Design System */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ============================================
   LIQUID GLASS EFFECTS
   ============================================ */

/* Base Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Strong Glass Effect */
.glass-strong {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ============================================
   UNIVERSAL ROUNDED CORNERS
   ============================================ */

.rounded-universal {
    border-radius: 1rem; /* rounded-2xl equivalent */
}

/* ============================================
   LENS EFFECT ON HOVER
   ============================================ */

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

.lens-effect:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ============================================
   FLUID ANIMATIONS
   ============================================ */

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.glow-animate {
    animation: glow 3s ease-in-out infinite;
}

.fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   NAVIGATION
   ============================================ */

nav a {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:hover::after {
    width: 100%;
}

/* ============================================
   BUTTON STYLES
   ============================================ */

.btn-primary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.2));
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* ============================================
   BACKGROUND DECORATIONS
   ============================================ */

.bg-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    z-index: 0;
}

/* ============================================
   FEATURE CARDS
   ============================================ */

.feature-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
}

/* ============================================
   STATS
   ============================================ */

.stat-number {
    font-variant-numeric: tabular-nums;
}

/* ============================================
   FORM ELEMENTS
   ============================================ */

input, select, textarea {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */

@media (max-width: 768px) {
    .rounded-universal {
        border-radius: 0.75rem;
    }
    
    nav {
        margin: 0.5rem !important;
        width: calc(100% - 1rem) !important;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

*:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
}

/* ============================================
   SMOOTH SCROLLING
   ============================================ */

html {
    scroll-behavior: smooth;
}

/* ============================================
   SELECTION
   ============================================ */

::selection {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

::-moz-selection {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}
