/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding-top: 30px;
    padding-bottom: 40px;
    overflow: hidden;
    --mouse-x: 0.5;
    --mouse-y: 0.5;
}

/* Efeito de brilho em movimento */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

/* Adiciona um elemento de brilho que se move lentamente */
.hero .glow {
    position: absolute;
    pointer-events: none;
    width: 150%;
    height: 150%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(56, 189, 248, 0.08) 0%, rgba(56, 189, 248, 0) 25%),
        radial-gradient(circle at 70% 60%, rgba(139, 92, 246, 0.08) 0%, rgba(139, 92, 246, 0) 25%);
    filter: blur(40px);
    opacity: 0.7;
    top: -25%;
    left: -25%;
    animation: moveGlow 20s infinite alternate ease-in-out;
    z-index: 1;
}

.hero::before {
    width: 60%;
    height: 60%;
    top: -20%;
    right: -20%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(56, 189, 248, 0) 70%);
    border-radius: 50%;
    filter: blur(30px);
    animation: pulse 8s infinite alternate;
    transform: translate(calc(var(--mouse-x) * 20px - 10px), calc(var(--mouse-y) * 20px - 10px));
    transition: transform 0.3s ease-out;
    z-index: 1;
}

.hero::after {
    width: 50%;
    height: 50%;
    bottom: -10%;
    left: -10%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(139, 92, 246, 0) 70%);
    border-radius: 50%;
    filter: blur(30px);
    animation: pulse 10s infinite alternate-reverse;
    transform: translate(calc(var(--mouse-x) * -20px + 10px), calc(var(--mouse-y) * -20px + 10px));
    transition: transform 0.3s ease-out;
    z-index: 1;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

@keyframes moveGlow {
    0% {
        transform: translateX(-5%) translateY(-5%) rotate(0deg);
    }
    50% {
        transform: translateX(5%) translateY(5%) rotate(3deg);
    }
    100% {
        transform: translateX(-5%) translateY(2%) rotate(-3deg);
    }
}

/* Pontos de luz */
.hero .light-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.hero .light-dot {
    position: absolute;
    width: 3px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 15s infinite linear;
}

.hero .light-dot:nth-child(1) {
    top: 10%;
    left: 15%;
    animation-duration: 20s;
}

.hero .light-dot:nth-child(2) {
    top: 20%;
    right: 20%;
    animation-duration: 25s;
    animation-delay: 2s;
}

.hero .light-dot:nth-child(3) {
    bottom: 15%;
    left: 30%;
    animation-duration: 18s;
    animation-delay: 1s;
}

.hero .light-dot:nth-child(4) {
    bottom: 25%;
    right: 25%;
    animation-duration: 22s;
    animation-delay: 3s;
}

.hero .light-dot:nth-child(5) {
    top: 45%;
    left: 50%;
    animation-duration: 19s;
    animation-delay: 4s;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) translateX(10px) scale(1.5);
        opacity: 0.7;
    }
    100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.3;
    }
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 3;
}

.hero-content {
    flex: 1;
    text-align: left;
    position: relative;
    z-index: 3;
    padding-top: 10px;
}

.hero h1 {
    margin-bottom: 30px;
    color: #fff;
}

/* Estilo para palavras destacadas */
.hero h1 .highlight-word {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #4285F4 0%, #5B9BFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    transition: all 0.3s ease;
}

.hero h1 .highlight-word:hover {
    text-shadow: 0 0 15px rgba(66, 133, 244, 0.6);
}

/* Efeito de underline fixo */
.hero h1 .highlight-word::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(135deg, #4285F4 0%, #5B9BFF 100%);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(66, 133, 244, 0.5);
    animation: none;
}

/* Removendo a animação de digitação que não é mais necessária */
@keyframes typing {
    0% {
        width: 0;
        left: 0;
    }
    100% {
        width: 100%;
        left: 0;
    }
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.video-container {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
    padding-bottom: 56.25%; /* Proporção 16:9 para vídeos */
    height: 0;
    max-width: 550px;
}

/* Estilos para o preview do vídeo */
.video-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-preview:hover .preview-image {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.play-button i {
    color: white;
    font-size: 30px;
    margin-left: 5px; /* Ajuste para centralizar visualmente o ícone de play */
}

.video-preview:hover .play-button {
    background: linear-gradient(135deg, #4285F4 0%, #5B9BFF 100%);
    box-shadow: 0 0 20px rgba(66, 133, 244, 0.6);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-iframe-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-caption {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.cta-button {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Borda com degradê na parte inferior */
.hero .section-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(56, 189, 248, 0.05) 15%,
        rgba(139, 92, 246, 0.2) 50%,
        rgba(56, 189, 248, 0.05) 85%,
        transparent 100%
    );
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.2);
    z-index: 5;
    opacity: 0.8;
}

/* Responsividade */
@media (max-width: 992px) {
    .hero {
        padding-top: 70px;
    }
    
    .hero::before {
        width: 80%;
        height: 40%;
    }
    
    .hero::after {
        width: 70%;
        height: 40%;
    }
    
    .hero-flex {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .video-container {
        width: 100%;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
    }
    
    .hero-content {
        margin-bottom: 30px;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .cta-button {
        font-size: 1rem;
        padding: 10px 20px;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding-top: 120px;
        min-height: auto;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
    }
    
    .play-button i {
        font-size: 1.2rem;
    }
} 