/*
Theme Name: FrenchIPTV
Theme URI: https://frenchiptv.tv
Description: Thème IPTV Premium WordPress - FrenchIPTV.tv - Abonnement IPTV haute qualité avec chaînes TV, films et séries.
Version: 1.0.0
Author: FrenchIPTV
Author URI: https://frenchiptv.tv
Text Domain: frenchiptv
Tags: iptv, streaming, abonnement, france, french iptv
*/

/* ========================================
   CSS Variables - Thème Bleu Premium
   ======================================== */
:root {
    /* Couleurs principales - Bleu Premium */
    --accent-primary: #0066FF;
    --accent-secondary: #0052CC;
    --accent-hover: #3385FF;
    --accent-light: rgba(0, 102, 255, 0.1);
    --accent-glow: rgba(0, 102, 255, 0.4);
    
    /* Couleur secondaire - Cyan/Turquoise */
    --secondary-color: #00D4FF;
    --secondary-hover: #00B8E6;
    
    /* Gradient Premium */
    --gradient-primary: linear-gradient(135deg, #0066FF 0%, #00D4FF 100%);
    --gradient-dark: linear-gradient(135deg, #0a1628 0%, #0d2137 100%);
    --gradient-card: linear-gradient(180deg, rgba(0, 102, 255, 0.05) 0%, transparent 100%);
    
    /* Backgrounds - Dark Mode Premium */
    --bg-page: #0a0f1a;
    --bg-surface: #0d1526;
    --bg-card: #111b2e;
    --bg-card-hover: #152238;
    --bg-input: #0d1526;
    
    /* Textes */
    --text-primary: #ffffff;
    --text-secondary: #e0e6ed;
    --text-muted: #94a3b8;
    
    /* Bordures */
    --border-color: #1e3a5f;
    --border-light: rgba(0, 102, 255, 0.2);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px var(--accent-glow);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    
    /* Success/Warning */
    --success-color: #00E676;
    --warning-color: #FFB300;
    --error-color: #FF5252;
}

/* ========================================
   Reset & Base
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Font fallback — ensures text visible during font load */
@font-face {
    font-family: 'Inter';
    font-display: swap;
    src: local('Inter');
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ========================================
   Accessibility — Focus States (A11Y 90+)
   ======================================== */
*:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 3px;
    border-radius: 4px;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 3px;
}

/* Remove outline for mouse users */
:focus:not(:focus-visible) {
    outline: none;
}

ul, ol {
    list-style: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

.section-label {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent-primary);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    border: 1px solid var(--border-light);
}

.section-title {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title-white {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-primary);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.text-accent {
    color: var(--accent-primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow), 0 10px 30px rgba(0, 102, 255, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
}

.btn-outline:hover {
    background: var(--accent-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

.btn-revendeur {
    background: var(--gradient-primary);
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
}

.btn-revendeur:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ========================================
   Welcome Bar / Top Banner
   ======================================== */
.welcome-bar {
    background: var(--gradient-primary);
    padding: 10px 0;
    position: relative;
    z-index: 1001;
}

.welcome-bar-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.welcome-text {
    color: white;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.welcome-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
}

.welcome-close:hover {
    background: rgba(255,255,255,0.3);
}

/* ========================================
   Header
   ======================================== */
.site-header {
    background: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-logo {
    flex-shrink: 0;
}

.logo-img {
    height: 45px;
    width: auto;
}

/* Navigation */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu li a {
    display: block;
    padding: 10px 18px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

.header-cta {
    flex-shrink: 0;
}

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

.hamburger-line {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Navigation Panel */
.mobile-nav-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-surface);
    z-index: 2000;
    transition: right 0.3s ease;
    padding: 20px;
    overflow-y: auto;
    border-left: 1px solid var(--border-color);
}

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

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-close {
    background: var(--bg-card);
    border: none;
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
}

.mobile-nav-menu li {
    margin-bottom: 5px;
}

.mobile-nav-menu li a {
    display: block;
    padding: 15px;
    color: var(--text-secondary);
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mobile-nav-menu li a:hover {
    background: var(--accent-light);
    color: var(--accent-primary);
}

.mobile-cta {
    margin-top: 20px;
    width: 100%;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 102, 255, 0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 40%),
                radial-gradient(ellipse at 20% 80%, rgba(0, 102, 255, 0.08) 0%, transparent 40%);
    z-index: 0;
}

.hero-content-centered {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-main-title {
    font-size: clamp(36px, 6vw, 58px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.hero-main-title .text-accent {
    display: inline;
}

.hero-description-centered {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-cta-centered {
    margin-bottom: 40px;
}

.btn-hero {
    padding: 20px 45px;
    font-size: 16px;
    border-radius: 14px;
    background: var(--gradient-primary);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-hero:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px var(--accent-glow);
}

.hero-tagline {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px 35px;
    display: inline-block;
}

.tagline-text {
    font-size: 18px;
    color: var(--text-secondary);
}

.price-big {
    font-size: 24px;
    font-weight: 700;
}

.price-big.accent {
    color: var(--secondary-color);
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing-section {
    padding: 100px 0;
    background: var(--gradient-dark);
    position: relative;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

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

.pricing-tab {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.pricing-tab.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    box-shadow: var(--shadow-glow);
}

.pricing-tab i {
    font-size: 16px;
}

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

.pricing-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Pricing Card */
.pricing-card {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.pricing-card-popular {
    border: 2px solid var(--accent-primary);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card-popular::before {
    content: '⭐ POPULAIRE';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    padding: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.pricing-card-popular .pricing-card-inner {
    padding-top: 45px;
}

.pricing-card-inner {
    padding: 35px 30px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 25px;
}

.pricing-duration {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.pricing-server {
    display: block;
    font-size: 11px;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.pricing-screens {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent-primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

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

.pricing-price {
    margin-bottom: 10px;
}

.price-amount {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-economy {
    background: rgba(0, 230, 118, 0.15);
    color: var(--success-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 25px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 25px;
}

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

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

.pricing-features li i {
    color: var(--success-color);
    font-size: 14px;
    margin-top: 3px;
    flex-shrink: 0;
}

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

.btn-acheter {
    background: var(--gradient-primary);
    color: white;
    padding: 16px 30px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 20px;
}

.btn-acheter:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.pricing-icons {
    margin-top: 15px;
}

.pricing-os,
.pricing-payment {
    max-height: 35px;
    margin: 0 auto;
    opacity: 0.8;
}

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

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

.stat-number {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

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

/* ========================================
   Reviews Section
   ======================================== */
.reviews-section {
    padding: 100px 0;
    background: var(--bg-page);
}

.reviews-title {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 25px;
    line-height: 1.3;
}

.trustpilot-stars {
    margin-bottom: 20px;
}

.trustpilot-stars img {
    height: 40px;
    margin: 0 auto;
}

.reviews-divider {
    width: 100px;
    height: 3px;
    background: var(--gradient-primary);
    margin: 30px auto 50px;
    border-radius: 3px;
}

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

.review-item {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.review-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

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

/* ========================================
   Channels Section
   ======================================== */
.channels-section {
    padding: 100px 0;
    background: var(--bg-surface);
}

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

.vod-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 2/3;
    cursor: pointer;
}

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

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

.vod-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.vod-overlay i {
    font-size: 50px;
    color: var(--accent-primary);
}

/* IPTV Experience */
.iptv-experience {
    padding-top: 60px;
    border-top: 1px solid var(--border-color);
}

.platforms-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.platform-logo {
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: grayscale(30%);
}

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

.platform-logo img {
    height: 50px;
    width: auto;
}

/* Channels Slider */
.channels-slider-section {
    padding: 80px 0;
    background: var(--bg-page);
}

.channels-swiper {
    padding: 20px 0 50px;
}

.channel-slide {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.channel-slide:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.channel-slide img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.swiper-pagination-bullet {
    background: var(--text-muted);
}

.swiper-pagination-bullet-active {
    background: var(--accent-primary);
}

.swiper-button-prev,
.swiper-button-next {
    color: var(--accent-primary);
}

/* ========================================
   Why Us Section
   ======================================== */
.why-us-section {
    padding: 100px 0;
    background: var(--bg-page);
}

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

.feature-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent-primary);
    font-size: 28px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-description {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Devices Section */
.devices-section {
    padding: 100px 0;
    background: var(--gradient-dark);
}

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

.devices-text .section-description {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

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

.device-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.device-item:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.device-item i {
    font-size: 36px;
    color: var(--accent-primary);
    margin-bottom: 12px;
}

.device-item span {
    display: block;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
}

/* Installation Section */
.installation-section {
    padding: 100px 0;
    background: var(--bg-page);
}

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

.installation-visual {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.installation-visual img {
    width: 100%;
}

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

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

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

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

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

/* ========================================
   FAQ Section
   ======================================== */
.faq-section {
    padding: 100px 0;
    background: var(--bg-surface);
}

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

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.faq-item.active {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

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

.faq-question-text {
    flex: 1;
}

.faq-icon {
    color: var(--accent-primary);
    font-size: 14px;
}

.faq-icon .fa-minus {
    display: none;
}

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

.faq-item.active .faq-icon .fa-minus {
    display: inline;
}

.faq-answer {
    display: none;
    padding: 0 25px 22px;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 15px;
}

.faq-cta {
    margin-top: 50px;
}

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

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.3;
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.cta-description {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.7;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

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

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

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    background: var(--bg-surface);
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
}

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

.footer-logo {
    margin-bottom: 20px;
    display: inline-block;
}

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

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

.footer-title {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-primary);
    display: inline-block;
}

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

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

.footer-links li a:hover {
    color: var(--accent-primary);
    padding-left: 5px;
}

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

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

.footer-disclaimer {
    font-size: 12px;
    opacity: 0.7;
}

/* ========================================
   WhatsApp Float Button
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    contain: layout style;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

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

/* ========================================
   Scroll to Top Button
   ======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

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

.scroll-to-top:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-3px);
}

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

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

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

/* ========================================
   Scrollbar
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-surface);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .pricing-card-popular {
        transform: scale(1.02);
    }
}

@media (max-width: 992px) {
    .desktop-nav,
    .header-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .pricing-card-popular {
        transform: none;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .devices-content,
    .installation-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .vod-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .pricing-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
        min-height: auto;
    }
    
    .hero-main-title {
        font-size: 32px;
    }
    
    .hero-description-centered {
        font-size: 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .devices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vod-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .platforms-showcase {
        gap: 25px;
    }
    
    .platform-logo img {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .pricing-tabs {
        flex-direction: column;
    }
    
    .pricing-tab {
        width: 100%;
        justify-content: center;
    }
    
    .hero-tagline {
        padding: 20px;
    }
    
    .tagline-text {
        font-size: 16px;
    }
    
    .price-big {
        font-size: 20px;
    }
    
    .devices-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .scroll-to-top {
        bottom: 85px;
        right: 20px;
    }
}
/**
 * SEO Content Section Styles — ESIPTV Pro
 * 
 * INSTRUCTIONS : Copiez ce CSS dans votre feuille de style principale (style.css ou theme.css)
 * Ne pas charger en <style> inline dans le PHP — cela ralentit le First Contentful Paint.
 */

/* ========================================
   SEO Content Section — ESIPTV Pro
   ======================================== */
.seo-section {
    padding: 80px 0 90px;
    background: linear-gradient(180deg, #0a0e1a 0%, #080b14 100%);
    position: relative;
    overflow: hidden;
}
.seo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,212,255,0.25), transparent);
}
.seo-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.seo-header {
    text-align: center;
    margin-bottom: 50px;
}
.seo-label {
    display: inline-block;
    background: rgba(0,212,255,0.12);
    color: #00d4ff;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
    border: 1px solid rgba(0,212,255,0.25);
}
.seo-header h2 {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    line-height: 1.25;
}
.seo-header h2 .seo-gradient,
.seo-bottom-cta h3 .seo-gradient {
    background: linear-gradient(90deg, #00d4ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.seo-header > p {
    color: rgba(255,255,255,0.6);
    font-size: 16px;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Content Cards */
.seo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 50px;
}
.seo-card {
    background: #111827;
    border: 1px solid #1e2a45;
    border-radius: 16px;
    padding: 32px 30px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.seo-card:hover {
    border-color: rgba(0,212,255,0.4);
    box-shadow: 0 8px 35px rgba(0,0,0,0.3);
}
.seo-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(0,212,255,0.1);
    border: 1px solid rgba(0,212,255,0.2);
    border-radius: 12px;
    margin-bottom: 18px;
    color: #00d4ff;
    font-size: 22px;
}
.seo-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    line-height: 1.3;
}
.seo-card h3 em {
    font-style: normal;
    color: #00d4ff;
}
.seo-card p {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    line-height: 1.85;
    margin-bottom: 14px;
}
.seo-card p:last-child {
    margin-bottom: 0;
}
.seo-card strong {
    color: #fff;
}
.seo-card a {
    color: #00d4ff;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.seo-card a:hover {
    color: #00ff88;
}

/* Two-column layout */
.seo-grid--duo {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Stats Bar */
.seo-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 50px;
}
.seo-stat {
    background: #111827;
    border: 1px solid #1e2a45;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    transition: border-color 0.3s ease;
}
.seo-stat:hover {
    border-color: rgba(0,212,255,0.4);
}
.seo-stat__number {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(90deg, #00d4ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 6px;
}
.seo-stat__label {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    font-weight: 500;
}

/* Bottom CTA */
.seo-bottom-cta {
    background: linear-gradient(135deg, rgba(0,212,255,0.08) 0%, #111827 100%);
    border: 1px solid rgba(0,212,255,0.2);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
}
.seo-bottom-cta h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 12px;
}
.seo-bottom-cta p {
    color: rgba(255,255,255,0.6);
    font-size: 15px;
    margin-bottom: 24px;
}
.seo-bottom-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #fff !important;
    padding: 16px 36px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.seo-bottom-cta__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0,212,255,0.35);
    color: #fff !important;
}

/* Responsive */
@media (max-width: 768px) {
    .seo-section { padding: 50px 0 60px; }
    .seo-grid--duo { grid-template-columns: 1fr; }
    .seo-stats { grid-template-columns: repeat(2, 1fr); }
    .seo-card { padding: 24px 20px; }
    .seo-bottom-cta { padding: 30px 20px; }
}
@media (max-width: 480px) {
    .seo-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
    .seo-stat { padding: 18px 12px; }
    .seo-stat__number { font-size: 22px; }
}
/* === FIX PRICING LAYOUT === */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-header,
.pricing-price,
.pricing-features {
    flex-shrink: 0;
}

/* Force le bouton en bas */
.pricing-card .btn {
    margin-top: auto;
}

/* Uniformise les badges */
.pricing-badge {
    min-height: 28px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Aligne bien le prix */
.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: 16px 0;
}

.pricing-price .currency {
    font-size: 18px;
    opacity: 0.8;
}

.pricing-price .amount {
    font-size: 42px;
    font-weight: 700;
}