.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: 
      radial-gradient(circle at center, rgba(99, 102, 241, 0.08) 0%, transparent 60%),
      linear-gradient(180deg, rgba(9, 9, 11, 0.45) 0%, #09090b 100%),
      url('../img/se3fdf.webp') no-repeat center;
    background-size: cover;
    background-color: var(--bg-color);
}

.nav {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    z-index: 200;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px;
    background: rgba(24, 24, 27, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

.nav-links {
    display: flex;
    gap: 24px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.nav-link {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: #fff;
}

.central-card {
    padding: 48px 40px;
    text-align: center;
    z-index: 10;
    max-width: 500px;
    width: 90%;
    background: rgba(24, 24, 27, 0.45);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
    animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    position: relative;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #ffffff;
}

.logo-accent {
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    border-radius: 6px;
    display: inline-block;
}

.subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
    line-height: 1.5;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

.login-btn {
    text-decoration: none;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: 10px;
}

.login-btn svg {
    transition: transform 0.2s ease;
}

.login-btn:hover svg {
    transform: translateX(3px);
}

.features-ribbon {
    position: absolute;
    bottom: 40px;
    display: flex;
    gap: 24px;
    z-index: 10;
    background: rgba(24, 24, 27, 0.5);
    backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

.feature-dot {
    width: 5px;
    height: 5px;
    background: var(--accent-color);
    border-radius: 50%;
}

/* Floating Icons (Desktop) */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.icon {
    position: absolute;
    width: 65px;
    height: 65px;
    background: rgba(24, 24, 27, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    opacity: 0;
    pointer-events: auto;
    transition: var(--transition-smooth);
    animation: spawn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards,
        float 8s infinite ease-in-out;
}

.icon:hover {
    transform: scale(1.1) translateY(-4px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(99, 102, 241, 0.2);
}

.icon-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0.1s, 0.2s;
    background-image: url('../img/icons/unnamed.png');
}

.icon-2 {
    top: 15%;
    right: 22%;
    animation-delay: 0.3s, 0.4s;
    animation-duration: 0.8s, 10s;
    background-image: url('../img/icons/423gedf.png');
    width: 80px;
    height: 80px;
}

.icon-3 {
    bottom: 26%;
    left: 18%;
    animation-delay: 0.5s, 0.6s;
    animation-duration: 0.8s, 9s;
    background-image: url('../img/icons/cc.png');
    width: 55px;
    height: 55px;
}

.icon-4 {
    bottom: 20%;
    right: 24%;
    animation-delay: 0.7s, 0.8s;
    animation-duration: 0.8s, 11s;
    background-image: url('../img/icons/download.png');
}

.icon-5 {
    top: 48%;
    right: 12%;
    animation-delay: 0.9s, 1s;
    animation-duration: 0.8s, 9.5s;
    background-image: url('../img/icons/images.png');
    width: 70px;
    height: 70px;
}

@keyframes spawn {
    0% {
        opacity: 0;
        transform: scale(0.7) rotate(-5deg);
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: blur(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(1deg);
    }
}

/* Mobile Responsiveness Override */
@media (max-width: 768px) {
    .hero {
        background: 
          radial-gradient(circle at center, rgba(99, 102, 241, 0.1) 0%, transparent 65%),
          linear-gradient(180deg, rgba(9, 9, 11, 0.15) 0%, rgba(9, 9, 11, 0.5) 100%),
          url('../img/se3fdf.webp') no-repeat center;
        background-size: 100% 100%, 100% 100%, 350px auto;
        background-position: center;
    }
    .nav {
        width: 92%;
        top: 16px;
        padding: 10px 16px;
    }
    .nav-links {
        display: none;
    }
    .central-card {
        padding: 36px 20px;
        width: 92%;
    }
    .logo {
        font-size: 1.8rem;
    }
    .subtitle {
        font-size: 0.9rem;
        margin-bottom: 24px;
    }
    .features-ribbon {
        bottom: 24px;
        gap: 12px;
        width: 92%;
        justify-content: center;
        flex-wrap: wrap;
        padding: 6px 12px;
    }
    .feature-item {
        font-size: 0.75rem;
    }
    .icon {
        transform: scale(0.5);
    }
    .icon:hover {
        transform: scale(0.6);
    }
    .icon-1 {
        top: 10%;
        left: 8%;
    }
    .icon-2 {
        top: 80%;
        left: 6%;
    }
    .icon-3 {
        top: 12%;
        right: 8%;
    }
    .icon-4 {
        top: 82%;
        right: 8%;
    }
    .icon-5 {
        top: 48%;
        right: -8%;
    }
}