/* ===================================
   PREMIUM DESIGN ENHANCEMENTS
   Additional premium styling for SubstiTooth
   =================================== */

/* Premium Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Premium Glass Morphism */
.glass-morphism {
    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);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Premium Gradient Backgrounds */
.premium-gradient-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.premium-gradient-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.premium-gradient-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* Premium Card Styles */
.premium-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(15, 94, 127, 0.1);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.premium-card:hover::before {
    transform: scaleX(1);
}

.premium-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

/* Premium Buttons */
.btn-premium {
    background: var(--primary-gradient);
    border: none;
    border-radius: 50px;
    padding: 16px 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-premium:hover::before {
    left: 100%;
}

.btn-premium:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(15, 94, 127, 0.4);
}

/* Premium Animations */
@keyframes premium-float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    33% { 
        transform: translateY(-10px) rotate(1deg); 
    }
    66% { 
        transform: translateY(-5px) rotate(-1deg); 
    }
}

@keyframes premium-glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(15, 94, 127, 0.3); 
    }
    50% { 
        box-shadow: 0 0 40px rgba(15, 94, 127, 0.6); 
    }
}

@keyframes premium-pulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 1; 
    }
    50% { 
        transform: scale(1.05); 
        opacity: 0.8; 
    }
}

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

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

.premium-pulse {
    animation: premium-pulse 2s ease-in-out infinite;
}

/* Premium Text Effects */
.premium-text-gradient {
    background: linear-gradient(135deg, #0f5e7f 0%, #1a7a9e 50%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.premium-text-shadow {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Premium Hover Effects */
.premium-hover-lift {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-hover-lift:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

/* Premium Loading States */
.premium-loading {
    position: relative;
    overflow: hidden;
}

.premium-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: premium-shimmer 2s infinite;
}

@keyframes premium-shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Premium Responsive Enhancements */
@media (max-width: 768px) {
    .premium-card {
        border-radius: 16px;
        margin: 0 1rem;
    }
    
    .btn-premium {
        padding: 14px 28px;
        font-size: 0.9rem;
    }
    
    .premium-text-gradient {
        font-size: 2rem;
    }
}

/* Premium Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .premium-card {
        background: rgba(26, 26, 26, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .glass-morphism {
        background: rgba(26, 26, 26, 0.8);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Premium Accessibility */
.premium-focus:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 8px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .premium-float,
    .premium-glow,
    .premium-pulse {
        animation: none;
    }
    
    .premium-hover-lift:hover {
        transform: none;
    }
}