/*
Theme Name: TiviMate Premium IPTV Deutschland
Theme URI: https://tivimate-premium.de
Author: TiviMate Premium
Author URI: https://tivimate-premium.de
Description: Professionelles WordPress-Theme für TiviMate Premium IPTV Deutschland – Dark Premium Design, SEO-optimiert, Conversion-fokussiert.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tivimate-premium
Tags: iptv, streaming, dark-theme, modern, responsive, germany
*/

/* ========================================
   CSS VARIABLES — DARK PREMIUM
   ======================================== */
:root {
    /* Backgrounds */
    --bg-primary:    #080810;
    --bg-secondary:  #0f0f1a;
    --bg-tertiary:   #16162a;
    --bg-card:       #0f0f1a;
    --bg-card-hover: #141428;

    /* Text */
    --text-primary:   #f0f0ff;
    --text-secondary: #9898b8;
    --text-muted:     #5a5a7a;

    /* Accent — Electric Blue (German market: trust + tech) */
    --accent:        #2563eb;
    --accent-light:  #60a5fa;
    --accent-dark:   #1d4ed8;
    --accent-glow:   rgba(37, 99, 235, 0.14);

    /* Gold accent — premium feel */
    --gold:          #f59e0b;
    --gold-light:    #fbbf24;
    --gold-glow:     rgba(245, 158, 11, 0.12);

    /* Status */
    --green:         #10b981;
    --green-glow:    rgba(16, 185, 129, 0.12);
    --red:           #ef4444;
    --orange:        #f97316;

    /* Borders */
    --border:        rgba(255, 255, 255, 0.07);
    --border-light:  rgba(255, 255, 255, 0.12);
    --border-accent: rgba(37, 99, 235, 0.35);
    --border-gold:   rgba(245, 158, 11, 0.35);

    /* Shadows */
    --shadow-sm:   0 1px 3px rgba(0,0,0,0.4);
    --shadow-md:   0 4px 12px rgba(0,0,0,0.5);
    --shadow-lg:   0 12px 32px rgba(0,0,0,0.6);
    --shadow-glow: 0 0 60px -15px rgba(37, 99, 235, 0.35);
    --shadow-gold: 0 0 60px -15px rgba(245, 158, 11, 0.25);

    /* Layout */
    --container-max:    1200px;
    --container-narrow: 820px;

    /* Radius */
    --radius-sm: 6px;
    --radius:    12px;
    --radius-lg: 18px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.18s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    max-width: 100vw;
}

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

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); }

p {
    color: var(--text-secondary);
    line-height: 1.75;
}

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

/* ========================================
   LAYOUT
   ======================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: var(--container-narrow);
}

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

/* ========================================
   UTILITIES
   ======================================== */
.text-gradient {
    background: linear-gradient(135deg, var(--accent-light) 0%, #93c5fd 50%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow        { box-shadow: var(--shadow-glow); }
.glow-gold   { box-shadow: var(--shadow-gold); }

/* Glassmorphism card */
.glass {
    background: rgba(15, 15, 26, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: var(--transition-fast);
}

.btn:hover::after {
    background: rgba(255,255,255,0.07);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.55);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), #d97706);
    color: #0a0a0a;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.55);
}

.btn-outline {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.09);
    border-color: var(--accent-light);
}

.btn-white {
    background: white;
    color: var(--bg-primary);
    font-weight: 700;
}

.btn-white:hover {
    background: #e0e7ff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 17px 36px;
    font-size: 16px;
}

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

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(8, 8, 16, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(8, 8, 16, 0.96);
    border-bottom-color: var(--border-light);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    position: relative;
    z-index: 1001;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    box-shadow: 0 0 20px rgba(37,99,235,0.4);
}

.site-logo .logo-img,
.footer-logo .logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.footer-logo .logo-img {
    height: 36px;
}

/* Desktop Nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
    padding-bottom: 2px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-light);
    border-radius: 2px;
    transition: width 0.25s ease;
}

.nav-menu a:hover,
.nav-menu li.active a {
    color: var(--text-primary);
}

.nav-menu a:hover::after,
.nav-menu li.active a::after {
    width: 100%;
}

.header-cta .btn {
    padding: 10px 22px;
    font-size: 14px;
}

/* Mobile */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-nav-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-light);
    z-index: 1001;
    transition: right 0.3s ease;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.mobile-nav-panel.active { right: 0; }

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.mobile-nav-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-menu a {
    display: block;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius);
    transition: var(--transition);
}

.mobile-nav-menu a:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
}

.mobile-cta {
    margin-top: auto;
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    padding: 148px 0 90px;
    position: relative;
    overflow: hidden;
}

/* Ambient glows */
.hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 65%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245,158,11,0.07) 0%, transparent 65%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--accent-glow);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-full);
    color: var(--accent-light);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}

.hero-badge .pulse {
    width: 7px;
    height: 7px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 8px rgba(16,185,129,0.6);
}

@keyframes pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-section h1 {
    font-size: clamp(2.6rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 26px;
    letter-spacing: -0.03em;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 580px;
    margin-bottom: 36px;
    line-height: 1.75;
}

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

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 52px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.trust-item i { color: var(--green); }

/* ========================================
   STATS BAR
   ======================================== */
.stats-bar {
    padding: 36px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

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

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
    letter-spacing: -0.03em;
}

.stat-number span { color: var(--accent-light); }

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ========================================
   SECTIONS COMMON
   ======================================== */
.section-header {
    margin-bottom: 56px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--accent-glow);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-full);
    color: var(--accent-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing-section {
    padding: 110px 0;
    position: relative;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(37,99,235,0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* Tabs */
.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.pricing-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.pricing-tab:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}

.pricing-tab.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 16px rgba(37,99,235,0.4);
}

/* Content */
.pricing-content { display: none; }
.pricing-content.active { display: block; }

/* Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1020px;
    margin: 0 auto;
    align-items: start;
}

/* Card */
.pricing-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.pricing-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-accent);
    box-shadow: 0 24px 48px -12px rgba(37,99,235,0.18);
}

.pricing-card.popular {
    border-color: var(--accent);
    background: linear-gradient(180deg, rgba(37,99,235,0.08) 0%, var(--bg-card) 40%);
    box-shadow: var(--shadow-glow);
    transform: scale(1.03);
}

.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-6px);
}

.popular-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 0 0 var(--radius) var(--radius);
    font-size: 11px;
    font-weight: 700;
    color: white;
    white-space: nowrap;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pricing-tier {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.pricing-card.popular .pricing-tier { color: var(--accent-light); }

.pricing-duration {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 22px;
    letter-spacing: -0.02em;
}

/* Price */
.pricing-price { margin-bottom: 28px; }

.price-old {
    font-size: 15px;
    color: var(--text-muted);
    text-decoration: line-through;
    display: block;
    margin-bottom: 4px;
}

.price-current {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.04em;
    line-height: 1;
}

.price-current span {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0;
}

.price-monthly {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
}

.price-saving {
    display: inline-block;
    margin-top: 8px;
    padding: 3px 10px;
    background: var(--green-glow);
    border: 1px solid rgba(16,185,129,0.25);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: var(--green);
}

/* Features */
.pricing-features {
    list-style: none;
    margin-bottom: 28px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 9px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child { border-bottom: none; }

.pricing-features li i {
    color: var(--green);
    font-size: 13px;
    margin-top: 2px;
    flex-shrink: 0;
}

.pricing-features li i.fa-star { color: var(--gold); }

.pricing-features li strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Pricing Stats */
.pricing-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

/* Payment icons */
.pricing-icons {
    margin-top: 20px;
    text-align: center;
}

.pricing-os    { max-height: 30px; margin-bottom: 12px; }
.pricing-payment { max-height: 24px; }

/* ========================================
   REVIEWS SECTION
   ======================================== */
.reviews-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.reviews-title {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.trustpilot-stars { text-align: center; margin-bottom: 16px; }
.trustpilot-stars img { height: 32px; }

.reviews-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    margin: 0 auto 44px;
    border-radius: 2px;
}

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

.review-item {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.review-item:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    box-shadow: 0 12px 30px -8px rgba(37,99,235,0.2);
}

.review-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   CHANNELS SECTION
   ======================================== */
.channels-section {
    padding: 110px 0;
    position: relative;
}

.vod-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 64px;
}

.vod-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 2/3;
    border: 1px solid var(--border);
}

.vod-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.vod-item:hover img { transform: scale(1.06); }

.vod-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8,8,16,0.8) 0%, transparent 60%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.vod-item:hover .vod-overlay { opacity: 1; }

.vod-overlay i {
    font-size: 48px;
    color: white;
    filter: drop-shadow(0 0 16px rgba(37,99,235,0.6));
}

/* Platform logos */
.platforms-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 40px 0;
}

.platform-logo img {
    height: 38px;
    opacity: 0.5;
    filter: grayscale(100%) brightness(1.5);
    transition: var(--transition);
}

.platform-logo:hover img {
    opacity: 1;
    filter: grayscale(0%);
}

/* Channels slider */
.channels-slider-section {
    padding: 60px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.channel-slide {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.channel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.swiper-button-prev,
.swiper-button-next { color: var(--accent-light) !important; }
.swiper-pagination-bullet { background: var(--text-muted) !important; }
.swiper-pagination-bullet-active { background: var(--accent) !important; }

/* ========================================
   WHY US SECTION
   ======================================== */
.why-us-section {
    padding: 110px 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-accent);
    box-shadow: 0 20px 40px -12px rgba(37,99,235,0.18);
}

.feature-card:hover::after { opacity: 1; }

.feature-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 22px;
    background: var(--accent-glow);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--accent-light);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--accent);
    color: white;
    border-color: transparent;
    box-shadow: 0 0 24px rgba(37,99,235,0.4);
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* Devices */
.devices-section {
    padding: 90px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.devices-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.devices-text .section-label { margin-bottom: 18px; }
.devices-text .section-title { margin-bottom: 20px; }

.section-description {
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.75;
}

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

.device-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 14px;
    text-align: center;
    transition: var(--transition);
}

.device-item:hover {
    border-color: var(--border-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px -6px rgba(37,99,235,0.2);
}

.device-item i {
    font-size: 28px;
    color: var(--accent-light);
    margin-bottom: 12px;
    display: block;
}

.device-item span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.01em;
}

/* Installation */
.installation-section { padding: 110px 0; }

.installation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.installation-visual img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.installation-steps { margin: 32px 0; }

.step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.step:last-child { border-bottom: none; }

.step-number {
    width: 38px;
    height: 38px;
    background: var(--accent-glow);
    border: 1px solid var(--border-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--accent-light);
    flex-shrink: 0;
}

.step-text {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 15px;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
    padding: 110px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.faq-accordion {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover { border-color: var(--border-light); }
.faq-item.active { border-color: var(--border-accent); }

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 26px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: -0.01em;
}

.faq-question:hover { background: rgba(255,255,255,0.02); }

.faq-icon { position: relative; width: 20px; height: 20px; flex-shrink: 0; }

.faq-icon .fa-plus  { display: block;  color: var(--accent-light); }
.faq-icon .fa-minus { display: none;   color: var(--accent-light); }

.faq-item.active .faq-icon .fa-plus  { display: none; }
.faq-item.active .faq-icon .fa-minus { display: block; }

.faq-answer {
    display: none;
    padding: 0 26px 22px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.75;
}

.faq-item.active .faq-answer { display: block; }

.faq-cta {
    text-align: center;
    margin-top: 52px;
}

.faq-cta p {
    margin-bottom: 16px;
    color: var(--text-muted);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section { padding: 90px 0; }

.cta-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 72px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center top, rgba(37,99,235,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.cta-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
}

.cta-description {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 36px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.cta-feature i { color: var(--green); }

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    padding: 64px 0 32px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 44px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 18px;
    letter-spacing: -0.03em;
}

.footer-description {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 320px;
}

.footer-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 22px;
    letter-spacing: -0.01em;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 12px; }

.footer-links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-primary);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-disclaimer {
    font-size: 12px;
    margin-top: 8px;
    color: var(--text-muted);
    opacity: 0.6;
}

/* ========================================
   WHATSAPP FLOAT
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 4px 24px rgba(37,211,102,0.45);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 32px rgba(37,211,102,0.55);
}

.whatsapp-tooltip {
    position: absolute;
    right: 72px;
    background: white;
    color: #111;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   SCROLL TO TOP
   ======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 104px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    box-shadow: 0 0 16px rgba(37,99,235,0.4);
}

/* ========================================
   404 PAGE
   ======================================== */
.error-404-section {
    min-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.error-content {
    max-width: 520px;
    text-align: center;
}

.error-icon {
    font-size: 64px;
    color: var(--accent-light);
    margin-bottom: 24px;
}

.error-title {
    font-size: 110px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.05em;
}

.error-subtitle {
    font-size: 26px;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.error-description {
    color: var(--text-muted);
    margin-bottom: 36px;
    font-size: 15px;
}

.error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   POLICY PAGES
   ======================================== */
.policy-page {
    padding: 128px 0 90px;
    min-height: 100vh;
}

.policy-wrapper {
    max-width: 820px;
    margin: 0 auto;
}

.policy-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.policy-header {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    padding: 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.policy-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.05) 0%, transparent 70%);
}

.policy-header h1 {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 1;
}

.policy-header p {
    color: rgba(255,255,255,0.75);
    margin: 10px 0 0;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.policy-body { padding: 52px; }

.policy-body h2 {
    color: var(--accent-light);
    font-size: 19px;
    font-weight: 700;
    margin: 36px 0 16px;
    letter-spacing: -0.01em;
}

.policy-body h2:first-child { margin-top: 0; }

.policy-body p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.policy-body ul {
    margin: 16px 0;
    padding-left: 24px;
}

.policy-body ul li {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.policy-body a { color: var(--accent-light); }

.policy-intro {
    background: var(--bg-tertiary);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 36px;
    border-left: 3px solid var(--accent);
}

.policy-intro p { margin: 0; }

.policy-contact {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-top: 36px;
    text-align: center;
}

.policy-contact p { margin: 0; }

/* ========================================
   CHANNELS LIST PAGE
   ======================================== */
.channels-hero {
    padding: 128px 0 64px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
}

.channels-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(37,99,235,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.channels-hero h1 { position: relative; z-index: 1; }
.channels-hero h1 span { color: var(--accent-light); }

.channels-content { padding: 64px 0 110px; }

.channels-wrapper {
    max-width: 1020px;
    margin: 0 auto;
}

.countries-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 52px;
    margin-bottom: 40px;
}

.countries-title {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 36px;
    letter-spacing: -0.01em;
}

.countries-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 28px;
}

.country-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.country-item:hover { color: var(--text-primary); }

.country-flag {
    width: 26px;
    height: 18px;
    border-radius: 3px;
    object-fit: cover;
    border: 1px solid var(--border);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

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

    .devices-content,
    .installation-content {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 44px;
        text-align: center;
    }

    .footer-description { margin: 0 auto; }
}

@media (max-width: 768px) {
    .desktop-nav,
    .header-cta { display: none !important; }

    .mobile-menu-toggle {
        display: flex !important;
        z-index: 1001;
    }

    /* Bloquer les glows qui débordent */
    .hero-section::before,
    .hero-section::after,
    .pricing-section::before,
    .channels-hero::before {
        display: none;
    }

    /* Fix overflow général sur tous les éléments */
    section,
    .container,
    .hero-content,
    .hero-cta,
    .countdown-wrap {
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Fix countdown sur petit écran */
    .countdown-wrap {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px;
    }
    .countdown-item {
        min-width: 56px;
        padding: 10px 12px;
    }

    .hero-section { padding: 120px 0 64px; }
    .hero-section h1 { font-size: 2.1rem; }
    .hero-trust { flex-direction: column; gap: 12px; }

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

    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid .review-item:nth-child(5) { display: none; }

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

    .cta-content { padding: 44px 24px; }
    .policy-body { padding: 36px 24px; }
    .countries-section { padding: 36px 24px; }

    .pricing-card.popular { transform: scale(1); }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }
    .pricing-tabs { flex-direction: column; }
    .cta-buttons { flex-direction: column; }
    .cta-buttons .btn { width: 100%; }
}