﻿/* ============================================
   SUNSET GLOW THEME - IPTV WEBSITE
   ============================================ */

/* ============================================
   FONTS (self-hosted: faster, and no data sent to Google - DSGVO)
   ============================================ */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('fonts/montserrat-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('fonts/lexend-latin.woff2') format('woff2');
}

/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

:root {
    /* Primary Colors */
    --primary-orange: #F97316;
    --deep-orange: #EA580C;
    --secondary-amber: #FB923C;
    
    /* Background Colors */
    --main-bg: #1C1917;
    --surface: #292524;
    --surface-light: #3F3937;
    --surface-elevated: #57534E;
    
    /* Accent & Status Colors */
    --accent-rose: #F43F5E;
    --success-green: #84CC16;
    --warning-amber: #FCD34D;
    --error-red: #EF4444;
    
    /* Text Colors */
    --text-primary: #FAFAF9;
    --text-secondary: #D6D3D1;
    --text-tertiary: #A8A29E;
    --text-disabled: #78716C;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 12px;
    --space-lg: 16px;
    --space-xl: 24px;
    --space-2xl: 32px;
    --space-3xl: 48px;
    --space-4xl: 64px;
    --space-5xl: 96px;
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Lexend', sans-serif;
    
    /* Transitions */
    --transition-standard: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-decelerate: cubic-bezier(0, 0, 0.2, 1);
    --transition-accelerate: cubic-bezier(0.4, 0, 1, 1);
    --transition-sharp: cubic-bezier(0.4, 0, 0.6, 1);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    background-color: var(--main-bg);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
}

h1 {
    font-size: 48px;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h2 {
    font-size: 36px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 24px;
    line-height: 1.4;
    font-weight: 600;
}

h4 {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;
}

p {
    font-size: 16px;
    line-height: 1.6;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
/* Sits over the top of the page and scrolls away with it */
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    transition: all 300ms var(--transition-standard);
    padding-top: 24px;
}

.navbar {
    height: 72px;
}

/* Keep the header in line with the page, with room on both sides */
.navbar .container {
    max-width: 1280px;
    padding: 0 clamp(20px, 4vw, 56px);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
}

.logo {
    position: absolute;
    left: 0;
}

.logo img {
    display: block;
    height: 60px;
    width: auto;
    transition: transform 300ms var(--transition-standard);
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    --menu-gap: 48px;
    display: flex;
    list-style: none;
    gap: var(--menu-gap);
    align-items: center;
}

.nav-btn-container {
    position: absolute;
    right: 0;
}

.mobile-menu-header,
.nav-separator {
    display: none;
}

/* Desktop: logo, menu, Free Trial in one row, with the links centred
   in the space between the logo and the button */
@media (min-width: 1025px) {
    .nav-content {
        justify-content: flex-start;
    }

    .logo,
    .nav-btn-container {
        position: static;
    }

    .logo {
        flex-shrink: 0;
    }

    /* Same space on both sides: the gap before the button is matched on the logo side */
    .nav-menu {
        flex: 1;
        padding-left: var(--menu-gap);
    }

    .nav-menu > li:nth-child(2) {
        margin-left: auto;
    }

    .nav-menu > li:nth-last-child(3) {
        margin-right: auto;
    }
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    transition: color 300ms var(--transition-standard);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: width 300ms var(--transition-standard);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-orange);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 300ms var(--transition-standard);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-rose));
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 300ms var(--transition-standard);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.35);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    filter: brightness(1.1);
    box-shadow: 0 10px 28px rgba(244, 63, 94, 0.4);
    transform: translateY(-2px);
    color: var(--text-primary);
}

.btn-primary:active {
    transform: scale(0.98);
}

/* Outline button with the same orange-to-rose gradient as its border */
.btn-secondary {
    position: relative;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 300ms var(--transition-standard);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-rose));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    pointer-events: none;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-rose));
    box-shadow: 0 10px 28px rgba(244, 63, 94, 0.35);
    color: var(--text-primary);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
    /* Paired buttons share one size, so Free Trial matches Subscribe Now */
    min-width: 220px;
}

.btn-full-width {
    width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 56.25vw; /* 16:9 aspect ratio */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 aspect ratio */
    transform: translate(-50%, -50%);
    pointer-events: none;
    border: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
    padding-top: 60px; /* Slight top padding as requested */
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-xl);
    color: var(--text-primary);
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-title-animate {
    animation: fadeUpSlide 1.2s cubic-bezier(0.215, 0.610, 0.355, 1.000) forwards;
}

.typewriter-text {
    color: var(--primary-orange);
}

.cursor {
    color: var(--primary-orange);
    display: inline-block;
    margin-left: 2px;
    animation: blink 1s step-end infinite;
    font-weight: 400;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes fadeUpSlide {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroShine {
    to {
        background-position: 200% center;
    }
}

.hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: #E5E5E5;
    margin-bottom: var(--space-3xl);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    animation: fadeInUp 800ms var(--transition-decelerate) 200ms backwards;
}

.hero-buttons {
    display: flex;
    gap: var(--space-xl);
    justify-content: center;
    animation: fadeInUp 800ms var(--transition-decelerate) 400ms backwards;
}

/* ============================================
   COUNTER SECTION
   ============================================ */
.counter-section {
    padding: var(--space-xl) 0;
    background: var(--surface);
    border-bottom: 1px solid var(--surface-light);
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.counter-item {
    text-align: center;
    padding: var(--space-lg);
}

.counter-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-orange);
    margin-bottom: var(--space-md);
}

.counter-number::after {
    content: '+';
}

.counter-label {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ============================================
   LOGO SLIDER SECTION
   ============================================ */
.logo-slider-section {
    padding: var(--space-4xl) 0;
    overflow: hidden;
}

.logo-slider {
    overflow: hidden;
    position: relative;
    padding: 24px 0 32px;
    /* Logos fade in and out at the edges */
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logo-track {
    display: flex;
    gap: var(--space-xl);
    width: max-content;
    animation: scrollLogos 45s linear infinite;
}

.logo-slider:hover .logo-track {
    animation-play-state: paused;
}

/* Bright tiles with depth, so every logo shows in full colour.
   The border turns into the orange-to-rose gradient on hover */
.logo-item {
    flex-shrink: 0;
    padding: 20px 26px;
    border: 2px solid transparent;
    border-radius: 22px;
    background:
        linear-gradient(160deg, #ffffff, #f1ece8) padding-box,
        linear-gradient(160deg, #ffffff, #f1ece8) border-box;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.logo-item:hover {
    background:
        linear-gradient(160deg, #ffffff, #f1ece8) padding-box,
        linear-gradient(135deg, var(--primary-orange), var(--accent-rose)) border-box;
    box-shadow: 0 20px 40px rgba(249, 115, 22, 0.35);
    transform: translateY(-8px) scale(1.04);
}

.logo-item img {
    display: block;
    width: 120px;
    height: 80px;
    object-fit: contain;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
    padding: var(--space-4xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3xl);
}

.step-card {
    background: linear-gradient(145deg, var(--surface), #2a2624);
    padding: var(--space-3xl);
    border-radius: 24px;
    text-align: center;
    transition: all 400ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--surface-light);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--accent-rose));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 400ms ease;
}

.step-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-orange);
}

.step-card:hover::before {
    transform: scaleX(1);
}

.step-number {
    position: absolute;
    top: 18px;
    right: 24px;
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(249, 115, 22, 0.35);
    transition: -webkit-text-stroke-color 0.3s ease;
}

.step-card:hover .step-number {
    -webkit-text-stroke-color: rgba(249, 115, 22, 0.8);
}

/* Gradient tile with a line icon and a soft glow */
.step-icon {
    position: relative;
    width: 76px;
    height: 76px;
    margin: 0 auto var(--space-xl);
    border-radius: 24px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-rose));
    color: #fff;
    box-shadow:
        0 14px 30px rgba(249, 115, 22, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.step-icon::after {
    content: '';
    position: absolute;
    inset: -10px;
    z-index: -1;
    border-radius: 30px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.35), transparent 70%);
    filter: blur(8px);
}

.step-card:hover .step-icon {
    transform: translateY(-4px) rotate(-6deg);
}

.step-title {
    margin-bottom: var(--space-lg);
}

.step-description {
    color: var(--text-tertiary);
    line-height: 1.6;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-section {
    padding: var(--space-4xl) 0;
    background: var(--surface);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3xl);
    margin-top: var(--space-3xl);
}

.pricing-card {
    background: var(--main-bg);
    padding: var(--space-3xl);
    border-radius: 20px;
    border: 2px solid var(--surface-light);
    transition: all 300ms var(--transition-standard);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    border-color: var(--primary-orange);
}

.pricing-card.featured {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.3), 0 20px 60px rgba(0, 0, 0, 0.8);
    transform: scale(1.15);
    background: linear-gradient(180deg, #292524 0%, rgba(249, 115, 22, 0.15) 100%);
    z-index: 2;
    border-width: 2px;
}

.pricing-card.featured:hover {
    transform: scale(1.2) translateY(-12px);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.5), 0 30px 80px rgba(249, 115, 22, 0.4);
}

.featured-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-rose));
    color: var(--text-primary);
    padding: 8px 24px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.pricing-title {
    color: var(--primary-orange);
    margin-bottom: var(--space-sm);
}

.pricing-subtitle {
    color: var(--text-tertiary);
    font-size: 14px;
}

.pricing-price {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.price-currency {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--text-tertiary);
    vertical-align: super;
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: 800;
    color: var(--text-primary);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--space-2xl);
}

.pricing-features li {
    padding: var(--space-md) 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 32px;
}

.pricing-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: 700;
    font-size: 18px;
}

/* ============================================
   MOVIES SLIDER SECTION
   ============================================ */
.movies-slider-section {
    padding: var(--space-4xl) 0;
    overflow: hidden;
}

.movies-slider {
    overflow: hidden;
    margin-top: var(--space-3xl);
    padding: 30px 0;
}

.movies-track {
    display: flex;
    gap: var(--space-xl);
    width: max-content;
    animation: scrollMovies 60s linear infinite;
}

.movie-poster {
    flex-shrink: 0;
    width: 350px;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: all 300ms var(--transition-standard);
}

.movie-poster:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.3);
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================
   WHY CHOOSE SECTION
   ============================================ */
.why-choose-section {
    padding: var(--space-4xl) 0;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    align-items: stretch;
}

.why-choose-item {
    background: linear-gradient(145deg, var(--surface), #1c1917);
    padding: var(--space-xl);
    border-radius: 8px;
    border: 1px solid var(--surface-light);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px var(--space-lg);
    align-items: start;
    position: relative;
    overflow: hidden;
}



.why-choose-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-orange);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.why-choose-item:hover {
    transform: translateY(-5px) translateX(5px);
    border-color: var(--primary-orange);
    box-shadow: -5px 10px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(145deg, var(--surface-elevated), #292524);
}

.why-choose-item:hover::before {
    opacity: 1;
}

.why-choose-header {
    display: contents; /* Remove wrapper behavior to let flex parent handle layout */
}

.why-choose-icon {
    grid-row: 1 / span 2;
    width: 56px;
    height: 56px;
    color: var(--primary-orange);
    flex-shrink: 0;
    background: rgba(249, 115, 22, 0.1);
    padding: 12px;
    border-radius: 12px;
    transition: all 0.4s ease;
}

.why-choose-item:hover .why-choose-icon {
    background: var(--primary-orange);
    color: var(--text-primary);
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.why-choose-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    transition: color 0.3s ease;
    align-self: center;
    padding-bottom: 4px;
}

.why-choose-item:hover .why-choose-title {
    color: var(--primary-orange);
}

.why-choose-description {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    padding-left: 0;
    position: relative;
    z-index: 1;
    grid-column: 2;
}

/* Removed unused center image styles */
.why-choose-center-image,
.pulse-loader,
.pulse-core,
.pulse-ring {
    display: none;
}

/* Responsive adjustments for Why Choose section */
@media (max-width: 992px) {
    .why-choose-grid {
        grid-template-columns: 1fr 1fr;
    }
    .why-choose-center-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: var(--space-4xl) 0;
    background: var(--surface);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3xl);
    margin-top: var(--space-3xl);
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.faq-item {
    background: linear-gradient(145deg, var(--surface), #1a1817);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--surface-light);
    transition: all 300ms var(--transition-standard);
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-orange);
    opacity: 0;
    transition: opacity 300ms var(--transition-standard);
}

.faq-item:hover {
    border-color: var(--primary-orange);
    transform: translateX(5px);
    box-shadow: -5px 5px 15px rgba(0,0,0,0.3);
}

.faq-item:hover::before {
    opacity: 1;
}

.faq-question {
    width: 100%;
    padding: var(--space-xl);
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 300ms var(--transition-standard);
}

.faq-question:hover {
    color: var(--primary-orange);
}

.faq-icon {
    font-size: 24px;
    color: var(--primary-orange);
    transition: transform 300ms var(--transition-standard);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 400ms var(--transition-standard);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 var(--space-xl) var(--space-xl);
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    padding: var(--space-4xl) 0;
}

.testimonials-slider {
    position: relative;
    margin-top: var(--space-3xl);
}

.testimonials-container {
    display: flex;
    gap: var(--space-xl);
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: var(--space-xl) 0;
}

.testimonials-container::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex-shrink: 0;
    width: 350px;
    min-height: 280px;
    background: linear-gradient(145deg, var(--surface), #2a2624);
    border-radius: 20px;
    padding: var(--space-2xl);
    border: 1px solid var(--surface-light);
    transition: all 400ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: var(--space-xl);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 120px;
    line-height: 1;
    font-family: serif;
    color: rgba(249, 115, 22, 0.1);
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 2px rgba(249, 115, 22, 0.3);
    border-color: var(--primary-orange);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    position: relative;
    z-index: 1;
}

.testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-orange);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    font-size: 18px;
    margin-bottom: 4px;
}

.testimonial-rating {
    color: var(--warning-amber);
    font-size: 16px;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 300ms var(--transition-standard);
    z-index: 10;
}

.slider-btn:hover {
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-rose));
    color: var(--text-primary);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: -24px;
}

.slider-btn.next {
    right: -24px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 140px 0;
    background: var(--surface);
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    z-index: 1;
    animation: floatOrb 15s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-section::before {
    background: radial-gradient(circle, var(--primary-orange), transparent 70%);
    top: -20%;
    left: -10%;
}

.cta-section::after {
    background: radial-gradient(circle, #db2777, transparent 70%); /* Rose color fallback */
    bottom: -20%;
    right: -10%;
    animation-delay: -7s;
    animation-direction: alternate-reverse;
}

.cta-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    transform: scale(0.9);
    opacity: 0;
    transition: all 800ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cta-content.visible {
    transform: scale(1);
    opacity: 1;
}

.cta-title {
    font-size: 80px;
    font-weight: 800;
    margin-bottom: var(--space-xl);
    background: linear-gradient(to right, #FFFFFF 20%, #F97316 50%, #FFFFFF 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 4s linear infinite;
    letter-spacing: -2px;
    line-height: 1.1;
}

.cta-description {
    font-size: 22px;
    color: var(--text-secondary);
    margin-bottom: var(--space-3xl);
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: var(--space-xl);
    justify-content: center;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.2); }
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--main-bg);
    padding: var(--space-3xl) 0;
    border-top: 1px solid var(--surface-light);
}

.footer-content {
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 300ms var(--transition-standard);
}

.footer-link:hover {
    color: var(--primary-orange);
}

.footer-separator {
    color: var(--text-tertiary);
}

.footer-copyright {
    color: var(--text-tertiary);
    font-size: 14px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.3;
    }
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollMovies {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* ============================================
   RESPONSIVE DESIGN - LARGE TABLET / LAPTOP
   ============================================ */
@media (max-width: 1368px) {
    .hero {
        height: auto;
        min-height: auto;
        padding: 160px 0 100px;
    }
}

/* ============================================
   RESPONSIVE DESIGN - TABLET
   ============================================ */
@media (max-width: 1024px) {
    .hero {
        height: auto;
        min-height: auto;
        padding: 160px 0 100px;
    }

    .container {
        padding: 0 var(--space-xl);
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    h2 {
        font-size: 32px;
    }
    
    .steps-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .feature-row {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .feature-row.reverse {
        direction: ltr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }

    /* Navigation for Tablet & Mobile */
    .navbar {
        height: 60px;
    }

    .nav-content {
        justify-content: space-between;
    }

    .logo {
        position: static;
    }
    
    .logo img {
        height: 40px;
    }

    .nav-btn-container {
        position: static;
        width: 100%;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(28, 25, 23, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: var(--space-2xl);
        gap: var(--space-xl);
        transition: left 300ms var(--transition-standard);
        z-index: 2000;
        justify-content: flex-start;
        align-items: center;
        padding-top: 120px;
    }
    
    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-header {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .mobile-menu-close {
        background: none;
        border: none;
        color: var(--text-primary);
        font-size: 40px;
        cursor: pointer;
        padding: 10px;
        line-height: 1;
    }

    .nav-separator {
        display: block;
        width: 100%;
        height: 1px;
        background: rgba(255, 255, 255, 0.1);
        margin: 10px 0;
    }
    
    .nav-btn-container {
        width: 100%;
    }
    
    .nav-btn-container .btn-primary {
        width: 100%;
        display: block;
        text-align: center;
    }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE
   ============================================ */
@media (max-width: 768px) {
    /* Same logo size as the other themes on phones (about 117 x 44) */
    .logo img {
        height: 44px;
    }
    
    .hero {
        height: auto;
        min-height: auto;
        padding: 140px 0 80px;
    }
    
    .container {
        padding: 0 var(--space-lg);
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .btn-large {
        width: 100%;
    }
    
    .counter-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .counter-number {
        font-size: 36px;
    }
    
    .logo-item {
        padding: var(--space-md);
    }
    
    .logo-item img {
        width: 100px;
        height: 75px;
    }
    
    .movie-poster {
        width: 260px;
        height: 370px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .slider-btn.prev {
        left: 0;
    }
    
    .slider-btn.next {
        right: 0;
    }
    
    .testimonial-card {
        width: 260px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .footer-separator {
        display: none;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

/* ============================================
   RESPONSIVE DESIGN - SMALL MOBILE (Samsung/iPhone)
   ============================================ */
@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 15px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .pricing-card {
        padding: var(--space-lg);
    }
    
    /* Stack Why Choose Items vertically */
    .why-choose-item {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        text-align: center;
        justify-items: center;
        gap: var(--space-md);
    }
    
    .why-choose-icon {
        grid-row: 1;
        margin-bottom: var(--space-xs);
    }
    
    .why-choose-title {
        grid-row: 2;
    }
    
    .why-choose-description {
        grid-row: 3;
        grid-column: 1;
        padding-left: 0;
    }
    
    /* Adjust buttons for small screens */
    .hero-buttons {
        width: 100%;
    }
    
    .btn-large {
        width: 100%;
        padding: 14px 20px;
        font-size: 16px;
    }
}

.mt-xl {
    margin-top: var(--space-xl);
}

.mb-xl {
    margin-bottom: var(--space-xl);
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

html {
    scroll-behavior: smooth;
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
@keyframes pulse-green {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    left: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    animation: none; /* Pause animation on hover */
    transform: scale(1.1);
    color: #FFF;
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: currentColor;
}

/* Responsive adjustments for WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
    }
    
    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }
}

/* ============================================
   NEW SECTIONS: setup guide, weekly schedule, channel list,
   pricing device switch, back to top
   ============================================ */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hz-lead {
    max-width: 760px;
    margin: calc(var(--space-lg) * -1) auto var(--space-3xl);
    text-align: center;
    color: var(--text-tertiary);
    font-size: 18px;
    line-height: 1.7;
}

.hz-page {
    flex: 1;
}

/* Pages without a page header start below the fixed header */
.hz-page-top {
    padding-top: 150px !important;
}

/* ---------- Pricing: device switch ---------- */
.hz-switch-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-4xl);
}

.hz-switch {
    position: relative;
    display: inline-grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    padding: 6px;
    border-radius: 999px;
    background: var(--main-bg);
    border: 1px solid var(--surface-light);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hz-switch-pill {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-rose));
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), width 0.4s ease;
}

.hz-switch-option {
    position: relative;
    z-index: 1;
    padding: 12px 26px;
    border: none;
    border-radius: 999px;
    background: none;
    color: var(--text-tertiary);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.3s ease;
}

.hz-switch-option:hover {
    color: var(--text-primary);
}

.hz-switch-option.is-active {
    color: #fff;
}

.hz-switch-note {
    font-size: 14px;
    color: var(--text-tertiary);
    text-align: center;
}

.pricing-features .hz-device-count strong {
    color: var(--primary-orange);
}

/* Switching: a warm light sweeps across each card */
.pricing-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(110deg, transparent 30%, rgba(251, 146, 60, 0.35) 48%, rgba(255, 255, 255, 0.25) 50%, rgba(251, 146, 60, 0.35) 52%, transparent 70%) 150% 0 / 300% 100% no-repeat;
    opacity: 0;
    pointer-events: none;
}

.pricing-card.is-switching::after {
    animation: hz-sweep 0.9s ease;
    animation-delay: var(--switch-delay, 0s);
}

@keyframes hz-sweep {
    0% { opacity: 1; background-position: 150% 0; }
    100% { opacity: 1; background-position: -50% 0; }
}

.price-amount {
    display: inline-block;
    font-variant-numeric: tabular-nums;
}

.pricing-price.is-bumped .price-amount {
    animation: hz-price-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes hz-price-pop {
    0% { transform: scale(1); }
    40% { transform: scale(1.12); color: var(--secondary-amber); }
    100% { transform: scale(1); }
}

/* ---------- Setup guide ---------- */
.hz-setup-section {
    padding: var(--space-4xl) 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(249, 115, 22, 0.08), transparent 35%),
        radial-gradient(circle at 90% 80%, rgba(244, 63, 94, 0.06), transparent 35%),
        var(--main-bg);
}

/* Setup guide: device list on the left, steps on a timeline on the right */
.hz-setup {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: var(--space-xl);
    align-items: start;
    max-width: 1180px;
    margin: 0 auto;
}

.hz-devices {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hz-device {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--surface-light);
    color: var(--text-primary);
    font-family: var(--font-heading);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.hz-device:hover {
    border-color: rgba(249, 115, 22, 0.5);
    transform: translateX(4px);
}

.hz-device.is-active {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.18), rgba(244, 63, 94, 0.08)), var(--surface);
    border-color: var(--primary-orange);
    box-shadow: 0 12px 30px rgba(249, 115, 22, 0.2);
    transform: none;
}

.hz-device-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    padding: 2px;
    border-radius: 14px;
    background: var(--surface-light);
    transition: background 0.3s ease;
}

.hz-device-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    background: #000;
}

.hz-device.is-active .hz-device-icon {
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-rose));
}

.hz-device-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.35;
}

.hz-device-text strong {
    font-size: 15px;
    font-weight: 700;
}

.hz-device-text small {
    color: var(--text-tertiary);
    font-family: var(--font-body);
    font-size: 13px;
}

.hz-setup-panel {
    padding: var(--space-3xl);
    border-radius: 28px;
    background: linear-gradient(160deg, var(--surface), #221f1d);
    border: 1px solid var(--surface-light);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.hz-setup-panel.is-active {
    animation: hz-panel-in 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes hz-panel-in {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

.hz-setup-head {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--surface-light);
}

.hz-device-icon-lg {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-rose));
    box-shadow: 0 12px 30px rgba(249, 115, 22, 0.3);
}

.hz-device-icon-lg img {
    border-radius: 18px;
}

.hz-setup-head :is(h2, h3) {
    margin-bottom: 2px;
    font-weight: 600;
    line-height: 1.4;
    font-size: 26px;
}

.hz-setup-head p {
    color: var(--text-tertiary);
    font-size: 15px;
}

/* Steps on a gradient line */
.hz-steps {
    list-style: none;
}

.hz-steps li {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: var(--space-lg);
    padding-bottom: var(--space-xl);
}

.hz-steps li:last-child {
    padding-bottom: 0;
}

.hz-steps li:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 52px;
    bottom: 8px;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(var(--primary-orange), rgba(244, 63, 94, 0.1));
}

.hz-step-num {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-rose));
    color: #fff;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.35);
}

.hz-steps :is(h3, h4) {
    font-weight: 700;
    line-height: 1.4;
    margin: 8px 0 6px;
    font-size: 19px;
}

.hz-steps p {
    color: var(--text-tertiary);
    font-size: 15px;
    line-height: 1.7;
}

.hz-steps strong {
    color: var(--text-secondary);
}

.hz-setup-note {
    margin-top: var(--space-xl);
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(252, 211, 77, 0.08);
    color: #E9CF7A;
    font-size: 15px;
}

.hz-setup-apps {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--surface-light);
}

.hz-setup-apps-label {
    margin-right: 6px;
    color: var(--text-tertiary);
    font-size: 14px;
    font-weight: 600;
}

.hz-setup-apps span:not(.hz-setup-apps-label) {
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--surface-light);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
}

/* Help card */
.hz-help {
    position: relative;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
    padding: var(--space-2xl) var(--space-3xl);
    border-radius: 28px;
    background:
        radial-gradient(circle at 0% 50%, rgba(249, 115, 22, 0.22), transparent 55%),
        var(--surface);
    border: 1px solid rgba(249, 115, 22, 0.35);
    overflow: hidden;
}

.hz-help h3 {
    font-size: 24px;
    margin-bottom: 4px;
}

.hz-help p {
    color: var(--text-tertiary);
}

.hz-help-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

/* Troubleshooting (setup guide page) */
.hz-trouble {
    padding: var(--space-4xl) 0;
    background: var(--surface);
}

/* Troubleshooting: a compact grid of quick fixes */
.hz-trouble-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-lg);
}

.hz-trouble-item {
    position: relative;
    padding: var(--space-xl);
    border-radius: 22px;
    background: var(--main-bg);
    border: 1px solid var(--surface-light);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.hz-trouble-item::before {
    content: '';
    display: block;
    width: 32px;
    height: 4px;
    margin-bottom: var(--space-md);
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--accent-rose));
}

.hz-trouble-item:hover {
    border-color: rgba(249, 115, 22, 0.5);
    transform: translateY(-4px);
}

.hz-trouble-item h3 {
    margin-bottom: var(--space-sm);
    font-size: 18px;
}

.hz-trouble-item p {
    color: var(--text-tertiary);
    font-size: 15px;
    line-height: 1.65;
}

/* ---------- Every week on your screen: day picker ---------- */
.hz-week-section {
    padding: var(--space-4xl) 0;
    background: var(--surface);
}

.hz-week {
    max-width: 1080px;
    margin: 0 auto;
}

/* Same sliding gradient pill as the pricing device switch */
.hz-picker {
    position: relative;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    max-width: 640px;
    margin: 0 auto var(--space-3xl);
    padding: 6px;
    border-radius: 999px;
    background: var(--main-bg);
    border: 1px solid var(--surface-light);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hz-picker-pill {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-rose));
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), width 0.4s ease;
}

.hz-pick {
    position: relative;
    z-index: 1;
    padding: 12px 4px;
    border: none;
    border-radius: 999px;
    background: none;
    color: var(--text-tertiary);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.3s ease;
}

.hz-pick:hover {
    color: var(--text-primary);
}

.hz-pick.is-active {
    color: #fff;
}

/* A small dot marks today */
.hz-pick.is-today::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 5px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--secondary-amber);
    transform: translateX(-50%);
}

.hz-pick.is-today.is-active::after {
    background: #fff;
}

.hz-week-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-sm) var(--space-lg);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--surface-light);
}

.hz-week-day {
    font-size: 28px;
}

.hz-week-count {
    color: var(--secondary-amber);
    font-size: 15px;
    font-weight: 600;
}

.hz-events {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: var(--space-lg);
}

.hz-event {
    --cat: var(--primary-orange);
    position: relative;
    display: flex;
    flex-direction: column;
    padding: var(--space-xl);
    border-radius: 22px;
    background: var(--main-bg);
    border: 1px solid var(--surface-light);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hz-event[hidden] {
    display: none;
}

.hz-event-us { --cat: var(--secondary-amber); }
.hz-event-motor { --cat: var(--accent-rose); }
.hz-event-fight { --cat: #E11D48; }

/* Soft glow in the category colour */
.hz-event::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--cat);
    opacity: 0.12;
    filter: blur(40px);
    pointer-events: none;
}

.hz-event:hover {
    transform: translateY(-4px);
    border-color: var(--cat);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.hz-event-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.hz-event-logo {
    width: 56px;
    height: 56px;
    padding: 9px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.hz-event-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hz-event-cat {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-tertiary);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.hz-event-name {
    font-family: var(--font-heading);
    font-size: 19px;
    line-height: 1.3;
    color: var(--text-primary);
}

.hz-event-label {
    margin-top: 2px;
    color: var(--cat);
    font-size: 15px;
    font-weight: 600;
}

.hz-event-season {
    margin-top: auto;
    padding-top: var(--space-md);
    color: var(--text-tertiary);
    font-size: 13px;
}

.hz-event.is-entering {
    animation: hz-event-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) var(--enter-delay, 0s) both;
}

@keyframes hz-event-in {
    from { opacity: 0; transform: translateY(14px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

.hz-week-note {
    margin-top: var(--space-xl);
    text-align: center;
    font-size: 14px;
    color: var(--text-tertiary);
}

/* ---------- Homepage: channel list teaser ---------- */
.hz-channels {
    padding: var(--space-4xl) 0;
}

.hz-channels-inner {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    padding: var(--space-4xl) var(--space-3xl);
    border-radius: 36px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(249, 115, 22, 0.22), transparent 60%),
        linear-gradient(160deg, var(--surface), #1f1b19);
    border: 1px solid rgba(249, 115, 22, 0.3);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.hz-channels-inner .section-title {
    margin-bottom: var(--space-lg);
}

.hz-channels-inner .hz-lead {
    margin: 0 auto var(--space-2xl);
}

/* Pill search with the button inside */
.hz-search-form {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 640px;
    margin: 0 auto var(--space-2xl);
    padding: 6px;
    border-radius: 999px;
    background: var(--main-bg);
    border: 1px solid var(--surface-light);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hz-search-form:focus-within {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15);
}

.hz-search-form > svg {
    flex-shrink: 0;
    margin: 0 12px 0 18px;
    color: var(--primary-orange);
}

.hz-search-form input {
    flex: 1;
    min-width: 0;
    height: 48px;
    border: none;
    background: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    outline: none;
}

.hz-search-form input::placeholder {
    color: var(--text-tertiary);
}

.hz-search-form .btn-primary {
    border-radius: 999px;
    padding: 12px 28px;
}

.hz-countries {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.hz-country {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 6px;
    border-radius: 999px;
    background: var(--main-bg);
    border: 1px solid var(--surface-light);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hz-country span {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.15);
    color: var(--secondary-amber);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
}

.hz-country:hover {
    border-color: var(--primary-orange);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.hz-country-all {
    padding: 6px 18px;
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-rose));
    border-color: transparent;
    color: #fff;
    font-weight: 600;
}

.hz-country-all:hover {
    color: #fff;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
}

/* ---------- Channel List page ---------- */
.hz-cl-section {
    padding-bottom: var(--space-4xl);
}

.hz-cl {
    padding: var(--space-xl);
    border-radius: 28px;
    background: rgba(41, 37, 36, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--surface-light);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hz-cl-bar {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.hz-cl-search {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.hz-cl-search > svg {
    position: absolute;
    left: 20px;
    color: var(--primary-orange);
    pointer-events: none;
}

.hz-cl-search input {
    width: 100%;
    height: 58px;
    padding: 0 56px 0 52px;
    border-radius: 999px;
    border: 1px solid var(--surface-light);
    background: var(--main-bg);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hz-cl-search input::placeholder {
    color: var(--text-tertiary);
}

.hz-cl-search input:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15);
}

.hz-cl-search input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.hz-cl-clear {
    position: absolute;
    right: 10px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: var(--surface-light);
    color: var(--text-primary);
    cursor: pointer;
}

.hz-cl-clear[hidden] {
    display: none;
}

.hz-cl-clear:hover {
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-rose));
}

.hz-cl-select-wrap {
    display: none;
    position: relative;
}

.hz-cl-select-wrap::after {
    content: '';
    position: absolute;
    right: 22px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--primary-orange);
    border-bottom: 2px solid var(--primary-orange);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

.hz-cl-select {
    width: 100%;
    height: 54px;
    padding: 0 48px 0 20px;
    border-radius: 999px;
    border: 1px solid var(--surface-light);
    background: var(--main-bg);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}

.hz-cl-layout {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: var(--space-xl);
    align-items: start;
}

.hz-cl-sidebar {
    padding: 10px;
    border-radius: 20px;
    background: var(--main-bg);
    border: 1px solid var(--surface-light);
}

.hz-cl-nav {
    max-height: 660px;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: var(--surface-elevated) transparent;
}

.hz-cl-loading {
    padding: 12px;
    color: var(--text-tertiary);
}

.hz-cl .cl-nav-heading {
    padding: 14px 10px 6px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--secondary-amber);
}

.hz-cl .cl-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 4px;
    padding: 8px 10px;
    border: none;
    border-radius: 14px;
    background: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 15px;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.hz-cl .cl-nav-item:hover {
    background: var(--surface);
    color: var(--text-primary);
}

.hz-cl .cl-nav-item.is-active {
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-rose));
    color: #fff;
    box-shadow: 0 6px 18px rgba(244, 63, 94, 0.3);
}

.hz-cl .cl-badge {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.14);
    color: var(--secondary-amber);
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 800;
}

.hz-cl .cl-nav-item.is-active .cl-badge {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.hz-cl .cl-nav-name {
    flex: 1;
    min-width: 0;
    line-height: 1.3;
}

.hz-cl .cl-nav-count {
    font-size: 12px;
    color: var(--text-tertiary);
}

.hz-cl .cl-nav-item.is-active .cl-nav-count {
    color: rgba(255, 255, 255, 0.85);
}

.hz-cl-panel {
    min-width: 0;
}

.hz-cl-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.hz-cl-title {
    font-size: 30px;
    color: var(--primary-orange);
    word-break: break-word;
}

.hz-cl-meta {
    color: var(--text-tertiary);
    font-size: 15px;
}

.hz-cl-legend {
    display: flex;
    gap: 6px;
}

.hz-cl-grid {
    max-height: 640px;
    overflow-y: auto;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: var(--surface-elevated) transparent;
}

.hz-cl .cl-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 10px;
}

/* Channels as rounded pills */
.hz-cl .cl-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid transparent;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.hz-cl .cl-item:hover {
    border-color: var(--primary-orange);
    background: rgba(249, 115, 22, 0.08);
}

.hz-cl .cl-name {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.hz-cl .cl-tag {
    flex-shrink: 0;
    max-width: 45%;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--surface-light);
    color: var(--text-tertiary);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hz-cl .cl-qualities,
.hz-cl-legend {
    flex-shrink: 0;
    display: flex;
    gap: 4px;
}

.hz-cl .cl-q {
    padding: 1px 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.6;
}

.hz-cl .cl-q-8k { background: linear-gradient(135deg, var(--accent-rose), #BE123C); color: #fff; }
.hz-cl .cl-q-4k { background: linear-gradient(135deg, var(--primary-orange), var(--deep-orange)); color: #fff; }
.hz-cl .cl-q-hd { background: rgba(132, 204, 22, 0.18); color: #A3E635; }
.hz-cl .cl-q-sd { background: var(--surface-light); color: var(--text-tertiary); }

.hz-cl .cl-item mark {
    padding: 0 2px;
    border-radius: 4px;
    background: var(--primary-orange);
    color: #fff;
}

.hz-cl .cl-result-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: var(--space-2xl) 0 var(--space-md);
}

.hz-cl .cl-result-head:first-child {
    margin-top: 0;
}

.hz-cl .cl-result-head strong {
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.hz-cl .cl-result-count {
    font-size: 13px;
    color: var(--text-tertiary);
}

.hz-cl .cl-result-view {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid var(--primary-orange);
    border-radius: 999px;
    background: none;
    color: var(--primary-orange);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hz-cl .cl-result-view:hover {
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-rose));
    color: #fff;
}

.hz-cl .cl-more {
    margin-top: var(--space-lg);
    padding: 12px 18px;
    border-radius: 16px;
    background: rgba(249, 115, 22, 0.1);
    color: var(--secondary-amber);
    font-size: 14px;
    text-align: center;
}

.hz-cl .cl-empty {
    padding: 60px 20px;
    text-align: center;
}

.hz-cl .cl-empty h3 {
    margin-bottom: 8px;
}

.hz-cl .cl-empty p {
    color: var(--text-tertiary);
}

/* ---------- Back to top ---------- */
.hz-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 999;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-rose));
    color: #fff;
    box-shadow: 0 10px 25px rgba(234, 88, 12, 0.45);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.9);
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.3s ease;
}

.hz-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.hz-top:hover {
    transform: translateY(-3px);
}

.hz-top-ring {
    position: absolute;
    inset: -6px;
    width: calc(100% + 12px);
    height: calc(100% + 12px);
    transform: rotate(-90deg);
    pointer-events: none;
}

.hz-top-ring circle {
    fill: none;
    stroke: var(--secondary-amber);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 151;
    stroke-dashoffset: var(--scroll-offset, 151);
    transition: stroke-dashoffset 0.1s linear;
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
    .hz-trouble-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .hz-setup {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Device list becomes one swipeable row */
    .hz-devices {
        flex-direction: row;
        overflow-x: auto;
        scrollbar-width: none;
        margin: 0 calc(var(--space-xl) * -1);
        padding: 4px var(--space-xl) 8px;
    }

    .hz-devices::-webkit-scrollbar {
        display: none;
    }

    .hz-device {
        flex: 0 0 auto;
        width: auto;
        padding: 8px 16px 8px 8px;
    }

    .hz-device:hover {
        transform: none;
    }

    .hz-device-text small {
        display: none;
    }

    .hz-page-top {
        padding-top: 120px !important;
    }

    .hz-cl-select-wrap {
        display: block;
    }

    .hz-cl-bar {
        flex-direction: column;
    }

    .hz-cl-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .hz-cl-sidebar {
        display: none;
    }

    /* Phones/tablets: a scrollable box instead of a 20,000px long page */
    .hz-cl-grid {
        max-height: min(560px, 65vh);
        padding-right: 4px;
    }
}

@media (max-width: 768px) {
    .hz-lead {
        font-size: 16px;
        margin-bottom: var(--space-2xl);
    }

    .hz-switch {
        grid-auto-flow: row;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        border-radius: 26px;
    }

    .hz-switch-option {
        padding: 12px 8px;
    }

    .hz-switch-wrap {
        margin-bottom: var(--space-3xl);
    }

    .hz-devices {
        margin: 0 calc(var(--space-lg) * -1);
        padding: 4px var(--space-lg) 8px;
    }

    .hz-device-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .hz-device-icon img {
        border-radius: 10px;
    }

    .hz-setup-panel {
        padding: var(--space-xl) var(--space-lg);
        border-radius: 22px;
    }

    .hz-device-icon-lg {
        width: 56px;
        height: 56px;
        border-radius: 16px;
    }

    .hz-setup-head :is(h2, h3) {
        font-size: 21px;
    }

    .hz-steps li {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: var(--space-md);
    }

    .hz-steps li:not(:last-child)::before {
        left: 18px;
        top: 46px;
    }

    .hz-step-num {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .hz-trouble-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hz-help {
        padding: var(--space-xl) var(--space-lg);
        border-radius: 22px;
    }

    .hz-help-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hz-help-buttons a {
        width: 100%;
    }

    .hz-picker {
        margin-bottom: var(--space-2xl);
        padding: 4px;
    }

    .hz-pick {
        padding: 10px 0;
        font-size: 13px;
    }

    .hz-week-day {
        font-size: 22px;
    }

    .hz-events {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-md);
    }

    .hz-event {
        padding: var(--space-lg);
        border-radius: 18px;
    }

    .hz-event-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .hz-event-logo {
        width: 46px;
        height: 46px;
        padding: 7px;
        border-radius: 13px;
    }

    .hz-event-name {
        font-size: 16px;
    }

    .hz-event-label {
        font-size: 14px;
    }

    .hz-channels-inner {
        padding: var(--space-3xl) var(--space-lg);
        border-radius: 26px;
    }

    .hz-search-form {
        flex-wrap: wrap;
        border-radius: 26px;
        padding: 6px;
    }

    .hz-search-form input {
        width: calc(100% - 60px);
    }

    .hz-search-form .btn-primary {
        width: 100%;
        margin-top: 6px;
    }

    .hz-cl {
        padding: var(--space-lg);
        border-radius: 22px;
    }

    .hz-cl-title {
        font-size: 24px;
    }

    .hz-cl-legend {
        display: none;
    }

    .hz-cl .cl-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .hz-top {
        right: 20px;
        bottom: 20px;
        width: 48px;
        height: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pricing-card.is-switching::after,
    .pricing-price.is-bumped .price-amount,
    .hz-setup-panel.is-active,
    .hz-event.is-entering {
        animation: none;
    }

    .hz-switch-pill,
    .hz-picker-pill {
        transition: none;
    }
}

/* Small laptops: a little more room around the 6-link menu */
@media (min-width: 1025px) and (max-width: 1180px) {
    .nav-menu {
        --menu-gap: 24px;
    }

    /* Slightly smaller header button so it clears the menu */
    .nav-btn-container .btn-large {
        min-width: 180px;
        padding: 14px 24px;
        font-size: 16px;
    }
}

/* Just above that, the full-size header button needs a slightly tighter menu */
@media (min-width: 1181px) and (max-width: 1279px) {
    .nav-menu {
        --menu-gap: 32px;
    }
}

/* ============================================
   HERO: fill the screen below the header, text centred
   (equal space above and below; counter starts at the fold)
   ============================================ */
:root {
    --hz-header: 96px;     /* header top padding (24px) + navbar (72px) */
    --hz-hero-gap: 48px;   /* minimum space around the hero text */
}

.hero {
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    padding: calc(var(--hz-header) + var(--hz-hero-gap)) 0 var(--hz-hero-gap);
}

.hero-content {
    padding-top: 0;
}

@media (max-width: 1024px) {
    :root {
        --hz-header: 84px; /* navbar is 60px here */
        --hz-hero-gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --hz-hero-gap: 32px;
    }
}

/* ============================================
   LARGE SCREENS: scale the whole layout up
   (sizes in this theme are in px, so zoom keeps every proportion)
   ============================================ */
@media (min-width: 1800px) {
    body {
        zoom: 1.15;
    }

    /* Screen-height units get zoomed too: divide them back */
    .hero {
        min-height: calc(100vh / 1.15);
        min-height: calc(100svh / 1.15);
    }
}

@media (min-width: 2200px) {
    body {
        zoom: 1.35;
    }

    /* Screen-height units get zoomed too: divide them back */
    .hero {
        min-height: calc(100vh / 1.35);
        min-height: calc(100svh / 1.35);
    }
}

/* Short screens: the hero still fits the first screen with its text
   centred (small phones and phones held sideways) */
@media (max-width: 480px) and (max-height: 700px) {
    :root {
        --hz-hero-gap: 20px;
    }

    .hero-title {
        font-size: 30px;
        margin-bottom: 14px;
    }

    .hero-description {
        font-size: 14.5px;
        line-height: 1.6;
        margin-bottom: 22px;
    }

    .hero-buttons {
        gap: 10px;
    }

    .hero-buttons .btn-large {
        padding: 13px 20px;
        font-size: 16px;
    }
}

@media (min-width: 481px) and (max-height: 520px) {
    :root {
        --hz-hero-gap: 16px;
    }

    .hero-title {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .hero-description {
        font-size: 14.5px;
        line-height: 1.55;
        max-width: 640px;
        margin-bottom: 16px;
    }

    .hero-buttons {
        flex-direction: row;
        width: auto;
        gap: 12px;
    }

    .hero-buttons .btn-large {
        width: auto;
        min-width: 160px;
        padding: 11px 22px;
        font-size: 16px;
    }
}

/* Store links inside setup steps */
.setup-link {
    font-weight: 700;
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.setup-link:hover {
    opacity: 0.8;
}

/* ==========================================================================
   Inner pages (contact, policies): a compact title instead of a banner,
   so the content starts right under the menu
   ========================================================================== */
body .policy-header-section {
    min-height: 0;
    /* the header floats over the top of the page, so the title starts below it */
    padding: 144px 0 8px;
    background: none;
    text-align: center;
}

body .policy-header-section::before,
body .policy-header-section::after {
    display: none;
}

body .policy-header-section h1 {
    margin: 0 auto 10px;
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    line-height: 1.15;
    text-shadow: none;
    animation: none;
}

body .policy-header-section p {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    text-shadow: none;
    animation: none;
}

body .policy-header-section + section {
    padding-top: 24px;
}

@media (max-width: 640px) {
    body .policy-header-section {
        padding-top: 124px;
    }
}

/* === SECTION SPACING (generated) === */
/* Every gap between sections matches: 128px / 128px / 128px on phones / tablets / desktops */
@media (max-width: 767px) {
    #home ~ section.counter-section {
        padding-bottom: 47px;
    }

    #home ~ section.logo-slider-section {
        padding-top: 40px;
        padding-bottom: 32px;
    }

    #home ~ section.how-it-works {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    #home ~ section.hz-setup-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    #home ~ section.pricing-section {
        padding-top: 64px;
        padding-bottom: 94px;
    }

    #home ~ section.movies-slider-section {
        padding-top: 64px;
        padding-bottom: 34px;
    }

    #home ~ section.hz-week-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    #home ~ section.hz-channels {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    #home ~ section.why-choose-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    #home ~ section.faq-section {
        padding-top: 64px;
        padding-bottom: 94px;
    }

    #home ~ section.testimonials-section {
        padding-top: 64px;
        padding-bottom: 40px;
    }

    #home ~ section.cta-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    footer.footer {
        padding-top: 63px;
    }
}

@media (min-width: 768px) and (max-width: 1180px) {
    #home ~ section.counter-section {
        padding-bottom: 47px;
    }

    #home ~ section.logo-slider-section {
        padding-top: 40px;
        padding-bottom: 32px;
    }

    #home ~ section.how-it-works {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    #home ~ section.hz-setup-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    #home ~ section.pricing-section {
        padding-top: 64px;
        padding-bottom: 94px;
    }

    #home ~ section.movies-slider-section {
        padding-top: 64px;
        padding-bottom: 34px;
    }

    #home ~ section.hz-week-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    #home ~ section.hz-channels {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    #home ~ section.why-choose-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    #home ~ section.faq-section {
        padding-top: 64px;
        padding-bottom: 94px;
    }

    #home ~ section.testimonials-section {
        padding-top: 64px;
        padding-bottom: 40px;
    }

    #home ~ section.cta-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    footer.footer {
        padding-top: 63px;
    }
}

@media (min-width: 1181px) {
    #home ~ section.counter-section {
        padding-bottom: 47px;
    }

    #home ~ section.logo-slider-section {
        padding-top: 40px;
        padding-bottom: 32px;
    }

    #home ~ section.how-it-works {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    #home ~ section.hz-setup-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    #home ~ section.pricing-section {
        padding-top: 64px;
        padding-bottom: 94px;
    }

    #home ~ section.movies-slider-section {
        padding-top: 64px;
        padding-bottom: 34px;
    }

    #home ~ section.hz-week-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    #home ~ section.hz-channels {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    #home ~ section.why-choose-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    #home ~ section.faq-section {
        padding-top: 64px;
        padding-bottom: 94px;
    }

    #home ~ section.testimonials-section {
        padding-top: 64px;
        padding-bottom: 40px;
    }

    #home ~ section.cta-section {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    footer.footer {
        padding-top: 63px;
    }
}
/* === END SECTION SPACING === */

/* Smallest phones: logo matches the other themes (about 101 x 38) */
@media (max-width: 374px) {
    .logo img {
        height: 38px;
    }
}

/* ============================================
   GERMAN EDITION: CONVERSION & SEO COMPONENTS
   ============================================ */

/* Hero: soft gradient shows straight away; the video fades in later on desktop */
.hero-video-wrapper {
    background:
        radial-gradient(circle at 20% 30%, rgba(249, 115, 22, 0.35), transparent 50%),
        radial-gradient(circle at 80% 75%, rgba(244, 63, 94, 0.25), transparent 50%),
        var(--main-bg);
}

.hero-video {
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-video.is-loaded {
    opacity: 1;
}

/* Title + typed line: same size and style as the original theme */
.hero-title-main {
    margin-bottom: 0;
}

/* All phrases sit invisibly in one grid cell, so the line is always as tall
   as the longest phrase and the description below never jumps */
.hero-type {
    display: grid;
    justify-items: center;
    font-family: var(--font-heading); /* a <p>, so it needs the heading font set explicitly */
}

.hero-type > span {
    grid-area: 1 / 1;
}

.hero-type-sizer {
    visibility: hidden;
}

.hero-type-sizer span {
    color: var(--primary-orange);
}

/* Small trust line under the buttons */
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md) var(--space-2xl);
    margin-top: var(--space-2xl);
    list-style: none;
    font-size: 15px;
    font-weight: 500;
    color: #E5E5E5;
}

.hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.hero-trust svg {
    flex-shrink: 0;
    color: var(--success-green);
}

/* ---------- Pricing additions ---------- */
.pricing-title a {
    color: inherit;
    text-decoration: none;
}

.pricing-title a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.price-currency.is-after {
    margin-left: 4px;
}

.price-monthly {
    display: block;
    margin-top: var(--space-xs);
    font-size: 15px;
    color: var(--text-tertiary);
}

.price-monthly strong {
    color: var(--text-primary);
    font-weight: 600;
}

.price-saving {
    display: inline-block;
    margin-top: var(--space-md);
    padding: 4px 14px;
    border-radius: 999px;
    background: rgba(132, 204, 22, 0.15);
    color: var(--success-green);
    font-size: 13px;
    font-weight: 600;
}

.price-saving[hidden] {
    display: none;
}

.pricing-more {
    display: block;
    margin-top: var(--space-lg);
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.pricing-more:hover {
    color: var(--primary-orange);
}

.pricing-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md) var(--space-2xl);
    margin-top: var(--space-4xl);
    list-style: none;
    font-size: 15px;
    color: var(--text-tertiary);
}

.pricing-trust li {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.pricing-trust svg {
    color: var(--primary-orange);
}

/* ---------- Homepage: "IPTV Abo kaufen" text + plan links ---------- */
.hz-seo {
    padding: var(--space-4xl) 0;
}

.hz-seo-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.hz-seo-text h2 {
    margin-bottom: var(--space-xl);
}

.hz-seo-text h3 {
    font-size: 20px;
    margin: var(--space-2xl) 0 var(--space-sm);
}

.hz-seo-text p {
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: var(--space-lg);
}

.hz-seo-text a,
.hz-prose a {
    color: var(--secondary-amber);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.hz-seo-text a:hover,
.hz-prose a:hover {
    color: var(--primary-orange);
}

.hz-plan-links {
    display: grid;
    gap: var(--space-lg);
    position: sticky;
    top: 100px;
}

.hz-plan-links-title {
    font-size: 18px;
    margin-bottom: var(--space-xs);
}

.hz-plan-link {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-xl);
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--surface-light);
    text-decoration: none;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.hz-plan-link:hover {
    border-color: var(--primary-orange);
    transform: translateX(6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.hz-plan-link.is-featured {
    border-color: rgba(249, 115, 22, 0.6);
    background: linear-gradient(135deg, var(--surface), rgba(249, 115, 22, 0.14));
}

.hz-plan-link-months {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-rose));
    color: #fff;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.hz-plan-link-months small {
    margin-top: 3px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hz-plan-link-text {
    flex: 1;
    min-width: 0;
}

.hz-plan-link-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 17px;
    color: var(--text-primary);
}

.hz-plan-link-text span {
    font-size: 14px;
    color: var(--text-tertiary);
}

.hz-plan-link-price {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    white-space: nowrap;
}

/* ---------- Footer with link columns ---------- */
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
    text-align: left;
}

.footer-brand img {
    display: block;
    height: 44px;
    width: auto;
    margin-bottom: var(--space-lg);
}

.footer-brand p {
    max-width: 320px;
    font-size: 15px;
    color: var(--text-tertiary);
}

.footer-col h2 {
    font-size: 16px;
    margin-bottom: var(--space-lg);
}

.footer-col ul {
    display: grid;
    gap: 10px;
    list-style: none;
}

.footer-col a {
    color: var(--text-secondary);
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover,
.footer-col a[aria-current="page"] {
    color: var(--primary-orange);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid var(--surface-light);
    text-align: center;
    font-size: 14px;
    color: var(--text-tertiary);
}

/* ---------- Breadcrumb ---------- */
.hz-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    list-style: none;
    font-size: 14px;
    color: var(--text-tertiary);
}

.hz-breadcrumb li + li::before {
    content: '\203A';
    margin-right: var(--space-sm);
    color: var(--text-disabled);
}

.hz-breadcrumb a {
    color: var(--text-tertiary);
    text-decoration: none;
}

.hz-breadcrumb a:hover {
    color: var(--primary-orange);
}

.hz-breadcrumb [aria-current] {
    color: var(--text-secondary);
}

/* ---------- Plan pages (3 / 6 / 12 Monate) ---------- */
.plan-hero {
    position: relative;
    padding: 150px 0 var(--space-4xl);
    background:
        radial-gradient(circle at 10% 20%, rgba(249, 115, 22, 0.22), transparent 45%),
        radial-gradient(circle at 90% 80%, rgba(244, 63, 94, 0.16), transparent 45%);
}

.plan-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--space-4xl);
    align-items: center;
    max-width: 1240px;
    margin: 0 auto;
}

.plan-hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-xl);
}

.plan-hero h1 span {
    color: var(--primary-orange);
}

.plan-hero-lead {
    max-width: 620px;
    margin-bottom: var(--space-2xl);
    font-size: 19px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.plan-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.plan-hero .hero-trust {
    justify-content: flex-start;
    color: var(--text-secondary);
}

.plan-hero .hz-switch-wrap {
    margin-bottom: var(--space-xl);
}

.plan-hero .hz-switch-option {
    padding: 10px 16px;
    font-size: 14px;
}

.plan-hero .pricing-card.featured {
    transform: none;
}

.plan-hero .pricing-card.featured:hover {
    transform: translateY(-6px);
}

.plan-section {
    padding: var(--space-4xl) 0;
}

.plan-section-alt {
    background: var(--surface);
}

.plan-section .section-title {
    margin-bottom: var(--space-lg);
}

.plan-section .hz-lead {
    margin: 0 auto var(--space-3xl);
}

.plan-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    max-width: 1140px;
    margin: 0 auto;
}

.plan-feature {
    padding: var(--space-2xl) var(--space-xl);
    border-radius: 24px;
    background: var(--main-bg);
    border: 1px solid var(--surface-light);
    text-align: center;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.plan-feature:hover {
    border-color: var(--primary-orange);
    transform: translateY(-6px);
}

.plan-feature-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary-orange);
}

.plan-feature h3 {
    margin-top: var(--space-sm);
    font-size: 18px;
}

.plan-feature p {
    margin-top: var(--space-sm);
    font-size: 14px;
    color: var(--text-tertiary);
}

/* Readable long-form text */
.hz-prose {
    max-width: 860px;
    margin: 0 auto;
}

.hz-prose h2 {
    margin-bottom: var(--space-xl);
    text-align: center;
}

.hz-prose h3 {
    margin: var(--space-2xl) 0 var(--space-md);
    font-size: 22px;
}

.hz-prose p {
    margin-bottom: var(--space-lg);
    font-size: 17px;
    line-height: 1.8;
}

.hz-prose ul {
    margin-bottom: var(--space-lg);
    list-style: none;
}

.hz-prose li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 30px;
    font-size: 17px;
    line-height: 1.7;
}

.hz-prose li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: 700;
}

.hz-prose strong {
    color: var(--text-primary);
}

/* Prices for 1-4 devices */
.plan-table-wrap {
    max-width: 860px;
    margin: 0 auto;
    overflow-x: auto;
    border-radius: 20px;
    border: 1px solid var(--surface-light);
}

.plan-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--main-bg);
    font-size: 16px;
}

.plan-table th,
.plan-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--surface-light);
    white-space: nowrap;
}

.plan-table thead th {
    background: var(--surface-light);
    font-family: var(--font-heading);
    font-size: 15px;
    color: var(--text-primary);
}

.plan-table tbody tr:last-child td {
    border-bottom: none;
}

.plan-table tbody tr:hover {
    background: rgba(249, 115, 22, 0.06);
}

.plan-table td strong {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 18px;
}

.plan-table th:last-child,
.plan-table td:last-child {
    text-align: right;
}

.plan-table-buy {
    color: var(--primary-orange);
    font-weight: 600;
    text-decoration: none;
}

.plan-table-buy:hover {
    text-decoration: underline;
}

.plan-table-note {
    max-width: 860px;
    margin: var(--space-md) auto 0;
    font-size: 14px;
    color: var(--text-tertiary);
    text-align: center;
}

/* Compatible devices */
.plan-devices {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    max-width: 1000px;
    margin: 0 auto;
    list-style: none;
}

.plan-devices li {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    padding: 8px 20px 8px 8px;
    border-radius: 999px;
    background: var(--main-bg);
    border: 1px solid var(--surface-light);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
}

.plan-devices img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: contain;
    background: #000;
}

.plan-devices-more {
    margin-top: var(--space-xl);
    text-align: center;
    font-size: 15px;
}

.plan-devices-more a {
    color: var(--secondary-amber);
}

/* Compare plans */
.plan-compare {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    max-width: 1100px;
    margin: 0 auto;
}

.plan-compare-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-2xl);
    border-radius: 24px;
    background: var(--main-bg);
    border: 2px solid var(--surface-light);
    text-decoration: none;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

a.plan-compare-card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.plan-compare-card.is-current {
    border-color: var(--primary-orange);
    background: linear-gradient(180deg, var(--main-bg), rgba(249, 115, 22, 0.14));
}

.plan-compare-badge {
    position: absolute;
    top: -13px;
    left: var(--space-xl);
    padding: 4px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-rose));
    color: #fff;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
}

.plan-compare-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.plan-compare-price {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
}

.plan-compare-monthly {
    font-size: 15px;
    color: var(--text-tertiary);
}

.plan-compare-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: var(--space-md);
    font-weight: 600;
    color: var(--primary-orange);
}

.plan-section .steps-grid {
    max-width: 1140px;
    margin: 0 auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hz-seo-inner,
    .plan-hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .hz-plan-links {
        position: static;
    }

    .plan-hero {
        padding-top: 120px;
    }

    .plan-hero h1 {
        font-size: 44px;
    }

    .plan-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .plan-compare {
        grid-template-columns: 1fr;
        max-width: 560px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 768px) {
    .hero-trust {
        gap: var(--space-sm) var(--space-xl);
        font-size: 14px;
    }

    .plan-hero h1 {
        font-size: 34px;
    }

    .plan-hero-lead {
        font-size: 17px;
    }

    .plan-hero-buttons .btn-large {
        width: 100%;
    }

    .plan-hero .hz-switch-option {
        padding: 10px 12px;
        font-size: 13px;
    }

    .plan-feature-value,
    .plan-compare-price {
        font-size: 32px;
    }

    .plan-table th,
    .plan-table td {
        padding: 14px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }

    .footer-brand img,
    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .plan-features {
        grid-template-columns: 1fr;
    }

    .hz-plan-link {
        padding: var(--space-lg);
        gap: var(--space-md);
    }

    .hz-plan-link-price {
        font-size: 18px;
    }
}

/* Wide league wordmarks in the weekly schedule */
.hz-event-logo.is-wide {
    width: 120px;
    padding: 9px 12px;
}

.step-description a {
    color: var(--secondary-amber);
}

.step-description a:hover {
    color: var(--primary-orange);
}

.plan-hero .pricing-title {
    font-size: 24px;
}

.plan-hero .pricing-card {
    scroll-margin-top: 90px;
}

/* Text links inside help boxes, legal pages and the device list */
.hz-help p a,
.policy-content a:not([class]),
.hz-trouble-item a {
    color: var(--secondary-amber);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.hz-help p a:hover,
.policy-content a:not([class]):hover,
.hz-trouble-item a:hover {
    color: var(--primary-orange);
}

a.plan-compare-cta {
    text-decoration: none;
}

/* ============================================
   HOMEPAGE PRICING: compact, so all three plans fit on one screen
   ============================================ */
.pricing-section {
    padding: var(--space-3xl) 0;
}

.pricing-section .section-title {
    margin-bottom: var(--space-xl);
}

.pricing-section .hz-switch-wrap {
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
}

.pricing-section .pricing-grid {
    max-width: 1140px;
    margin: 0 auto;
    gap: var(--space-2xl);
    align-items: center;
}

.pricing-section .pricing-card {
    padding: var(--space-2xl) var(--space-2xl) var(--space-xl);
}

.pricing-section .pricing-card.featured {
    transform: scale(1.05);
}

.pricing-section .pricing-card.featured:hover {
    transform: scale(1.05) translateY(-6px);
}

.pricing-section .pricing-card:not(.featured):hover {
    transform: translateY(-6px);
}

.pricing-section .pricing-header {
    margin-bottom: var(--space-md);
}

.pricing-section .pricing-title {
    font-size: 22px;
    margin-bottom: 2px;
}

.pricing-section .pricing-subtitle {
    font-size: 13px;
}

.pricing-section .pricing-price {
    margin-bottom: var(--space-lg);
    line-height: 1;
}

.pricing-section .price-amount {
    font-size: 56px;
    line-height: 1;
}

.pricing-section .price-monthly {
    margin-top: var(--space-sm);
    font-size: 14px;
    line-height: 1.4;
}

.pricing-section .price-saving {
    margin-top: var(--space-sm);
    line-height: 1.5;
}

/* The four features in a 2 x 2 grid */
.pricing-section .pricing-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xs) var(--space-md);
    margin-bottom: var(--space-lg);
}

.pricing-section .pricing-features li {
    padding: 4px 0 4px 24px;
    font-size: 15px;
    line-height: 1.4;
}

.pricing-section .pricing-features li::before {
    font-size: 15px;
    top: 4px;
}

.pricing-section .btn-full-width {
    padding-top: 13px;
    padding-bottom: 13px;
}

.pricing-section .pricing-more {
    margin-top: var(--space-md);
}

.pricing-section .pricing-trust {
    margin-top: var(--space-2xl);
}

@media (max-width: 1024px) {
    .pricing-section .pricing-grid {
        max-width: 480px;
    }

    .pricing-section .pricing-card.featured,
    .pricing-section .pricing-card.featured:hover {
        transform: none;
    }
}

/* ============================================
   SNEAK PEEK VIDEO
   ============================================ */
.hz-video-section {
    padding: var(--space-4xl) 0;
}

.hz-video-section .section-title {
    margin-bottom: var(--space-lg);
}

.hz-video {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 28px;
    overflow: hidden;
    background: #0c0a09;
    border: 1px solid rgba(249, 115, 22, 0.35);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

.hz-video video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hz-video-play {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    border: none;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.55));
    color: #fff;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

.hz-video-play-icon {
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
    padding-left: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-rose));
    box-shadow: 0 0 0 12px rgba(249, 115, 22, 0.2), 0 16px 40px rgba(249, 115, 22, 0.45);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hz-video-play:hover .hz-video-play-icon {
    transform: scale(1.08);
}

.hz-video-play-label {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hz-video.is-playing .hz-video-play {
    display: none;
}

.hz-video-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md) var(--space-2xl);
    margin-top: var(--space-2xl);
    list-style: none;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
}

.hz-video-points li {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.hz-video-points svg {
    color: var(--success-green);
}

@media (max-width: 768px) {
    .hz-video {
        border-radius: 18px;
    }

    .hz-video-play-icon {
        width: 68px;
        height: 68px;
    }
}

/* Multi-device discount line on the pricing cards */
.price-discount {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: var(--secondary-amber);
}

.price-discount[hidden] {
    display: none;
}

/* "Kein Billig-IPTV" quality note under the prices */
.hz-quality {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    max-width: 900px;
    margin: var(--space-2xl) auto 0;
    padding: var(--space-lg) var(--space-xl);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(132, 204, 22, 0.1), rgba(249, 115, 22, 0.08));
    border: 1px solid rgba(132, 204, 22, 0.35);
}

.hz-quality-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(132, 204, 22, 0.15);
    color: var(--success-green);
}

.hz-quality p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.hz-quality strong {
    color: var(--text-primary);
}

.pricing-section .pricing-trust {
    margin-top: var(--space-xl);
}

/* ============================================
   WHATSAPP: "Wir sind online" with pulsing green dots
   ============================================ */
.whatsapp-float {
    animation: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

/* Pulsing ring around the button */
.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    animation: wa-ring 2s ease-out infinite;
}

@keyframes wa-ring {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Green "online" dot on the button */
.whatsapp-badge {
    position: absolute;
    top: 1px;
    right: 1px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid #fff;
}

.whatsapp-badge::after,
.whatsapp-dot::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: #22c55e;
    animation: wa-dot 1.6s ease-out infinite;
}

@keyframes wa-dot {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.6); opacity: 0; }
}

/* Speech bubble next to the button */
.whatsapp-online {
    position: absolute;
    left: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 12px;
    border-radius: 999px;
    background: #fff;
    color: #1C1917;
    white-space: nowrap;
    text-align: left;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

.whatsapp-online::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 50%;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: translateY(-50%) rotate(45deg);
    border-radius: 2px;
}

.whatsapp-dot {
    position: relative;
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
}

.whatsapp-dot::after {
    inset: 0;
}

.whatsapp-online-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.whatsapp-online-text strong {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
}

.whatsapp-online-text small {
    font-size: 12px;
    color: #57534E;
}

.whatsapp-float:hover .whatsapp-online {
    background: #f0fdf4;
}

@media (max-width: 768px) {
    .whatsapp-online {
        padding: 6px 12px 6px 10px;
        left: calc(100% + 10px);
    }

    .whatsapp-online-text small {
        display: none;
    }

    .hz-quality {
        flex-direction: column;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float::before,
    .whatsapp-badge::after,
    .whatsapp-dot::after {
        animation: none;
    }
}

/* ============================================
   MOBILE: floating full-width "IPTV Abo kaufen" button
   ============================================ */
.hz-buy-bar {
    display: none;
}

@media (max-width: 768px) {
    .hz-buy-bar {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1001;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background: linear-gradient(to top, rgba(28, 25, 23, 0.96) 60%, rgba(28, 25, 23, 0));
    }

    .hz-buy-bar-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        min-height: 54px;
        padding: 12px 16px;
        border-radius: 10px;
        background: linear-gradient(135deg, #1fb855, #128c7e);
        color: #fff;
        font-family: var(--font-heading);
        font-size: 17px;
        font-weight: 800;
        text-align: center;
        text-decoration: none;
        box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
    }

    .hz-buy-bar-btn svg {
        flex-shrink: 0;
    }

    .hz-buy-bar-btn:active {
        transform: scale(0.98);
    }

    /* Keep the page end visible above the bar */
    body:has(.hz-buy-bar) {
        padding-bottom: 80px;
    }

    /* Phones: only the rectangular buy button, no round WhatsApp button */
    .whatsapp-float {
        display: none;
    }

    /* The live chat button sits above the bar */

    .chatway--trigger-container {
        bottom: 90px !important;
    }

    /* While the live chat is open, the bar steps aside */
    body.chatway-is-open .hz-buy-bar {
        display: none;
    }
}

/* ============================================
   HERO: fluid sizes for every phone, tablet and laptop
   The typed line is at most 10.2x its font size wide, so the size is
   (screen width - side padding) / 10.6 to keep it on one line.
   ============================================ */
/* Every size follows BOTH the screen width and the screen height, so the
   hero fits phones, phones held sideways, tablets and laptops alike:
   - width: the longest typed line (10.2x the font size) always fits one row
   - height: short screens (landscape phones) get a smaller heading */
.hero .hero-title {
    font-size: clamp(26px, min(calc((100vw - 40px) / 10.6), calc(4vw + 26px)), 72px);
    line-height: 1.12;
}

.hero .hero-type {
    margin-bottom: clamp(16px, 3vw, 28px);
}

.hero .hero-description {
    font-size: clamp(15px, calc(11px + 1.1vw), 20px);
    line-height: 1.6;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(24px, 4vw, 48px);
}

/* Only genuinely short screens (phones held sideways) also scale by height,
   so laptops and desktops keep the full-size hero */
@media (max-height: 560px) {
    .hero .hero-title {
        font-size: clamp(26px, min(calc((100vw - 40px) / 10.6), calc(6.5vh + 12px)), 72px);
    }

    .hero .hero-type {
        margin-bottom: clamp(10px, 2.5vh, 20px);
    }

    .hero .hero-description {
        font-size: clamp(14.5px, calc(9px + 1.4vh), 17px);
        margin-bottom: clamp(14px, 3.5vh, 24px);
    }

    .hero .hero-trust {
        margin-top: clamp(10px, 3vh, 20px);
    }
}


@media (max-width: 768px) {
    .hero .hero-buttons {
        max-width: 460px;
        margin-left: auto;
        margin-right: auto;
    }

}

.hero .hero-trust {
    font-size: clamp(13px, calc(8px + 1vw), 15px);
}

/* Mobile menu close button: SVG icon (the text "×" did not render reliably) */
.mobile-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
}

.mobile-menu-close svg {
    display: block;
}

/* "Download Orca Player" callout above the video */
.hz-orca {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    max-width: 1000px;
    margin: 0 auto var(--space-xl);
    padding: var(--space-md) var(--space-md) var(--space-md) var(--space-lg);
    border-radius: 20px;
    background:
        radial-gradient(circle at 0% 50%, rgba(249, 115, 22, 0.18), transparent 50%),
        var(--surface);
    border: 1px solid rgba(249, 115, 22, 0.35);
}

.hz-orca-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-orange), var(--accent-rose));
    color: #fff;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.35);
}

.hz-orca-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 15px;
    line-height: 1.45;
    color: var(--text-tertiary);
}

.hz-orca-text strong {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--text-primary);
}

.hz-orca-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 12px 22px;
    border-radius: 14px;
    background: var(--text-primary);
    color: var(--main-bg);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background 0.3s ease;
}

.hz-orca-btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
    .hz-orca {
        flex-wrap: wrap;
        padding: var(--space-lg);
    }

    .hz-orca-text {
        flex-basis: calc(100% - 64px);
    }

    .hz-orca-btn {
        width: 100%;
        justify-content: center;
    }
}

.hz-quality-link {
    color: var(--success-green);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}

.hz-quality-link:hover {
    color: #a3e635;
}

/* Hero "Live-Demo ansehen" button */
.hero-demo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hero-demo-btn svg {
    flex-shrink: 0;
    color: var(--primary-orange);
}

.hero-demo-btn small {
    font-size: 0.8em;
    font-weight: 500;
    opacity: 0.75;
}

#vorschau {
    scroll-margin-top: 20px;
}

/* ============================================
   SENDERLISTE: visible intro + crawlable popular channels
   ============================================ */
.hz-cl-intro {
    max-width: 860px;
    margin: 0 auto var(--space-2xl);
    text-align: center;
}

.hz-cl-intro .hz-breadcrumb ol {
    justify-content: center;
}

.hz-cl-intro h1 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    margin-bottom: var(--space-md);
}

.hz-cl-intro p {
    font-size: 17px;
    color: var(--text-tertiary);
}

.hz-popular {
    max-width: 1180px;
    margin: var(--space-4xl) auto 0;
}

.hz-popular > h2 {
    font-size: clamp(24px, 3vw, 32px);
    text-align: center;
    margin-bottom: var(--space-md);
}

.hz-popular > p {
    max-width: 760px;
    margin: 0 auto var(--space-2xl);
    text-align: center;
    color: var(--text-tertiary);
}

.hz-popular-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-xl);
}

.hz-popular-col {
    padding: var(--space-xl);
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--surface-light);
}

.hz-popular-col h3 {
    font-size: 17px;
    color: var(--primary-orange);
    margin-bottom: var(--space-md);
}

.hz-popular-col ul {
    list-style: none;
    display: grid;
    gap: 6px;
    font-size: 15px;
    color: var(--text-secondary);
}

.hz-popular-more {
    margin-top: var(--space-xl);
    text-align: center;
    font-size: 15px;
    color: var(--text-tertiary);
}

.hz-popular-more a {
    color: var(--secondary-amber);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 1024px) {
    .hz-popular-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .hz-popular-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CORE WEB VITALS FIXES
   ============================================ */
/* CLS: reserve the channel list's height before the data loads */
.hz-cl-grid {
    min-height: 640px;
}

@media (max-width: 1024px) {
    .hz-cl-grid {
        min-height: min(560px, 65vh);
    }
}

/* CLS: the not-yet-typed letters are already in place but invisible, so the
   centred line keeps its full width while typing and nothing shifts sideways */
.typewriter-rest {
    visibility: hidden;
}

/* LCP: the hero text Google measures must not start invisible (fade-in) */
.hero .hero-title-animate,
.hero .hero-description {
    animation: none;
}

/* ============================================
   HERO: stadium background image (replaces the YouTube video)
   ============================================ */
.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
}

/* Darker in the middle and at the bottom, so the white text stays easy to read
   over the bright pitch and floodlights */
.hero .hero-overlay {
    background:
        radial-gradient(ellipse 70% 60% at 50% 50%, rgba(12, 10, 9, 0.55), rgba(12, 10, 9, 0.15) 75%),
        linear-gradient(180deg, rgba(12, 10, 9, 0.55) 0%, rgba(12, 10, 9, 0.25) 35%, rgba(12, 10, 9, 0.45) 70%, rgba(28, 25, 23, 1) 100%);
}

/* ============================================
   MOBILE: hero sits above the fixed buy bar, comfortable tap targets
   ============================================ */
@media (max-width: 768px) {
    /* centre the hero content in the space above the buy bar (bar ~74px) */
    .hero {
        padding-bottom: calc(var(--hz-hero-gap) + 74px);
    }
}

/* Phones held sideways: a slimmer buy bar so the hero keeps its room */
@media (max-width: 768px) and (max-height: 500px) {
    .hz-buy-bar {
        padding: 6px 12px calc(6px + env(safe-area-inset-bottom));
    }

    .hz-buy-bar-btn {
        min-height: 44px;
        padding: 8px 14px;
        font-size: 15px;
    }

    body:has(.hz-buy-bar) {
        padding-bottom: 58px;
    }

    .hero {
        padding-bottom: calc(var(--hz-hero-gap) + 56px);
    }

    .chatway--trigger-container {
        bottom: 66px !important;
    }
}

/* Tap targets of at least 44px (Google / WCAG 2.2) */
.mobile-menu-toggle {
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.pricing-more,
.pricing-section .pricing-more {
    margin-top: var(--space-xs);
    padding: 11px 0;
}

.plan-table-buy {
    display: inline-block;
    padding: 12px 8px;
    margin: -12px -8px;
}

.hz-plan-link-months small {
    font-size: 11px;
}

/* Plan pages: fluid heading too */
.plan-hero h1 {
    font-size: clamp(30px, calc(2.6vw + 22px), 56px);
}

/* Hero buttons never wrap their labels */
.hero .hero-buttons .btn-large {
    white-space: nowrap;
}

/* Very narrow phones: drop the "(80 Sek.)" hint so the demo button stays on one line */
@media (max-width: 374px) {
    .hero-demo-btn small {
        display: none;
    }
}

/* Phones held sideways: both hero buttons side by side at their natural width */
@media (min-width: 481px) and (max-height: 520px) {
    .hero .hero-buttons {
        max-width: none;
        justify-content: center;
    }

    .hero .hero-buttons .btn-large {
        width: auto;
        flex: 0 0 auto;
    }
}

/* Typing caret drawn as the right edge of the typed text: it grows with the
   text instead of a separate "|" box moving along (no layout shift) */
.hero-type-live .cursor {
    display: none;
}

.hero-type-live .typewriter-text {
    border-right: 0.07em solid var(--primary-orange);
    padding-right: 0.05em;
    animation: hz-caret 1s step-end infinite;
}

@keyframes hz-caret {
    50% { border-right-color: transparent; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-type-live .typewriter-text {
        animation: none;
    }
}
