/*
Theme Name: StreamMax IPTV
Description: Thème WordPress pour StreamMax - Fournisseur IPTV 4K Premium avec Code IPTV gratuit. Optimisé SEO pour les mots-clés : IPTV 4K, Code IPTV, Fournisseur IPTV.
Version: 1.0
Author: StreamMax Team
Text Domain: streammax
*/

/* Reset et base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Utility classes similaires à Tailwind */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-white { color: white; }
.text-blue { color: #2563eb; }
.text-red { color: #dc2626; }

.bg-slate-900 { background-color: #0f172a; }
.bg-blue-600 { background-color: #2563eb; }
.bg-red-600 { background-color: #dc2626; }
.bg-slate-50 { background-color: #f8fafc; }

/* Navigation */
.main-nav {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #334155;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: #2563eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.logo-text {
    font-size: 20px;
    font-weight: bold;
    color: white;
}

.nav-menu {
    display: none;
    gap: 32px;
    list-style: none;
}

.nav-menu a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: white;
}

/* Mobile menu */
.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background: #0f172a;
    border-top: 1px solid #334155;
    padding: 20px;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: white;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero h1 .highlight {
    color: #3b82f6;
}

.hero-divider {
    width: 64px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #dc2626);
    margin: 32px auto;
}

.hero h2 {
    font-size: 1.5rem;
    color: #dc2626;
    font-weight: 600;
    margin-bottom: 32px;
}

.hero-description {
    max-width: 800px;
    margin: 0 auto 48px;
}

.hero-description p {
    font-size: 18px;
    color: #cbd5e1;
    margin-bottom: 24px;
}

.hero-description strong {
    color: white;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid #dc2626;
    color: #dc2626;
    background: transparent;
}

.btn-outline:hover {
    background: #dc2626;
    color: white;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    margin-bottom: 64px;
}

/* Platform icons */
.platform-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.platform-item {
    background: #334155;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    font-size: 14px;
}

.platform-icon {
    font-size: 18px;
}

/* Code IPTV Section */
.code-iptv-section {
    padding: 80px 0;
    background: linear-gradient(90deg, #dc2626, #b91c1c);
    color: white;
}

.code-iptv-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.code-iptv-content h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 24px;
}

.code-iptv-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.code-iptv-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fbbf24;
    margin-bottom: 8px;
}

.stat-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.stat-desc {
    color: rgba(255, 255, 255, 0.8);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: #f8fafc;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2563eb;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 20px;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 32px;
    color: #2563eb;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 16px;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
}

/* IPTV Players Grid */
.iptv-players-section {
    padding: 80px 0;
    background: #f1f5f9;
}

.iptv-players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-bottom: 64px;
}

.iptv-player-card {
    background: #334155;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    transition: all 0.3s;
    cursor: pointer;
}

.iptv-player-card:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.iptv-player-icon {
    font-size: 2rem;
    margin-bottom: 8px;
    transition: transform 0.3s;
}

.iptv-player-card:hover .iptv-player-icon {
    transform: scale(1.1);
}

.iptv-player-name {
    color: white;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

/* Configuration Steps */
.config-steps {
    background: white;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.config-steps h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 16px;
}

.config-steps > p {
    color: #64748b;
    margin-bottom: 32px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    text-align: center;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    width: 48px;
    height: 48px;
    background: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-weight: bold;
    color: #2563eb;
    font-size: 20px;
}

.step-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 14px;
    color: #64748b;
}

/* Responsive */
@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: row;
    }

    .code-iptv-content h2 {
        font-size: 3rem;
    }

    .section-header h2 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 5rem;
    }
}

/* WordPress specific */
.admin-bar .main-nav {
    top: 32px;
}

.wp-block-group {
    margin: 0;
}

.entry-content {
    margin: 0;
}

.entry-content p {
    margin: 0;
}
