/* ============================================================
   PrestigeIPTV — Design System
   Editorial-premium light theme. Navy + copper accent.
   Font: Plus Jakarta Sans (single family, all weights).
   ============================================================ */

:root {
    /* Colors */
    --color-navy: #10203F;
    --color-navy-2: #1B2F54;
    --color-navy-tint: rgba(16, 32, 63, 0.06);
    --color-copper: #BE7B4A;
    --color-copper-dark: #9C6238;
    --color-copper-light: #F3E2D0;
    --color-cream: #FBF8F3;
    --color-white: #FFFFFF;
    --color-ink: #1B1F27;
    --color-slate: #5C6472;
    --color-slate-light: #8A90A0;
    --color-border: #E7E1D6;
    --color-border-strong: #D9D2C4;
    --color-success: #2E7D5B;

    /* Typography */
    --font-base: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.75rem;
    --spacing-lg: 2.75rem;
    --spacing-xl: 4rem;
    --spacing-2xl: 5.5rem;

    /* Radius */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-full: 999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(16, 32, 63, 0.07);
    --shadow-md: 0 8px 24px rgba(16, 32, 63, 0.08);
    --shadow-lg: 0 20px 48px rgba(16, 32, 63, 0.12);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.45s cubic-bezier(0.16, 1, 0.3, 1);

    --header-height: 84px;
}

/* ==================== RESET & BASE ==================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-base);
    font-weight: 400;
    color: var(--color-ink);
    line-height: 1.7;
    background: var(--color-cream);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; transition: color var(--transition-normal); }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-base);
    color: var(--color-navy);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

p { color: var(--color-slate); }

/* Focus visibility for keyboard users */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid var(--color-copper);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ==================== UTILITY CLASSES ==================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--spacing-md); }

.section { padding: var(--spacing-2xl) 0; position: relative; }

.section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-copper-dark);
    background: var(--color-copper-light);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 18px;
}

.section__title {
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    color: var(--color-navy);
    text-align: center;
    margin: 0 auto 1rem;
    max-width: 780px;
}

.section__subtitle {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--spacing-lg);
    color: var(--color-slate);
    font-size: 1.05rem;
    line-height: 1.75;
}

.section--alt { background: var(--color-white); }

.text-center { text-align: center; }
.mt-2rem { margin-top: 2rem; }
.mt-3rem { margin-top: 3rem; }

.lead-note {
    max-width: 740px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: var(--color-slate);
}
.lead-note a { color: var(--color-copper-dark); font-weight: 600; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.9rem 1.9rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.98rem;
    border: 2px solid transparent;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-copper);
    color: var(--color-white);
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--color-copper-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-secondary {
    background: var(--color-navy);
    color: var(--color-white);
}
.btn-secondary:hover { background: var(--color-navy-2); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline {
    background: transparent;
    color: var(--color-navy);
    border-color: var(--color-border-strong);
}
.btn-outline:hover { border-color: var(--color-copper); color: var(--color-copper-dark); }

.btn-trial {
    background: var(--color-navy);
    color: var(--color-white);
    padding: 0.65rem 1.4rem;
    font-size: 0.92rem;
}
.btn-trial:hover { background: var(--color-copper); }

.btn-lg { padding: 1.1rem 2.4rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Breadcrumbs */
.breadcrumbs {
    padding: 22px 0 0;
}
.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--color-slate);
}
.breadcrumbs__list a { color: var(--color-slate); font-weight: 600; }
.breadcrumbs__list a:hover { color: var(--color-copper-dark); }
.breadcrumbs__sep { color: var(--color-border-strong); }
.breadcrumbs__current { color: var(--color-navy); font-weight: 700; }

/* ==================== HEADER / NAV ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(251, 248, 243, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow var(--transition-normal);
}
.header.scroll-header { box-shadow: var(--shadow-sm); }

/* Homepage only: transparent over the cinematic hero until scrolled,
   then match the standard solid header used on every other page. */
.header.is-home:not(.scroll-header) {
    background: linear-gradient(180deg, rgba(2, 9, 20, 0.55) 0%, rgba(2, 9, 20, 0.15) 100%);
    backdrop-filter: none;
    border-bottom-color: transparent;
}
.header.is-home:not(.scroll-header) .nav__link { color: var(--color-white); }
.header.is-home:not(.scroll-header) .nav__link:hover,
.header.is-home:not(.scroll-header) .nav__link.active { color: var(--color-copper); }
.header.is-home:not(.scroll-header) .nav__toggle { color: var(--color-white); }
.header.is-home:not(.scroll-header) .nav__logo-img { display: none; }
.header.is-home:not(.scroll-header) .nav__logo-alt { display: inline-flex; }

.nav {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.nav__logo { display: flex; align-items: center; }
.logo-img { height: 50px; width: auto; }
.nav__logo-alt {
    display: none;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-white);
}
.nav__logo-alt .nav__logo-mark {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--color-copper);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.nav__logo-alt .nav__logo-mark svg { width: 14px; height: 14px; }
.nav__logo-alt .nav__logo-accent { color: var(--color-copper); }

.nav__menu { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 1.75rem; }
.nav__link {
    font-weight: 600;
    font-size: 0.96rem;
    color: var(--color-navy);
    position: relative;
    padding: 6px 2px;
}
.nav__link::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: var(--color-copper);
    transition: width var(--transition-normal);
}
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav__link:hover, .nav__link.active { color: var(--color-copper-dark); }

.mobile-trial-btn { display: none; }
.nav__close, .nav__toggle { display: none; }

/* ==================== HERO ==================== */
.hero {
    padding-top: calc(var(--header-height) + 3.5rem);
    padding-bottom: 4rem;
    background:
        radial-gradient(60% 55% at 78% 42%, rgba(190, 123, 74, 0.14), transparent 70%),
        linear-gradient(100deg, rgba(3, 5, 10, 0.96) 0%, rgba(4, 7, 13, 0.9) 26%, rgba(5, 8, 15, 0.62) 52%, rgba(3, 5, 10, 0.8) 100%),
        url('../images/hero-bg-posters.webp');
    background-size: cover;
    background-position: center 30%;
    overflow: hidden;
}
.hero__container {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 3rem;
    align-items: center;
}
.hero__title {
    font-size: clamp(2.1rem, 4.4vw, 3.4rem);
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: var(--color-white);
}
.hero__title-accent { color: var(--color-copper); }
.hero__description {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 2rem;
    max-width: 560px;
}
.hero__buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__buttons .btn-secondary {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.55);
}
.hero__buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-white);
}
.hero__buttons .btn-secondary svg { width: 18px; height: 18px; fill: currentColor; }

.hero__image { position: relative; width: 100%; padding-bottom: 2rem; }
.hero__screen-container { position: relative; width: 100%; }
.hero__screen-container::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -30px;
    transform: translateX(-50%);
    width: 34%;
    max-width: 230px;
    height: 9px;
    background: linear-gradient(180deg, #24405e, #0a1428);
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}
.hero__screen-container::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -24px;
    transform: translateX(-50%);
    width: 15%;
    max-width: 92px;
    height: 24px;
    background: linear-gradient(180deg, #1b2f54, #0a1428);
    clip-path: polygon(36% 0%, 64% 0%, 100% 100%, 0% 100%);
}
.hero__tv-frame {
    position: relative;
    border-radius: calc(var(--radius-lg) + 10px);
    background: linear-gradient(160deg, #0b0f17 0%, #060810 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 130px 34px rgba(190, 123, 74, 0.22);
    padding: 12px;
}
.hero-screen {
    position: relative;
    width: 100%;
    border-radius: var(--radius-lg);
    background: linear-gradient(165deg, #0e1626 0%, #070c16 60%, #05090f 100%);
    padding: 1.5rem 1.6rem 1.7rem;
    overflow: hidden;
}
.hero-screen:focus-visible {
    outline: 2px solid var(--color-copper);
    outline-offset: 3px;
}
.hero-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 45% at 50% 0%, rgba(190, 123, 74, 0.1), transparent 70%);
    pointer-events: none;
}
.hero-screen__topbar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
}
.hero-screen__page {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
}
.hero-screen__controls { display: flex; align-items: center; gap: 0.5rem; }
.hero-screen__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    transition: background var(--transition-normal), transform var(--transition-normal);
}
.hero-screen__nav:hover { background: rgba(255, 255, 255, 0.16); }
.hero-screen__nav:active { transform: scale(0.92); }
.hero-screen__nav:focus-visible { outline: 2px solid var(--color-copper); outline-offset: 2px; }
.hero-screen__nav svg { width: 16px; height: 16px; }
.hero-row { position: relative; }
.hero-row + .hero-row { margin-top: 1.4rem; }
.hero-row__label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.65rem;
}
.hero-row__label--alt {
    font-size: 0.92rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    color: rgba(255, 255, 255, 0.88);
}
.hero-row__grid {
    --items: 5;
    display: grid;
    grid-template-columns: repeat(var(--items), 1fr);
    gap: 0.6rem;
    opacity: 1;
    transition: opacity 0.18s ease;
}
.hero-screen.is-changing .hero-row__grid { opacity: 0; }
.hero-row__grid img {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #12192b;
}
@media (hover: hover) and (pointer: fine) {
    .hero-row__grid img { transition: transform 0.25s ease, box-shadow 0.25s ease; }
    .hero-row__grid img:hover {
        transform: translateY(-3px) scale(1.035);
        box-shadow: 0 12px 22px rgba(0, 0, 0, 0.45);
    }
}

.hero__decoration { display: none; }

/* ==================== COUNTER ==================== */
.counter {
    background: var(--color-navy);
    padding: 2.75rem 0;
}
.counter__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}
.counter__item { border-right: 1px solid rgba(255,255,255,0.12); }
.counter__item:last-child { border-right: none; }
.counter__number {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--color-white);
}
.counter__number::after { content: '+'; color: var(--color-copper); }
.counter__label { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin-top: 4px; }

/* ==================== LOGO SLIDER ==================== */
.logo-slider { padding: 2.75rem 0; background: var(--color-white); border-bottom: 1px solid var(--color-border); }
.logo-slider__container { overflow: hidden; width: 100%; }
.logo-slider__track {
    display: flex;
    gap: 4rem;
    align-items: center;
    width: max-content;
    animation: slide-left 32s linear infinite;
}
.logo-slider__item { flex-shrink: 0; opacity: 0.55; filter: grayscale(1); transition: opacity var(--transition-normal); }
.logo-slider__item:hover { opacity: 0.9; }
.logo-slider__item img { height: 32px; width: auto; }
@keyframes slide-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==================== HOW IT WORKS ==================== */
.how-it-works__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    counter-reset: step;
}
.how-it-works__card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem;
    text-align: center;
    position: relative;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.how-it-works__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.how-it-works__card::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: -16px; left: 50%;
    transform: translateX(-50%);
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--color-copper);
    color: var(--color-white);
    font-weight: 800;
    font-size: 0.9rem;
    display: flex; align-items: center; justify-content: center;
}
.how-it-works__icon {
    width: 64px; height: 64px;
    margin: 0.5rem auto 1.25rem;
    background: var(--color-navy-tint);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
}
.how-it-works__icon img { width: 30px; height: 30px; }
.how-it-works__icon.how-it-works__icon--lg img { width: auto; height: auto; max-width: 42px; max-height: 42px; }
.how-it-works__icon.how-it-works__icon--wide { width: 96px; }
.how-it-works__icon.how-it-works__icon--wide img { width: auto; height: auto; max-width: 90px; max-height: 48px; }
.how-it-works__title { font-size: 1.2rem; margin-bottom: 0.6rem; }
.how-it-works__description { font-size: 0.96rem; }

/* ==================== PRICING ==================== */
.pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    align-items: stretch;
    max-width: 1080px;
    margin: 0 auto;
}
.pricing__card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}
.pricing__card:hover { border-color: var(--color-copper); box-shadow: var(--shadow-md); }
.pricing__card--featured {
    background: var(--color-navy);
    border-color: var(--color-navy);
    transform: scale(1.04);
    box-shadow: var(--shadow-lg);
}
.pricing__card--featured .pricing__name,
.pricing__card--featured .pricing__period,
.pricing__card--featured .pricing__amount,
.pricing__card--featured .pricing__currency { color: var(--color-white); }
.pricing__card--featured .pricing__feature { color: rgba(255,255,255,0.82); }
.pricing__card--featured:hover { transform: scale(1.04) translateY(-4px); }

.pricing__badge {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: var(--color-copper);
    color: var(--color-white);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: var(--radius-full);
}
.pricing__header { text-align: center; margin-bottom: 1.25rem; }
.pricing__name { font-size: 1.3rem; margin-bottom: 4px; }
.pricing__period { font-size: 0.88rem; color: var(--color-slate-light); }
.pricing__card--featured .pricing__period { color: rgba(255,255,255,0.6); }
.pricing__price { text-align: center; margin-bottom: 1.75rem; }
.pricing__currency { font-size: 1.5rem; font-weight: 700; color: var(--color-navy); vertical-align: top; position: relative; top: 8px; }
.pricing__amount { font-size: 3rem; font-weight: 800; color: var(--color-navy); }
.pricing__features { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.75rem; flex: 1; }
.pricing__feature { display: flex; align-items: center; gap: 9px; font-size: 0.92rem; color: var(--color-slate); }
.pricing__feature .check-icon { width: 16px; height: 16px; flex-shrink: 0; color: var(--color-copper); }
.pricing__card--featured .check-icon { color: var(--color-copper-light); }

/* ==================== MOVIES SLIDER ==================== */
.movies-slider { padding: var(--spacing-2xl) 0; background: var(--color-white); overflow: hidden; }
.movies-slider__container { overflow: hidden; margin-top: 1rem; }
.movies-slider__track {
    display: flex;
    gap: 1.25rem;
    width: max-content;
    animation: slide-left 45s linear infinite;
}
.movies-slider__item {
    flex-shrink: 0;
    width: 200px;
    aspect-ratio: 2/3;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.movies-slider__item img { width: 100%; height: 100%; object-fit: cover; }

/* ==================== CATEGORIES ==================== */
.categories__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.category__card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.category__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.category__image { aspect-ratio: 16/10; overflow: hidden; }
.category__image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.category__card:hover .category__image img { transform: scale(1.06); }
.category__content { padding: 1.4rem 1.5rem; }
.category__title { font-size: 1.1rem; margin-bottom: 0.4rem; }
.category__description { font-size: 0.92rem; }

/* ==================== FEATURES ==================== */
.features__item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 2.25rem 0;
    border-bottom: 1px solid var(--color-border);
}
.features__item:last-of-type { border-bottom: none; }
.features__item--reverse .features__content { order: 2; }
.features__item--reverse .features__image { order: 1; }
.features__title { font-size: 1.4rem; margin-bottom: 0.65rem; }
.features__description { font-size: 1rem; }
.features__image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}
.features__image img { width: 56px; height: 56px; }
.features__image.features__image--hero {
    padding: 2rem;
}
.features__image.features__image--hero img {
    width: 100%;
    height: auto;
    max-width: 620px;
}
.features__image.features__image--icon-lg {
    padding: 2.5rem;
}
.features__image.features__image--icon-lg img {
    width: auto;
    height: auto;
    max-height: 220px;
    max-width: 100%;
}

/* ==================== TRUST / STATS STRIP ==================== */
.trust__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}
.trust__item {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.75rem 1rem;
}
.trust__icon {
    width: 46px;
    height: 46px;
    margin: 0 auto 0.9rem;
    color: var(--color-copper-dark);
}
.trust__icon svg { width: 100%; height: 100%; }
.trust__icon img { width: 100%; height: 100%; object-fit: contain; }
.trust__value { font-size: 1.9rem; font-weight: 800; color: var(--color-navy); }
.trust__label { font-size: 0.88rem; color: var(--color-slate); margin-top: 4px; }

/* ==================== TABLE ==================== */
.info-table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--color-border); }
.info-table { width: 100%; border-collapse: collapse; background: var(--color-white); min-width: 480px; }
.info-table caption { caption-side: top; text-align: left; padding: 14px 18px 0; font-weight: 700; color: var(--color-navy); }
.info-table th, .info-table td {
    text-align: left;
    padding: 14px 18px;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.94rem;
}
.info-table th { background: var(--color-cream); color: var(--color-navy); font-weight: 700; }
.info-table tr:last-child td { border-bottom: none; }

/* ==================== FAQ ==================== */
.faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
.faq__column { display: flex; flex-direction: column; gap: 1rem; }
.faq__item {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-normal);
}
.faq__item:hover { border-color: var(--color-border-strong); }
.faq__item.active { border-color: var(--color-copper); }
.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-navy);
}
.faq__icon {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--color-navy-tint);
    color: var(--color-navy);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all var(--transition-normal);
}
.faq__item.active .faq__icon { background: var(--color-copper); color: var(--color-white); transform: rotate(45deg); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height var(--transition-normal); }
.faq__item.active .faq__answer { max-height: 320px; }
.faq__answer p { padding: 0 1.5rem 1.25rem; font-size: 0.95rem; }

/* ==================== BLOG ==================== */
.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.blog-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-card__thumb { aspect-ratio: 16/9; overflow: hidden; }
.blog-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.blog-card:hover .blog-card__thumb img { transform: scale(1.05); }
.blog-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-card__tag { font-size: 0.76rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-copper-dark); margin-bottom: 0.6rem; }
.blog-card__title { font-size: 1.12rem; margin-bottom: 0.6rem; line-height: 1.35; }
.blog-card__excerpt { font-size: 0.92rem; flex: 1; margin-bottom: 1rem; }
.blog-card__meta { font-size: 0.82rem; color: var(--color-slate-light); display: flex; gap: 8px; align-items: center; }
.blog-card__link { font-weight: 700; color: var(--color-copper-dark); font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; margin-top: auto; }

.page-hero {
    padding: calc(var(--header-height) + 2.5rem) 0 3rem;
    text-align: center;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 0.9rem; }
.page-hero p { max-width: 620px; margin: 0 auto; font-size: 1.05rem; }

.article-hero { padding: calc(var(--header-height) + 2rem) 0 0; }
.article-top { max-width: 780px; margin: 0 auto 1.5rem; }
.back-link { display: inline-flex; margin-bottom: 1.5rem; }
.article-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); max-width: 820px; margin: 0.9rem auto 1.1rem; text-align: center; line-height: 1.25; }
.article-meta-row { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--color-slate-light); font-size: 0.86rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.article-meta-row .tag { color: var(--color-copper-dark); font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.article-featured-image { max-width: 880px; margin: 0 auto 3rem; padding: 0 var(--spacing-md); }
.article-featured-image img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--color-border); }

.article-body { max-width: 740px; margin: 0 auto; padding: 0 var(--spacing-md) var(--spacing-xl); }
.article-body p { font-size: 1.05rem; line-height: 1.85; margin-bottom: 1.4rem; color: var(--color-ink); }
.article-body h2 { font-size: 1.55rem; margin: 2.6rem 0 1rem; }
.article-body h3 { font-size: 1.2rem; margin: 1.8rem 0 0.8rem; }
.article-body ul, .article-body ol { margin: 0 0 1.4rem 1.4rem; font-size: 1.02rem; line-height: 1.85; color: var(--color-ink); }
.article-body li { margin-bottom: 0.6rem; }
.article-body a { color: var(--color-copper-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.article-body strong { color: var(--color-navy); }

.article-cta-box {
    max-width: 740px;
    margin: 3rem auto 0;
    background: var(--color-navy);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    text-align: center;
}
.article-cta-box h3 { color: var(--color-white); font-size: 1.3rem; margin-bottom: 0.6rem; }
.article-cta-box p { color: rgba(255,255,255,0.75); margin-bottom: 1.4rem; }
.article-cta-box .cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.related__grid { max-width: 880px; margin: 3rem auto 0; padding: 0 var(--spacing-md); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

/* ==================== TESTIMONIAL (kept minimal, used only if real quotes exist) ==================== */
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial__card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.75rem; }
.testimonial__header { display: flex; align-items: center; gap: 12px; margin-bottom: 1rem; }
.testimonial__photo { width: 48px; height: 48px; border-radius: 50%; }
.testimonial__name { font-size: 0.98rem; }
.testimonial__rating .star { color: var(--color-copper); font-size: 0.85rem; }
.testimonial__text { font-size: 0.95rem; }

/* ==================== CTA SECTION ==================== */
.cta {
    background: linear-gradient(135deg, var(--color-navy), var(--color-navy-2));
    text-align: center;
}
.cta__content { max-width: 720px; margin: 0 auto; }
.cta__title { color: var(--color-white); font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-bottom: 1rem; }
.cta__description { color: rgba(255,255,255,0.78); font-size: 1.05rem; margin-bottom: 2rem; }
.cta__buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.link-inherit { color: rgba(255,255,255,0.8); font-weight: 600; }
.link-inherit:hover { color: var(--color-white); }

/* ==================== FOOTER ==================== */
.footer { background: var(--color-navy); padding: 2.75rem 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.25rem; }
.footer__brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 1rem; font-size: 1.3rem; font-weight: 800; color: var(--color-white); }
.footer__brand .footer__brand-mark {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--color-copper);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.footer__brand .footer__brand-mark svg { width: 15px; height: 15px; }
.footer__brand .footer__brand-accent { color: var(--color-copper); }
.footer__about { color: rgba(255,255,255,0.6); font-size: 0.9rem; max-width: 280px; }
.footer__col h3 { color: var(--color-white); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; }
.footer__col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__col a { color: rgba(255,255,255,0.65); font-size: 0.92rem; }
.footer__col a:hover { color: var(--color-white); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer__links { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer__link { color: rgba(255,255,255,0.7); font-size: 0.88rem; }
.footer__link:hover { color: var(--color-white); }
.footer__separator { color: rgba(255,255,255,0.25); }
.footer__copyright { color: rgba(255,255,255,0.55); font-size: 0.85rem; }
.footer__disclaimer { color: rgba(255,255,255,0.45); font-size: 0.8rem; max-width: 900px; margin: 0 auto 1.25rem; text-align: center; line-height: 1.7; }

/* ==================== WHATSAPP FLOAT ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 26px; right: 26px;
    width: 58px; height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform var(--transition-fast);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* ==================== POLICY PAGES ==================== */
.policy-section { padding: calc(var(--header-height) + 2.5rem) 0 var(--spacing-2xl); }
.policy-container { max-width: 820px; margin: 0 auto; }
.policy-title { font-size: clamp(1.9rem, 3.5vw, 2.5rem); margin-bottom: 0.5rem; }
.policy-content h2 { font-size: 1.3rem; margin: 2rem 0 0.75rem; }
.policy-content p, .policy-content li { color: var(--color-ink); font-size: 1rem; line-height: 1.8; margin-bottom: 0.9rem; }
.policy-content ul { margin-left: 1.4rem; }

/* ==================== 404 ==================== */
.error-404-section { padding: calc(var(--header-height) + 5rem) 0; }
.error-404-section h1 { font-size: 2.4rem; margin-bottom: 1rem; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hero__container { grid-template-columns: 1fr; }
    .hero__image { order: -1; max-width: 480px; margin: 0 auto; }
    .counter__container { grid-template-columns: repeat(3, 1fr); }
    .trust__grid { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .how-it-works__grid,
    .categories__grid,
    .pricing__grid,
    .blog__grid,
    .related__grid,
    .testimonials__grid { grid-template-columns: 1fr 1fr; }
    .faq__grid { grid-template-columns: 1fr; }
    .features__item, .features__item--reverse { grid-template-columns: 1fr; }
    .features__item--reverse .features__content,
    .features__item--reverse .features__image { order: unset; }
    .features__image { padding: 1.75rem; }
    .pricing__card--featured { transform: none; order: -1; }
}

@media (max-width: 768px) {
    :root { --header-height: 72px; }

    .nav__menu {
        position: fixed;
        top: 0; right: -100%;
        width: min(320px, 84vw);
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 6rem 2rem 2rem;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition-normal);
        z-index: 1001;
    }
    .nav__menu.show-menu { right: 0; }
    .nav__list { flex-direction: column; align-items: flex-start; gap: 1.5rem; width: 100%; }
    .nav__link { font-size: 1.1rem; }
    .mobile-trial-btn { display: inline-flex; margin-top: 2rem; width: 100%; justify-content: center; }
    .nav > .btn-trial:not(.mobile-trial-btn) { display: none; }
    .nav__close {
        display: block;
        position: absolute;
        top: 1.5rem; right: 1.5rem;
        cursor: pointer;
        color: var(--color-navy);
    }
    .nav__toggle { display: block; color: var(--color-navy); background: none; border: none; }
    .icon-close, .icon-menu { display: block; line-height: 0; }
    .icon-close svg, .icon-menu svg { width: 22px; height: 22px; }

    .counter__container { grid-template-columns: 1fr; gap: 1.25rem; }
    .counter__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 1.25rem; }
    .counter__item:last-child { border-bottom: none; padding-bottom: 0; }

    .how-it-works__grid,
    .categories__grid,
    .pricing__grid,
    .blog__grid,
    .related__grid,
    .trust__grid,
    .testimonials__grid { grid-template-columns: 1fr; }

    .pricing__card--featured { transform: none; }

    .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer__bottom { flex-direction: column; align-items: flex-start; }

    .movies-slider__item { width: 150px; }
}

@media (max-width: 480px) {
    .hero__buttons, .cta__buttons { flex-direction: column; width: 100%; }
    .hero__buttons .btn, .cta__buttons .btn { width: 100%; }
    .whatsapp-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
    .hero__tv-frame { padding: 8px; }
    .hero-screen { padding: 1.1rem 0.9rem 1.25rem; }
    .hero-row__grid { gap: 0.4rem; }
    .hero-row__grid img { border-radius: 4px; }
    .hero-row__label--alt { font-size: 0.85rem; }
}
