/* Global Styles */
@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: normal;
}

:root {
    --primary-color: #0A192F;
    /* Dark Blue */
    --secondary-color: #FFFFFF;
    /* White */
    --bg-light: #F4F4F9;
    /* Light Grey */
    --accent-color: #C0A062;
    /* Gold/Bronze-ish - Adjusted for seriousness */
    --accent-hover: #D4B475;
    --text-main: #333333;
    --text-light: #F4F4F9;
    --font-family: 'Inter', sans-serif;
    --spacing-unit: 1rem;
    --border-radius: 8px;
    --transition-speed: 0.3s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    background-color: var(--secondary-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-headline {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--accent-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.btn-large {
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Hero Section */
.hero-section {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 6rem 0 4rem;
    text-align: center;
}

.hero-headline {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subline {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.video-container {
    max-width: 800px;
    margin: 0 auto 3rem;
    background: #000;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    aspect-ratio: 16 / 9;
    /* Enforce 16:9 aspect ratio */
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}



/* YouTube Facade Pattern */
.video-facade {
    position: relative;
    width: 100%;
    /* aspect-ratio prevents CLS */
    aspect-ratio: 16 / 9;
    cursor: pointer;
    background: #000;
    overflow: hidden;
}

.facade-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.facade-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    text-align: center;
    /* Soft fade-in on hover for effect */
    transition: background 0.3s ease;
}

.video-facade:hover .facade-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.play-btn {
    font-size: 3rem;
    color: #fff;
    background: rgba(255, 0, 0, 0.85);
    /* YouTube Red-ish */
    border: none;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-bottom: 1rem;
    transition: transform 0.2s ease, background 0.2s ease;
}

.video-facade:hover .play-btn {
    transform: scale(1.1);
    background: #ff0000;
}

.gdpr-notice {
    font-size: 0.85rem;
    padding: 0 1rem;
    opacity: 0.9;
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.gdpr-notice a {
    color: #fff;
    text-decoration: underline;
}

/* Problem Section */
.problem-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Solution Section */
.solution-section {
    padding: 5rem 0;
}

.intro-text {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #555;
}

.solution-points {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.solution-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.check-icon {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.solution-content {
    font-size: 1.1rem;
}

.solution-content strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

/* Offer Section */
.offer-section {
    padding: 5rem 0;
}

.offer-box {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 4rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.offer-box h2 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.offer-list {
    list-style: none;
    margin-top: 2rem;
    font-size: 1.2rem;
}

.offer-list li {
    margin-bottom: 1rem;
}

/* Learning Videos Section */
.learning-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.learning-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.learning-text {
    flex: 1;
    min-width: 300px;
}

.learning-image {
    flex: 1;
    min-width: 300px;
}

.learning-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    text-align: center;
    background-color: var(--bg-light);
}

.contact-section h3 {
    margin-bottom: 1rem;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.subtext {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1.5rem;
}

/* Footer */
.site-footer {
    background-color: var(--primary-color);
    color: #8892b0;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.separator {
    margin: 0 0.5rem;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 10vh auto;
    padding: 2rem;
    border: 1px solid #888;
    width: 90%;
    max-width: 800px;
    border-radius: var(--border-radius);
    position: relative;
    color: #333;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.close-modal:hover,
.close-modal:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.legal-text h3 {
    margin-top: 0;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.legal-text h4 {
    margin-top: 1.5rem;
    color: var(--primary-color);
}

/* Image Popup */
.image-modal-content {
    padding: 2.5rem;
    max-width: 1000px;
    width: 95%;
    text-align: center;
    background-color: var(--secondary-color);
}

.popup-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
}

.popup-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.popup-btn {
    width: 100%;
    max-width: 450px;
    font-size: 1.4rem;
    padding: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.image-modal-content .close-modal {
    top: 1rem;
    right: 1.5rem;
    z-index: 10;
    font-size: 36px;
}

/* Popups & Elements */
.slide-in-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    z-index: 900;
    transform: translateY(0);
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    border-left: 5px solid var(--accent-color);
}

.slide-in-popup.hidden {
    transform: translateY(150%);
    opacity: 0;
    pointer-events: none;
}

.close-icon {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 1.2rem;
    cursor: pointer;
    color: #999;
}

.slide-in-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.slide-in-content p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.slide-in-content .btn {
    width: 100%;
    background-color: var(--primary-color);
    color: #fff;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: #fff;
    padding: 1rem;
    z-index: 950;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-content .btn {
    border: 1px solid #fff;
    color: #fff;
    padding: 0.5rem 1.5rem;
}

.cookie-content .btn:hover {
    background-color: #fff;
    color: var(--primary-color);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 1.8rem;
    }

    .hero-subline {
        font-size: 1rem;
    }

    .section-headline {
        font-size: 1.5rem;
    }

    .cta-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .slide-in-popup {
        left: 20px;
        right: 20px;
        width: auto;
    }

    .image-modal-content {
        padding: 1.2rem;
        width: 95%;
        margin: 5vh auto;
    }

    .popup-image-container {
        gap: 1.2rem;
        margin-top: 0.5rem;
    }

    .popup-btn {
        font-size: 1.1rem;
        padding: 1rem;
    }

    .image-modal-content .close-modal {
        top: 0.5rem;
        right: 1rem;
        font-size: 28px;
    }
}