/* ================================================================
   OSSTV — NOIR CINEMA
   A cinematic streaming experience. Dark. Bold. Red.
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Core */
    --bg: #0b0b0f;
    --bg-elevated: #12121a;
    --bg-card: #16161f;
    --bg-hover: #1c1c28;
    --surface: #1e1e2a;
    
    /* Red system */
    --red: #e50914;
    --red-hover: #ff1a25;
    --red-dark: #b20710;
    --red-glow: rgba(229, 9, 20, 0.25);
    --red-subtle: rgba(229, 9, 20, 0.08);
    
    /* Neutral */
    --white: #ffffff;
    --white-90: rgba(255,255,255,0.9);
    --white-70: rgba(255,255,255,0.7);
    --white-50: rgba(255,255,255,0.5);
    --white-30: rgba(255,255,255,0.3);
    --white-15: rgba(255,255,255,0.15);
    --white-08: rgba(255,255,255,0.08);
    --white-04: rgba(255,255,255,0.04);
    
    /* Typography */
    --font-display: 'Bebas Neue', 'Impact', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Motion */
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Layout */
    --container: 1240px;
    --header-h: 72px;
    --section-pad: clamp(80px, 10vw, 140px);
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 20px);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Film grain overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: var(--font-body); border: none; outline: none; }

/* ===== LAYOUT ===== */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 1;
}

.section { padding: var(--section-pad) 0; position: relative; }

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white);
    line-height: 1;
    margin-bottom: 16px;
    display: inline-block;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--red);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--white-50);
    max-width: 520px;
    margin: 24px auto 0;
    font-weight: 300;
    line-height: 1.7;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 36px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease);
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
}

.btn-primary::before { background: var(--red-hover); }

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px var(--red-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white-30);
}

.btn-secondary::before { background: var(--white-08); }

.btn-secondary:hover {
    border-color: var(--white);
    transform: translateY(-3px);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 14px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.badge-pro { background: var(--red); color: var(--white); box-shadow: none; border-radius: 0; }
.badge-lite { background: var(--white); color: var(--bg); box-shadow: none; border-radius: 0; }

.text-gradient { color: var(--red); background: none; -webkit-background-clip: unset; -webkit-text-fill-color: var(--red); }

/* Glass card base */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--white-08);
    border-radius: 0;
    backdrop-filter: none;
    box-shadow: none;
}
.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    border-color: var(--white-15);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    height: var(--header-h);
    display: flex;
    align-items: center;
    padding: 0;
    transition: all 0.4s var(--ease);
    background: rgba(11, 11, 15, 0.6);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--white-08);
}

.header.scrolled {
    background: rgba(11, 11, 15, 0.95);
    height: 60px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
    border-bottom-color: var(--white-04);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { display: flex; align-items: center; }

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: brightness(1);
    transition: all 0.3s var(--ease);
}

.header.scrolled .logo-img { height: 32px; }

.logo:hover .logo-img { transform: scale(1.04); filter: brightness(1.1); }

.logo-text { display: none; }

/* Nav */
.nav-toggle {
    display: none;
    background: transparent;
    color: var(--white);
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    cursor: pointer; z-index: 100;
    border: none;
}

.nav-toggle svg { fill: var(--white); color: var(--white); }

.main-nav ul { display: flex; gap: 2px; align-items: center; }

.nav-item { position: relative; }

.nav-link {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 8px 14px;
    color: var(--white-70);
    position: relative;
    transition: color 0.3s;
    letter-spacing: 0.02em;
    border-radius: 0;
}

.nav-link::before { display: none !important; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 14px; right: 14px;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s var(--ease);
}

.nav-link:hover { color: var(--white); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-link.active { color: var(--white); font-weight: 600; }
.nav-link.active::after { transform: scaleX(1); }

/* Footer active links */
.footer-links a.active { color: var(--red); font-weight: bold; position: relative; }
.footer-links a.active::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 100%; height: 2px; background-color: var(--red); }
.footer-links a:hover { color: var(--red); transition: color 0.3s ease; }

/* ===== HERO ===== */
.hero-section {
    min-height: 100vh;
    padding: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--bg);
}

/* Dramatic red glow */
.hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Grid */
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--white-04) 1px, transparent 1px),
        linear-gradient(90deg, var(--white-04) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 100%);
    z-index: 0;
    pointer-events: none;
}

.hero-bg, .hero-bg-grid, .hero-bg-glow, .floating-shapes, .shape,
.hero-image-glow, .hero-image-frame { display: none !important; }

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 160px 0 100px;
}

.hero-text { max-width: 580px; }

.hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red);
    background: var(--red-subtle);
    border: 1px solid rgba(229, 9, 20, 0.2);
    margin-bottom: 28px;
    opacity: 0;
    animation: heroUp 0.8s 0.2s var(--ease) forwards;
}

.hero-subtitle::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--red);
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes livePulse {
    0%,100% { opacity: 1; box-shadow: 0 0 0 0 var(--red-glow); }
    50% { opacity: 0.5; box-shadow: 0 0 0 8px transparent; }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 24px;
    opacity: 0;
    animation: heroUp 0.8s 0.35s var(--ease) forwards;
}

.hero-title span {
    display: block;
    color: var(--red);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: var(--red);
}

.hero-description {
    font-size: 1rem;
    color: var(--white-50);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 460px;
    opacity: 0;
    animation: heroUp 0.8s 0.5s var(--ease) forwards;
}

.hero-btns {
    display: flex;
    gap: 16px;
    opacity: 0;
    animation: heroUp 0.8s 0.65s var(--ease) forwards;
}

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

/* Trust badges */
.bf-trust-badges {
    display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px;
    opacity: 0; animation: heroUp 0.8s 0.8s var(--ease) forwards;
}

.trust-badge {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 16px;
    background: var(--white-04);
    border: 1px solid var(--white-08);
    border-radius: 0;
}

.trust-icon { color: var(--red); filter: none; }
.trust-text { font-size: 0.75rem; font-weight: 600; color: var(--white-70); letter-spacing: 0.02em; }

/* Hero image */
.hero-image-container {
    position: relative;
    opacity: 0;
    animation: heroUp 1s 0.4s var(--ease) forwards;
}

.hero-image {
    width: 100%; max-width: 520px; height: auto;
    border-radius: 0;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
    animation: none;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Red line accent under hero image */
.hero-image-container::after {
    content: '';
    position: absolute;
    bottom: -12px; left: 10%; right: 10%;
    height: 4px;
    background: var(--red);
    box-shadow: 0 0 30px var(--red-glow);
}

/* ===== PLANS ===== */
.plans-section {
    padding: var(--section-pad) 0;
    background: var(--bg-elevated);
    position: relative;
    overflow: hidden;
}

/* Watermark */
.plans-section::before {
    content: 'SELECT YOUR PLAN';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: clamp(6rem, 14vw, 12rem);
    font-weight: 400;
    color: var(--white-04);
    letter-spacing: 0.1em;
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
}

.plans-bg, .plans-bg-grid, .plans-bg-gradient { display: none; }

/* Tabs */
.plan-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
    position: relative; z-index: 2;
}

.plan-tab-container {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--white-15);
    border-radius: 0;
    padding: 4px;
    display: flex;
    overflow: hidden;
    min-width: 400px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.tab-slider { display: none; }

.plan-tab {
    padding: 14px 36px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--white-50);
    cursor: pointer;
    position: relative; z-index: 2;
    transition: all 0.35s var(--ease);
    border-radius: 0;
    min-width: auto;
    text-align: center;
    flex: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-family: var(--font-body);
}

.plan-tab.active {
    background: var(--red);
    color: var(--white);
    text-shadow: none;
    box-shadow: 0 4px 20px var(--red-glow);
}

.plan-tab:hover:not(.active) { background: var(--white-08); color: var(--white); }

/* Plan Cards */
.plan-card, .plans-showcase .plan-card {
    background: var(--bg-card);
    border: 1px solid var(--white-08);
    border-radius: 0;
    padding: 48px;
    max-width: 920px;
    margin: 0 auto;
    position: relative;
    backdrop-filter: none;
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
    transition: all 0.4s var(--ease);
}

.plan-card:hover {
    transform: none;
    box-shadow: 0 16px 60px rgba(0,0,0,0.4);
    border-color: var(--white-15);
}

.card-pro, #proPlanCard { border-left: 4px solid var(--red); }
.card-lite, #litePlanCard { border-left: 4px solid var(--white-50); }

.card-content-wrapper { display: flex; gap: 48px; align-items: flex-start; }
.card-main-content { flex: 1; }

.card-title-wrap { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }

.card-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    letter-spacing: 0.08em;
    color: var(--white);
    background: none; -webkit-background-clip: unset; -webkit-text-fill-color: var(--white);
}

.card-description { color: var(--white-50); font-size: 0.95rem; font-weight: 300; margin-bottom: 32px; line-height: 1.6; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

.stat-item {
    background: var(--white-04);
    border: 1px solid var(--white-08);
    border-radius: 0;
    padding: 20px 14px;
    text-align: center;
    transition: all 0.3s var(--ease);
    contain: content;
}

.stat-item:hover {
    border-color: var(--red);
    background: var(--red-subtle);
    transform: translateY(-3px);
}

.stat-icon { margin-bottom: 8px; color: var(--red); }
.stat-icon svg { stroke: var(--red); width: 22px; height: 22px; }

.stat-value {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--white);
    line-height: 1;
    background: none; -webkit-background-clip: unset; -webkit-text-fill-color: var(--white);
}

.stat-label {
    font-size: 0.65rem;
    color: var(--white-50);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
    font-weight: 500;
}

/* Quality */
.card-side-content { min-width: 130px; }
.quality-section { text-align: center; }
.quality-title { font-size: 0.65rem; color: var(--white-50); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px; font-weight: 600; }
.quality-badges-vertical { display: flex; flex-direction: column; gap: 8px; }

.quality-badge {
    padding: 8px 20px;
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
    text-align: center;
    border: 1px solid var(--white-30);
    color: var(--white);
    background: transparent;
    border-radius: 0;
    transition: all 0.3s;
}

.quality-badge:hover { background: var(--red); border-color: var(--red); }

.comparison-slider-container { display: none; }

/* Plan actions */
.plan-actions {
    display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 40px;
}

.btn-card {
    padding: 16px 36px;
    font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s var(--ease);
    font-family: var(--font-body);
    border: 1px solid var(--white-30);
    background: transparent;
    color: var(--white);
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.btn-card::before {
    content: '';
    position: absolute; inset: 0;
    background: var(--white);
    transform: translateY(100%);
    transition: transform 0.4s var(--ease);
    z-index: 0;
}

.btn-card:hover::before { transform: translateY(0); }
.btn-card:hover { color: var(--bg); border-color: var(--white); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.btn-card span, .btn-card { position: relative; z-index: 1; }

/* Pro/Lite button variants */
.btn-primary-pro, .btn-primary-lite { background: var(--red) !important; border-color: var(--red) !important; color: var(--white) !important; }
.btn-primary-pro::before, .btn-primary-lite::before { background: var(--red-hover) !important; }
.btn-primary-pro:hover, .btn-primary-lite:hover { color: var(--white) !important; border-color: var(--red-hover) !important; box-shadow: 0 10px 30px var(--red-glow) !important; }

.btn-secondary-pro, .btn-secondary-lite { border-color: var(--white-30) !important; background: transparent !important; color: var(--white) !important; }
.btn-trial-pro, .btn-trial-lite { border-color: var(--white-15) !important; background: transparent !important; color: var(--white-70) !important; }

/* ===== FEATURES ===== */
.features-section {
    padding: var(--section-pad) 0;
    background: var(--bg);
}

.section-padding { padding: var(--section-pad) 0; }

.features-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.features-image-container {
    position: relative;
}

.features-image-container::before {
    content: '';
    position: absolute;
    top: 20px; left: -20px;
    width: 100%; height: 100%;
    border: 2px solid var(--red);
    z-index: 0;
    transition: all 0.5s var(--ease);
}

.features-image-container:hover::before {
    top: 12px; left: -12px;
}

.features-image {
    position: relative; z-index: 1;
    width: 100%; height: auto;
    border-radius: 0;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    filter: none; border: none;
}

.features-list { display: flex; flex-direction: column; gap: 4px; }

.feature-item {
    display: flex; gap: 16px;
    padding: 24px;
    border-left: 3px solid transparent;
    transition: all 0.35s var(--ease);
    border-radius: 0;
    background: transparent;
    opacity: 1; transform: none;
    contain: content;
}

.feature-item:hover {
    background: var(--white-04);
    border-left-color: var(--red);
    transform: translateX(4px) !important;
    box-shadow: none;
}

.feature-item.animated, .feature-item.expanded { opacity: 1 !important; transform: none !important; }
.feature-item.expanded { background: var(--white-04); border-left-color: var(--red); }

.feature .feature-icon, .feature svg { display: none; }
.feature-content { flex: 1; }

.feature-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 8px;
    background: none; -webkit-background-clip: unset; -webkit-text-fill-color: var(--white);
}

.feature-description { font-size: 0.88rem; color: var(--white-50); line-height: 1.7; font-weight: 300; }

/* ===== CHANNELS ===== */
.featured-channels-section {
    padding: var(--section-pad) 0;
    background: var(--bg-elevated);
    position: relative; overflow: hidden;
    content-visibility: auto;
    contain-intrinsic-size: 1px 800px;
}

.featured-channels-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.channel-card {
    background: var(--white-04);
    border: 1px solid var(--white-08);
    border-radius: 0;
    padding: 28px 14px;
    text-align: center;
    transition: all 0.4s var(--ease);
    position: relative; overflow: hidden;
    contain: content;
}

.channel-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}

.channel-card:hover {
    background: var(--white-08);
    border-color: rgba(229,9,20,0.3);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.channel-card:hover::after { transform: scaleX(1); }
.channel-card.animated { opacity: 1 !important; transform: none !important; }
.channel-card.highlighted { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(229,9,20,0.2); border-color: var(--red); }

.channel-logo-container { margin-bottom: 12px; }

.channel-logo {
    width: 56px; height: 56px;
    object-fit: contain;
    margin: 0 auto;
    filter: grayscale(1) brightness(2);
    opacity: 0.5;
    transition: all 0.4s var(--ease);
}

.channel-card:hover .channel-logo { filter: none; opacity: 1; transform: scale(1.1); }

.channel-name { font-size: 0.82rem; font-weight: 600; color: var(--white-90); margin-bottom: 4px; }
.channel-category { font-size: 0.6rem; color: var(--red); text-transform: uppercase; letter-spacing: 0.15em; font-weight: 700; }

.channels-action { text-align: center; margin-top: 48px; }

.see-all-btn {
    background: var(--red) !important;
    color: var(--white) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: all 0.4s var(--ease) !important;
    padding: 15px 36px !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.12em !important;
}

.see-all-btn:hover {
    background: var(--red-hover) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 32px var(--red-glow) !important;
}

/* ===== CATEGORIES ===== */
.categories-section {
    padding: var(--section-pad) 0;
    background: var(--bg);
    content-visibility: auto;
    contain-intrinsic-size: 1px 700px;
}

.categories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.category-card {
    position: relative;
    height: 480px;
    overflow: hidden;
    border-radius: 0;
    cursor: pointer;
}

.category-card.animated { opacity: 1 !important; transform: none !important; }

.category-image {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease), filter 0.7s;
    filter: brightness(0.7);
}

.category-card:hover .category-image { transform: scale(1.08); filter: brightness(0.5); }

.category-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
    display: flex; flex-direction: column;
    justify-content: flex-end;
    padding: 36px 28px;
    border-radius: 0;
    transition: all 0.5s;
}

.category-card:hover .category-overlay {
    background: linear-gradient(0deg, rgba(229,9,20,0.85) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
}

.category-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 8px;
}

.category-description {
    font-size: 0.85rem;
    color: var(--white-70);
    line-height: 1.6; font-weight: 300;
    max-height: 0; overflow: hidden;
    transition: max-height 0.5s var(--ease), opacity 0.5s;
    opacity: 0;
}

.category-card:hover .category-description { max-height: 80px; opacity: 1; }

/* ===== STREAMING ===== */
.streaming-section {
    padding: var(--section-pad) 0;
    background: var(--bg-elevated);
    content-visibility: auto;
    contain-intrinsic-size: 1px 900px;
}

.streaming-bg, .streaming-bg-grid { display: none; }

.services-container { background: transparent; border: none; backdrop-filter: none; border-radius: 0; margin-bottom: 60px; }
.services-container:last-child { margin-bottom: 0; }

.package-header {
    display: flex; align-items: center; gap: 16px;
    margin-bottom: 24px; padding-bottom: 16px;
    border-bottom: 1px solid var(--white-08);
}

.package-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    background: none; -webkit-background-clip: unset; -webkit-text-fill-color: var(--white);
}

.package-badge { padding: 4px 14px; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; border-radius: 0; }
.pro-badge { background: var(--red); color: var(--white); box-shadow: none; }
.lite-badge { background: var(--white); color: var(--bg); box-shadow: none; }

.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }

.service-card {
    position: relative; overflow: hidden; border-radius: 0;
    border: 1px solid var(--white-08);
    transition: all 0.4s var(--ease);
    contain: content;
}

.service-card:hover { border-color: var(--red); transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.service-card.animated { opacity: 1 !important; transform: none !important; }

.service-image { width: 100%; height: auto; display: block; transition: transform 0.5s var(--ease); }
.service-card:hover .service-image { transform: scale(1.06); }

.service-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    display: flex; align-items: flex-end; justify-content: center;
}

.service-logo { max-width: 80px; height: auto; }

/* ===== SUBSCRIPTION ===== */
.new-subscription-section {
    padding: 100px 0;
    background: var(--bg);
    position: relative;
}

.new-subscription-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    padding: var(--section-pad) 0;
    background: var(--bg);
    position: relative; overflow: hidden;
    content-visibility: auto;
    contain-intrinsic-size: 1px 800px;
}

.testimonials-section::before {
    content: '"';
    position: absolute;
    top: -80px; left: 5%;
    font-family: var(--font-display);
    font-size: 600px;
    font-weight: 400;
    color: rgba(229,9,20,0.03);
    line-height: 1;
    pointer-events: none;
}

.testimonial-container { max-width: 1000px; margin: 0 auto; }

.testimonial-large {
    background: var(--white-04);
    border: 1px solid var(--white-08);
    border-radius: 0;
    padding: 48px;
    margin-bottom: 20px;
    position: relative;
    backdrop-filter: none;
    transition: all 0.3s;
    border-left: 4px solid var(--red);
}

.testimonial-large:hover { transform: none; border-color: var(--white-15); border-left-color: var(--red); box-shadow: 0 8px 30px rgba(0,0,0,0.3); }
.testimonial-large.animated { opacity: 1 !important; transform: none !important; }

.testimonial-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.testimonial-card {
    background: var(--white-04);
    border: 1px solid var(--white-08);
    border-radius: 0;
    padding: 32px;
    position: relative;
    backdrop-filter: none;
    transition: all 0.3s;
}

.testimonial-card:hover { border-color: var(--white-15); box-shadow: 0 8px 30px rgba(0,0,0,0.3); transform: none; }
.testimonial-card.animated { opacity: 1 !important; transform: none !important; }

.quote-icon { font-family: var(--font-display); font-size: 2.5rem; color: var(--red); opacity: 0.3; line-height: 1; }

.testimonial-text { font-size: 0.95rem; color: var(--white-70); line-height: 1.8; font-weight: 300; font-style: italic; }
.testimonial-large .testimonial-text { font-size: 1.1rem; }

.testimonial-author { display: flex; align-items: center; gap: 14px; margin-top: 20px; }

.author-img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--red); }

.author-name { font-size: 0.9rem; font-weight: 700; color: var(--white); }
.author-location { font-size: 0.78rem; color: var(--white-50); display: flex; align-items: center; gap: 6px; }
.author-info { display: flex; flex-direction: column; gap: 2px; }

.flag-icon { width: 18px; height: auto; border-radius: 2px; }
.author-photo { flex-shrink: 0; }

/* ===== FAQ ===== */
.faq-section {
    padding: var(--section-pad) 0;
    background: var(--bg-elevated);
    content-visibility: auto;
    contain-intrinsic-size: 1px 700px;
}

.faq-container { display: grid; grid-template-columns: 320px 1fr; gap: 80px; align-items: start; }

.faq-intro { position: sticky; top: 100px; }
.faq-intro.animated { opacity: 1 !important; transform: none !important; }

.faq-title {
    font-family: var(--font-display);
    font-size: 5rem;
    letter-spacing: 0.05em;
    color: var(--white);
    line-height: 0.9;
    margin-bottom: 16px;
    background: none; -webkit-background-clip: unset; -webkit-text-fill-color: var(--white);
}

.faq-subtitle { font-size: 0.95rem; color: var(--white-50); line-height: 1.7; margin-bottom: 32px; font-weight: 300; }

.contact-buttons { display: flex; flex-direction: column; gap: 10px; }

.contact-btn {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 22px;
    font-size: 0.85rem; font-weight: 600;
    transition: all 0.3s var(--ease);
    border-radius: 0;
    text-decoration: none;
}

.whatsapp-btn { background: #22c55e; color: var(--white); box-shadow: none; border: none; }
.whatsapp-btn:hover { background: #16a34a; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(34,197,94,0.25); }

.tutorial-btn { background: var(--white-04); color: var(--white); border: 1px solid var(--white-15); box-shadow: none; }
.tutorial-btn:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }

.btn-icon { display: flex; align-items: center; }

/* Accordion */
.accordion-container { display: flex; flex-direction: column; gap: 4px; }

.accordion-item {
    border: 1px solid var(--white-08);
    border-radius: 0;
    background: var(--bg-card);
    transition: all 0.3s;
    overflow: hidden;
}

.accordion-item.active { border-color: var(--red); box-shadow: 0 4px 24px rgba(229,9,20,0.08); }
.accordion-item.animated { opacity: 1 !important; transform: none !important; }

.accordion-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    transition: background 0.3s;
    background: transparent; border-radius: 0;
}

.accordion-header:hover { background: var(--white-04); }

.accordion-title { font-size: 0.92rem; font-weight: 600; color: var(--white); flex: 1; padding-right: 16px; }

.accordion-icon {
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    background: var(--white-08);
    color: var(--white-50);
    font-size: 0.6rem;
    transition: all 0.3s;
    border-radius: 0;
    flex-shrink: 0;
}

.accordion-item.active .accordion-icon { background: var(--red); color: var(--white); transform: rotate(180deg); }

.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease), padding-top 0.3s; }
.accordion-item.active .accordion-content { max-height: 500px; }

.accordion-text { padding: 0 24px 24px; font-size: 0.88rem; line-height: 1.8; color: var(--white-50); font-weight: 300; }

/* ===== MODALS ===== */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(16px);
    z-index: 10000;
    display: none;
    align-items: center; justify-content: center;
    padding: 24px;
}

.modal-overlay.active { display: flex; }

.modal {
    background: var(--bg-card);
    border: 1px solid var(--white-15);
    max-width: 560px; width: 100%;
    padding: 48px;
    position: relative;
    border-radius: 0;
    animation: modalIn 0.35s var(--ease);
}

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

.modal-close {
    position: absolute; top: 16px; right: 16px;
    width: 40px; height: 40px; cursor: pointer; transition: all 0.3s;
}

.modal-close::before, .modal-close::after {
    content: '';
    position: absolute; top: 50%; left: 50%;
    width: 18px; height: 2px;
    background: var(--white-50);
    transition: background 0.3s;
}

.modal-close::before { transform: translate(-50%,-50%) rotate(45deg); }
.modal-close::after { transform: translate(-50%,-50%) rotate(-45deg); }
.modal-close:hover::before, .modal-close:hover::after { background: var(--red); }

.modal-header { margin-bottom: 28px; }

.modal-title {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 6px;
    background: none; -webkit-background-clip: unset; -webkit-text-fill-color: var(--white);
}

.modal-subtitle { font-size: 0.9rem; color: var(--white-50); font-weight: 300; }

.modal-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }

.option-card {
    border: 1px solid var(--white-15);
    border-radius: 0;
    padding: 28px 18px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: transparent;
}

.option-card:hover, .option-card.selected { border-color: var(--red); background: var(--red-subtle); }
.option-radio, .radio-indicator { display: none; }

.option-title { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.08em; color: var(--white); margin-bottom: 8px; }
.option-price { font-family: var(--font-display); font-size: 1.8rem; color: var(--red); margin-bottom: 14px; letter-spacing: 0.03em; }
.option-feature { font-size: 0.78rem; color: var(--white-50); margin-bottom: 4px; font-weight: 300; }

.modal-action { margin-top: 14px; }

.btn-confirm {
    width: 100%; padding: 16px;
    background: var(--red); color: var(--white);
    border: none; border-radius: 0;
    font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    cursor: pointer; transition: all 0.3s;
    font-family: var(--font-body);
}

.btn-confirm:hover { background: var(--red-hover); box-shadow: 0 8px 24px var(--red-glow); }

/* ===== FOOTER ===== */
.footer { background: #000; position: relative; }
.footer-bg, .footer-bg-grid { display: none; }

.footer-container { padding-top: 80px; }

.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }

.footer-logo { display: flex; align-items: center; margin-bottom: 20px; }
.footer-logo img { height: 36px; width: auto; object-fit: contain; }
.footer-logo span { display: none; }

.footer-about { font-size: 0.88rem; color: var(--white-50); line-height: 1.7; font-weight: 300; margin-bottom: 24px; }

.social-links { display: flex; gap: 8px; }

.social-link {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    background: var(--white-08);
    border: 1px solid var(--white-08);
    border-radius: 0;
    color: var(--white);
    transition: all 0.3s;
}

.social-link:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }

.language-selector { display: flex; gap: 8px; margin-top: 20px; }
.language-option { display: flex; padding: 3px; border: 1px solid transparent; transition: all 0.3s; }
.language-option.active, .language-option:hover { border-color: var(--red); }
.language-flag { width: 28px; height: auto; border-radius: 2px; }

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.88rem; color: var(--white-50); font-weight: 400; transition: all 0.3s; }
.footer-links a:hover { color: var(--red); transform: translateX(4px); }

.footer-bottom { border-top: 1px solid var(--white-08); padding: 20px 0; text-align: center; }
.footer-bottom-text { font-size: 0.78rem; color: var(--white-30); font-weight: 300; }

/* ===== ANIMATIONS ===== */
@keyframes fadeIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.02); } }
@keyframes glow { 0%,100% { filter: brightness(1); } 50% { filter: brightness(1.1); } }
@keyframes fadeInOut { 0%,100% { opacity: 0.3; } 50% { opacity: 0.5; } }
@keyframes slowSpin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes slow-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.animate-on-scroll.animated { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .hero-content { gap: 40px; }
    .features-container { gap: 48px; }
    .faq-container { grid-template-columns: 1fr; gap: 48px; }
    .faq-intro { position: static; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 992px) {
    .hero-content { grid-template-columns: 1fr; padding: 130px 0 80px; text-align: center; }
    .hero-text { max-width: 100%; margin: 0 auto; }
    .hero-description { max-width: 100%; margin: 0 auto 40px; }
    .hero-btns { justify-content: center; }
    .hero-image-container { order: -1; }
    .hero-image { max-width: 340px; margin: 0 auto; }
    .bf-trust-badges { justify-content: center; }

    .features-container { grid-template-columns: 1fr; }
    .channels-grid { grid-template-columns: repeat(3, 1fr); }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .testimonial-row { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: 1fr; }
    .category-card { height: 300px; }

    /* Mobile nav */
    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed; top: 0; right: -100%;
        width: 280px; height: 100vh;
        background: var(--bg-card);
        box-shadow: -10px 0 40px rgba(0,0,0,0.5);
        transition: right 0.4s var(--ease);
        z-index: 99;
        padding: 80px 24px 24px;
        border-left: 1px solid var(--white-08);
    }
    .main-nav.active { right: 0; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .nav-link { display: block; padding: 16px 0; font-size: 1rem; border-bottom: 1px solid var(--white-08); color: var(--white-70); }
    .nav-link::after { display: none; }
    .nav-link:hover, .nav-link.active { color: var(--red); }
}

@media (max-width: 768px) {
    .hero-section { min-height: auto; }
    .hero-section::before { width: 600px; height: 600px; top: -20%; right: -30%; }
    .hero-btns { flex-direction: column; gap: 12px; }
    .btn { width: 100%; justify-content: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .card-content-wrapper { flex-direction: column; }
    .plan-tab-container { min-width: auto; width: 100%; }
    .plan-card { padding: 28px 20px; }
    .channels-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .channel-card { padding: 20px 10px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .plan-actions { flex-direction: column; align-items: center; }
    .btn-card { width: 100%; max-width: 400px; text-align: center; }
    .testimonial-large { padding: 28px 18px; }
    .modal { padding: 28px 18px; }
    .modal-options { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .features-image-container::before { display: none; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 3rem; }
    .section-title { font-size: 2rem; }
    .bf-trust-badges { flex-direction: column; gap: 8px; }
    .faq-title { font-size: 3.5rem; }
    .container { padding: 0 16px; }
}

/* Performance */
.hero-image-container, .btn-card:hover, .channel-card:hover, .service-card:hover { will-change: transform; }
.plan-card, .feature-item, .channel-card, .service-card { contain: content; }