/* Enhanced CSS Variables */
:root {
    --hell-red: #ff0000;
    --hell-dark-red: #990000;
    --hell-black: #0a0a0a;
    --hell-darker: #050505;
    --hell-gray: #1a1a1a;
    --hell-accent: #ff3333;
    --hell-orange: #ff4500;
    --hell-yellow: #ffaa00;
    --glass-bg: rgba(10, 10, 10, 0.7);
    --glass-border: rgba(255, 0, 0, 0.1);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0000 50%, #0a0a0a 100%);
    background-size: 400% 400%;
    animation: gradient-shift 10s ease-in-out infinite;
    font-family: 'Inter Tight', sans-serif;
    color: white;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 0, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(153, 0, 0, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 100%, rgba(255, 51, 51, 0.04) 0%, transparent 50%);
    z-index: -2;
    animation: gradient-shift 15s ease-in-out infinite;
}

body.loaded {
    overflow: auto;
}

/* Enhanced Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #1a0000 0%, #0a0a0a 70%, #000000 100%);
    backdrop-filter: blur(20px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 1s cubic-bezier(0.23, 1, 0.320, 1);
    opacity: 1;
    visibility: visible;
}

#loading-screen.hidden-loading {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    pointer-events: none;
}

.logo-container {
    position: relative;
    width: 180px;
    height: 180px;
}

.logo-container::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #ff0000, #990000, #ff3333, #ff0000);
    animation: rotate-slow 3s linear infinite;
    z-index: -1;
}

.logo-container::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.3) 0%, transparent 70%);
    animation: pulse-red 2s ease-in-out infinite;
    z-index: -1;
}

.loading-logo {
    position: relative;
    animation: logoBreathing 4s ease-in-out infinite;
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-top: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.loading-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #990000, #ff0000, #ff3333, #ff0000);
    background-size: 200% 100%;
    animation: loading 2.5s ease-in-out forwards, shimmer 1s ease-in-out infinite;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
}

.loading-text {
    font-size: 1.2rem;
    font-weight: 600;
    background: linear-gradient(90deg, #ff0000, #ff3333, #ff6666, #ff0000);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textFlow 2s ease-in-out infinite;
}

/* Enhanced Floating Elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-element {
    position: absolute;
    background: linear-gradient(135deg, var(--hell-red), var(--hell-orange));
    border-radius: 50%;
    opacity: 0.1;
    animation: floatingMove 20s linear infinite;
}

/* Enhanced Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.8) 0%, rgba(255, 51, 51, 0.4) 50%, transparent 100%);
    animation: particle-movement linear infinite;
    filter: blur(0.5px);
}

.particle.large {
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(255, 0, 0, 1) 0%, rgba(255, 51, 51, 0.6) 70%, transparent 100%);
    filter: blur(0px);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, var(--hell-red) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: all 0.1s ease;
}

.custom-cursor.hover {
    transform: scale(2);
    background: radial-gradient(circle, var(--hell-orange) 0%, transparent 70%);
}

/* Glassmorphism Navbar */
.navbar-glass {
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: linear-gradient(90deg, transparent, #ff0000, transparent);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    transform: translateX(-50%);
}

.nav-link:hover {
    background: rgba(255, 0, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover::after {
    width: 80%;
}

/* Enhanced Hero Section */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.4) contrast(1.2);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255, 0, 0, 0.15) 0%, transparent 70%),
        linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 0, 0, 0.6) 50%, rgba(10, 10, 10, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 20;
}

.hero-title {
    position: relative;
    overflow: hidden;
}

.hero-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: titleShine 3s ease-in-out infinite;
}

/* Interactive Service Cards */
.service-card-wrapper {
    perspective: 1000px;
    position: relative;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.320, 1);
    transform-style: preserve-3d;
}

.service-card-wrapper:hover .service-card-inner {
    transform: rotateY(10deg) rotateX(5deg);
}

.service-card-enhanced {
    background: linear-gradient(145deg, 
        rgba(30, 30, 30, 0.95) 0%, 
        rgba(26, 0, 0, 0.6) 50%, 
        rgba(15, 15, 15, 0.98) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 0, 0, 0.15);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card-enhanced::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 0, 0, 0.1), transparent);
    animation: cardRotate 10s linear infinite;
    z-index: -1;
}

.service-card-enhanced:hover {
    transform: translateY(-20px) scale(1.05);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(255, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 0, 0, 0.5);
}

/* Animated Icon Containers */
.icon-enhanced {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--hell-red) 0%, var(--hell-orange) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem auto;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.icon-enhanced::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.service-card-enhanced:hover .icon-enhanced {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 15px 30px rgba(255, 0, 0, 0.6);
}

.service-card-enhanced:hover .icon-enhanced::before {
    animation: iconShine 1s ease-in-out;
}

/* Parallax Sections */
.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background-size: cover;
    background-position: center;
    transform: translateZ(0);
    will-change: transform;
}

/* Advanced Text Animations */
.text-reveal {
    overflow: hidden;
    position: relative;
}

.text-reveal span {
    display: inline-block;
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.320, 1);
}

.text-reveal.visible span {
    transform: translateY(0);
}

.text-reveal span:nth-child(odd) {
    transition-delay: 0.1s;
}

.text-reveal span:nth-child(even) {
    transition-delay: 0.2s;
}

/* Interactive Buttons */
.btn-futuristic {
    background: linear-gradient(135deg, var(--hell-red) 0%, var(--hell-dark-red) 100%);
    border: none;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-weight: 600;
    color: white;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.3);
}

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

.btn-futuristic::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: linear-gradient(135deg, var(--hell-red), var(--hell-orange));
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-futuristic:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 0, 0, 0.5);
}

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

.btn-futuristic:hover::after {
    opacity: 1;
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    animation: glitch1 2s infinite;
    color: #ff0000;
    z-index: -1;
}

.glitch::after {
    animation: glitch2 2s infinite;
    color: #00ffff;
    z-index: -2;
}

/* Morphing Shapes */
.morphing-shape {
    position: absolute;
    background: linear-gradient(45deg, var(--hell-red), var(--hell-orange));
    opacity: 0.1;
    animation: morphShape 8s ease-in-out infinite;
}

/* Advanced Form Styling */
.form-futuristic {
    background: linear-gradient(145deg, 
        rgba(30, 30, 30, 0.98) 0%, 
        rgba(26, 0, 0, 0.7) 50%, 
        rgba(15, 15, 15, 1) 100%);
    backdrop-filter: blur(30px) saturate(200%);
    border: 2px solid rgba(255, 0, 0, 0.2);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.form-futuristic::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.1), transparent);
    animation: formScan 4s ease-in-out infinite;
}

/* Scroll-triggered Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: all 1s cubic-bezier(0.23, 1, 0.320, 1);
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.scroll-animate.slide-left {
    transform: translateX(-50px) scale(0.9);
}

.scroll-animate.slide-right {
    transform: translateX(50px) scale(0.9);
}

.scroll-animate.rotate-in {
    transform: rotate(-10deg) scale(0.8);
}

.scroll-animate.visible.slide-left,
.scroll-animate.visible.slide-right,
.scroll-animate.visible.rotate-in {
    transform: translateX(0) rotate(0deg) scale(1);
}

/* Magnetic Mouse Effect */
.magnetic {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

/* Enhanced Text Effects */
.text-gradient {
    background: linear-gradient(135deg, #ff0000 0%, #ff3333 50%, #990000 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 3s ease-in-out infinite;
}

.text-glow-enhanced {
    text-shadow: 
        0 0 20px rgba(255, 0, 0, 0.5),
        0 0 40px rgba(255, 0, 0, 0.3),
        0 0 60px rgba(255, 0, 0, 0.1);
    animation: text-glow 3s ease-in-out infinite;
}

/* Dynamic Slogan Transitions */
[data-i18n="hero.subtitle"], 
[data-i18n="hero.demonic"] {
    transition: opacity 0.3s ease-in-out;
    display: inline-block;
}

[data-i18n="hero.subtitle"]:hover,
[data-i18n="hero.demonic"]:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Section Dividers */
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 0, 0, 0.5) 20%, 
        rgba(255, 0, 0, 1) 50%, 
        rgba(255, 0, 0, 0.5) 80%, 
        transparent 100%);
    margin: 4rem 0;
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: #ff0000;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
}

.section-transition {
    position: relative;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 0, 0, 0.05) 50%, transparent 100%);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-transition::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff0000, transparent);
    transform: translate(-50%, -50%);
    animation: expand-line 2s ease-in-out infinite;
}

/* Enhanced Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.3),
        0 4px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px) saturate(180%);
    transform: translateX(400px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    z-index: 10000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 400px;
    font-weight: 500;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: linear-gradient(135deg, 
        rgba(34, 197, 94, 0.9) 0%, 
        rgba(21, 128, 61, 0.95) 100%);
    border-left: 4px solid #10b981;
    color: white;
}

.notification.error {
    background: linear-gradient(135deg, 
        rgba(239, 68, 68, 0.9) 0%, 
        rgba(185, 28, 28, 0.95) 100%);
    border-left: 4px solid #dc2626;
    color: white;
}

.notification .notification-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification .notification-content {
    flex: 1;
    margin-left: 12px;
}

.notification .notification-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

.notification .notification-message {
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.4;
}

.notification .close-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 4px;
    margin-left: 12px;
    border-radius: 4px;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.notification .close-btn:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

/* Language Switcher Enhanced */
.language-switcher {
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(145deg, 
        rgba(30, 30, 30, 0.9) 0%, 
        rgba(20, 0, 0, 0.6) 50%, 
        rgba(25, 25, 25, 0.95) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 30px;
    padding: 10px 16px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.language-switcher:hover {
    background: linear-gradient(145deg, 
        rgba(35, 35, 35, 0.95) 0%, 
        rgba(25, 0, 0, 0.7) 50%, 
        rgba(30, 30, 30, 1) 100%);
    border-color: rgba(255, 0, 0, 0.4);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.4),
        0 5px 15px rgba(255, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.language-toggle:hover {
    background: rgba(255, 0, 0, 0.1);
}

.flag-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.language-toggle:hover .flag-icon {
    border-color: rgba(255, 0, 0, 0.6);
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(255, 0, 0, 0.3);
}

/* Keyframe Animations */
@keyframes logoBreathing {
    0%, 100% { transform: scale(1) rotate(0deg); filter: brightness(1); }
    25% { transform: scale(1.05) rotate(1deg); filter: brightness(1.2); }
    50% { transform: scale(1.1) rotate(0deg); filter: brightness(1.4); }
    75% { transform: scale(1.05) rotate(-1deg); filter: brightness(1.2); }
}

@keyframes textFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes floatingMove {
    0% { transform: translateY(100vh) translateX(0) scale(0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.2; }
    90% { opacity: 0.2; }
    100% { transform: translateY(-100px) translateX(100px) scale(1) rotate(360deg); opacity: 0; }
}

@keyframes particle-movement {
    0% { 
        transform: translateY(100vh) translateX(0) scale(0); 
        opacity: 0; 
    }
    10% { 
        opacity: 1; 
        transform: translateY(90vh) translateX(10px) scale(1); 
    }
    90% { 
        opacity: 1; 
        transform: translateY(10vh) translateX(-10px) scale(1); 
    }
    100% { 
        transform: translateY(-10vh) translateX(0) scale(0); 
        opacity: 0; 
    }
}

@keyframes titleShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

@keyframes cardRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes iconShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

@keyframes glitch1 {
    0%, 14%, 15%, 49%, 50%, 99%, 100% { transform: translate(0); }
    15%, 49% { transform: translate(-2px, 2px); }
}

@keyframes glitch2 {
    0%, 20%, 21%, 62%, 63%, 99%, 100% { transform: translate(0); }
    21%, 62% { transform: translate(2px, -2px); }
}

@keyframes morphShape {
    0%, 100% { 
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: rotate(0deg) scale(1);
    }
    25% { 
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
        transform: rotate(90deg) scale(1.1);
    }
    50% { 
        border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
        transform: rotate(180deg) scale(0.9);
    }
    75% { 
        border-radius: 70% 30% 40% 60% / 40% 70% 60% 30%;
        transform: rotate(270deg) scale(1.05);
    }
}

@keyframes formScan {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

@keyframes loading {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes text-glow {
    0%, 100% { text-shadow: 0 0 20px rgba(255, 0, 0, 0.5), 0 0 30px rgba(255, 0, 0, 0.3); }
    50% { text-shadow: 0 0 40px rgba(255, 0, 0, 0.8), 0 0 60px rgba(255, 0, 0, 0.6); }
}

@keyframes expand-line {
    0%, 100% { width: 100px; opacity: 1; }
    50% { width: 300px; opacity: 0.5; }
}

@keyframes rotate-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse-red {
    0%, 100% { 
        box-shadow: '0 0 0 0 rgba(255, 0, 0, 0.7), 0 0 20px rgba(255, 0, 0, 0.3)';
        transform: 'scale(1)';
    }
    50% { 
        box-shadow: '0 0 0 20px rgba(255, 0, 0, 0), 0 0 40px rgba(255, 0, 0, 0.8)';
        transform: 'scale(1.05)';
    }
}

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

::-webkit-scrollbar-track {
    background: rgba(10, 10, 10, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff0000, #990000);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff3333, #ff0000);
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {
    .service-card-enhanced {
        padding: 2rem 1.5rem;
    }
    
    .icon-enhanced {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }
    
    .btn-futuristic {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
    
    .floating-elements {
        display: none;
    }
    
    .language-switcher {
        top: 20px;
        right: 20px;
        padding: 8px 12px;
    }
    
    .flag-icon {
        width: 24px;
        height: 24px;
    }
    
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        transform: translateY(-100px);
        max-width: none;
    }
    
    .notification.show {
        transform: translateY(0);
    }
}

/* Performance Optimizations */
.service-card-enhanced,
.btn-futuristic,
.form-futuristic,
.language-switcher {
    will-change: transform, box-shadow;
}

.morphing-shape,
.floating-element,
.particle {
    will-change: transform, border-radius;
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    .scroll-animate,
    .service-card-enhanced,
    .btn-futuristic,
    .language-switcher,
    .particle {
        animation: none !important;
        transition: none !important;
    }
    
    .service-card-enhanced:hover,
    .btn-futuristic:hover,
    .language-switcher:hover {
        transform: none !important;
    }
}

.language-toggle:focus-visible {
    outline: 2px solid rgba(255, 0, 0, 0.8);
    outline-offset: 2px;
}

.btn-futuristic:focus-visible {
    outline: 2px solid rgba(255, 0, 0, 0.8);
    outline-offset: 4px;
}

@media (prefers-contrast: high) {
    .service-card-enhanced {
        border: 2px solid white;
    }
    
    .btn-futuristic {
        border: 2px solid white;
    }
    
    .language-switcher {
        border: 2px solid white;
    }
}
    
    .btn {
        border: 2px solid white;
    }
    
    .language-switcher {
        border: 2px solid white;
    }
