/* ===== Landing Page - Modern Professional Design ===== */

/* Landing Section - Remove all spacing & override body background */
#landing {
    padding-top: calc(var(--header-height, 70px) + 10px) !important;
    padding-bottom: 0 !important;
    margin: 0;
    background: #0a0e1a;
}

#landing.active {
    min-height: 100vh;
}

/* Override body background when landing is active */
body:has(#landing.active) {
    background: #0a0e1a;
}

/* Progress bar background for landing page */
#landing.active ~ .progress-container,
body:has(#landing.active) .progress-container {
    background: rgba(255, 255, 255, 0.05);
}

#landing .container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Hero Section - Dark Modern Theme */
.hero {
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f35 50%, #0a0e1a 100%);
    border-radius: 0;
    padding: 100px 60px;
    text-align: center;
    box-shadow: none;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
}

/* Animated Background Elements */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 105, 214, 0.15) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(4, 237, 245, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: float 8s ease-in-out infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Hero Icon - 3D Effect */
.hero-icon {
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

/* Hero Logo Image */
.hero-logo {
    width: 150px;
    height: auto;
    max-height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 105, 214, 0.8)) 
            drop-shadow(0 0 20px rgba(4, 237, 245, 0.6));
    transition: all 0.3s ease;
}

.hero-logo:hover {
    filter: drop-shadow(0 15px 40px rgba(0, 105, 214, 1)) 
            drop-shadow(0 0 30px rgba(4, 237, 245, 0.8));
    transform: scale(1.05);
}

/* Fallback for Font Awesome Icon (if needed) */
.hero-icon i {
    font-size: 100px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 10px 30px rgba(0, 105, 214, 0.8)) 
            drop-shadow(0 0 20px rgba(4, 237, 245, 0.6));
    color: var(--accent-color);
}

/* Hero Title - Large Impact */
.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.2;
    position: relative;
    z-index: 2;
    letter-spacing: -0.5px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Hero Subtitle - Clean Typography */
.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 45px;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.hero-subtitle .highlight-text {
    font-weight: 700;
    color: var(--accent-color);
    text-decoration: underline;
    text-decoration-color: var(--accent-color);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

/* Hero Features - Modern Card Style */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    padding: 25px 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    min-width: 150px;
    animation: sequentialHighlight 8s ease-in-out infinite;
}

/* Sequential highlight animation for each feature item */
.feature-item:nth-child(1) {
    animation-delay: 0s;
}

.feature-item:nth-child(2) {
    animation-delay: 2s;
}

.feature-item:nth-child(3) {
    animation-delay: 4s;
}

.feature-item:nth-child(4) {
    animation-delay: 6s;
}

@keyframes sequentialHighlight {
    0%, 20% {
        background: rgba(0, 105, 214, 0.25);
        border-color: rgba(0, 105, 214, 0.8);
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 15px 40px rgba(0, 105, 214, 0.5),
                    0 0 30px rgba(4, 237, 245, 0.4);
    }
    25%, 100% {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.1);
        transform: translateY(0) scale(1);
        box-shadow: none;
    }
}

.feature-item i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 8px rgba(0, 105, 214, 0.4));
    transition: all 0.4s ease;
}

/* Icon highlight animation */
.feature-item:nth-child(1) i {
    animation: iconPulse 8s ease-in-out infinite;
    animation-delay: 0s;
}

.feature-item:nth-child(2) i {
    animation: iconPulse 8s ease-in-out infinite;
    animation-delay: 2s;
}

.feature-item:nth-child(3) i {
    animation: iconPulse 8s ease-in-out infinite;
    animation-delay: 4s;
}

.feature-item:nth-child(4) i {
    animation: iconPulse 8s ease-in-out infinite;
    animation-delay: 6s;
}

@keyframes iconPulse {
    0%, 20% {
        filter: drop-shadow(0 8px 16px rgba(0, 105, 214, 0.8))
                drop-shadow(0 0 20px rgba(4, 237, 245, 0.6));
        transform: scale(1.15);
    }
    25%, 100% {
        filter: drop-shadow(0 4px 8px rgba(0, 105, 214, 0.4));
        transform: scale(1);
    }
}

/* CTA Button - Premium Style */
.hero .btn-primary {
    position: relative;
    z-index: 2;
    padding: 20px 50px;
    font-size: 1.4rem;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 10px 40px rgba(0, 105, 214, 0.5);
    transition: all 0.4s ease;
}

.hero .btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 105, 214, 0.7);
}

.hero .btn-primary i {
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
}

/* Decorative Elements */
.hero-decoration {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    z-index: 1;
}

.hero-decoration:nth-child(1) {
    top: -100px;
    left: -100px;
    background: var(--primary-color);
}

.hero-decoration:nth-child(2) {
    bottom: -100px;
    right: -100px;
    background: var(--accent-color);
    animation: float 10s ease-in-out infinite;
}

/* Glassmorphism Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Responsive Design for Landing ===== */
@media (max-width: 1024px) {
    .hero {
        padding: 80px 40px;
        min-height: 80vh;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 30px;
        min-height: 75vh;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 35px;
    }

    .hero-icon {
        font-size: 80px;
    }

    .hero-logo {
        width: 120px;
        max-height: 120px;
    }

    .hero-features {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        width: 100%;
        padding: 0 10px;
        margin-bottom: 32px;
    }

    .feature-item {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        min-width: auto;
        padding: 18px 14px;
    }

    .feature-item i {
        font-size: 1.5rem;
    }

    .hero .btn-primary {
        padding: 18px 40px;
        font-size: 1.2rem;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 50px 20px;
        min-height: 70vh;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 0;
    }

    .feature-item {
        padding: 16px 12px;
    }

    .hero-icon {
        font-size: 70px;
    }

    .hero-logo {
        width: 100px;
        max-height: 100px;
    }

    .feature-item {
        font-size: 0.9rem;
        padding: 15px;
    }

    .hero .btn-primary {
        padding: 16px 35px;
        font-size: 1.1rem;
        justify-content: center;
    }
}

/* Performance Optimization */
@media (prefers-reduced-motion: reduce) {
    .hero-icon,
    .hero::before,
    .hero::after,
    .hero-decoration,
    .feature-item,
    .feature-item i {
        animation: none;
    }
}
