:root {
    /* Calm & Futuristic Color Palette */
    --bg-dark: #111827; /* Deep Gray/Blue (Slate 900) - Calmer than pure black */
    --bg-card: rgba(31, 41, 55, 0.7); /* Slate 800 */
    --text-primary: #f3f4f6; /* Gray 100 */
    --text-secondary: #9ca3af; /* Gray 400 */
    
    /* Pastel Accents */
    --accent-pink: #f472b6; /* Pink 400 - Softer */
    --accent-purple: #a78bfa; /* Violet 400 - Softer */
    --accent-blue: #60a5fa; /* Blue 400 - Softer */
    
    /* Softer Glow */
    --neon-glow: 0 0 15px rgba(244, 114, 182, 0.2), 0 0 30px rgba(167, 139, 250, 0.1);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --backdrop-blur: blur(12px);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
    --gradient-dark: linear-gradient(to bottom, var(--bg-dark), #1f2937);
}

body {
    background: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Heebo', sans-serif;
    overflow-x: hidden;
}

/* Accessibility Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-pink);
    color: white;
    padding: 8px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 1rem;
}

.glass-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1.5rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--neon-glow);
    border-color: rgba(244, 114, 182, 0.3);
    background: linear-gradient(145deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
}

/* Typography & Effects */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.neon-text {
    text-shadow: 0 0 10px rgba(244, 114, 182, 0.3);
}

/* Hero Section Overrides */
.hero-pattern {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(244, 114, 182, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(167, 139, 250, 0.05) 0%, transparent 20%);
}

/* Button Overrides */
.btn-futuristic {
    background: var(--gradient-primary);
    border: none;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-futuristic:hover {
    box-shadow: 0 10px 15px rgba(244, 114, 182, 0.3);
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Feature Cards */
.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
}

.feature-card:hover {
    background: rgba(255,255,255,0.08);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

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

/* Dark Mode Overrides for Existing Elements */
.bg-white {
    background-color: rgba(31, 41, 55, 0.5) !important; /* Semi-transparent dark */
    color: var(--text-primary) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.text-gray-900, .text-dark, .text-black {
    color: var(--text-primary) !important;
}

.text-gray-600, .text-gray-500, .text-muted {
    color: var(--text-secondary) !important;
}

.bg-gray-50, .bg-light {
    background-color: transparent !important;
}

/* Input Fields */
input, textarea, select {
    background-color: rgba(17, 24, 39, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border-radius: 0.5rem;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--accent-pink) !important;
    box-shadow: 0 0 0 2px rgba(244, 114, 182, 0.2) !important;
    outline: none;
}

/* Navbar */
#site-header {
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Modals */
.modal-content {
    background: #1f2937;
    background: rgba(31, 41, 55, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-radius: 1rem;
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Dropdowns */
.dropdown-menu {
    background: #1f2937;
    background: rgba(31, 41, 55, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    border-radius: 0.75rem;
}

.dropdown-item {
    color: var(--text-secondary);
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.dropdown-divider {
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* Placeholders */
::placeholder {
    color: rgba(156, 163, 175, 0.5) !important;
    opacity: 1;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(17, 24, 39, 0.5);
}

::-webkit-scrollbar-thumb {
    background: rgba(75, 85, 99, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(107, 114, 128, 0.6);
}
