/* =========================================
   1. VARIABLES & THEME SETUP
   ========================================= */
:root {
    /* Colors - White & Orange Pro Theme */
    --primary: #FF9900;
    /* Vivid Orange */
    --primary-dark: #cc7a00;
    /* Darker Orange for hover */
    --secondary: #1a1a1a;
    /* Almost Black */
    --accent: #FF9900;
    /* Orange Accent */

    --bg-main: #FFFFFF;
    /* Pure White */
    --bg-light: #F9FAFB;
    /* Light Grey for sections */
    --bg-surface: #FFFFFF;
    /* Card background */

    --text-main: #111827;
    /* Slate 900 */
    --text-muted: #6B7280;
    /* Slate 500 */
    --text-white: #FFFFFF;

    --gradient-main: linear-gradient(135deg, #FF9900 0%, #FFB443 100%);
    --gradient-hero: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1240px;
    --header-height: 80px;

    /* Effects */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-orange: 0 10px 25px -5px rgba(255, 153, 0, 0.4);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   2. RESET & BASE
   ========================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.15;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* =========================================
   3. UTILITY CLASSES
   ========================================= */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.text-center {
    text-align: center;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-primary {
    color: var(--primary);
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================
   4. COMPONENTS
   ========================================= */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    font-family: var(--font-heading);
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 10px rgba(255, 153, 0, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-orange);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-white {
    background: white;
    color: var(--primary);
    font-weight: 700;
}

.btn-white:hover {
    background: #f0f0f0;
}

/* Pro Card - Clean White */
.pro-card {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f0f0f0;
    transition: var(--transition);
}

.pro-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Category Card - Visible Border */
.category-card {
    background: #ffffff;
    height: 220px;
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-main);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    border: 2px solid #cbd5e1;
    /* Visible Slate Border */
    overflow: hidden;
}

/* Hover Effect: Orange Border + Lift */
.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -5px rgba(255, 153, 0, 0.15);
    border-color: var(--primary);
    background: #fff;
}

/* Subtle Gradient overlay on hover for depth */
.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 153, 0, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.category-card:hover::after {
    opacity: 1;
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 15px 0 10px;
    color: var(--text-main);
    z-index: 2;
}

.category-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
    z-index: 2;
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    /* Orange 50-100 */
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary);
    transition: var(--transition);
    z-index: 2;
}

.category-card:hover .category-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

/* =========================================
   5. HEADER & NAV
   ========================================= */
header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-main);
}

.nav-links a:not(.btn):hover {
    color: var(--primary);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.dropdown-toggle .arrow {
    font-size: 0.7rem;
    transition: transform 0.5s ease;
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    min-width: 280px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    margin-top: 15px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #f0f0f0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 10px;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 25px;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: #FFF4E5;
    color: var(--primary);
    border-left-color: var(--primary);
    padding-left: 30px;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

@media (max-width: 1050px) {
    .nav-links {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }
}

/* =========================================
   6. HERO SECTION
   ========================================= */
.hero {
    position: relative;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 100px;
    background: white;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-main);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: rotate(2deg);
    transition: var(--transition);
}

.hero-image-wrapper:hover {
    transform: rotate(0deg);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.hero-badge {
    display: inline-block;
    background: #FFF4E5;
    /* Light Orange */
    color: var(--primary);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image-wrapper {
        margin-top: 40px;
        transform: rotate(0);
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

/* =========================================
   7. FEATURES (BENEFITS)
   ========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid #f3f4f6;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon-circle {
    width: 60px;
    height: 60px;
    background: #FFF4E5;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =========================================
   8. PRICING
   ========================================= */
.pricing-section {
    background-color: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    padding: 0 0 30px 0;
    /* Cut padding top to let header sit flush if needed */
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    background: white;
    z-index: 2;
    transform: scale(1.05);
    /* Make it pop */
    box-shadow: 0 20px 40px rgba(255, 153, 0, 0.15);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: 25px;
    right: -32px;
    background: var(--primary);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

/* Header Section */
.pricing-header {
    padding: 30px 20px 10px;
}

.plan-subtitle {
    display: block;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0;
    color: var(--text-main);
}

/* Device Icons Row */
.device-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.device-icon {
    font-size: 1.5rem;
    width: 45px;
    height: 45px;
    background: #fff7ed;
    /* Light orange tint */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.pricing-card:hover .device-icon {
    background: var(--primary);
    color: white;
}

/* Features List */
.pricing-features {
    list-style: none;
    padding: 30px;
    margin: 0;
    background: #fdfbf7;
    /* Warm beige background */
    text-align: left;
    flex: 1;
    /* Pushes price/button down */
    border-top: 1px dashed #e2e8f0;
    border-bottom: 1px dashed #e2e8f0;
}

.pricing-features li {
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.1rem;
}


/* Price & Button */
.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 20px 0 10px;
}

.price sup {
    font-size: 1.2rem;
    font-weight: 600;
    vertical-align: super;
}

.price-period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.price .price-original {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 1.6rem;
    font-weight: 600;
    margin-right: 10px;
    vertical-align: middle;
    display: inline-block;
}

.price .price-original sup {
    font-size: 0.9rem;
    vertical-align: super;
}

/* Plan Name Colors */
.plan-name-silver {
    color: #808080 !important;
    font-size: 2.2rem;
    font-weight: 800;
}

.plan-name-gold {
    color: #FFB300 !important;
    font-size: 2.2rem;
    font-weight: 800;
}

.plan-name-diamond {
    color: #00BCD4 !important;
    font-size: 2.2rem;
    font-weight: 800;
}

/* Feature Highlight - Attractive Color */
.feature-highlight {
    color: #FF6B00 !important;
    font-weight: 600 !important;
    background: linear-gradient(90deg, rgba(255, 107, 0, 0.1) 0%, transparent 100%);
    border-left: 3px solid #FF6B00;
    padding-left: 10px !important;
    margin-left: -10px;
    border-radius: 0 8px 8px 0;
}

.feature-highlight .check {
    color: #FF6B00 !important;
}

.pricing-card .btn {
    margin: 0 30px 10px;
    /* Aligns button within card width */
    width: auto !important;
    /* Overrides inline style if needed */
}

/* Trust / Support Banner - Modern Style */
.support-banner {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    /* Soft Mint Gradient */
    border: 1px solid #bbf7d0;
    /* Green-200 */
    padding: 12px 30px;
    border-radius: 50px;
    /* Modern Pill Shape */
    box-shadow: 0 4px 20px -5px rgba(34, 197, 94, 0.15);
    /* Colored shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
}

.support-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(34, 197, 94, 0.25);
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.support-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    /* Vibrant Green Gradient */
    border-radius: 50%;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.brand-icon svg,
.brand-icon img {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    object-fit: contain;
}

.support-text {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.support-badge {
    font-size: 0.7rem;
    font-weight: 800;
    color: #15803d;
    /* Green-700 */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.support-message {
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 500;
}

.support-message strong {
    color: #15803d;
    font-weight: 700;
}

/* Compatibility Section - Slider Style */
.compatibility-section {
    padding: 60px 0;
    background: #fff;
    overflow: hidden;
}

.compat-header {
    color: #ff6600;
    /* Reference Orange */
    margin-bottom: 50px;
    font-weight: 800;
    text-transform: none;
    /* Reference is not all uppercase */
    letter-spacing: normal;
    font-size: 2rem;
}

.logo-slider {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: visible;
}

.logo-track {
    display: flex;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding: 30px 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #ff6600 #f0f0f0;
    justify-content: flex-start;
    width: 100%;
}

/* Magic trick to perfectly center flex items without breaking scroll */
.logo-track::before,
.logo-track::after {
    content: '';
    margin: auto;
}

.logo-track::-webkit-scrollbar {
    height: 8px;
}

.logo-track::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.logo-track::-webkit-scrollbar-thumb {
    background: #ff6600;
    border-radius: 10px;
}

.logo-track::-webkit-scrollbar-thumb:hover {
    background: #e55a00;
}

@media (max-width: 768px) {
    .logo-track {
        justify-content: flex-start;
        gap: 20px;
        padding: 20px 10px;
    }
}

.brand-item {
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    min-width: 140px;
    cursor: pointer;
    transition: transform 0.5s ease;
}

.brand-item .brand-icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.brand-item:hover {
    transform: translateY(-5px);
    background: #ddfce6;
    border-color: #8bfeb2;
}

.brand-apple {
    color: #1e293b;
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.brand-mag {
    color: #ef4444;
    background: #fef2f2;
    border-color: #fecaca;
}

.brand-windows {
    color: #0078d7;
    background: #e0f2fe;
    border-color: #bae6fd;
}

.brand-vlc {
    color: #f97316;
    background: #fff7ed;
    border-color: #fed7aa;
}

.compat-card span {
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.95rem;
}

/* WhatsApp Testimonials */
.whatsapp-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 25px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 10px;
}

@media (max-width: 1200px) {
    .whatsapp-grid {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .whatsapp-grid {
        flex-direction: column;
        align-items: center;
    }
}

.whatsapp-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.2);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    width: 260px;
    max-width: 100%;
    flex-shrink: 0;
}

.wa-header {
    background: #f0fdf4;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.wa-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.wa-name {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.9rem;
}

.wa-status {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
}

.wa-body {
    background-color: #e5ddd5;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%239ca3af' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    padding: 15px 10px;
    min-height: 320px;
    max-height: 360px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
}

.wa-message {
    padding: 8px 10px;
    border-radius: 7.5px;
    position: relative;
    max-width: 90%;
    font-size: 0.8rem;
    line-height: 1.4;
    word-wrap: break-word;
    box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
}

.wa-message.received {
    background: #dcf8c6;
    /* WhatsApp Light Green */
    align-self: flex-start;
    border-top-left-radius: 0;
}

.wa-message.sent {
    background: white;
    align-self: flex-end;
    border-top-right-radius: 0;
}

.wa-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin-top: 4px;
}

.wa-time {
    font-size: 0.6rem;
    color: rgba(0, 0, 0, 0.45);
}

.wa-tick svg {
    display: block;
}

/* =========================================
   9. FAQ & FOOTER
   ========================================= */
.faq-item {
    background: white;
    border: 1px solid #e5e7eb;
    margin-bottom: 15px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--text-muted);
    display: none;
    /* Add JS to toggle */
}

.faq-item.active .faq-answer {
    display: block;
}

/* =========================================
   FOOTER - Modern Redesign
   ========================================= */
footer {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-main);
}

/* Footer Top Grid */
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        text-align: center;
    }

    .footer-col:last-child {
        grid-column: 1 / -1;
    }
}

/* Brand Section */
.footer-brand {
    max-width: 320px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
    display: inline-block;
    margin-bottom: 20px;
    text-decoration: none;
    transition: var(--transition);
}

.footer-logo span {
    color: var(--primary);
}

.footer-logo:hover {
    transform: scale(1.02);
}

.footer-desc {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(255, 153, 0, 0.4);
}

/* Footer Columns */
.footer-col h4 {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    width: 100%;
}

/* Contact Info */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-contact svg {
    color: var(--primary);
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .footer-contact li {
        justify-content: center;
    }
}

/* Payment Section */
.footer-payments {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-payments>span {
    color: #64748b;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.payment-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.payment-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #e2e8f0;
    transition: var(--transition);
}

.payment-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    flex-wrap: wrap;
    gap: 20px;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.footer-bottom .copyright {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
    padding: 0;
    border: none;
}

.footer-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.trust-badge {
    color: #94a3b8;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Old footer styles override */
.footer-col a {
    color: #94a3b8;
    margin-bottom: 0;
    display: inline-block;
}

.footer-col a:hover {
    color: var(--primary);
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background: white;
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contact-card h3 {
    margin: 0 0 5px 0;
    color: var(--secondary);
}

.contact-card p {
    margin: 0 0 15px 0;
    color: var(--text-muted);
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 153, 0, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.form-success {
    margin-top: 20px;
    padding: 15px;
    background: #dcfce7;
    color: #166534;
    border-radius: var(--radius-sm);
    text-align: center;
}

.form-error {
    margin-top: 20px;
    padding: 15px;
    background: #fee2e2;
    color: #991b1b;
    border-radius: var(--radius-sm);
    text-align: center;
}

/* =========================================
   11. RESPONSIVE FIXES - HOMEPAGE SECTIONS
   ========================================= */

/* --- IPTV France Section Centering --- */
@media (max-width: 900px) {

    /* IPTV France / Quality Section */
    .section-padding .flex[style*="gap: 60px"] {
        flex-direction: column !important;
        text-align: center;
    }

    .section-padding .flex[style*="gap: 60px"]>div[style*="flex: 1"] {
        min-width: 100% !important;
        text-align: center;
    }

    .section-padding .flex[style*="gap: 60px"] .text-primary[style*="uppercase"] {
        text-align: center;
    }

    .section-padding .flex[style*="gap: 60px"] h2 {
        text-align: center;
    }

    /* Quality Features Grid Centering */
    .section-padding .flex[style*="gap: 60px"] div[style*="display: grid"] {
        max-width: 400px;
        margin: 0 auto;
    }

    .section-padding .flex[style*="gap: 60px"] div[style*="display: grid"] .flex {
        justify-content: center;
        text-align: left;
    }
}

/* --- Logo Slider Animation --- */
@keyframes logoSlide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Duplicate items for seamless loop - handled via CSS if needed */
@media (max-width: 768px) {
    .brand-item {
        min-width: 100px;
    }

    .brand-item .brand-icon {
        width: 80px;
        height: 80px;
    }

    .brand-item span {
        font-size: 0.75rem;
    }

    .compat-header {
        font-size: 1.4rem;
        padding: 0 15px;
    }
}

/* --- Testimonials / WhatsApp Grid Centering --- */
@media (max-width: 1000px) {

    /* Testimonials Section - Make 2 columns then stack */
    .section-padding.bg-light .flex[style*="gap: 50px"] {
        flex-direction: column !important;
    }

    .section-padding.bg-light .flex[style*="gap: 50px"]>div[style*="flex: 1"] {
        width: 100% !important;
        text-align: center;
    }

    .whatsapp-grid {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
}

@media (max-width: 768px) {
    .whatsapp-grid {
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
    }

    .whatsapp-card {
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 auto;
    }

    /* Testimonials header text centering */
    .section-padding.bg-light h5,
    .section-padding.bg-light h2 {
        text-align: center;
    }
}

/* --- Hero Section Mobile Centering --- */
@media (max-width: 900px) {
    .hero .container {
        flex-direction: column !important;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        order: 1;
    }

    .hero-content .flex {
        justify-content: center !important;
    }

    .hero-image-wrapper {
        order: 2;
        margin-top: 30px;
    }
}

/* --- Pricing Grid Mobile --- */
@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .pricing-card.popular {
        transform: none !important;
    }

    .pricing-card.popular:hover {
        transform: translateY(-5px) !important;
    }
}

/* --- Feature Cards Centering --- */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .category-card {
        height: auto;
        min-height: 180px;
    }
}

/* --- Support Banner Mobile --- */
@media (max-width: 600px) {
    .support-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .support-text {
        text-align: center;
    }
}

@media (max-width: 900px) {

    /* Reorder IPTV France Section: Text First, Image Second */
    .iptv-france-container {
        flex-direction: column-reverse !important;
        text-align: center;
    }

    .iptv-france-image {
        margin-top: 30px;
    }

    .iptv-france-container h2 {
        font-size: 2rem;
    }

    /* Cible les features HD, Vitesse, Compatibilité qui sont des divs flex 'row' */
    .iptv-france-container>div:last-child>div[style*="grid"]>div.flex {
        justify-content: center;
        text-align: left;
        /* Icone a gauche du texte */
    }

    /* Ensure Testimonials are strict column */
    .whatsapp-grid {
        margin-top: 30px !important;
    }
}
/* BOUTON WHATSAPP */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 3px #999;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}
.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: white;
}
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}
/* Prix Barré (Ancien Prix) */
.old-price {
    text-decoration: line-through;
    color: #dc2626 !important;
    font-size: 1.5rem !important;
    font-weight: 500 !important;
    opacity: 0.7;
    margin-right: 5px;
}
/* =========================================
   NEW SEO REDESIGN STYLES (Added 2026)
   ========================================= */

/* Hero SEO Modifications */
.hero-seo h1 {
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}
.hero-seo h2 {
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Stats Section */
.stats-section {
    position: relative;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}
.stat-card {
    background: white;
    padding: 35px 20px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255,153,0,0.1);
    border-color: #ffedd5;
}
.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--secondary);
    font-family: var(--font-heading);
    margin-bottom: 5px;
    background: linear-gradient(135deg, var(--secondary), #334155);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-label {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* SEO Intro Section */
.seo-intro-container {
    max-width: 1000px;
    margin: 0 auto;
}
.seo-features-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.seo-feature-block {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid transparent;
}
.seo-feature-block:hover {
    border-color: #e2e8f0;
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}
.seo-icon {
    font-size: 3.5rem;
    background: #f8fafc;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    flex-shrink: 0;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}
.seo-text h4 {
    font-size: 1.4rem;
    color: var(--secondary);
    margin-bottom: 12px;
}
.seo-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .seo-feature-block {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Hardware acceleration for smoother scrolling */
.logo-track {
    -webkit-overflow-scrolling: touch;
    transform: translateZ(0);
    will-change: transform, scroll-position;
}
.brand-item {
    transform: translateZ(0);
    will-change: transform;
}

.promo-badge {
    position: absolute;
    top: 25px;
    left: -32px;
    background: #22c55e;
    color: white;
    padding: 5px 40px;
    transform: rotate(-45deg);
    font-size: 0.9rem;
    font-weight: 800;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
    text-transform: uppercase;
}

.worldcup-promo {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    color: white;
    display: inline-block;
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: 800;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
    font-size: 1.1rem;
    border: 2px solid #bbf7d0;
    letter-spacing: 0.5px;
    animation: pulse-promo 2s infinite;
}

@keyframes pulse-promo {
    0% { transform: scale(1); box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4); }
    50% { transform: scale(1.02); box-shadow: 0 4px 25px rgba(34, 197, 94, 0.6); }
    100% { transform: scale(1); box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4); }
}
