/**
 * Estilos do componente Hero
 * Hero section moderna e elegante para o site Alt tab Corp
 */

.hero {
    position: relative;
    min-height: 100vh;
    background: var(--gradient-primary);
    color: var(--light);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 6rem 0;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(); /* '../../images/pages/saas/hero-pattern.svg' */
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    max-width: 600px;
    margin-right: 2rem;
}

.hero h1 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--light);
}

.hero p {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    margin-right: 1.5rem;
}

.hero-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    margin-right: 0.75rem;
    color: var(--secondary);
}

.hero-feature-text {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
}

.hero-image {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.hero-shape {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 150px;
    background-color: var(--light);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
    z-index: 1;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
}

.hero-wave .wave {
    width: 100%;
    height: auto;
}

.hero-shape-1 {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    opacity: 0.2;
    z-index: -1;
}

.hero-shape-2 {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    opacity: 0.2;
    z-index: -1;
}

/* Animação para o Hero */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.animated {
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

.animate-on-scroll.fade-in-up.animated {
    animation-name: fadeInUp;
}

.animate-on-scroll.fade-in-left.animated {
    animation-name: fadeInLeft;
}

/* Tema escuro */
[data-theme="dark"] .hero {
    background: var(--gradient-dark);
}

[data-theme="dark"] .hero-shape {
    background-color: var(--gray-900);
}

/* Responsividade */
@media (max-width: 992px) {
    .hero {
        padding: 5rem 0;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 3rem;
    }
    
    .hero h1 {
        font-size: var(--font-size-3xl);
    }
    
    .hero p {
        font-size: var(--font-size-md);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 400px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 0;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: var(--font-size-2xl);
    }
    
    .hero p {
        font-size: var(--font-size-base);
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-feature {
        margin-right: 0;
    }
    
    .hero-image {
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: var(--font-size-xl);
    }
    
    .hero p {
        font-size: var(--font-size-sm);
    }
    
    .hero-image {
        max-width: 250px;
    }
}

/* Hero Image Placeholder */
.hero-image-placeholder {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: 1;
}

.hero-image-placeholder i {
    font-size: 3rem;
    color: var(--light);
    margin: 0 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.hero-image-placeholder i:nth-child(2) {
    animation-delay: 0.5s;
}

.hero-image-placeholder i:nth-child(3) {
    animation-delay: 1s;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

[data-theme="dark"] .hero-image-placeholder {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
} 