/* ==================== HERO.CSS ==================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0 60px;
    background: var(--dark-gradient);
    position: relative;
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 100px;
}

/* Neural Network Canvas */
#neuralCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    line-height: 1.2;
    color: var(--accent-white);
    font-weight: 900;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(31, 182, 232, 0.2);
    position: relative;
    z-index: 5;
    opacity: 1;
}

.hero-content p {
    font-size: 1.15rem;
    color: #ccc;
    margin-bottom: 40px;
    line-height: 1.8;
    position: relative;
    z-index: 5;
    opacity: 1;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.hero-buttons .btn {
    min-width: 140px;
    padding: 14px 30px;
    font-size: 0.95rem;
    white-space: nowrap;
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-white);
    border: 2px solid var(--accent-white);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(31, 182, 232, 0.1);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    box-shadow: 0 8px 25px rgba(31, 182, 232, 0.2);
    transform: translateY(-3px);
}

/* Enhanced animations */
.fade-in {
    animation: fadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
}

.fade-in-delay {
    animation: fadeInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards;
    opacity: 0;
}

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

/* Glow effect on hover */
.hero-content:hover h1 {
    text-shadow: 0 0 30px rgba(31, 182, 232, 0.3);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        padding: 80px 0 60px;
        padding-top: 100px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 80px 0 60px;
        padding-top: 100px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero-buttons {
        gap: 10px;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .hero-buttons .btn {
        min-width: 140px;
        padding: 12px 20px;
        font-size: 0.9rem;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 50px;
        padding-top: 100px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 8px;
        flex-wrap: nowrap;
    }

    .hero-buttons .btn {
        min-width: 120px;
        padding: 12px 16px;
        font-size: 0.85rem;
        white-space: nowrap;
    }
}