.hero {
    min-height: 100vh;
    height: auto;
    margin: 0;
    padding: var(--header-spacing) 0 var(--spacing-xl);
    background: linear-gradient(rgba(31, 31, 31, 0.85), rgba(31, 31, 31, 0.98)),
                var(--background-url) center/cover fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25vh;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--background-dark)
    );
    z-index: 3;
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 2;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--neon-green);
    border-radius: 50%;
    pointer-events: none;
    animation: floatParticle var(--duration, 15s) linear infinite;
    opacity: 0;
}

.hero-content {
    position: relative;
    z-index: 4;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-xl);
    animation: contentFloat 8s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: calc(var(--spacing-xl) * 2);
}

.hero-title {
    margin-bottom: 0;
    max-width: 800px;
    width: 100%;
    padding: 0 var(--spacing-md);
}

.hero-title h1 {
    font-size: clamp(2rem, 8vw, 4.5rem);
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    animation: titleGlow 4s ease-in-out infinite;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: var(--text-secondary);
    animation: subtitleFade 4s ease-in-out infinite;
    max-width: 800px;
    margin: 0 auto;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    width: 100%;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 4;
}

.feature-card {
    background: rgba(65, 233, 109, 0.03);
    border-radius: var(--radius-md);
    padding: var(--spacing-xl);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(65, 233, 109, 0.05);
    animation: cardFloat 6s ease-in-out infinite;
    animation-delay: calc(var(--delay, 0) * 1s);
    backdrop-filter: blur(10px);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: rgba(65, 233, 109, 0.1);
    background: rgba(65, 233, 109, 0.05);
}

.hero-feature-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    text-align: center;
    animation: iconRotate 8s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h2 {
    margin-bottom: var(--spacing-sm);
    color: var(--neon-green);
    opacity: 0.9;
    text-align: center;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.feature-card p {
    color: var(--text-secondary);
    text-align: center;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-lg);
    margin-top: 0;
    position: relative;
    z-index: 5;
}

.cta-button {
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    cursor: pointer;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%) rotate(45deg);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.cta-button span {
    position: relative;
    z-index: 2;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button:hover::before {
    transform: translateX(100%) rotate(45deg);
}

.primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 0 20px rgba(65, 233, 109, 0.3);
}

.primary:hover {
    box-shadow: 0 0 30px rgba(65, 233, 109, 0.4);
}

.secondary {
    background: rgba(65, 233, 109, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--neon-green);
    box-shadow: 0 0 20px rgba(65, 233, 109, 0.1);
}

.secondary:hover {
    background: rgba(65, 233, 109, 0.15);
    box-shadow: 0 0 30px rgba(65, 233, 109, 0.2);
    border-color: var(--neon-yellow);
}

.hero-opening {
    background: rgba(65, 233, 109, 0.1);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    padding: 0.4rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: bold;
    font-size: 1rem;
    text-align: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(65, 233, 109, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(65, 233, 109, 0); }
    100% { box-shadow: 0 0 0 0 rgba(65, 233, 109, 0); }
}


@media (max-width: 1024px) {
    .hero-features {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: var(--header-little-spacing);
        min-height: auto;
        height: auto;
    }

    .hero-content {
        padding: var(--spacing-md);
        gap: var(--spacing-xl);
    }

    .hero-title {
        padding: 0;
    }

    .hero-title h1 {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .hero-subtitle {
        font-size: clamp(0.9rem, 4vw, 1.1rem);
        padding: 0;
    }

    .hero-features {
        grid-template-columns: minmax(250px, 1fr);
        gap: var(--spacing-lg);
        margin: 0 auto;
        max-width: 500px;
        width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .cta-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: calc(var(--header-mobile-spacing) - var(--spacing-md));
    }

    .hero-content {
        padding: var(--spacing-sm);
    }

    .hero-features {
        padding: 0;
    }
}
