.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(1, 1, 3, 0.7), rgba(1, 1, 3, 0.7)),
        url('../img/se3fdf.webp') no-repeat center;
    background-size: 900px auto;
    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 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 32px;
    font-weight: 500;
    font-size: 0.95rem;
    color: #a1a1aa;
}

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

.central-card {
    padding: 80px 60px;
    text-align: center;
    z-index: 10;
    max-width: 600px;
    width: 90%;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    position: relative;
    overflow: hidden;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: linear-gradient(to bottom, #fff, #a1a1aa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-accent {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-color), #6366f1);
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 0 30px var(--accent-glow);
    animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 30px var(--accent-glow);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 50px var(--accent-glow);
    }
}

.subtitle {
    color: #a1a1aa;
    font-size: 1.25rem;
    margin-bottom: 48px;
    line-height: 1.6;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: 0.5s;
    animation: shimmer 4s infinite;
}

@keyframes shimmer {
    0% {
        left: -150%;
    }

    30%,
    100% {
        left: 150%;
    }
}

.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: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: spawn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
        float 6s infinite ease-in-out;
}

.icon:hover {
    transform: scale(1.2);
    box-shadow: 0 0 30px var(--accent-glow);
    border-color: var(--accent-color);
}

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

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

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

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

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

@keyframes spawn {
    0% {
        opacity: 0;
        transform: scale(0.4) rotate(-15deg);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: blur(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(3deg);
    }
}

.features-ribbon {
    position: absolute;
    bottom: 48px;
    display: flex;
    gap: 48px;
    z-index: 10;
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #a1a1aa;
}

.feature-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color);
}

@media (max-width: 768px) {
    .nav {
        width: 95%;
        top: 12px;
        padding: 12px 20px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        background-attachment: scroll;
    }

    .hero::before {
        content: none;
    }

    .central-card {
        padding: 40px 24px;
        width: 92%;
    }

    .logo {
        font-size: 2.6rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .features-ribbon {
        bottom: 24px;
        gap: 24px;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .feature-item {
        font-size: 0.8rem;
    }

    .icon {
        transform: scale(0.6);
    }

    .icon-1 {
        top: 10%;
        left: 10%;
    }

    .icon-2 {
        top: 82%;
        left: 8%;
    }

    .icon-3 {
        top: 12%;
        right: 12%;
    }

    .icon-4 {
        top: 85%;
        right: 10%;
    }

    .icon-5 {
        top: 48%;
        right: -5%;
    }
}