.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #000;
    overflow: hidden;
    padding: 50px 20px 60px;
    /* top: -50px; */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(161, 1, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(161, 1, 255, 0.05) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: gridMove 25s linear infinite;
    z-index: 1;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(30px, 30px);
    }
    50% {
        transform: translate(60px, 0);
    }
    75% {
        transform: translate(30px, -30px);
    }
    100% {
        transform: translate(0, 0);
    }
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(161, 1, 255, 0.3);
    border-radius: 50%;
    animation: floatParticle 15s infinite linear;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(161, 1, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(100px);
    animation: float 12s ease-in-out infinite;
    z-index: 1;
}

.gradient-orb {
    position: absolute;
    top: 60%;
    left: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(161, 1, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: float 15s ease-in-out infinite reverse;
    z-index: 1;
}

.floating-orb {
    position: absolute;
    top: 20%;
    left: 15%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 0, 212, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: floatReverse 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    25% {
        transform: translate(50px, -30px) scale(1.1) rotate(90deg);
    }
    50% {
        transform: translate(0, -50px) scale(1.2) rotate(180deg);
    }
    75% {
        transform: translate(-50px, -30px) scale(1.1) rotate(270deg);
    }
}

@keyframes floatReverse {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    25% {
        transform: translate(-40px, 40px) scale(1.15) rotate(-90deg);
    }
    50% {
        transform: translate(0, 60px) scale(1.3) rotate(-180deg);
    }
    75% {
        transform: translate(40px, 40px) scale(1.15) rotate(-270deg);
    }
}

.animated-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(161, 1, 255, 0.3), transparent);
    height: 1px;
    width: 100%;
    z-index: 1;
    animation: scanLine 8s linear infinite;
}

@keyframes scanLine {
    0% {
        top: 0;
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

.hero__container {
    max-width: 1100px;
    width: 100%;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin: 0 auto;
    text-align: center;
}

.hero__content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(161, 1, 255, 0.1);
    border: 1px solid rgba(161, 1, 255, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #A101FF;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.hero__badge i {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.hero__title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 900;
    letter-spacing: -2px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__title .gradient-text {
    background: linear-gradient(135deg, #A101FF 0%, #C04FFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__title .typing-text {
    font-family: 'Geist Mono', monospace;
    font-weight: 600;
    font-size: 20px;
    color: #fff;
    border-right: 3px solid #A101FF;
    animation: blink 0.7s step-end infinite;
    display: inline-block;
    white-space: normal;
    word-wrap: break-word;
    max-width: 550px;
    text-align: center;
    line-height: 1.4;
    min-height: 60px;
    margin-top: 15px;
    padding: 0 10px;
}

@keyframes blink {
    0%, 50% {
        border-color: #A101FF;
    }
    51%, 100% {
        border-color: transparent;
    }
}

.hero__subtitle {
    font-size: 0.8rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 650px;
}

.hero__buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero__btn {
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero__btn--primary {
    background: #A101FF;
    color: #fff;
    box-shadow: 0 10px 30px rgba(161, 1, 255, 0.3);
}

.hero__btn--primary:hover {
    background: #8200CC;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(161, 1, 255, 0.4);
}

.hero__btn--secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero__btn--secondary:hover {
    border-color: #A101FF;
    background: rgba(161, 1, 255, 0.05);
    transform: translateY(-2px);
}

.hero__social {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.hero__social-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-right: 10px;
}

.hero__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.hero__social-link:hover {
    background: #A101FF;
    border-color: #A101FF;
    color: #fff;
    transform: translateY(-3px);
}

.hero__visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero__logo-container {
    position: relative;
    animation: floatLogo 6s ease-in-out infinite;
}

@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.hero__logo {
    width: 450px;
    height: auto;
    filter: drop-shadow(0 20px 50px rgba(161, 1, 255, 0.3));
    position: relative;
    z-index: 2;
}

.hero__glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(161, 1, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.hero__stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: center;
}

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: #A101FF;
    display: block;
    margin-bottom: 5px;
}

.hero__stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 1200px) {
    .hero__title {
        font-size: 4rem;
    }

    .hero__logo {
        width: 350px;
    }
}

@media (max-width: 968px) {
    .hero__title {
        font-size: 3.5rem;
    }
    
    .hero__title .typing-text {
        font-size: 18px;
    }

    .hero__logo {
        width: 300px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 80px 15px 40px;
    }

    .hero__title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }
    
    .hero__title .typing-text {
        font-size: 16px;
        min-height: 80px;
        line-height: 1.3;
        max-width: 100%;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .hero__buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero__btn {
        width: 100%;
        justify-content: center;
    }

    .hero__stats {
        flex-direction: column;
        gap: 25px;
        align-items: center;
    }

    .hero__stat {
        text-align: center;
    }

    .hero__logo {
        width: 250px;
    }
}

@media (max-width: 480px) {
    .hero__title .typing-text {
        font-size: 15px;
        min-height: 70px;
    }
}