/* NovaLexy Premium Color Scheme - Expert Design System */

:root {
    /* Primary Brand Colors - Indigo to Violet Core */
    --primary-indigo: #4F46E5;
    --primary-violet: #8B5CF6;
    --secondary-royal-blue: #3B82F6;
    --secondary-cool-purple: #6D28D9;
    
    /* Background System */
    --bg-deep-black: #0A0A0A;
    --bg-ultra-dark: #0D0D0D;
    --bg-card-dark: #111111;
    --bg-card-hover: #151515;
    
    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #E4E4E7;
    --text-muted: #A1A1AA;
    
    /* Accent Colors */
    --accent-glow: rgba(79, 70, 229, 0.3);
    --accent-glow-strong: rgba(79, 70, 229, 0.6);
    --border-subtle: rgba(228, 228, 231, 0.1);
    --border-glow: rgba(79, 70, 229, 0.4);
    
    /* Glassmorphism */
    --glass-bg: rgba(17, 17, 17, 0.8);
    --glass-border: rgba(79, 70, 229, 0.2);
}

/* Global Overrides for Premium Feel */
body {
    background-color: var(--bg-deep-black) !important;
    color: var(--text-primary) !important;
}

/* Primary Gradient System */
.gradient-primary {
    background: linear-gradient(135deg, var(--primary-indigo), var(--primary-violet));
}

.gradient-primary-text {
    background: linear-gradient(135deg, var(--primary-indigo), var(--primary-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-secondary-text {
    background: linear-gradient(135deg, var(--secondary-royal-blue), var(--primary-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Premium Glow Effects */
.premium-glow {
    box-shadow: 0 0 20px var(--accent-glow), 0 0 40px rgba(79, 70, 229, 0.2);
}

.premium-glow-strong {
    box-shadow: 0 0 30px var(--accent-glow-strong), 0 0 60px rgba(79, 70, 229, 0.3);
}

.premium-glow-hover:hover {
    box-shadow: 0 0 40px var(--accent-glow-strong), 0 0 80px rgba(79, 70, 229, 0.4);
    transition: box-shadow 0.3s ease;
}

/* Premium Button System */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-indigo), var(--primary-violet));
    color: var(--text-primary);
    border: none;
    border-radius: 1rem;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, var(--primary-indigo), var(--primary-violet)) 1;
    border-radius: 1rem;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(139, 92, 246, 0.1));
}

/* Premium Card System */
.card-premium {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    backdrop-filter: blur(16px);
    transition: all 0.3s ease;
}

.card-premium:hover {
    border-color: var(--border-glow);
    box-shadow: 0 8px 32px rgba(79, 70, 229, 0.2);
    transform: translateY(-4px);
}

/* Feature Card Enhancements */
.feature-card-premium {
    background: linear-gradient(145deg, var(--bg-card-dark), var(--bg-ultra-dark));
    border: 1px solid var(--border-subtle);
    border-radius: 1.25rem;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-indigo), var(--primary-violet));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card-premium:hover::before {
    opacity: 1;
}

.feature-card-premium:hover {
    border-color: var(--border-glow);
    box-shadow: 0 8px 32px var(--accent-glow);
    transform: translateY(-2px);
}

/* Icon System */
.icon-premium {
    color: var(--primary-indigo);
    filter: drop-shadow(0 0 8px rgba(79, 70, 229, 0.4));
    transition: all 0.3s ease;
}

.icon-premium:hover {
    color: var(--primary-violet);
    filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.6));
}

/* Testimonial Cards Premium */
.testimonial-premium {
    background: linear-gradient(145deg, rgba(79, 70, 229, 0.1), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 1.5rem;
    backdrop-filter: blur(16px);
    transition: all 0.3s ease;
}

.testimonial-premium:hover {
    border-color: rgba(79, 70, 229, 0.4);
    box-shadow: 0 8px 32px rgba(79, 70, 229, 0.2);
}

/* Section Background Enhancements */
.section-premium-bg {
    background: linear-gradient(180deg, var(--bg-deep-black) 0%, var(--bg-ultra-dark) 50%, var(--bg-deep-black) 100%);
    position: relative;
}

.section-premium-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(79, 70, 229, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* Navigation Premium */
.nav-premium {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
}

/* Premium Typography */
.heading-premium {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.subheading-premium {
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.6;
}

/* Premium Animations */
@keyframes premium-glow-pulse {
    0%, 100% { 
        box-shadow: 0 0 20px var(--accent-glow), 0 0 40px rgba(79, 70, 229, 0.2);
    }
    50% { 
        box-shadow: 0 0 30px var(--accent-glow-strong), 0 0 60px rgba(79, 70, 229, 0.4);
    }
}

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

/* Responsive Premium Adjustments */
@media (max-width: 768px) {
    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .feature-card-premium {
        padding: 1.5rem;
    }
}

/* Dark Mode Enhancements */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-deep-black: #000000;
        --accent-glow: rgba(79, 70, 229, 0.4);
    }
}