:root {
    --bg-color: #050505;
    --surface-color: #0f0f0f;
    --surface-hover: #1a1a1a;
    --primary-color: #8a0303;
    /* Deep Blood Red */
    --primary-glow: #ff0000;
    /* Bright Red for Glows */
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-success: #00ff88;
    --accent-error: #ff3333;
    --font-main: 'Outfit', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --border-radius-sm: 4px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography Headings */
h1,
h2,
h3 {
    line-height: 1.1;
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(to right, #fff, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-text {
    color: var(--primary-glow);
    -webkit-text-fill-color: var(--primary-glow);
    text-shadow: 0 0 20px rgba(138, 3, 3, 0.6);
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #b30000 100%);
    color: white;
    text-decoration: none;
    padding: 1rem 2.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 12px;
    /* Square with rounded corners */
    box-shadow: 0 4px 20px rgba(138, 3, 3, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 50px rgba(255, 0, 0, 0.6);
}

/* Image Placeholders */
.image-placeholder {
    background-color: #1a1a1a;
    border: 2px dashed #333;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.image-placeholder:hover {
    border-color: var(--primary-color);
}

.image-placeholder::after {
    content: attr(data-label);
}

/* Image Overrides */
img.logo-placeholder,
img.testimonial-placeholder,
img.movie-placeholder {
    background-color: transparent;
    border: none;
}

img.logo-placeholder {
    object-fit: contain;
}

img.movie-placeholder {
    object-fit: cover;
}


img.testimonial-placeholder {
    object-fit: fill;
    /* Use fill or cover depending on desire, but 'contain' inside a 100% width box usually works best if we remove fixed height, but 'width: 100%; height: auto' is the key */
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img.testimonial-placeholder:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(138, 3, 3, 0.2);
    border-color: var(--primary-color);
}

/* HERO SECTION */
.hero {
    position: relative;
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    text-align: center;
    background: radial-gradient(circle at center top, #1a0000 0%, var(--bg-color) 70%);
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.logo-placeholder {
    width: 200px;
    height: 60px;
}

.main-headline {
    font-size: 3.5rem;
    max-width: 900px;
    margin: 0 auto var(--spacing-sm);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.sub-headline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.vsl-container {
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
    position: relative;
}

.vsl-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--border-radius-md);
    background-color: #000;
    border: 1px solid #333;
    font-size: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.vsl-placeholder i {
    font-size: 4rem;
    color: var(--primary-glow);
    z-index: 2;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.offer-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    max-width: 600px;
    margin: var(--spacing-md) auto 0;
    backdrop-filter: blur(10px);
}

.price-tag {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.new-price {
    color: var(--primary-glow);
    font-weight: 700;
    font-size: 2rem;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
}

.delivery-info {
    color: var(--accent-success);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

/* COMPARISON SECTION */
.comparison {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 15, 15, 0.5);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.comparison-table th,
.comparison-table td {
    padding: 1.25rem 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    padding-left: 2rem;
    font-weight: 600;
    color: #e0e0e0;
}

.comparison-table th {
    background: rgba(255, 255, 255, 0.02);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

/* Styling the OmniFlix Column */
.comparison-table .highlight-col {
    background: rgba(138, 3, 3, 0.15);
    color: #fff;
    font-weight: 700;
    border-left: 1px solid rgba(138, 3, 3, 0.3);
    border-right: 1px solid rgba(138, 3, 3, 0.3);
    position: relative;
}

.comparison-table th.highlight-col {
    color: var(--primary-glow);
    font-size: 1.1rem;
    border-top: 2px solid var(--primary-color);
}

.price-cell {
    font-size: 1.25rem;
    color: var(--primary-glow) !important;
}

/* SECTION GLOBAL STYLES */
section {
    padding: var(--spacing-xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* TESTIMONIALS */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    align-items: start;
    /* Align correctly if heights differ */
}


.testimonial-placeholder {
    /* aspect-ratio removed to allow full vertical size of screenshot */
    display: block;
}

/* SHOWCASE CAROUSEL */
.showcase {
    overflow: hidden;
    /* Hide scrollbar for marquee */
    padding: var(--spacing-xl) 0;
}

.movie-carousel-wrapper {
    width: 100%;
    position: relative;
    display: flex;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.movie-track {
    display: flex;
    gap: var(--spacing-sm);
    animation: scroll 20s linear infinite;
    width: max-content;
}

.movie-track:hover {
    animation-play-state: paused;
}

.movie-placeholder {
    width: 200px;
    height: 300px;
    /* Force height for carousel items */
    aspect-ratio: 2/3;
    border-radius: var(--border-radius-md);
    flex-shrink: 0;
    background: #111;
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

.movie-placeholder:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - var(--spacing-sm) / 2));
        /* Move half of double-track */
    }
}

/* PLANS */
.plans-container {
    max-width: 800px;
    margin: 0 auto;
}

.plan-placeholder {
    width: 100%;
    height: 300px;
}

/* FOOTER & FAQ */
.footer {
    padding: var(--spacing-xl) 0 var(--spacing-md);
    background: #000;
    border-top: 1px solid rgba(138, 3, 3, 0.2);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.faq-item {
    background: var(--surface-color);
    margin-bottom: 1rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.faq-item summary {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    /* Hide default triangle */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 0.5rem;
    padding-top: 1rem;
}

.support-info {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.email-link {
    color: var(--primary-glow);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
}

.copyright {
    text-align: center;
    color: #444;
    font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    /* VSL Mobile Height - 9:16 Vertical Request */
    .vsl-placeholder {
        aspect-ratio: 9/16;
        max-height: 70vh;
    }

    .main-headline {
        font-size: 2.2rem;
    }

    .sub-headline {
        font-size: 1.1rem;
    }

    .comparison-table {
        min-width: unset;
        /* Allow table to fit container logic */
        width: auto;
        display: block;
        /* Changes to block to allow internal scrolling behaviours if needed, or keep table */
        display: table;
        /* Keep as table for structure */
    }

    .table-wrapper {
        margin: 0 -1rem;
        /* Full bleed */
        border-radius: 0;
        border-left: none;
        border-right: none;
        position: relative;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;

        /* Hinting scroll */
        background:
            linear-gradient(90deg, var(--surface-color) 30%, transparent 40%) center left,
            linear-gradient(90deg, transparent 60%, rgba(0, 0, 0, 0.5) 100%) center right,
            radial-gradient(farthest-side at 0 50%, rgba(0, 0, 0, 0.4), transparent),
            radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, 0.4), transparent);
        background-repeat: no-repeat;
        background-attachment: local, local, scroll, scroll;
        background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 1rem 0.5rem;
        font-size: 0.85rem;
        white-space: nowrap;
        /* Prevent breaking lines to keep rows aligned */
    }

    /* Column Widths for alignment */
    .comparison-table th:first-child,
    .comparison-table td:first-child {
        min-width: 110px;
        max-width: 110px;
        width: 110px;
        position: sticky;
        left: 0;
        z-index: 20;
        background-color: var(--surface-color);
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
        white-space: normal;
        vertical-align: middle;
        line-height: 1.2;
    }

    /* Make OmniFlix Column Sticky too */
    .comparison-table th:nth-child(2),
    .comparison-table td:nth-child(2) {
        position: sticky;
        left: 110px;
        z-index: 25;
        background-color: rgba(30, 0, 0, 0.95) !important;
        border-right: 1px solid var(--primary-color);
        box-shadow: 4px 0 10px rgba(0, 0, 0, 0.8);
        min-width: 120px;
    }

    /* Adjust header specific styles for sticky */
    .comparison-table th:first-child {
        background-color: #0f0f0f;
        /* darker header */
        z-index: 30;
    }

    .comparison-table th:nth-child(2) {
        z-index: 35;
        background-color: #2a0000 !important;
    }

    /* Visual cue for scrolling */
    .scroll-hint {
        display: block;
        text-align: center;
        padding: 0.5rem;
        font-size: 0.8rem;
        color: var(--text-secondary);
        background: rgba(255, 255, 255, 0.05);
        border-radius: 4px;
        margin-bottom: 5px;
        position: sticky;
        left: 0;
    }
}

/* Hide scroll hint on desktop */
@media (min-width: 769px) {
    .scroll-hint {
        display: none;
    }
}