:root {
    --bg-color: #0A0A0A;
    --bg-gradient: #080D14;
    --text-main: #FFFFFF;
    --text-secondary: #8A8A8A;
    --accent: #1A3A4A;
    --cta-bg: #FFFFFF;
    --cta-text: #0A0A0A;
    --font-family: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-family);
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem 1.5rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.5rem;
}

header {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    animation: fadeInDown 0.8s ease-out forwards;
    opacity: 0;
}

.headline {
    font-size: clamp(1.875rem, 4.5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    max-width: 700px;
    margin: 0 auto;
}

.subheadline {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.micro-copy {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-secondary);
    opacity: 0.8;
}

main {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.video-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--bg-color);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 100px rgba(26, 58, 74, 0.05); /* Toque sutil do azul petróleo */
    transition: transform 0.4s ease;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-gradient) 100%);
    cursor: pointer;
    transition: background 0.4s ease;
}

.video-placeholder:hover {
    background: linear-gradient(135deg, #0d0d0d 0%, #0a101a 100%);
}

.play-icon {
    width: 72px;
    height: 72px;
    color: var(--text-main);
    opacity: 0.7;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-wrapper:hover .play-icon {
    opacity: 1;
    transform: scale(1.1);
}

.cta-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--cta-bg);
    color: var(--cta-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    padding: 1.125rem 3rem;
    border-radius: 2px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    width: 100%;
    max-width: 420px;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.cta-button:hover {
    transform: translateY(-2px);
    background-color: #F0F0F0;
}

.cta-button:active {
    transform: translateY(0);
}

.cta-support {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 400;
}

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

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

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.modal-content {
    background-color: #0A0A0A;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 2.5rem 2rem;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    animation: scaleUp 0.3s ease-out forwards;
}

.modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 700;
}

.modal-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.btn-confirm {
    background-color: var(--cta-bg);
    color: var(--cta-text);
    text-decoration: none;
    font-weight: 600;
    padding: 1.125rem;
    border-radius: 2px;
    transition: transform 0.2s ease, background-color 0.2s ease;
    display: block;
    width: 100%;
}

.btn-confirm:hover {
    background-color: #F0F0F0;
    transform: translateY(-2px);
}

.btn-cancel {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0.5rem;
    text-decoration: underline;
    font-family: inherit;
}

.btn-cancel:hover {
    color: var(--text-main);
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Footer e Legal */
footer {
    width: 100%;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links button {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    font-family: inherit;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-links button:hover {
    color: var(--text-main);
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.6;
}

.legal-modal-content {
    max-width: 600px;
}

.legal-text {
    text-align: left;
    max-height: 50vh;
    overflow-y: auto;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding-right: 1rem;
    margin-bottom: 2rem;
}

.legal-text p {
    margin-bottom: 1rem;
}

.legal-text::-webkit-scrollbar {
    width: 6px;
}

.legal-text::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.legal-text::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

/* Responsividade */
@media (max-width: 600px) {
    .container {
        gap: 2.5rem;
    }
    
    main {
        gap: 2.5rem;
    }

    .headline {
        font-size: 1.75rem;
    }

    .play-icon {
        width: 56px;
        height: 56px;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1.05rem;
    }
}
