/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Main container when CTA is inside video */
.container:has(.video-container .cta-section) {
    min-height: 100vh;
}

/* Video Container */
.video-container {
    width: 100%;
    height: 70vh; /* reserve stable space for the video */
    min-height: 420px; /* keeps a nice size on desktop */
    position: relative;
    overflow: hidden;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Video Headline */
.video-headline {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    z-index: 5;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin: 0;
    padding: 0 20px;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: contain; /* show full video; no cropping */
    display: block;
    background-color: #000000;
}

/* CTA Section */
.cta-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: #000000;
    min-height: auto;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background-color: #ffcc00;
    color: #000000;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    text-align: center;
    min-height: 44px;
    min-width: 200px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
    border: 2px solid transparent;
}

.cta-button:hover {
    background-color: #ffaa00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.4);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 204, 0, 0.3);
}

/* Bonus Page Styles */
.bonus-page {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
}

.content-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    text-align: center;
}

.headline {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ffcc00, #ffaa00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.description {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #cccccc;
    max-width: 600px;
    line-height: 1.5;
}

.bonus-cta {
    font-size: 1.75rem;
    padding: 1.5rem 4rem;
    min-width: 250px;
}

/* Responsive Design */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .video-headline {
        font-size: 2rem;
        top: 15px;
        padding: 0 15px;
    }
    
    .cta-section {
        padding: 0.75rem 1rem;
    }
    
    .headline {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .description {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
    
    .cta-button {
        font-size: 1.25rem;
        padding: 1rem 2.5rem;
        min-width: 180px;
    }
    
    .bonus-cta {
        font-size: 1.5rem;
        padding: 1.25rem 3rem;
        min-width: 220px;
    }
    
    .cta-section {
        padding: 1.5rem 1rem;
    }
    
    .content-section {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .video-headline {
        font-size: 1.75rem;
        top: 10px;
        padding: 0 10px;
    }
    
    .cta-section {
        padding: 0.5rem 1rem;
    }
    
    .cta-button {
        font-size: 1.125rem;
        padding: 0.875rem 2rem;
        min-width: 160px;
    }
    
    .headline {
        font-size: 1.75rem;
    }
    
    .description {
        font-size: 1rem;
    }
    
    .cta-button {
        font-size: 1.125rem;
        padding: 0.875rem 2rem;
        min-width: 160px;
    }
    
    .bonus-cta {
        font-size: 1.25rem;
        padding: 1rem 2.5rem;
        min-width: 200px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .cta-button {
        transition: none;
    }
    
    .cta-button:hover {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .cta-button {
        border: 3px solid #ffffff;
    }
    
    .headline {
        -webkit-text-fill-color: #ffffff;
        color: #ffffff;
    }
}

/* Print styles */
@media print {
    .video-container {
        display: none;
    }
    
    .cta-button {
        background-color: #000000 !important;
        color: #ffffff !important;
        border: 2px solid #ffffff !important;
    }
}
