/* * =========================================
 * 1. GLOBAL SETUP & CSS VARIABLES
 * =========================================
 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Poppins:wght@600;700;800;900&display=swap');

:root {
    --color-bg: #111111;
    --color-text: #F5F5F5;
    --color-accent: #D42D2D; /* Brick Red */
    --color-bg-alt: #1a1a1a;
    --color-border: #444;
    --font-body: 'Inter', sans-serif;
    --font-display: 'Poppins', sans-serif;
    --container-width: 1100px;
    --padding-section: 5rem;
}

/* * =========================================
 * 2. BASE STYLES
 * =========================================
 */

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    letter-spacing: 0.25px;
    font-size: 16px; 
    background-image: url('images/grain-overlay.png');
    background-repeat: repeat;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 800; 
    line-height: 1.1; 
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-transform: uppercase; 
}

h1 { 
    font-size: 5rem; 
    font-weight: 900;
    letter-spacing: -2px;
}
h2 { 
    font-size: 4rem; 
    font-weight: 800;
    letter-spacing: -1px;
}
h3 { font-size: 1.75rem; }
h4 { 
    font-size: 1.3rem; 
    font-weight: 700;
    text-transform: none; 
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 { font-size: 3rem; letter-spacing: -1px; }
    h2 { font-size: 2.5rem; }
    h3 { font-size: 1.5rem; }
}

p { 
    margin-top: 0;
    margin-bottom: 1.5rem; 
}
a {
    color: var(--color-accent); 
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover { color: var(--color-text); }

img { max-width: 100%; height: auto; loading: lazy; }
ul, li { margin: 0; padding: 0; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative; 
    z-index: 2; 
}

/* * =========================================
 * 3. PAGE STRUCTURE (HEADER, FOOTER)
 * =========================================
 */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem; 
    padding-bottom: 1.5rem;
    z-index: 101; 
}
.logo { text-decoration: none; z-index: 10; }
.logo img { height: 30px; width: auto; display: block; }

/* Mobile Menu */
.mobile-menu-button {
    display: none; 
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}
.burger-line {
    width: 28px;
    height: 3px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}
@media (max-width: 768px) {
    .mobile-menu-button { display: flex; }
    .nav-links {
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: var(--color-bg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    }
    .nav-links.active { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav-link {
        font-size: 2rem;
        font-family: var(--font-display);
        font-weight: 600;
        color: var(--color-text);
        text-transform: uppercase;
    }
    .mobile-menu-button.active .burger-line:nth-child(1) { transform: translateY(10px) rotate(45deg); }
    .mobile-menu-button.active .burger-line:nth-child(2) { opacity: 0; }
    .mobile-menu-button.active .burger-line:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }
}

/* Desktop Nav */
@media (min-width: 769px) {
    .nav-links { display: flex; align-items: center; gap: 2rem; }
    .nav-link {
        font-family: var(--font-body);
        font-size: 1rem;
        font-weight: 600;
        color: var(--color-text);
        text-transform: uppercase; 
        letter-spacing: 0.5px;
        opacity: 0.9;
        transition: all 0.2s;
    }
    .nav-link:hover { opacity: 1; color: var(--color-text); }
    .cta-nav-link {
        background: var(--color-accent);
        color: var(--color-text);
        padding: 0.5rem 1rem;
        border-radius: 5px;
    }
    .cta-nav-link:hover { background: var(--color-text); color: var(--color-bg); opacity: 1; }
}

/* Footer */
.site-footer {
    padding: 2.5rem 0;
    border-top: 1px solid var(--color-border);
    text-align: center;
    font-size: 0.9rem;
    background-color: var(--color-bg-alt);
}
.footer-links { display: flex; justify-content: center; gap: 1.5rem; margin-top: 0.5rem; }

/* * =========================================
 * 4. SECTION & COMPONENT STYLES
 * =========================================
 */

.page-section { padding: var(--padding-section) 0; overflow: hidden; position: relative; }
.alt-bg { background-color: var(--color-bg-alt); }

/* Hero Section */
.hero {
    min-height: 90vh; 
    display: grid; 
    place-items: center;
    text-align: center;
    padding: var(--padding-section) 0;
    position: relative;
    background-color: var(--color-accent); /* Red fallback */
    color: var(--color-text); 
}

/* NEW: Hero Background Video */
.hero-background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    object-fit: cover;
    opacity: 0.3; /* Subtle */
}
.hero .container { z-index: 2; } /* Content above video */

/* Publisher Hero */
.hero-publisher {
    background: var(--color-bg-alt) url('images/publisher-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    position: relative;
}
.hero-publisher::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(17,17,17,0.7);
    z-index: 1;
}
.hero-publisher .container { z-index: 2; }

.hero h1, .hero p { color: var(--color-text); }
.hero p { font-size: 1.25rem; max-width: 650px; margin: 1.5rem auto 2.5rem; font-weight: 400; }
.hero-sub { font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; color: var(--color-text); opacity: 0.8; margin-top: 3rem; }

/* CTA Buttons */
.cta-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.cta-button {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 5px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 2px solid var(--color-text); 
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hero:not(.hero-publisher) .cta-button.primary { background-color: var(--color-text); color: var(--color-bg); border-color: var(--color-text); }
.hero:not(.hero-publisher) .cta-button.primary:hover { background-color: transparent; color: var(--color-text); transform: translateY(-2px); }
.hero:not(.hero-publisher) .cta-button.secondary { background-color: transparent; color: var(--color-text); border-color: var(--color-text); }
.hero:not(.hero-publisher) .cta-button.secondary:hover { background-color: var(--color-text); color: var(--color-bg); transform: translateY(-2px); }
.cta-button.primary { background-color: var(--color-accent); color: var(--color-text); border: 2px solid var(--color-accent); }
.cta-button.primary:hover { background-color: var(--color-accent); opacity: 0.8; transform: translateY(-2px); }
.cta-button.secondary { background-color: transparent; color: var(--color-text); border: 2px solid var(--color-border); }
.cta-button.secondary:hover { background-color: var(--color-text); color: var(--color-bg); border-color: var(--color-text); }
.hero.hero-publisher .cta-button.primary { background-color: var(--color-accent); color: var(--color-text); border-color: var(--color-accent); }
.hero.hero-publisher .cta-button.primary:hover { opacity: 0.8; }


/* NEW: Scrolling Watermark Title */
@keyframes marquee {
    from { transform: translateX(-20%); }
    to { transform: translateX(20%); }
}
.watermark-container {
    position: absolute;
    top: 2rem;
    left: 0;
    width: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}
.section-title-graphic {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 16rem; 
    line-height: 1;
    color: var(--color-accent); 
    opacity: 0; /* Hidden by default */
    white-space: nowrap;
    display: inline-block;
    transition: opacity 0.5s ease;
}
/* This class is added by JS */
.section-title-graphic.is-animating {
    opacity: 0.1;
    animation: marquee 20s linear infinite alternate;
}
@media (max-width: 768px) {
    .section-title-graphic { font-size: 8rem; }
    @keyframes marquee {
        from { transform: translateX(-50%); }
        to { transform: translateX(50%); }
    }
}


/* Content Styles */
.section-intro { font-size: 1.25rem; max-width: 750px; color: var(--color-text); opacity: 0.9; line-height: 1.7; }
.text-center { text-align: center; margin-left: auto; margin-right: auto; }

/* Q&A Grid */
.qa-grid { display: grid; grid-template-columns: 1fr; gap: 2rem 3rem; margin-top: 4rem; }
.qa-item { position: relative; }
.qa-item p { font-size: 1rem; color: var(--color-text); opacity: 0.8; margin-bottom: 0; }
@media (min-width: 768px) {
    .qa-grid { grid-template-columns: 1fr 1fr; }
}

/* Sticker Styles */
.sticker { position: absolute; z-index: 3; pointer-events: none; opacity: 0.7; }
.sticker-circle { width: 100px; top: -20px; left: -30px; transform: rotate(-15deg); }
.sticker-stamp { width: 100px; bottom: -30px; right: 0px; transform: rotate(10deg); }
.sticker-arrow { width: 80px; top: 0px; right: -20px; transform: rotate(20deg); }
.sticker-tech-grid { width: 300px; top: 0; right: -50px; opacity: 0.2; z-index: 1; }

/* NEW: Mobile Sticker Fix */
@media (max-width: 768px) {
    .sticker-circle { left: -15px; width: 60px; top: -10px; } /* Smaller */
    .sticker-stamp { right: 0px; width: 70px; bottom: -20px; } /* Smaller */
    .sticker-arrow { display: none; }
    .sticker-tech-grid { width: 200px; opacity: 0.1; }
}


/* Icon Feature Grid */
.icon-feature-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 4rem; text-align: center; }
.icon-feature-icon { line-height: 1; margin-bottom: 1rem; }
.icon-feature-icon img { height: 64px; width: auto; }
.icon-feature-item h3 { text-transform: none; font-weight: 700; font-size: 1.5rem; margin-bottom: 0.5rem; }
.icon-feature-item p { font-size: 1rem; opacity: 0.8; }
@media (min-width: 600px) { .icon-feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .icon-feature-grid { grid-template-columns: repeat(5, 1fr); } }

/* Pillars & Stats */
.pillars { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 3rem; position: relative; z-index: 2; }
.pillar { position: relative; z-index: 2; }
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillars.two-col-stats { max-width: 800px; margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .pillars.two-col-stats { grid-template-columns: repeat(2, 1fr); } }
.stat { font-size: 4rem; font-weight: 800; color: var(--color-accent); margin-bottom: 0.5rem; }
@media (max-width: 768px) { .stat { font-size: 3rem; } }

/* Editorial Image */
.editorial-image { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; max-height: 500px; }
.split-layout { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 768px) { .split-layout { grid-template-columns: 1fr 1fr; } }

/* Form Layout */
.form-layout { max-width: 600px; margin: 2rem auto 0; padding: 2.5rem; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 8px; }
.form-layout h3 { text-align: center; text-transform: uppercase; }
.form-layout div, .form-layout fieldset { margin-bottom: 1.5rem; }
.form-layout label { display: block; margin-bottom: 0.5rem; font-weight: 600; }
.form-layout input[type="text"], .form-layout input[type="email"], .form-layout input[type="url"], .form-layout select, .form-layout textarea {
    width: 100%; padding: 0.75rem; background-color: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: 5px; color: var(--color-text); font-family: var(--font-body); font-size: 1rem; box-sizing: border-box; 
}
.form-layout input:focus, .form-layout select:focus, .form-layout textarea:focus { outline: 2px solid var(--color-accent); border-color: var(--color-accent); }
.form-layout fieldset { border: 1px solid var(--color-border); padding: 1rem; }
.form-layout fieldset legend { padding: 0 0.5rem; margin-left: 0.5rem; }
.form-layout .cta-button { width: 100%; font-size: 1.1rem; }
.form-divider { border: 0; border-top: 1px solid var(--color-border); margin: 3.5rem auto; width: 80%; }

/* NEW: Checkbox Grid */
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.checkbox-grid label { font-weight: 400; display: flex; align-items: center; gap: 0.5rem; }
@media (max-width: 480px) { .checkbox-grid { grid-template-columns: 1fr; } }


/* --- NEW: Publisher Page Table --- */
.how-it-works-table {
    width: 100%;
    margin-top: 3rem;
    border-collapse: collapse;
    text-align: left;
}
.how-it-works-table th, .how-it-works-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
}
.how-it-works-table th {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: var(--color-text);
    opacity: 0.7;
}
.how-it-works-table td strong { color: var(--color-accent); font-weight: 800; }
@media (max-width: 600px) {
    .how-it-works-table thead { display: none; }
    .how-it-works-table tr { display: block; margin-bottom: 2rem; border: 1px solid var(--color-border); border-radius: 8px; }
    .how-it-works-table td { display: block; border-bottom: none; padding: 0.75rem 1.5rem; }
    .how-it-works-table td:last-child { padding-bottom: 1.5rem; }
    .how-it-works-table td::before {
        content: attr(data-label);
        font-family: var(--font-display);
        font-weight: 600;
        display: block;
        margin-bottom: 0.25rem;
        color: var(--color-accent);
    }
    /* We need JS to add the data-label, or just re-do the HTML. I'll just style it stacked. */
    .how-it-works-table td { border: none; }
    .how-it-works-table tr { padding: 1rem 0; }
    .how-it-works-table td:nth-of-type(1) { font-weight: 700; font-size: 1.2rem; color: var(--color-accent); }
}


/* Publisher Page: Check List */
.feature-list-checks { list-style-type: none; padding-left: 0; margin: 3rem auto; max-width: 800px; }
.feature-list-checks li { position: relative; padding-left: 2.5rem; margin-bottom: 1.5rem; font-size: 1.2rem; line-height: 1.6; }
.feature-list-checks li::before { content: '✅'; position: absolute; left: 0; top: 0; font-size: 1.5rem; }

/* Publisher Page: Partner Logos */
.pillars.partner-logos .pillar { display: grid; place-items: center; min-height: 100px; }
.partner-logo { max-height: 60px; width: auto; filter: brightness(0) invert(1) grayscale(1); opacity: 0.6; transition: opacity 0.2s ease; }
.partner-logo:hover { opacity: 1; }


/* --- NEW: Static Content Page (AI, Privacy) --- */
.content-container {
    max-width: 800px; /* Tighter for reading */
    margin: 0 auto;
}
.content-container h2 {
    color: var(--color-accent);
    margin-top: 3rem;
}
.content-container h2:first-of-type {
    margin-top: 0;
}
.content-container ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}
.content-container li {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}
.principles-list .principles-item {
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden; /* For stickers */
    padding: 1rem;
}
.principles-list .principles-item h3 {
    text-transform: none;
    color: var(--color-accent);
}
.sticker-blueprint { width: 300px; top: -50px; right: -80px; opacity: 0.1; }
.sticker-shield { width: 120px; bottom: 0; right: 0; opacity: 0.5; }


/* * =========================================
 * 5. ACCESSIBILITY & ANIMATION
 * =========================================
 */

/* Parallax Background */
.parallax-bg {
    background-image: url('images/mesh-background.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    z-index: 1;
}
.parallax-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(17, 17, 17, 0.9); 
    z-index: 1; 
}
.parallax-bg .container { position: relative; z-index: 2; }

/* Accessibility Toggles */
.accessibility-tools { position: fixed; bottom: 1rem; left: 1rem; z-index: 101; display: flex; gap: 0.5rem; }
.accessibility-tools button {
    background: var(--color-text); color: var(--color-bg); border: 0; border-radius: 5px; padding: 0.5rem 0.8rem; font-weight: 600; cursor: pointer; font-family: var(--font-body);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 1rem; right: 1rem;
    z-index: 100;
    background: var(--color-accent); 
    color: #fff;
    height: 40px; width: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 1.5rem;
    text-decoration: none;
    opacity: 0; visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* High Contrast & Font Size */
body.high-contrast {
    --color-bg: #000000;
    --color-text: #FFFFFF;
    --color-accent: #FFFF00; 
    --color-cta: #FFFF00;
    --color-border: #FFFFFF;
    --color-bg-alt: #000000;
}
body.high-contrast .hero { background-color: var(--color-bg); }
body.high-contrast .hero-background-video { opacity: 0.05; }
body.high-contrast .hero .cta-button.primary { background: var(--color-accent); color: var(--color-bg); }
body.high-contrast .hero .cta-button.secondary { border-color: var(--color-accent); color: var(--color-accent); }
body.high-contrast .cta-button.primary { background-color: var(--color-accent); color: var(--color-bg); }
.high-contrast .icon-feature-icon img { filter: brightness(0) invert(1) grayscale(1) brightness(2); }
body.high-contrast .parallax-bg::before { background-color: rgba(0, 0, 0, 0.95); }
.high-contrast .partner-logo { filter: brightness(0) invert(1) grayscale(1) brightness(2); opacity: 1; }
.high-contrast .section-title-graphic { opacity: 0.1 !important; }

body.large-font { font-size: 18px; }


/* Scroll-Triggered Animations */
[data-animate] {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
[data-animate="fade-up"] { transform: translateY(40px); }
[data-animate="fade-from-left"] { transform: translateX(-60px); }
[data-animate="fade-from-right"] { transform: translateX(60px); }
[data-animate].is-visible { opacity: 1; transform: none; }

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  [data-animate],
  .back-to-top,
  .sticker,
  .section-title-graphic {
    transition: none;
    animation: none;
    opacity: 1;
    transform: none;
  }
  .section-title-graphic { opacity: 0.1; }
}
/* * =========================================
 * 6. NEW STYLES (Privacy & Content Pages)
 * =========================================
 * Add this to the end of your style.css file
 */

/* Content Page List Styles */
.content-container ul {
    list-style-type: none; /* Remove default bullets */
    padding-left: 0;
}
.content-container li {
    position: relative;
    padding-left: 2rem; /* Make space for custom bullet */
    font-size: 1.1rem;
    line-height: 1.7;
}
.content-container li::before {
    content: '→'; /* Use the red arrow */
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent);
    font-weight: 700;
}

/* New Privacy Table */
.privacy-table {
    width: 100%;
    margin-top: 2rem;
    border-collapse: collapse;
    text-align: left;
}
.privacy-table th, .privacy-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
}
.privacy-table th {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: var(--color-text);
    opacity: 0.7;
}
.privacy-table td strong {
    color: var(--color-accent);
    font-weight: 800;
    font-size: 1.1rem;
}

/* Responsive Table for Mobile */
@media (max-width: 768px) {
    .privacy-table thead {
        display: none; /* Hide headers on mobile */
    }
    .privacy-table tr {
        display: block;
        margin-bottom: 2rem;
        border: 1px solid var(--color-border);
        border-radius: 8px;
        padding: 1rem;
    }
    .privacy-table td {
        display: block;
        border-bottom: none;
        padding: 0.5rem 0;
    }
    .privacy-table td:last-child {
        padding-bottom: 0.5rem;
    }
    /* Use 'data-label' to show headers inline */
    .privacy-table td::before {
        content: attr(data-label);
        font-family: var(--font-display);
        font-weight: 600;
        display: block;
        margin-bottom: 0.25rem;
        color: var(--color-accent);
        opacity: 0.8;
        font-size: 0.9rem;
        text-transform: uppercase;
    }
    
    /* We must re-do the HTML to add the data-label. 
       Let's use a simpler stack instead. */
    .privacy-table td {
        padding: 0.5rem 0;
    }
    .privacy-table td:nth-of-type(1) {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--color-accent);
    }
    .privacy-table td:nth-of-type(2) {
        font-size: 1rem;
        opacity: 0.9;
        padding-bottom: 1rem;
    }
    .privacy-table td:nth-of-type(3) {
        font-size: 0.9rem;
        opacity: 0.8;
    }
}
/* * =========================================
 * 7. NEW STYLES (Content Page Quote)
 * =========================================
 * Add this to the end of your style.css file
 */

.content-quote {
    text-align: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.2rem;
    text-transform: uppercase;
    margin: 2.5rem 0;
    padding-top: 2.5rem;
    border-top: 1px solid var(--color-border);
}
/* * =========================================
 * 8. NEW: HERO BACKGROUND FIX (Desktop Video / Mobile Image)
 * =========================================
 * Add this to the end of your style.css file
 */

/* --- DESKTOP: Video Background --- */

/* This styles the video element */
.hero-background-video {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    z-index: 1;
    object-fit: cover;
    opacity: 0.3; /* Subtle 30% opacity */
    display: block; /* Make sure it's visible by default */
}

/* This is the main hero section */
.hero {
    background-color: var(--color-accent); /* Red fallback */
    position: relative;
    overflow: hidden; /* Ensure video doesn't spill */
}

/* Ensure content is on top */
.hero .container {
    z-index: 3;
    position: relative;
}

/* --- MOBILE: Static Image Background --- */

@media (max-width: 768px) {
    
    /* 1. Hide the video on mobile */
    .hero-background-video {
        display: none;
    }

    /* 2. Add the new static image */
    .hero {
        background-image: url('images/hero-mobile-bg.jpg');
        background-size: cover;
        background-position: center center;
        min-height: 80vh;
    }
    
    /* 3. Add a dark overlay FOR THE IMAGE for readability */
    .hero::before {
        content: '';
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
        /* 60% black overlay */
        background-color: rgba(0, 0, 0, 0.6); 
        z-index: 2; /* Place it *below* the text */
    }
}