/**
 * SDO Shift Luxury Registration - BMW/Mercedes Automotive Experience
 * High-performance registration forms with luxury automotive styling
 */

/* Luxury Automotive Variables */
:root {
    /* BMW/Mercedes Color Palette */
    --luxury-primary: #0a0a0a;
    --luxury-secondary: #1a1a1a;
    --luxury-accent: #4f7cfe;
    --luxury-gold: #d4af37;
    --luxury-silver: #c0c0c0;
    --luxury-white: #ffffff;
    --luxury-gray: #6c757d;
    
    /* Luxury Gradients */
    --luxury-bg-gradient: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 25%, #2c3e50 50%, #1e293b 75%, #0f172a 100%);
    --luxury-card-gradient: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    --luxury-accent-gradient: linear-gradient(135deg, #4f7cfe 0%, #3b82f6 100%);
    --luxury-gold-gradient: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
    
    /* Luxury Shadows */
    --luxury-shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.1);
    --luxury-shadow-md: 0 8px 32px rgba(0, 0, 0, 0.12);
    --luxury-shadow-lg: 0 25px 80px rgba(0, 0, 0, 0.15);
    --luxury-shadow-xl: 0 35px 100px rgba(0, 0, 0, 0.2);
    
    /* Luxury Transitions */
    --luxury-transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --luxury-transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --luxury-transition-slow: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    --luxury-transition-bounce: 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* Luxury Spacing - Boxy Design */
    --luxury-border-radius: 0.25rem;
    --luxury-border-radius-lg: 0.25rem;
    --luxury-border-radius-xl: 0.25rem;
}

/* Global Luxury Body Styling */
body.luxury-registration {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--luxury-bg-gradient);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: var(--luxury-white);
    line-height: 1.6;
}

/* Header Logo Styles - Match Main Page */
.navbar-brand {
    display: flex !important;
    align-items: center !important;
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0.5rem 1rem !important;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
    animation: headerLogoSpin 2s ease-out;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-brand:hover {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.navbar-brand::before,
.navbar-brand::after {
    display: none !important;
}

.navbar-brand:focus,
.navbar-brand:active {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Override any Bootstrap button/link styling on navbar-brand */
a.navbar-brand,
a.navbar-brand:hover,
a.navbar-brand:focus,
a.navbar-brand:active,
a.navbar-brand:visited {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

/* Ensure no theme overrides create background boxes */
.navbar-brand[class*="btn"],
.navbar-brand.btn,
.navbar-brand.btn-primary,
.navbar-brand.btn-secondary {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Brand Text Styling - Luxury Automotive sDo<i>SHIFT</i> */
.brand-text {
    font-weight: 600;
    font-size: 14px !important;
    color: white;
    text-decoration: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Luxury Brand Text Structure */
.brand-text .brand-sdo {
    font-weight: 300;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: none;
    position: relative;
    z-index: 2;
}

.brand-text .brand-shift {
    font-weight: 800;
    font-size: 14px;
    font-style: italic;
    color: #4FACFE;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #4FACFE 0%, #00F2FE 50%, #4FACFE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(79, 172, 254, 0.4));
    animation: luxuryShiftGlow 3s ease-in-out infinite alternate;
}

/* BMW-Style Ambient Glow Behind Text */
.brand-text::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -4px;
    right: -4px;
    bottom: -2px;
    background: radial-gradient(
        ellipse at center,
        rgba(79, 172, 254, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 30%,
        transparent 70%
    );
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

/* Mercedes-Style Precision Line */
.brand-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #4FACFE 50%, transparent 100%);
    transition: width 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 3;
}

/* Bugatti-Level Hover Effects */
.navbar-brand:hover .brand-text::before {
    opacity: 1;
    animation: luxuryAmbientPulse 2s ease-in-out infinite;
}

.navbar-brand:hover .brand-text::after {
    width: 100%;
}

.navbar-brand:hover .brand-text .brand-shift {
    animation: luxuryShiftIntensify 1.5s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 12px rgba(79, 172, 254, 0.6)) drop-shadow(0 0 20px rgba(79, 172, 254, 0.3));
}

.navbar-brand:hover .brand-text {
    transform: translateY(-1px);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4), 0 0 25px rgba(79, 172, 254, 0.2);
}

/* Luxury Animations */
@keyframes luxuryShiftGlow {
    0% {
        filter: drop-shadow(0 0 8px rgba(79, 172, 254, 0.4));
        background-position: 0% 50%;
    }
    50% {
        filter: drop-shadow(0 0 12px rgba(79, 172, 254, 0.6));
        background-position: 100% 50%;
    }
    100% {
        filter: drop-shadow(0 0 8px rgba(79, 172, 254, 0.4));
        background-position: 0% 50%;
    }
}

@keyframes luxuryShiftIntensify {
    0% {
        letter-spacing: 1px;
        transform: scale(1);
    }
    100% {
        letter-spacing: 1.5px;
        transform: scale(1.02);
    }
}

@keyframes luxuryAmbientPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

/* Luxury Click Ripple Effect */
@keyframes luxuryRipple {
    0% {
        transform: scale(0);
        opacity: 0.8;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes headerLogoSpin {
    0% {
        transform: rotate(0deg) scale(0.8);
        opacity: 0;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        transform: rotate(360deg) scale(1);
        opacity: 1;
    }
}

/* Eliminate white line under header - Fix for both main page and registration */
.navbar {
    border-bottom: none !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
}

/* Target the specific Bootstrap navbar classes */
.navbar-dark.bg-primary {
    border-bottom: none !important;
    box-shadow: none !important;
}

.navbar-toggleable-sm {
    border-bottom: none !important;
    box-shadow: none !important;
}

.navbar::after {
    display: none !important;
}

/* Remove any potential white borders or lines */
header {
    border-bottom: none !important;
    box-shadow: none !important;
}

header::after {
    display: none !important;
}

/* Bootstrap navbar overrides */
.navbar-nav {
    border-bottom: none !important;
}

.navbar-toggler {
    border: none !important;
}

.navbar-light {
    border-bottom: none !important;
    box-shadow: none !important;
}

/* Remove any container borders that might create white lines */
.container,
.container-fluid {
    border: none !important;
    box-shadow: none !important;
}

/* Ensure main content area has no top border */
main {
    border-top: none !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Remove any potential white line from body or html */
html,
body {
    border: none !important;
    outline: none !important;
}

/* Responsive Header Logo */
@media (max-width: 768px) {
    .navbar-brand img {
        height: 32px;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 28px;
    }
}

/* Luxury Automotive Container */
.luxury-registration-container {
    position: relative;
    min-height: 100vh;
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
    background: 
        radial-gradient(ellipse at top, rgba(79, 172, 254, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
        var(--luxury-bg-gradient);
}

/* Luxury Ambient Lighting */
.luxury-registration-container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(79, 172, 254, 0.8) 20%,
        rgba(212, 175, 55, 1) 50%,
        rgba(79, 172, 254, 0.8) 80%,
        transparent 100%
    );
    animation: luxuryTopLight 10s ease-in-out infinite;
    z-index: 1001;
}

.luxury-registration-container::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(79, 172, 254, 0.6) 30%,
        rgba(212, 175, 55, 0.8) 50%,
        rgba(79, 172, 254, 0.6) 70%,
        transparent 100%
    );
    animation: luxuryBottomLight 10s ease-in-out infinite reverse;
    z-index: 1001;
}

/* Luxury Hero Section */
/* Bugatti Tron Interior Hero Section */
.luxury-registration-hero {
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(79, 172, 254, 0.15) 0%, transparent 40%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 242, 254, 0.12) 0%, transparent 35%),
        radial-gradient(ellipse at 50% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
        linear-gradient(135deg, #000000 0%, #0a0a0a 25%, #1a1a2e 50%, #16213e 75%, #0f172a 100%);
    color: var(--luxury-white);
    padding: 8rem 0 6rem;
    min-height: 70vh;
    position: relative;
    overflow: hidden;
    text-align: center;
    border-bottom: 2px solid rgba(79, 172, 254, 0.3);
    box-shadow: 
        inset 0 0 100px rgba(79, 172, 254, 0.1),
        inset 0 0 200px rgba(0, 242, 254, 0.05),
        0 20px 60px rgba(0, 0, 0, 0.8);
}

/* Simplified Grid Pattern */
.luxury-registration-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(79, 172, 254, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 172, 254, 0.05) 1px, transparent 1px);
    background-size: 50px 50px, 50px 50px;
    opacity: 0.6;
    z-index: 1;
}

/* Simplified Light Strips */
.luxury-registration-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(0deg, transparent 0%, rgba(79, 172, 254, 0.1) 2%, transparent 4%),
        linear-gradient(0deg, transparent 96%, rgba(0, 242, 254, 0.1) 98%, transparent 100%);
    opacity: 0.5;
    z-index: 2;
}

/* Bugatti Tron Hero Content - Direct Integration */
.luxury-hero-content {
    position: relative;
    z-index: 10;
    padding: 2rem;
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}

/* Simplified Logo */
.luxury-hero-logo {
    width: 180px;
    height: auto;
    margin-bottom: 3rem;
    position: relative;
    cursor: pointer;
    filter: 
        drop-shadow(0 0 15px rgba(79, 172, 254, 0.4))
        drop-shadow(0 8px 32px rgba(0, 0, 0, 0.3));
    transition: filter 0.3s ease;
}

.luxury-hero-logo:hover {
    filter: 
        drop-shadow(0 0 20px rgba(79, 172, 254, 0.6))
        drop-shadow(0 8px 32px rgba(0, 0, 0, 0.4));
}

/* Holographic Projection Base */
.luxury-hero-logo::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: 
        radial-gradient(circle at center, 
            rgba(79, 172, 254, 0.2) 0%,
            rgba(0, 242, 254, 0.15) 30%,
            rgba(212, 175, 55, 0.1) 60%,
            transparent 80%
        ),
        conic-gradient(from 0deg, 
            rgba(79, 172, 254, 0.3) 0deg,
            rgba(0, 242, 254, 0.4) 90deg,
            rgba(212, 175, 55, 0.3) 180deg,
            rgba(79, 172, 254, 0.4) 270deg,
            rgba(79, 172, 254, 0.3) 360deg
        );
    border-radius: 50%;
    animation: holographicProjectionBase 8s linear infinite;
    z-index: -1;
    opacity: 0.7;
    will-change: transform, opacity;
}

/* Particle System Around Logo */
.luxury-hero-logo::after {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(79, 172, 254, 0.8) 2px, transparent 2px),
        radial-gradient(circle at 80% 20%, rgba(0, 242, 254, 0.6) 1px, transparent 1px),
        radial-gradient(circle at 30% 80%, rgba(212, 175, 55, 0.7) 1.5px, transparent 1.5px),
        radial-gradient(circle at 70% 70%, rgba(79, 172, 254, 0.5) 1px, transparent 1px),
        radial-gradient(circle at 10% 60%, rgba(0, 242, 254, 0.4) 1px, transparent 1px),
        radial-gradient(circle at 90% 40%, rgba(212, 175, 55, 0.6) 1px, transparent 1px);
    background-size: 60px 60px, 80px 80px, 70px 70px, 90px 90px, 50px 50px, 100px 100px;
    animation: logoParticleSystem 12s ease-in-out infinite;
    z-index: -2;
    opacity: 0.8;
    will-change: background-position, opacity;
}

/* Holographic Scan Lines */
.luxury-hero-logo-container {
    position: relative;
}

.luxury-hero-logo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 2px,
            rgba(79, 172, 254, 0.1) 2px,
            rgba(79, 172, 254, 0.1) 4px
        );
    animation: holographicScanLines 3s linear infinite;
    z-index: 10;
    pointer-events: none;
    opacity: 0.6;
}

/* Data Stream Effect - Disabled to fix blue line bug */
.luxury-hero-logo-container::after {
    display: none;
}

/* Optimized Tron-Style Title */
.luxury-hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 2rem;
    background: 
        linear-gradient(135deg, 
            #ffffff 0%, 
            #4facfe 25%, 
            #00f2fe 50%, 
            #d4af37 75%, 
            #ffffff 100%
        );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 
        0 0 20px rgba(79, 172, 254, 0.3),
        0 0 40px rgba(0, 242, 254, 0.2),
        0 8px 32px rgba(0, 0, 0, 0.8);
    animation: tronTitleFlow 10s ease-in-out infinite;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    will-change: background-position;
}

.luxury-hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #4facfe 50%, transparent 100%);
    animation: tronUnderline 8s ease-in-out infinite;
    will-change: width, opacity;
}

/* Optimized Holographic Subtitle */
.luxury-hero-subtitle {
    font-size: 1.6rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 
        0 0 15px rgba(79, 172, 254, 0.2),
        0 4px 16px rgba(0, 0, 0, 0.6);
    animation: holographicText 12s ease-in-out infinite;
    letter-spacing: 1px;
    line-height: 1.6;
    will-change: text-shadow, opacity;
}

/* Clickable Hero Section */
.clickable-hero {
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.clickable-hero:hover {
    transform: scale(1.01);
    filter: brightness(1.05);
}

/* Hero Scroll Hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: rgba(0, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Courier New', 'Monaco', 'Menlo', 'Consolas', monospace;
    text-shadow: 
        0 0 10px rgba(0, 255, 255, 0.8),
        0 0 20px rgba(0, 255, 255, 0.4),
        0 0 30px rgba(0, 255, 255, 0.2);
    animation: cyberpunkGlow 2s ease-in-out infinite alternate;
    position: relative;
}

.scroll-indicator i {
    font-size: 1.5rem;
    color: rgba(79, 172, 254, 0.8);
    animation: scrollChevron 2s ease-in-out infinite;
}

@keyframes scrollHintPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

@keyframes scrollChevron {
    0%, 100% { 
        transform: translateY(0px);
        color: rgba(79, 172, 254, 0.8);
    }
    50% { 
        transform: translateY(5px);
        color: rgba(0, 242, 254, 1);
    }
}

/* Luxury Progress Steps - Fixed Overlapping */
.luxury-progress-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem 0 4rem 0;
    position: relative;
    z-index: 100;
    padding: 2rem 0;
}

.luxury-progress-step {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--luxury-white);
    position: relative;
    transition: all var(--luxury-transition-slow);
    cursor: pointer;
}

.luxury-progress-step.active {
    background: linear-gradient(135deg, rgba(47, 133, 90, 1) 0%, rgba(47, 133, 90, 0.9) 100%);
    border-color: rgba(47, 133, 90, 1);
    box-shadow: 
        0 0 20px rgba(47, 133, 90, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
    animation: luxuryGentlePulse 3s ease-in-out infinite;
}

.luxury-progress-step.completed {
    background: linear-gradient(135deg, rgba(27, 38, 59, 1) 0%, rgba(27, 38, 59, 0.9) 100%);
    border-color: rgba(27, 38, 59, 1);
    box-shadow: 
        0 0 30px rgba(27, 38, 59, 0.4),
        0 8px 32px rgba(0, 0, 0, 0.2);
}

.luxury-progress-step .step-icon {
    font-size: 1.5rem;
}

.luxury-progress-label {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    transition: color var(--luxury-transition-normal);
    z-index: 101;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}

.luxury-progress-step.active .luxury-progress-label,
.luxury-progress-step.completed .luxury-progress-label {
    color: var(--luxury-white);
    font-weight: 600;
}

.luxury-progress-connector {
    width: 100px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    margin: 0 1rem;
    overflow: hidden;
}

.luxury-progress-connector.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--luxury-accent-gradient);
    animation: luxuryProgressFlow 2s ease-in-out infinite;
}

/* Premium Automotive Form Interface */
.luxury-form-card {
    background: transparent;
    border: none;
    border-radius: 2rem;
    padding: 0;
    margin: 3rem auto;
    max-width: 750px;
    position: relative;
    z-index: 10;
    animation: premiumFormEntrance 1.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    transform-style: preserve-3d;
}

/* SDO Shift Corporate Frame - Forest Green Highlights */
.luxury-form-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: 
        linear-gradient(45deg, 
            rgba(47, 133, 90, 0.6) 0%,
            rgba(91, 33, 182, 0.4) 25%,
            rgba(47, 133, 90, 0.8) 50%,
            rgba(91, 33, 182, 0.4) 75%,
            rgba(47, 133, 90, 0.6) 100%
        );
    border-radius: 1rem;
    z-index: -2;
    animation: corporateGlow 6s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(47, 133, 90, 0.3));
}

/* SDO Shift Corporate Interior - Off-White Background */
.luxury-form-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top, rgba(243, 244, 246, 0.98) 0%, rgba(243, 244, 246, 0.99) 100%),
        linear-gradient(135deg, 
            rgba(243, 244, 246, 0.95) 0%,
            rgba(243, 244, 246, 0.98) 25%,
            rgba(243, 244, 246, 0.99) 50%,
            rgba(243, 244, 246, 0.98) 75%,
            rgba(243, 244, 246, 0.95) 100%
        );
    border-radius: 1rem;
    z-index: -1;
    box-shadow: 
        inset 0 1px 0 rgba(107, 114, 128, 0.1),
        inset 0 -1px 0 rgba(107, 114, 128, 0.1),
        0 10px 40px rgba(107, 114, 128, 0.15);
}

/* SDO Shift Corporate Content Area */
.luxury-form-card .card-content {
    position: relative;
    z-index: 2;
    padding: 3rem 3rem;
    background: transparent;
    border-radius: 0.8rem;
    border: 1px solid rgba(107, 114, 128, 0.2);
    box-shadow: 
        inset 0 1px 0 rgba(243, 244, 246, 0.8),
        0 2px 10px rgba(107, 114, 128, 0.1);
}

/* Luxury Form Styling */
.luxury-form-group {
    margin-bottom: 2rem;
    position: relative;
}

.luxury-form-group.floating-label {
    position: relative;
}

.luxury-form-control {
    width: 100%;
    padding: 1.5rem 1.75rem;
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(27, 38, 59, 0.9);
    background: rgba(243, 244, 246, 0.9);
    border: 2px solid rgba(107, 114, 128, 0.3);
    border-radius: var(--luxury-border-radius);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    box-shadow: 
        inset 0 1px 2px rgba(107, 114, 128, 0.1),
        0 2px 8px rgba(107, 114, 128, 0.1);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    min-height: 60px;
}

/* SDO Shift Corporate Field Glow */
.luxury-form-control::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: 
        linear-gradient(45deg, 
            transparent 0%,
            rgba(47, 133, 90, 0.2) 25%,
            rgba(91, 33, 182, 0.1) 50%,
            rgba(47, 133, 90, 0.2) 75%,
            transparent 100%
        );
    border-radius: 0.6rem;
    opacity: 0;
    transition: opacity var(--luxury-transition-slow);
    pointer-events: none;
    z-index: -1;
}

/* SDO Shift Corporate Status Indicator */
.luxury-form-control::after {
    content: '';
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 6px;
    height: 6px;
    background: rgba(47, 133, 90, 0.8);
    border-radius: 50%;
    opacity: 0;
    transition: all var(--luxury-transition-slow);
    pointer-events: none;
}

.luxury-form-control::placeholder {
    color: rgba(107, 114, 128, 0.6);
    font-weight: 300;
}

.luxury-form-control:focus {
    outline: none;
    border-color: rgba(47, 133, 90, 0.8);
    box-shadow: 
        0 0 0 3px rgba(47, 133, 90, 0.1),
        0 4px 12px rgba(47, 133, 90, 0.15),
        inset 0 1px 2px rgba(107, 114, 128, 0.1);
    background: rgba(243, 244, 246, 1) !important;
    color: rgba(27, 38, 59, 1) !important;
    transform: translateY(-1px);
}

/* Activate SDO Shift effects on focus */
.luxury-form-control:focus::before {
    opacity: 1;
    animation: sdoShiftGlow 3s ease-in-out infinite;
}

.luxury-form-control:focus::after {
    opacity: 1;
    animation: sdoShiftIndicatorPulse 2s ease-in-out infinite;
}

.luxury-form-control:hover:not(:focus) {
    border-color: rgba(91, 33, 182, 0.6);
    box-shadow: 
        0 0 0 2px rgba(91, 33, 182, 0.1),
        0 3px 10px rgba(91, 33, 182, 0.15),
        inset 0 1px 2px rgba(107, 114, 128, 0.1);
    transform: translateY(-1px);
}

.luxury-form-control:hover:not(:focus)::before {
    opacity: 0.3;
}

.luxury-form-control:hover:not(:focus)::after {
    opacity: 0.5;
}

/* Force text visibility and dark background in all states */
.luxury-form-control,
.luxury-form-control:focus,
.luxury-form-control:not(:placeholder-shown),
.luxury-form-control:hover,
.luxury-form-control:active,
.luxury-form-control:valid,
.luxury-form-control:invalid {
    color: rgba(255, 255, 255, 0.95) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.95) !important;
}

/* Ensure dark background for filled fields */
.luxury-form-control:not(:placeholder-shown),
.luxury-form-control:focus:not(:placeholder-shown) {
    background: 
        linear-gradient(145deg, 
            rgba(10, 10, 10, 0.95) 0%, 
            rgba(26, 26, 26, 0.98) 50%, 
            rgba(16, 33, 62, 0.95) 100%
        ) !important;
    color: rgba(255, 255, 255, 1) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 1) !important;
}

/* Override browser autocomplete styling */
.luxury-form-control:-webkit-autofill,
.luxury-form-control:-webkit-autofill:hover,
.luxury-form-control:-webkit-autofill:focus,
.luxury-form-control:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px rgba(10, 10, 10, 0.95) inset !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 1) !important;
    color: rgba(255, 255, 255, 1) !important;
    background: 
        linear-gradient(145deg, 
            rgba(10, 10, 10, 0.95) 0%, 
            rgba(26, 26, 26, 0.98) 50%, 
            rgba(16, 33, 62, 0.95) 100%
        ) !important;
}

/* Removed duplicate - handled above */

/* Luxury Floating Labels */
.luxury-form-label {
    position: absolute;
    left: 1.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(107, 114, 128, 0.8);
    pointer-events: none;
    transition: all var(--luxury-transition-slow);
    background: transparent;
    padding: 0 0.75rem;
    z-index: 2;
    letter-spacing: 0.5px;
}

.luxury-form-control:focus + .luxury-form-label,
.luxury-form-control:not(:placeholder-shown) + .luxury-form-label,
.luxury-form-group.has-value .luxury-form-label {
    top: -0.75rem;
    left: 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(47, 133, 90, 0.9);
    background: 
        linear-gradient(90deg, 
            rgba(10, 10, 10, 0.95) 0%, 
            rgba(26, 26, 26, 0.98) 50%, 
            rgba(10, 10, 10, 0.95) 100%
        );
    backdrop-filter: blur(20px);
    border-radius: 0.5rem;
    padding: 0.25rem 0.75rem;
    text-shadow: 0 0 10px rgba(79, 172, 254, 0.3);
    border: 1px solid rgba(79, 172, 254, 0.2);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(79, 172, 254, 0.1);
    transform: translateY(0);
}

/* Luxury Automotive Buttons */
.luxury-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--luxury-border-radius);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    position: relative;
    text-transform: none;
    letter-spacing: 0.5px;
    min-height: 60px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.luxury-btn-primary {
    background: 
        linear-gradient(145deg, 
            rgba(27, 38, 59, 1) 0%, 
            rgba(27, 38, 59, 0.95) 50%, 
            rgba(27, 38, 59, 1) 100%
        );
    color: rgba(243, 244, 246, 1);
    border: 2px solid rgba(27, 38, 59, 1);
    box-shadow: 
        0 4px 16px rgba(27, 38, 59, 0.3),
        inset 0 1px 0 rgba(243, 244, 246, 0.1);
    text-shadow: none;
}

.luxury-btn-primary:hover {
    background: 
        linear-gradient(145deg, 
            rgba(47, 133, 90, 1) 0%, 
            rgba(47, 133, 90, 0.95) 50%, 
            rgba(47, 133, 90, 1) 100%
        );
    border-color: rgba(47, 133, 90, 1);
    color: rgba(243, 244, 246, 1);
}

.luxury-btn-primary:active {
    transform: scale(0.98);
}

.luxury-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--luxury-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.luxury-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Simplified Button Effect */
.luxury-btn:active {
    transform: scale(0.98);
}

/* Luxury Section Headers */
.luxury-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.luxury-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--luxury-white);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--luxury-white) 0%, var(--luxury-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.luxury-section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    max-width: 500px;
    margin: 0 auto;
}

/* Luxury Trust Indicators */
.luxury-trust-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.luxury-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(79, 172, 254, 0.05);
    border-radius: var(--luxury-border-radius);
    transition: all var(--luxury-transition-normal);
}

.luxury-trust-item:hover {
    background: rgba(79, 172, 254, 0.1);
    transform: translateY(-2px);
}

.luxury-trust-icon {
    font-size: 1.5rem;
    color: var(--luxury-accent);
    margin-right: 1rem;
}

.luxury-trust-text {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

/* Form Helper Text */
.form-text.text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Already have account link */
.luxury-form-card a {
    color: var(--luxury-accent) !important;
    text-decoration: none;
}

.luxury-form-card a:hover {
    color: var(--luxury-white) !important;
}

/* Luxury Animations */
@keyframes luxuryTopLight {
    0%, 100% { opacity: 0.6; transform: translateX(-100%); }
    50% { opacity: 1; transform: translateX(100%); }
}

@keyframes luxuryBottomLight {
    0%, 100% { opacity: 0.4; transform: translateX(100%); }
    50% { opacity: 0.8; transform: translateX(-100%); }
}

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

@keyframes luxuryLogoFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
}

@keyframes luxuryTitleGlow {
    0%, 100% { filter: brightness(1) contrast(1); }
    50% { filter: brightness(1.1) contrast(1.2); }
}

@keyframes luxuryGentlePulse {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(79, 172, 254, 0.3), 0 4px 16px rgba(0, 0, 0, 0.15);
        transform: scale(1.05);
    }
    50% { 
        box-shadow: 0 0 25px rgba(79, 172, 254, 0.4), 0 6px 20px rgba(0, 0, 0, 0.2);
        transform: scale(1.06);
    }
}

@keyframes luxuryProgressFlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes luxuryCardEntrance {
    0% { 
        opacity: 0; 
        transform: translateY(30px) scale(0.98); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

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

/* Luxury Responsive Design */
@media (max-width: 768px) {
    .luxury-hero-title {
        font-size: 2.5rem;
    }
    
    .luxury-hero-subtitle {
        font-size: 1.2rem;
    }
    
    .luxury-form-card {
        margin: 1rem;
        padding: 2rem;
    }
    
    .luxury-form-control {
        padding: 1.75rem 1.5rem;
        font-size: 1.3rem;
        min-height: 70px;
    }
    
    .luxury-btn {
        padding: 1.5rem 2rem;
        font-size: 1.2rem;
        min-height: 70px;
    }
    
    .luxury-progress-steps {
        margin: 2rem 0;
    }
    
    .luxury-progress-step {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .luxury-progress-connector {
        width: 60px;
    }
    
    .luxury-progress-label {
        font-size: 0.8rem;
        top: 65px;
    }
}

@media (max-width: 480px) {
    .luxury-hero-title {
        font-size: 2rem;
    }
    
    .luxury-form-card {
        padding: 1.5rem;
    }
    
    .luxury-form-control {
        padding: 2rem 1.5rem;
        font-size: 1.4rem;
        min-height: 80px;
    }
    
    .luxury-btn {
        padding: 1.75rem 1.5rem;
        font-size: 1.3rem;
        min-height: 80px;
    }
}

/* Luxury Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .luxury-form-control {
        background: 
            linear-gradient(145deg, 
                rgba(255, 255, 255, 0.08) 0%, 
                rgba(79, 172, 254, 0.05) 100%
            ) !important;
        color: rgba(255, 255, 255, 0.95) !important;
        border-color: rgba(79, 172, 254, 0.3) !important;
    }
    
    .luxury-form-control:focus,
    .luxury-form-control:not(:placeholder-shown) {
        background: 
            linear-gradient(145deg, 
                rgba(10, 10, 10, 0.95) 0%, 
                rgba(26, 26, 26, 0.98) 50%, 
                rgba(16, 33, 62, 0.95) 100%
            ) !important;
        color: rgba(255, 255, 255, 1) !important;
        border-color: rgba(79, 172, 254, 0.5) !important;
    }
    
    .luxury-form-label {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .luxury-section-title {
        color: var(--luxury-white);
        background: linear-gradient(135deg, var(--luxury-white) 0%, var(--luxury-accent) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .luxury-section-subtitle {
        color: rgba(255, 255, 255, 0.7);
    }
}

/* Luxury Performance Optimizations */
.luxury-form-card,
.luxury-btn,
.luxury-form-control {
    will-change: transform;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Performance Optimizations */
.luxury-form-control,
.luxury-btn,
.luxury-progress-step {
    will-change: auto;
}

.luxury-form-control:focus,
.luxury-btn:hover {
    will-change: border-color, background-color;
}

.luxury-form-control:not(:focus),
.luxury-btn:not(:hover) {
    will-change: auto;
}

/* Luxury Form Entrance Animation */
@keyframes luxuryFormEntrance {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.95) rotateX(10deg);
        filter: blur(10px);
    }
    50% {
        opacity: 0.7;
        transform: translateY(20px) scale(0.98) rotateX(5deg);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
        filter: blur(0px);
    }
}

/* Optimized Bugatti Tron Animations */

@keyframes tronPulse {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

@keyframes bugattiLightSweep {
    0%, 100% { 
        opacity: 0.3; 
        transform: scale(1); 
    }
    25% { 
        opacity: 0.8; 
        transform: scale(1.02); 
    }
    50% { 
        opacity: 0.5; 
        transform: scale(1.01); 
    }
    75% { 
        opacity: 0.9; 
        transform: scale(1.03); 
    }
}

/* Advanced Logo Holographic Projection Animation */
@keyframes logoHolographicProjection {
    0%, 100% { 
        transform: translateY(0px) rotateY(0deg) rotateX(0deg) scale(1); 
        filter: 
            drop-shadow(0 0 15px rgba(79, 172, 254, 0.6))
            drop-shadow(0 0 30px rgba(0, 242, 254, 0.4))
            brightness(1.2) contrast(1.3) saturate(1.4);
    }
    25% {
        transform: translateY(-4px) rotateY(2deg) rotateX(1deg) scale(1.02); 
        filter: 
            drop-shadow(0 0 20px rgba(79, 172, 254, 0.7))
            drop-shadow(0 0 40px rgba(0, 242, 254, 0.5))
            brightness(1.25) contrast(1.35) saturate(1.5);
    }
    50% { 
        transform: translateY(-8px) rotateY(0deg) rotateX(2deg) scale(1.05); 
        filter: 
            drop-shadow(0 0 25px rgba(79, 172, 254, 0.8))
            drop-shadow(0 0 50px rgba(0, 242, 254, 0.6))
            drop-shadow(0 0 75px rgba(212, 175, 55, 0.3))
            brightness(1.3) contrast(1.4) saturate(1.6);
    }
    75% {
        transform: translateY(-4px) rotateY(-2deg) rotateX(1deg) scale(1.02); 
        filter: 
            drop-shadow(0 0 20px rgba(79, 172, 254, 0.7))
            drop-shadow(0 0 40px rgba(0, 242, 254, 0.5))
            brightness(1.25) contrast(1.35) saturate(1.5);
    }
}

/* Holographic Projection Base Animation */
@keyframes holographicProjectionBase {
    0% { 
        transform: rotate(0deg) scale(1); 
        opacity: 0.7; 
    }
    25% { 
        transform: rotate(90deg) scale(1.05); 
        opacity: 0.9; 
    }
    50% { 
        transform: rotate(180deg) scale(1.1); 
        opacity: 1; 
    }
    75% { 
        transform: rotate(270deg) scale(1.05); 
        opacity: 0.9; 
    }
    100% { 
        transform: rotate(360deg) scale(1); 
        opacity: 0.7; 
    }
}

/* Particle System Animation */
@keyframes logoParticleSystem {
    0% { 
        background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%; 
        opacity: 0.8;
    }
    25% { 
        background-position: 25% 25%, -25% 25%, 25% -25%, -25% -25%, 50% 0%, 0% 50%; 
        opacity: 1;
    }
    50% { 
        background-position: 50% 50%, -50% 50%, 50% -50%, -50% -50%, 100% 0%, 0% 100%; 
        opacity: 0.9;
    }
    75% { 
        background-position: 75% 75%, -75% 75%, 75% -75%, -75% -75%, 150% 0%, 0% 150%; 
        opacity: 1;
    }
    100% { 
        background-position: 100% 100%, -100% 100%, 100% -100%, -100% -100%, 200% 0%, 0% 200%; 
        opacity: 0.8;
    }
}

/* Holographic Scan Lines Animation */
@keyframes holographicScanLines {
    0% { 
        transform: translateY(-100%); 
        opacity: 0;
    }
    10% { 
        opacity: 0.6;
    }
    90% { 
        opacity: 0.6;
    }
    100% { 
        transform: translateY(100%); 
        opacity: 0;
    }
}

/* Data Stream Projection Animation */
@keyframes dataStreamProjection {
    0%, 100% { 
        height: 100px;
        opacity: 0.9;
        transform: translateX(-50%) scaleY(1);
    }
    25% { 
        height: 120px;
        opacity: 1;
        transform: translateX(-50%) scaleY(1.2);
    }
    50% { 
        height: 140px;
        opacity: 0.7;
        transform: translateX(-50%) scaleY(1.4);
    }
    75% { 
        height: 120px;
        opacity: 1;
        transform: translateX(-50%) scaleY(1.2);
    }
}



@keyframes holographicRing {
    0% { 
        transform: rotate(0deg) scale(1); 
        opacity: 0.7; 
    }
    50% { 
        transform: rotate(180deg) scale(1.1); 
        opacity: 1; 
    }
    100% { 
        transform: rotate(360deg) scale(1); 
        opacity: 0.7; 
    }
}

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



@keyframes tronUnderline {
    0%, 100% { 
        width: 80%; 
        opacity: 0.6; 
    }
    50% { 
        width: 100%; 
        opacity: 1; 
    }
}

@keyframes holographicText {
    0%, 100% { 
        text-shadow: 
            0 0 15px rgba(79, 172, 254, 0.2),
            0 4px 16px rgba(0, 0, 0, 0.6);
        opacity: 0.9;
    }
    50% { 
        text-shadow: 
            0 0 25px rgba(79, 172, 254, 0.4),
            0 0 50px rgba(0, 242, 254, 0.2),
            0 4px 16px rgba(0, 0, 0, 0.6);
        opacity: 1;
    }
}

/* Interactive Holographic Burst Effect */
@keyframes holographicBurst {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

/* Premium Automotive Animations */
@keyframes premiumFormEntrance {
    0% {
        opacity: 0;
        transform: scale(0.9) rotateX(10deg) rotateY(5deg);
        filter: blur(10px);
    }
    50% {
        opacity: 0.6;
        transform: scale(0.95) rotateX(5deg) rotateY(2deg);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateX(0deg) rotateY(0deg);
        filter: blur(0px);
    }
}

@keyframes corporateGlow {
    0% {
        background-position: 0% 0%;
        filter: drop-shadow(0 0 20px rgba(47, 133, 90, 0.3));
    }
    50% {
        background-position: 100% 100%;
        filter: drop-shadow(0 0 25px rgba(91, 33, 182, 0.3));
    }
    100% {
        background-position: 0% 0%;
        filter: drop-shadow(0 0 20px rgba(47, 133, 90, 0.3));
    }
}

@keyframes sdoShiftInteriorGlow {
    0% {
        box-shadow: 
            inset 0 1px 0 rgba(243, 244, 246, 0.05),
            inset 0 -1px 0 rgba(47, 133, 90, 0.1);
    }
    100% {
        box-shadow: 
            inset 0 1px 0 rgba(243, 244, 246, 0.08),
            inset 0 -1px 0 rgba(47, 133, 90, 0.15);
    }
}

@keyframes sdoShiftIndicatorPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
        box-shadow: 0 0 10px rgba(47, 133, 90, 0.4);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
        box-shadow: 0 0 20px rgba(47, 133, 90, 0.7);
    }
}
