/* QuizlyTest - Modern 3D Landing Page Styles */

/* Anti-inspection CSS */
* {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

body {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

/* Disable text selection */
::selection {
    background: transparent !important;
}

::-moz-selection {
    background: transparent !important;
}

/* Hide from print */
@media print {
    * {
        display: none !important;
    }
}

:root {
    --primary-color: #0A3D91;
    --accent-color: #27D3B0;
    --primary-gradient: linear-gradient(45deg, #0A3D91, #1079C7, #27D3B0);
    --accent-gradient: linear-gradient(45deg, #27D3B0, #1079C7, #0A3D91);
    --hero-gradient: linear-gradient(45deg, #0A3D91 0%, #1079C7 25%, #27D3B0 50%, #1079C7 75%, #0A3D91 100%);
    --glass-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    --text-light: #ffffff;
    --text-dark: #2c3e50;
    --text-muted: rgba(255, 255, 255, 0.85);
    --shadow-soft: 0 20px 40px rgba(10, 61, 145, 0.15);
    --shadow-hover: 0 25px 50px rgba(10, 61, 145, 0.25);
    --shadow-glow: 0 0 40px rgba(39, 211, 176, 0.4);
    --shadow-intense: 0 0 60px rgba(39, 211, 176, 0.6);
    --border-radius: 25px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--hero-gradient);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    max-width: 500px;
    padding: 2rem;
}

.loading-logo-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 0 40px rgba(255, 255, 255, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    animation: loadingFloat 3s ease-in-out infinite;
}

.loading-logo {
    width: 90%;
    height: 90%;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 
        0 0 60px rgba(39, 211, 176, 0.6),
        0 0 120px rgba(39, 211, 176, 0.4),
        0 0 180px rgba(39, 211, 176, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(39, 211, 176, 0.6);
    animation: loadingRotate 4s linear infinite;
    filter: 
        drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3))
        brightness(1.1)
        contrast(1.2);
    background: rgba(255, 255, 255, 0.95);
    padding: 8px;
}

.loading-logo-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: var(--accent-gradient);
    border-radius: 50%;
    opacity: 0.2;
    animation: loadingGlow 2s ease-in-out infinite alternate;
    z-index: -1;
}

.loading-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.loading-particles::before,
.loading-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: loadingParticleOrbit 3s linear infinite;
    box-shadow: 0 0 8px rgba(39, 211, 176, 0.8);
}

.loading-particles::before {
    top: 20px;
    left: 20px;
    animation-delay: 0s;
}

.loading-particles::after {
    bottom: 20px;
    right: 20px;
    animation-delay: 1.5s;
}

.loading-text {
    color: var(--text-light);
}

.loading-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    animation: loadingTitleGlow 2s ease-in-out infinite alternate;
}

.loading-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.loading-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.loading-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.loading-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 3px;
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

.loading-fill::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: loadingShimmer 1.5s ease-in-out infinite;
}

.loading-percentage {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    min-width: 40px;
    text-align: right;
}

/* Loading Animations */
@keyframes loadingFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes loadingRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes loadingGlow {
    0% {
        opacity: 0.2;
        transform: scale(1);
    }
    100% {
        opacity: 0.4;
        transform: scale(1.1);
    }
}

@keyframes loadingParticleOrbit {
    0% {
        transform: rotate(0deg) translateX(70px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(70px) rotate(-360deg);
    }
}

@keyframes loadingTitleGlow {
    0% {
        filter: drop-shadow(0 0 10px rgba(39, 211, 176, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 20px rgba(39, 211, 176, 0.6));
    }
}

@keyframes loadingShimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(39, 211, 176, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(10, 61, 145, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 40% 60%, rgba(16, 121, 199, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { 
        background: 
            radial-gradient(circle at 20% 20%, rgba(39, 211, 176, 0.15) 0%, transparent 40%),
            radial-gradient(circle at 80% 80%, rgba(10, 61, 145, 0.2) 0%, transparent 40%),
            radial-gradient(circle at 40% 60%, rgba(16, 121, 199, 0.1) 0%, transparent 50%);
    }
    50% { 
        background: 
            radial-gradient(circle at 70% 30%, rgba(39, 211, 176, 0.15) 0%, transparent 40%),
            radial-gradient(circle at 30% 70%, rgba(10, 61, 145, 0.2) 0%, transparent 40%),
            radial-gradient(circle at 60% 40%, rgba(16, 121, 199, 0.1) 0%, transparent 50%);
    }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: transparent;
    overflow: hidden;
}

/* Floating Logo - Enhanced for Student Visibility */
.floating-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    pointer-events: none;
    animation: logoFloat 6s ease-in-out infinite;
}

.logo-wrapper {
    position: relative;
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 0 40px rgba(255, 255, 255, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.main-logo {
    width: 90%;
    height: 90%;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 
        0 0 80px rgba(39, 211, 176, 0.6),
        0 0 160px rgba(39, 211, 176, 0.4),
        0 0 240px rgba(39, 211, 176, 0.2),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
    border: 4px solid rgba(39, 211, 176, 0.6);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: logoRotate 25s linear infinite;
    filter: 
        drop-shadow(0 15px 40px rgba(0, 0, 0, 0.4))
        brightness(1.1)
        contrast(1.2);
    background: rgba(255, 255, 255, 0.95);
    padding: 10px;
}

.logo-glow {
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    background: var(--accent-gradient);
    border-radius: 50%;
    opacity: 0.2;
    animation: logoGlow 3s ease-in-out infinite alternate;
    z-index: -1;
}

.logo-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.logo-particles::before,
.logo-particles::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: particleOrbit 8s linear infinite;
    box-shadow: 0 0 10px rgba(39, 211, 176, 0.8);
}

.logo-particles::before {
    top: 30px;
    left: 30px;
    animation-delay: 0s;
}

.logo-particles::after {
    bottom: 30px;
    right: 30px;
    animation-delay: 4s;
}

/* Student-Friendly Logo Label */
.logo-label {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(39, 211, 176, 0.3);
    border: 1px solid rgba(39, 211, 176, 0.3);
    backdrop-filter: blur(10px);
    animation: labelPulse 2s ease-in-out infinite;
}

/* Logo Animations */
@keyframes logoFloat {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0px);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-20px);
    }
}

@keyframes logoRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes logoGlow {
    0% {
        opacity: 0.2;
        transform: scale(1);
    }
    100% {
        opacity: 0.4;
        transform: scale(1.15);
    }
}

@keyframes particleOrbit {
    0% {
        transform: rotate(0deg) translateX(100px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(100px) rotate(-360deg);
    }
}

@keyframes labelPulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.9;
    }
    50% {
        transform: translateX(-50%) scale(1.05);
        opacity: 1;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(39, 211, 176, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Content Wrapper */
.content-wrapper {
    padding: 3rem 2rem;
    background: var(--glass-gradient);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        var(--shadow-soft),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    z-index: 10;
    overflow: hidden;
    margin-top: 2rem;
}

.content-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.content-wrapper:hover::before {
    left: 100%;
}

.content-wrapper:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        var(--shadow-hover),
        var(--shadow-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(34, 186, 189, 0.3);
}

/* Enhanced Logo Interactions */
.floating-logo:hover .main-logo {
    transform: scale(1.15);
    box-shadow: 
        0 0 100px rgba(39, 211, 176, 0.8),
        0 0 200px rgba(39, 211, 176, 0.5),
        0 0 300px rgba(39, 211, 176, 0.3),
        inset 0 0 40px rgba(255, 255, 255, 0.3);
    border-color: rgba(39, 211, 176, 0.8);
    filter: 
        drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5))
        brightness(1.2)
        contrast(1.3);
}

.floating-logo:hover .logo-glow {
    opacity: 0.6;
    transform: scale(1.25);
}

.floating-logo:hover .logo-particles::before,
.floating-logo:hover .logo-particles::after {
    animation-duration: 3s;
    width: 8px;
    height: 8px;
    box-shadow: 0 0 15px rgba(39, 211, 176, 1);
}

.floating-logo:hover .logo-label {
    transform: translateX(-50%) scale(1.1);
    background: rgba(255, 255, 255, 1);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(39, 211, 176, 0.5);
}

/* Typography */
.headline {
    font-size: 4.5rem;
    font-weight: 800;
    text-align: center;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: white;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
    position: relative;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        filter: drop-shadow(0 0 20px rgba(34, 186, 189, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 30px rgba(34, 186, 189, 0.5));
    }
}

.subheadline {
    font-size: 1.6rem;
    font-weight: 400;
    text-align: center;
    color: var(--text-light);
    opacity: 0.95;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.description {
    font-size: 1.15rem;
    text-align: center;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* CTA Button */
.cta-container {
    text-align: center;
    position: relative;
}

.cta-button {
    background: var(--accent-gradient);
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 60px;
    color: var(--text-light);
    box-shadow: 
        var(--shadow-soft),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.cta-button::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;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: linear-gradient(135deg, #1ea8a8 0%, #1a9a9a 50%, #17a2b8 100%);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        var(--shadow-glow),
        var(--shadow-intense),
        0 0 0 1px rgba(34, 186, 189, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: var(--text-light);
}

.cta-button:active {
    transform: translateY(-2px) scale(1.02);
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 3rem;
}

/* Features Section */
.features-section {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.feature-card {
    background: var(--glass-gradient);
    backdrop-filter: blur(15px);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        var(--shadow-soft),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.03);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.12) 100%);
    box-shadow: 
        var(--shadow-hover),
        var(--shadow-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(34, 186, 189, 0.3);
}

.feature-icon-wrapper {
    width: 90px;
    height: 90px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 
        var(--shadow-soft),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.feature-icon-wrapper:hover::before {
    opacity: 1;
}

.feature-icon-wrapper:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        var(--shadow-glow),
        0 0 0 1px rgba(34, 186, 189, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.feature-icon {
    font-size: 2.2rem;
    color: var(--text-light);
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Countdown Section */
.countdown-section {
    background: rgba(34, 186, 189, 0.05);
}

.countdown-container {
    text-align: center;
    margin: 2rem 0;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.time-unit {
    background: var(--glass-gradient);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 1.8rem 1.2rem;
    min-width: 110px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        var(--shadow-soft),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.time-unit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.time-unit::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.time-unit:hover::before {
    left: 100%;
}

.time-unit:hover::after {
    opacity: 0.08;
}

.time-unit:hover {
    transform: translateY(-8px) scale(1.05);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.2) 100%);
    box-shadow: 
        var(--shadow-glow),
        var(--shadow-intense),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(34, 186, 189, 0.4);
}

.time-value {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(34, 186, 189, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(34, 186, 189, 0.3));
    }
    50% { 
        transform: scale(1.05);
        filter: drop-shadow(0 0 20px rgba(34, 186, 189, 0.5));
    }
}

.time-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Signup Section */
.signup-section {
    background: rgba(255, 255, 255, 0.02);
}

.signup-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-soft);
}

.email-form .input-group {
    border-radius: 50px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    margin-bottom: 1rem;
}

.email-form .form-control {
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border-radius: 50px 0 0 50px;
    transition: var(--transition);
}

.email-form .form-control:focus {
    box-shadow: none;
    background: rgba(255, 255, 255, 1);
    border-color: var(--accent-color);
}

.email-form .btn {
    background: var(--accent-gradient);
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 600;
    border-radius: 0 50px 50px 0;
    transition: var(--transition);
    color: var(--text-light);
}

.email-form .btn:hover {
    background: linear-gradient(135deg, #1ea8a8 0%, #1a9a9a 100%);
    transform: translateX(-2px);
    color: var(--text-light);
}

.form-feedback {
    text-align: center;
    font-size: 0.9rem;
    min-height: 1.5rem;
    font-weight: 500;
}

.form-feedback.success {
    color: #28a745;
}

.form-feedback.error {
    color: #dc3545;
}

.privacy-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* Footer Section */
.footer-section {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: var(--accent-color);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* Enhanced 3D Scene Container */
.scene-container {
    position: relative;
    height: 500px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--glass-gradient);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        var(--shadow-soft),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    cursor: pointer;
}

.scene-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-gradient);
    opacity: 0.03;
    z-index: -1;
}

.scene-container:hover {
    transform: translateY(-5px);
    box-shadow: 
        var(--shadow-hover),
        var(--shadow-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(34, 186, 189, 0.3);
}

/* Scene Controls */
.scene-controls {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    z-index: 10;
    opacity: 0;
    transition: var(--transition);
}

.scene-container:hover .scene-controls {
    opacity: 1;
}

.scene-control-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.scene-control-btn:hover {
    background: var(--accent-color);
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
    border-color: rgba(34, 186, 189, 0.4);
}

.scene-control-btn:active {
    transform: scale(0.95);
}

/* Scene Info Overlay */
.scene-info {
    position: absolute;
    bottom: 15px;
    left: 15px;
    z-index: 10;
    opacity: 0;
    transition: var(--transition);
}

.scene-container:hover .scene-info {
    opacity: 1;
}

.scene-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 12px 16px;
    text-align: center;
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Enhanced Canvas */
#threeCanvas {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: var(--border-radius);
    cursor: grab;
}

#threeCanvas:active {
    cursor: grabbing;
}

/* Enhanced Fallback */
.scene-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-gradient);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    z-index: 5;
}

.fallback-content {
    text-align: center;
    padding: 2rem;
}

.fallback-animation {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 2rem;
}

.quiz-card-fallback {
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quiz-card-fallback:nth-child(2) {
    animation-delay: 0.5s;
}

.quiz-card-fallback:nth-child(3) {
    animation-delay: 1s;
}

.fallback-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fallback-description {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 300px;
    margin: 0 auto;
}

/* Loading Indicator */
.scene-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--glass-gradient);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    z-index: 15;
    transition: opacity 0.5s ease;
}

.scene-loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(39, 211, 176, 0.3);
    border-top: 4px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.loading-text {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    opacity: 0.9;
}

/* Interactive Effects */
.scene-container.interactive {
    cursor: pointer;
}

.scene-container.interactive:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Pulse Effect for Active Elements */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 
            var(--shadow-soft),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            0 0 0 1px rgba(255, 255, 255, 0.05);
    }
    50% {
        box-shadow: 
            var(--shadow-glow),
            var(--shadow-intense),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            0 0 0 1px rgba(34, 186, 189, 0.3);
    }
}

.scene-container.pulse {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Enhanced Animations */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    25% { 
        transform: translateY(-15px) rotate(2deg); 
    }
    50% { 
        transform: translateY(-25px) rotate(0deg); 
    }
    75% { 
        transform: translateY(-15px) rotate(-2deg); 
    }
}

@keyframes shimmer-effect {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.scene-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.8s ease;
    pointer-events: none;
}

.scene-container:hover::after {
    left: 100%;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes glow {
    0% {
        filter: drop-shadow(0 0 10px rgba(34, 186, 189, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 30px rgba(34, 186, 189, 0.6));
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.slide-in-left {
    animation: slideInLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.scale-in {
    animation: scaleIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Enhanced Responsive Design */

/* Large Tablets and Small Desktops */
@media (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
    
    .headline {
        font-size: 3.5rem;
    }
    
    .subheadline {
        font-size: 1.3rem;
    }
    
    .floating-logo {
        top: 40%;
        transform: translate(-50%, -50%) scale(0.95);
    }
    
    .logo-wrapper {
        width: 240px;
        height: 240px;
    }
}

/* Tablets */
@media (max-width: 991.98px) {
    .loading-logo-wrapper {
        width: 180px;
        height: 180px;
    }
    
    .loading-title {
        font-size: 2rem;
    }
    
    .loading-subtitle {
        font-size: 1rem;
    }
    
    .floating-logo {
        top: 35%;
        transform: translate(-50%, -50%) scale(0.9);
    }
    
    .logo-wrapper {
        width: 220px;
        height: 220px;
    }
    
    .logo-label {
        font-size: 0.8rem;
        padding: 6px 12px;
        bottom: -35px;
    }
    
    .headline {
        font-size: 3rem;
    }
    
    .subheadline {
        font-size: 1.2rem;
    }
    
    .content-wrapper {
        margin-bottom: 2rem;
        padding: 2rem 1.5rem;
        margin-top: 1rem;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .feature-card {
        margin-bottom: 1.5rem;
    }
    
    .scene-container {
        height: 400px;
        margin-bottom: 2rem;
    }
    
    .scene-controls {
        top: 10px;
        right: 10px;
        gap: 6px;
    }
    
    .scene-control-btn {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .scene-info {
        bottom: 10px;
        left: 10px;
    }
    
    .scene-stats {
        gap: 15px;
    }
    
    .stat-item {
        padding: 10px 12px;
    }
    
    .stat-value {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .fallback-animation {
        gap: 15px;
    }
    
    .quiz-card-fallback {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .countdown-timer {
        gap: 1rem;
    }
    
    .time-unit {
        min-width: 80px;
        padding: 1rem;
    }
    
    .time-value {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Mobile Devices */
@media (max-width: 767.98px) {
    .loading-logo-wrapper {
        width: 150px;
        height: 150px;
    }
    
    .loading-title {
        font-size: 1.8rem;
    }
    
    .loading-subtitle {
        font-size: 0.9rem;
    }
    
    .loading-progress {
        gap: 0.5rem;
    }
    
    .loading-bar {
        height: 4px;
    }
    
    .floating-logo {
        top: 30%;
        transform: translate(-50%, -50%) scale(0.7);
    }
    
    .logo-wrapper {
        width: 180px;
        height: 180px;
    }
    
    .logo-label {
        font-size: 0.7rem;
        padding: 5px 10px;
        bottom: -30px;
    }
    
    .headline {
        font-size: 2.5rem;
    }
    
    .subheadline {
        font-size: 1.1rem;
    }
    
    .description {
        font-size: 1rem;
    }
    
    .content-wrapper {
        padding: 1.5rem;
        margin-top: 0.5rem;
    }
    
    .hero-section {
        padding: 1rem 0;
        min-height: 90vh;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon {
        font-size: 1.8rem;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
    }
    
    .scene-container {
        height: 300px;
    }
    
    .scene-controls {
        top: 8px;
        right: 8px;
        gap: 4px;
    }
    
    .scene-control-btn {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }
    
    .scene-info {
        bottom: 8px;
        left: 8px;
    }
    
    .scene-stats {
        gap: 10px;
    }
    
    .stat-item {
        padding: 8px 10px;
    }
    
    .stat-value {
        font-size: 1.1rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
    }
    
    .fallback-animation {
        gap: 10px;
    }
    
    .quiz-card-fallback {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .fallback-title {
        font-size: 1.2rem;
    }
    
    .fallback-description {
        font-size: 0.9rem;
    }
    
    .countdown-timer {
        gap: 0.5rem;
    }
    
    .time-unit {
        min-width: 70px;
        padding: 0.75rem;
    }
    
    .time-value {
        font-size: 1.5rem;
    }
    
    .time-label {
        font-size: 0.8rem;
    }
    
    .signup-container {
        padding: 2rem 1.5rem;
    }
    
    .email-form .form-control {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .email-form .btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 575.98px) {
    .loading-logo-wrapper {
        width: 120px;
        height: 120px;
    }
    
    .loading-title {
        font-size: 1.5rem;
    }
    
    .loading-subtitle {
        font-size: 0.8rem;
    }
    
    .loading-progress {
        gap: 0.25rem;
    }
    
    .loading-bar {
        height: 3px;
    }
    
    .loading-percentage {
        font-size: 0.8rem;
        min-width: 35px;
    }
    
    .floating-logo {
        top: 25%;
        transform: translate(-50%, -50%) scale(0.6);
    }
    
    .logo-wrapper {
        width: 150px;
        height: 150px;
    }
    
    .logo-label {
        font-size: 0.6rem;
        padding: 4px 8px;
        bottom: -25px;
    }
    
    .headline {
        font-size: 2rem;
    }
    
    .subheadline {
        font-size: 1rem;
    }
    
    .description {
        font-size: 0.9rem;
    }
    
    .content-wrapper {
        padding: 1rem;
        margin-top: 0;
    }
    
    .hero-section {
        padding: 0.5rem 0;
        min-height: 85vh;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .feature-card {
        padding: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon {
        font-size: 1.5rem;
    }
    
    .feature-title {
        font-size: 1rem;
    }
    
    .feature-description {
        font-size: 0.8rem;
    }
    
    .scene-container {
        height: 250px;
    }
    
    .scene-controls {
        top: 5px;
        right: 5px;
        gap: 2px;
    }
    
    .scene-control-btn {
        width: 25px;
        height: 25px;
        font-size: 0.6rem;
    }
    
    .scene-info {
        bottom: 5px;
        left: 5px;
    }
    
    .scene-stats {
        gap: 5px;
    }
    
    .stat-item {
        padding: 6px 8px;
    }
    
    .stat-value {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.5rem;
    }
    
    .fallback-animation {
        gap: 5px;
    }
    
    .quiz-card-fallback {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .fallback-title {
        font-size: 1rem;
    }
    
    .fallback-description {
        font-size: 0.8rem;
    }
    
    .countdown-timer {
        gap: 0.25rem;
    }
    
    .time-unit {
        min-width: 60px;
        padding: 0.5rem;
    }
    
    .time-value {
        font-size: 1.2rem;
    }
    
    .time-label {
        font-size: 0.7rem;
    }
    
    .signup-container {
        padding: 1.5rem 1rem;
    }
    
    .email-form .form-control {
        padding: 0.7rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .email-form .btn {
        padding: 0.7rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .social-links {
        gap: 0.5rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
}

/* Extra Small Devices */
@media (max-width: 375px) {
    .loading-logo-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .loading-title {
        font-size: 1.3rem;
    }
    
    .loading-subtitle {
        font-size: 0.7rem;
    }
    
    .floating-logo {
        top: 20%;
        transform: translate(-50%, -50%) scale(0.5);
    }
    
    .logo-wrapper {
        width: 120px;
        height: 120px;
    }
    
    .headline {
        font-size: 1.8rem;
    }
    
    .subheadline {
        font-size: 0.9rem;
    }
    
    .content-wrapper {
        padding: 0.8rem;
    }
    
    .hero-section {
        min-height: 80vh;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .feature-card {
        padding: 0.8rem;
    }
    
    .feature-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon {
        font-size: 1.2rem;
    }
    
    .scene-container {
        height: 200px;
    }
    
    .countdown-timer {
        gap: 0.1rem;
    }
    
    .time-unit {
        min-width: 50px;
        padding: 0.4rem;
    }
    
    .time-value {
        font-size: 1rem;
    }
    
    .time-label {
        font-size: 0.6rem;
    }
}

/* Landscape Orientation for Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding: 0.5rem 0;
    }
    
    .floating-logo {
        top: 20%;
        transform: translate(-50%, -50%) scale(0.6);
    }
    
    .content-wrapper {
        padding: 1rem;
        margin-top: 0;
    }
    
    .headline {
        font-size: 2rem;
    }
    
    .subheadline {
        font-size: 1rem;
    }
    
    .description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .scene-container {
        height: 200px;
    }
    
    .loading-logo-wrapper {
        width: 120px;
        height: 120px;
    }
    
    .loading-title {
        font-size: 1.5rem;
    }
    
    .loading-subtitle {
        font-size: 0.8rem;
    }
}

/* Large Screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .headline {
        font-size: 5rem;
    }
    
    .subheadline {
        font-size: 1.8rem;
    }
    
    .floating-logo {
        top: 50%;
        transform: translate(-50%, -50%) scale(1.1);
    }
    
    .logo-wrapper {
        width: 280px;
        height: 280px;
    }
    
    .logo-label {
        font-size: 1rem;
        padding: 10px 20px;
        bottom: -50px;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .section-subtitle {
        font-size: 1.3rem;
    }
    
    .feature-card {
        padding: 3rem 2.5rem;
    }
    
    .feature-icon-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .scene-container {
        height: 600px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .scene-control-btn {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    
    .social-link {
        width: 48px;
        height: 48px;
    }
    
    .cta-button {
        padding: 1.2rem 2.5rem;
        font-size: 1.1rem;
    }
    
    .email-form .form-control,
    .email-form .btn {
        padding: 1rem 1.2rem;
        font-size: 1rem;
    }
    
    .time-unit {
        min-width: 80px;
        padding: 1rem;
    }
    
    .stat-item {
        padding: 12px 16px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .main-logo,
    .loading-logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Performance Mode for Low-End Devices */
.performance-mode .floating-logo {
    animation: none;
}

.performance-mode .main-logo {
    animation: none;
}

.performance-mode .logo-glow {
    animation: none;
}

.performance-mode .logo-particles::before,
.performance-mode .logo-particles::after {
    animation: none;
}

.performance-mode .loading-logo {
    animation: loadingRotate 8s linear infinite;
}

.performance-mode .loading-logo-glow {
    animation: none;
}

.performance-mode .loading-particles::before,
.performance-mode .loading-particles::after {
    animation: none;
}

.performance-mode .loading-fill::after {
    animation: none;
}

.performance-mode .time-value {
    animation: none;
}

.performance-mode .feature-card:hover {
    transform: none;
}

.performance-mode .scene-container:hover {
    transform: none;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.form-control:focus,
.btn:focus,
.social-link:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1079C7;
}

/* Loading States */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(39, 211, 176, 0.3);
    border-top: 3px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}