/* Reset e configurações base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    /* Otimizações para mobile */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

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

/* Overlay para bloquear cliques no vídeo */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    background: transparent;
    cursor: default;
    pointer-events: all;
}

/* Player Nativo HTML5 - Desktop */
.video-desktop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border: none;
    z-index: 2;
    /* Garantir que o vídeo seja responsivo */
    min-width: 100%;
    min-height: 100%;
    /* Otimizações para mobile */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Player Nativo HTML5 - Mobile */
.video-mobile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border: none;
    z-index: 2;
    /* Garantir que o vídeo seja responsivo */
    min-width: 100%;
    min-height: 100%;
    /* Otimizações para mobile */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* Escondido por padrão - será mostrado via CSS */
    display: none;
}

/* Mobile Video Optimizations */
@media (max-width: 768px) {
    .hero {
        height: 100vh;
        overflow: hidden;
        position: relative;
    }
    
    .video-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        overflow: hidden;
        z-index: 1;
    }
    
    /* Esconder vídeo desktop em mobile */
    .video-desktop {
        display: none;
    }
    
    /* Mostrar vídeo mobile */
    .video-mobile {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        z-index: 2;
    }
    
    /* Melhorar experiência de toque */
    .video-overlay {
        touch-action: manipulation;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 100vh;
        overflow: hidden;
        position: relative;
    }
    
    .video-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        overflow: hidden;
        z-index: 1;
    }
    
    /* Esconder vídeo desktop em mobile */
    .video-desktop {
        display: none;
    }
    
    /* Mostrar vídeo mobile */
    .video-mobile {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        z-index: 2;
    }
}

/* Extra Small Devices (iPhone SE, etc.) */
@media (max-width: 375px) {
    .hero {
        height: 100vh;
        overflow: hidden;
        position: relative;
    }
    
    .video-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        overflow: hidden;
        z-index: 1;
    }
    
    /* Esconder vídeo desktop em mobile */
    .video-desktop {
        display: none;
    }
    
    /* Mostrar vídeo mobile */
    .video-mobile {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        z-index: 2;
    }
}

/* Controle de som */
.sound-control {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.btn-sound {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.btn-sound:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-2px);
    border-color: #ff8c42;
}

.btn-sound.active {
    background: linear-gradient(45deg, #ff8c42, #ff6b35);
    border-color: #ff8c42;
}

/* Animação para mensagem do vídeo */
@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    20% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    80% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

/* Responsividade para mobile */
@media (max-width: 768px) {
    #youtube-video {
        width: 100vw;
        height: 100vh;
        min-height: 100vh;
        min-width: 100vw;
        transform: translate(-50%, -50%);
    }
    
    .sound-control {
        top: 10px;
        right: 10px;
    }
    
    .btn-sound {
        padding: 10px 16px;
        font-size: 0.8rem;
        min-height: 44px;
    }
    
    /* Mensagem do vídeo em mobile */
    .video-message {
        font-size: 12px !important;
        padding: 10px 20px !important;
        max-width: 90% !important;
        text-align: center !important;
    }
}


/* Seção de conteúdo do hero */
.hero-content-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.hero-content {
    text-align: center;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #333;
}

.highlight {
    background: linear-gradient(45deg, #ff8c42, #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #666;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: 250px;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(45deg, #ff8c42, #ff6b35);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 140, 66, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 140, 66, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #333;
    border: 2px solid #333;
}

.btn-secondary:hover {
    background: #333;
    color: white;
    transform: translateY(-3px);
}


.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    animation: bounce 2s infinite;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(45deg, #ff8c42, #ff6b35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Waitlist Section */
.waitlist {
    padding: 100px 0;
    background: linear-gradient(135deg, #f7903c 0%, #b73f00 100%);
    color: white;
}

.waitlist-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.waitlist-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.waitlist-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.benefit i {
    color: #42ffb0;
    font-size: 1.2rem;
}

.waitlist-form-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.waitlist-form h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus {
    outline: none;
    border-color: #ff8c42;
    background: rgba(255, 255, 255, 0.2);
}

.form-group i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #ff8c42, #ff6b35);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 140, 66, 0.3);
}

.form-disclaimer {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.success-message {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 3rem;
    color: #0bda3f;
    margin-bottom: 1rem;
}

.success-message h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.success-message p {
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hero Section Mobile */
    .hero {
        height: 100vh;
        min-height: 100vh;
    }
    
    .hero-content-section {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-primary, .btn-secondary {
        min-width: 280px;
        padding: 14px 28px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    /* Video Controls Mobile */
    .sound-control {
        top: 15px;
        right: 15px;
        flex-direction: column;
        gap: 8px;
    }
    
    .sound-control .btn-sound {
        padding: 8px 12px;
        font-size: 0.85rem;
        min-width: auto;
        width: auto;
    }
    
    /* Video Fallback Mobile */
    .video-fallback {
        padding: 20px;
    }
    
    .fallback-content h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .fallback-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-play-fallback {
        padding: 12px 24px;
        font-size: 1rem;
        min-width: 200px;
    }
    
    /* Features Mobile */
    .features {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .feature-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* Waitlist Mobile */
    .waitlist {
        padding: 60px 0;
    }
    
    .waitlist-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .waitlist-text h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .waitlist-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .benefits {
        gap: 0.8rem;
    }
    
    .benefit {
        font-size: 0.95rem;
    }
    
    .waitlist-form-container {
        padding: 2rem;
    }
    
    .waitlist-form h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .form-group input {
        padding: 12px 15px 12px 45px;
        font-size: 1rem;
        -webkit-appearance: none;
        appearance: none;
        appearance: none;
        border-radius: 50px;
        border: 2px solid rgba(255, 255, 255, 0.3);
    }
    
    .form-group input:focus {
        outline: none;
        border-color: #ff8c42;
        background: rgba(255, 255, 255, 0.2);
        -webkit-appearance: none;
        appearance: none;
    }
    
    .btn-submit {
        padding: 14px;
        font-size: 1rem;
        -webkit-appearance: none;
        appearance: none;
        border-radius: 50px;
        border: none;
        cursor: pointer;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    /* Hero Section Extra Small */
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.1;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }
    
    .btn-primary, .btn-secondary {
        min-width: 260px;
        padding: 12px 24px;
        font-size: 0.95rem;
        max-width: 280px;
    }
    
    /* Video Controls Extra Small */
    .sound-control {
        top: 10px;
        right: 10px;
        gap: 6px;
    }
    
    .sound-control .btn-sound {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    /* Features Extra Small */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* Waitlist Extra Small */
    .waitlist-text h2 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .waitlist-text p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    
    .waitlist-form-container {
        padding: 1.5rem;
    }
    
    .waitlist-form h3 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }
    
    .form-group input {
        padding: 10px 12px 10px 40px;
        font-size: 0.95rem;
        -webkit-appearance: none;
        appearance: none;
        border-radius: 50px;
        border: 2px solid rgba(255, 255, 255, 0.3);
    }
    
    .form-group input:focus {
        outline: none;
        border-color: #ff8c42;
        background: rgba(255, 255, 255, 0.2);
        -webkit-appearance: none;
        appearance: none;
    }
    
    .btn-submit {
        padding: 12px;
        font-size: 0.95rem;
        -webkit-appearance: none;
        appearance: none;
        border-radius: 50px;
        border: none;
        cursor: pointer;
    }
    
    /* Fallback Extra Small */
    .fallback-content h2 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .fallback-content p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    
    .btn-play-fallback {
        padding: 10px 20px;
        font-size: 0.95rem;
        min-width: 180px;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
