/* 3D and Enhanced UI/UX Styles for Index Page */

:root {
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

/* Floating Blobs Background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(128, 0, 0, 0.4) 0%, rgba(160, 82, 45, 0.2) 100%);
    filter: blur(80px);
    border-radius: 50%;
    z-index: 0;
    animation: float 20s infinite alternate;
}

.blob-1 { top: -100px; right: -100px; animation-delay: 0s; }
.blob-2 { bottom: -150px; left: -150px; animation-delay: -5s; width: 500px; height: 500px; }
.blob-3 { top: 20%; left: 10%; animation-delay: -10s; width: 300px; height: 300px; background: rgba(255, 215, 0, 0.15); }

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    33% { transform: translate(30px, 50px) rotate(10deg) scale(1.1); }
    66% { transform: translate(-20px, 20px) rotate(-10deg) scale(0.9); }
    100% { transform: translate(0, 0) rotate(0deg) scale(1); }
}

/* Role Selection Cards */
.role-card {
    background: #ffffff !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: all 0.3s ease !important;
}

.role-card:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(2deg) !important;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15) !important;
}

.role-icon {
    background: var(--gradient-primary) !important;
    box-shadow: 0 10px 20px rgba(128, 0, 0, 0.2);
    transform: translateZ(30px);
    color: white !important;
}

/* Hero Title Enhancement */
.hero-title {
    text-shadow: 0 10px 20px rgba(0,0,0,0.2) !important;
    letter-spacing: -1px;
}

.text-gradient {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    filter: drop-shadow(0 5px 10px rgba(255, 165, 0, 0.3));
}

/* 3D Kiosk / Mockup Simulation */
.hero-visual {
    position: relative;
    perspective: 2000px;
}

.face-scan-container {
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
    background: rgba(0,0,0,0.2) !important;
    border: 2px solid rgba(255,255,255,0.1) !important;
    box-shadow: -20px 20px 50px rgba(0,0,0,0.3) !important;
}

.hero-visual:hover .face-scan-container {
    transform: rotateY(-5deg) rotateX(0deg);
}

/* Feature Section */
.features-section {
    position: relative;
    background: #800000 !important;
    padding: 100px 0 !important;
}

.feature-card {
    background: #ffffff !important;
    border: none !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
    padding: 50px 30px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    min-height: 350px !important;
    border-radius: 24px !important;
    margin-bottom: 30px !important;
}

.feature-icon.animated {
    width: 120px !important;
    height: 120px !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.feature-anim {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.feature-title {
    color: #000000 !important;
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    display: block !important;
}

.feature-description {
    color: #000000 !important;
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    display: block !important;
    margin: 0 !important;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg) !important;
    background: #800000 !important;
    color: #ffffff !important;
}

/* Modern Buttons */
.btn-lg {
    padding: 15px 35px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-primary {
    background: var(--gradient-primary) !important;
    border: none !important;
}

.btn-primary:hover {
    box-shadow: 0 15px 30px rgba(128, 0, 0, 0.3) !important;
    transform: translateY(-3px);
}

/* Floating Animation */
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.8rem !important;
        text-align: center;
    }
    .hero-subtitle {
        text-align: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-visual {
        margin-top: 3rem;
        perspective: 1000px;
    }
    .face-scan-container {
        transform: rotateY(0deg) rotateX(0deg) !important;
        width: 280px !important;
        height: 280px !important;
    }
}

/* Hero Stats - Styles moved to inline in HTML for better reliability */


@media (max-width: 575.98px) {
    .btn-lg {
        padding: 12px 25px !important;
        font-size: 0.95rem !important;
        width: 100%;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
}
