/*
Theme Name: IPTV Quebec
Theme URI: https://iptv-qchd.com
Author: IPTV Quebec Team
Author URI: https://iptv-qchd.com
Description: ThÃƒÂ¨me WordPress moderne pour IPTV Quebec avec animations et dark mode
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iptvquebec
*/

/* Styles WordPress */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

.alignleft {
    float: left;
    margin-right: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption-text {
    font-size: 14px;
    color: #666;
}

/* Styles pour correspondre iptv-qchd.com */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
}

.hero h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #fbbf24;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
    color: #e5e7eb;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border: 3px solid #fbbf24;
    transform: scale(1.05);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 20px;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 20px;
}

.plan-price span {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 400;
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.plan-features li {
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.95rem;
}

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

.quality-section {
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 12px;
    margin-top: 50px;
}

.quality-section h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}

.quality-section p {
    font-size: 1.2rem;
    color: white;
    max-width: 600px;
    margin: 0 auto;
}

.btn-primary {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(251, 191, 36, 0.3);
}

.btn-secondary {
    background: rgba(37, 99, 235, 0.05);
    color: #2563eb;
    padding: 18px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #2563eb;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
}

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

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

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

    .pricing-cards {
        grid-template-columns: 1fr;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Styles pour Crisp Live Chat */
.crisp-client {
    --crisp-primary-color: #fbbf24 !important;
    --crisp-text-color: #1e3a8a !important;
    --crisp-bg-color: #ffffff !important;
}

/* Personnalisation du widget Crisp */
.crisp-client .crisp-messenger {
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.crisp-client .crisp-messenger .crisp-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 100%) !important;
    border-radius: 12px 12px 0 0 !important;
}

.crisp-client .crisp-chatbox-color-theme {
    --crisp-chatbox-color-scheme: #1e3a8a !important;
}

.crisp-client .crisp-button {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
    border-radius: 25px !important;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3) !important;
}

.crisp-client .crisp-button:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4) !important;
}

/* Animation pour le bouton de chat */
@keyframes crisp-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.crisp-client .crisp-button {
    animation: crisp-pulse 2s infinite !important;
}

/* Responsive design pour mobile */
@media (max-width: 768px) {
    .crisp-client .crisp-messenger {
        width: 95% !important;
        height: 80vh !important;
        bottom: 10px !important;
        right: 10px !important;
        left: 10px !important;
    }
}

/* Styles pour les widgets WordPress */
.widget {
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 15px;
}

/* WordPress Blocks Styles */
.wp-block {
    max-width: 1200px;
    margin: 0 auto;
}

.wp-block[data-align="wide"] {
    max-width: 1400px;
}

.wp-block[data-align="full"] {
    max-width: none;
    margin: 0;
}

/* Block Colors */
.has-primary-blue-color {
    color: #1e3a8a;
}

.has-primary-blue-background-color {
    background-color: #1e3a8a;
}

.has-secondary-blue-color {
    color: #3730a3;
}

.has-secondary-blue-background-color {
    background-color: #3730a3;
}

.has-primary-yellow-color {
    color: #fbbf24;
}

.has-primary-yellow-background-color {
    background-color: #fbbf24;
}

.has-secondary-yellow-color {
    color: #f59e0b;
}

.has-secondary-yellow-background-color {
    background-color: #f59e0b;
}

.has-light-gray-color {
    color: #f3f4f6;
}

.has-light-gray-background-color {
    background-color: #f3f4f6;
}

.has-dark-gray-color {
    color: #374151;
}

.has-dark-gray-background-color {
    background-color: #374151;
}

/* Block Headings */
.wp-block-heading {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin: 1.5em 0 0.5em;
}

.wp-block-heading h1 {
    font-size: 2.5rem;
    color: #1e3a8a;
}

.wp-block-heading h2 {
    font-size: 2rem;
    color: #1e3a8a;
}

.wp-block-heading h3 {
    font-size: 1.5rem;
    color: #3730a3;
}

/* Block Paragraphs */
.wp-block-paragraph {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #374151;
    margin: 1em 0;
}

/* Block Buttons */
.wp-block-button {
    margin: 1.5em 0;
}

.wp-block-button__link {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(251, 191, 36, 0.3);
}

/* Block Lists */
.wp-block-list {
    margin: 1.5em 0;
    padding-left: 2em;
}

.wp-block-list li {
    margin: 0.5em 0;
    color: #374151;
}

/* Block Quotes */
.wp-block-quote {
    border-left: 4px solid #fbbf24;
    padding-left: 1.5em;
    margin: 2em 0;
    font-style: italic;
    color: #374151;
    background: #f9fafb;
    padding: 1.5em;
    border-radius: 8px;
}

.wp-block-quote cite {
    color: #6b7280;
    font-size: 0.9em;
}

/* Block Separators */
.wp-block-separator {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fbbf24, transparent);
    margin: 3em auto;
}

/* Block Images */
.wp-block-image {
    margin: 2em 0;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Block Groups */
.wp-block-group {
    margin: 2em 0;
}

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

/* Block Cover */
.wp-block-cover {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
}

.wp-block-cover__inner-container {
    max-width: 1200px;
    padding: 2em;
    text-align: center;
}

.wp-block-cover h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1em;
}

.wp-block-cover p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

/* Block Columns */
.wp-block-columns {
    margin: 2em 0;
    gap: 2em;
}

.wp-block-column {
    flex: 1;
    padding: 0 1em;
}

/* Block Media & Text */
.wp-block-media-text {
    align-items: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.wp-block-media-text__content {
    padding: 2em;
}

.wp-block-media-text__media img {
    border-radius: 0;
}

/* Custom Block Styles */
.is-style-checkmarks li {
    list-style: none;
    padding-left: 1.5em;
    position: relative;
}

.is-style-checkmarks li:before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Responsive Design for Blocks */
@media (max-width: 768px) {
    .wp-block-columns {
        flex-direction: column;
    }

    .wp-block-column {
        margin-bottom: 2em;
    }

    .wp-block-cover h2 {
        font-size: 2rem;
    }

    .wp-block-media-text {
        flex-direction: column;
    }
}

/* Styles pour les articles WordPress */
.post {
    margin-bottom: 40px;
    background: #fff;
}

.post-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.post-meta {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 20px;
}

.post-content {
    line-height: 1.8;
    color: #4b5563;
}

/* Navigation WordPress */
.site-navigation {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    padding: 20px 15px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: #2563eb;
}

/* Menu mobile */
.menu-toggle {
    display: none;
    background: #2563eb;
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-navigation ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .main-navigation.toggled ul {
        display: flex;
    }

    .main-navigation li {
        width: 100%;
    }

    .main-navigation a {
        padding: 15px 20px;
        border-bottom: 1px solid #e5e7eb;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: #ffffff;
}

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

a {
    color: #1e3a8a;
}

a:hover {
    color: #fbbf24;
}

/* Header */
body>header {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    padding: 15px 0;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: #2563eb;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    color: #1e40af;
}

.logo img {
    max-width: 160px;
    width: auto;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.logo:hover img {
    transform: rotate(5deg) scale(1.1);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
    margin-right: 20px;
    margin-left: auto;
}

.dark-mode-toggle {
    background: #f3f4f6;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.dark-mode-toggle:hover {
    background: #e5e7eb;
    transform: scale(1.1);
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s, border-color 0.3s;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    color: #fbbf24;
}

/* Active / current page underline on primary menu */
.nav-links .current-menu-item>a,
.nav-links .current_page_item>a,
.nav-links .current-menu-ancestor>a {
    border-bottom-color: #fbbf24;
}

header.header-transparent .nav-links .current-menu-item>a,
header.header-transparent .nav-links .current_page_item>a,
header.header-transparent .nav-links .current-menu-ancestor>a {
    border-bottom-color: #fbbf24;
}

body.dark-mode .nav-links .current-menu-item>a,
body.dark-mode .nav-links .current_page_item>a,
body.dark-mode .nav-links .current-menu-ancestor>a {
    border-bottom-color: #60a5fa;
}

/* WooCommerce Product Forfait Details */
.product-forfait-details {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 25px;
    border-radius: 20px;
    margin: 20px 0;
}

.forfait-product-badge {
    background: #fbbf24;
    color: #1e3a8a;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.forfait-product-duration {
    font-size: 1rem;
    color: #475569;
    margin-bottom: 20px;
}

.forfait-product-duration strong {
    color: #1e3a8a;
    font-size: 1.1rem;
}

.forfait-product-features h4 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #1e3a8a;
    font-weight: 700;
}

.forfait-product-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.forfait-product-features li {
    font-size: 0.9rem;
    color: #64748b;
    position: relative;
    padding-left: 25px;
    font-weight: 500;
}

.forfait-product-features li:before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 900;
}

/* Dark Mode Support for Product Forfait */
body.dark-mode .product-forfait-details {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .forfait-product-duration {
    color: #cbd5e1;
}

body.dark-mode .forfait-product-duration strong {
    color: #fbbf24;
}

body.dark-mode .forfait-product-features h4 {
    color: white;
}

body.dark-mode .forfait-product-features li {
    color: #94a3b8;
}

@media (max-width: 576px) {
    .forfait-product-features ul {
        grid-template-columns: 1fr;
    }
}

/* Secure Payment Badge */
.secure-payment-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ecfdf5;
    color: #059669;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid #10b98133;
}

.secure-payment-badge svg {
    color: #10b981;
}

body.dark-mode .secure-payment-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.2);
}

@media (max-width: 576px) {
    .secure-payment-badge {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
}

/* Shopify-Style Checkout Redesign */
.woocommerce-checkout .col2-set {
    width: 100%;
    float: none;
    margin: 0;
}

.woocommerce-checkout #customer_details {
    width: 100%;
    grid-column: 1;
}

.woocommerce-checkout-review-order {
    background: #fdfdfd;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

/* Two-column layout for Desktop */
@media (min-width: 992px) {
    .woocommerce-checkout form.checkout {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        gap: 60px;
        align-items: start;
        max-width: 1200px;
        margin: 40px auto;
        padding: 0 20px;
    }

    .woocommerce-checkout #order_review,
    .woocommerce-checkout #order_review_heading {
        grid-column: 2;
    }

    .woocommerce-checkout #order_review_heading {
        margin-top: 0;
        font-size: 1.5rem;
        font-weight: 700;
        color: #1e3a8a;
    }

    .woocommerce-checkout #order_review {
        position: sticky;
        top: 100px;
        background: #f8fafc;
        padding: 35px;
        border-radius: 20px;
        border: 1px solid #e2e8f0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    }
}

/* Form field styling (Floating look) */
.woocommerce-checkout .form-row {
    margin-bottom: 20px;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
    transition: all 0.2s;
    background-color: white;
}

.woocommerce-checkout input.input-text:focus {
    border-color: #fbbf24;
    outline: none;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
}

.woocommerce-checkout label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: #4b5563;
    font-size: 0.9rem;
}

/* Order Table Styling */
.woocommerce-checkout .shop_table {
    border: none;
    background: transparent;
}

.woocommerce-checkout .shop_table th,
.woocommerce-checkout .shop_table td {
    padding: 15px 0;
    border-top: 1px solid #e5e7eb;
}

.woocommerce-checkout .shop_table tr.cart_item td.product-name {
    font-weight: 600;
    color: #1e3a8a;
}

.woocommerce-checkout .shop_table tr.order-total {
    border-top: 2px solid #e5e7eb;
}

.woocommerce-checkout .shop_table tr.order-total strong {
    font-size: 1.5rem;
    color: #1e3a8a;
}

/* Place Order Button */
.woocommerce-checkout #payment #place_order {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #1e3a8a;
    border-radius: 12px;
    margin-top: 20px;
    transition: all 0.3s;
}

.woocommerce-checkout #payment #place_order:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.2);
}

/* Dark Mode Support */
body.dark-mode .woocommerce-checkout #order_review {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .woocommerce-checkout input.input-text,
body.dark-mode .woocommerce-checkout select {
    background: #111827;
    border-color: #374151;
    color: white;
}

body.dark-mode .woocommerce-checkout label {
    color: #94a3b8;
}

body.dark-mode .woocommerce-checkout .shop_table th,
body.dark-mode .woocommerce-checkout .shop_table td {
    border-color: rgba(255, 255, 255, 0.05);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #fbbf24;
    color: #1e3a8a;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(251, 191, 36, 0.3);
}

.back-to-top svg {
    transition: transform 0.3s;
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}

/* Dark Mode support for Back to Top */
body.dark-mode .back-to-top {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Styles for the new channel list design */
.channels-toolbar {
    display: flex;
    flex-direction: column;
    /* Stack vertically by default */
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .channels-toolbar {
        /* Horizontal on larger screens */

        /* Allow filters to wrap below if needed */
    }
}

.channel-list-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.channels-search-container {
    width: 100%;
    /* Take full width within the toolbar */
    max-width: 600px;
    /* Keep consistent max width for the search input */
    /* Space between search and filters on small screens */
}

/* Styled search form */
.channels-search-container .search-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border-radius: 999px;
    padding: 10px 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.channels-search-container .search-wrapper:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    transform: translateY(-1px);
}

.channels-search-container .search-icon {
    flex-shrink: 0;
    color: #9ca3af;
}

#channel-search {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    color: #0f172a;
    outline: none;
    padding: 6px 4px;
}

#channel-search::placeholder {
    color: #9ca3af;
}

body.dark-mode .channels-search-container .search-wrapper {
    background: rgba(15, 23, 42, 0.9);
    border-color: #1f2937;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6);
}

body.dark-mode .channels-search-container .search-wrapper:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.35);
}

body.dark-mode #channel-search {
    color: #e5e7eb;
}

body.dark-mode #channel-search::placeholder {
    color: #6b7280;
}

.channel-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.channel-filter-btn {
    background-color: #f1f5f9;
    color: #475569;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.channel-filter-btn:hover {
    background-color: #e2e8f0;
}

/* Channels Page - Stats Trust Bar */
.channels-stats {
    padding: 60px 0;
    margin-top: -50px;
    position: relative;
    z-index: 20;
}

.channels-stats .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-align: center;
}

body.dark-mode .channels-stats .stats-grid {
    background: rgba(31, 41, 55, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    background: #fbbf24;
    color: #1e3a8a;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}

body.dark-mode .stat-icon {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e3a8a;
    letter-spacing: -1px;
    line-height: 1;
}

body.dark-mode .stat-number {
    color: white;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body.dark-mode .stat-label {
    color: #94a3b8;
}

@media (max-width: 1024px) {
    .channels-stats .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .channels-stats {
        margin-top: 0;
        padding: 40px 15px;
    }

    .channels-stats .stats-grid {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Animate-on-scroll baseline */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Channels Page Specifics */
.channels-hero {
    background: linear-gradient(rgba(30, 58, 138, 0.9), rgba(30, 58, 138, 0.95)), url('https://images.unsplash.com/photo-1593784991095-a205039470b6?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.channels-hero .section-title {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
}

.channels-hero .section-subtitle {
    margin-bottom: 40px;
    font-size: 1.2rem;
}

@media all and (max-width: 767.98px) {
    .channels-hero .section-title {
        font-size: 2rem;
    }
}

.channels-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
    justify-content: center;
}

.channel-filter-btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: #070707;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
}

.channel-filter-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #1f398a;
    transform: translateY(-2px);
}

.channel-filter-btn.active {
    background-color: #fbbf24;
    color: #1e3a8a;
    border-color: #fbbf24;
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
}

body.dark-mode .channel-filter-btn {
    background-color: rgba(255, 255, 255, 0.05);
}

.channel-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid #e2e8f0;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.channel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border-color: #2563eb;
}

body.dark-mode .channel-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
}

.dynamic-channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Bottom CTA on channels page */
.cta-bottom {
    margin-top: 80px;
    margin-bottom: 40px;
    padding: 40px 32px;
    border-radius: 28px;
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.3), transparent 55%),
        radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.35), transparent 55%),
        linear-gradient(135deg, #0f172a, #020617);
    color: #e5e7eb;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.5);
}

.cta-bottom::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(248, 250, 252, 0.06), transparent 65%);
    opacity: 0.9;
    pointer-events: none;
}

.cta-bottom h2 {
    position: relative;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
    color: #f9fafb;
}

.cta-bottom p {
    position: relative;
    max-width: 560px;
    margin: 0 auto 24px;
    color: #cbd5e1;
    font-size: 1rem;
}

.cta-bottom .btn-primary {
    position: relative;
    padding-inline: 32px;
    padding-block: 14px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.45);
}

.cta-bottom .btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 20px 55px rgba(251, 191, 36, 0.6);
}

@media (max-width: 768px) {
    .cta-bottom {
        margin-top: 50px;
        padding: 30px 20px;
        border-radius: 22px;
    }

    .cta-bottom h2 {
        font-size: 1.6rem;
    }

    .cta-bottom p {
        font-size: 0.95rem;
    }
}

/* Footer Section */
.hero {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 50%, #1e3a8a 100%);
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

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

.btn {
    padding: 18px 15px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn::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;
}

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

.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
}


.btn-secondary:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.25);
    border-color: white;
}

/* Trust Badges */
/* Trust Bar (New design over Trust Badges) */
.trust-badges {
    background: #f1f5f9;
    padding: 25px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-mode .trust-badges {
    background: #111827 !important;
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #475569;
    font-weight: 600;
}

body.dark-mode .trust-label {
    color: #94a3b8;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.trust-items {
    display: flex;
    gap: 40px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #1e3a8a;
    font-size: 0.95rem;
}

@media all and (max-width: 767.98px) {
    .trust-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

body.dark-mode .trust-item {
    color: #60a5fa;
}

.trust-icon {
    color: #fbbf24;
}


/* Why Us Section */
.why-us {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #1f2937;
}

.page-forfaits .pricing .section-title {
    display: none;
}

.page-forfaits .pricing {
    padding: 50px 0;
}

.page-forfaits .pricing .container {
    padding: 0 0;
}

.page-forfaits .pricing-cards {
    margin: 0;
}

.page-forfaits .quality-section {
    display: none;
}

.page-forfaits {
    padding-bottom: 50px;
}

.why-us-cards {}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Force 1 row on desktop */
    gap: 30px;
}

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

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

.feature {
    text-align: center;
    padding: 40px 30px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(37, 99, 235, 0.1);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #10b981);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.feature:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #2563eb;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #2563eb, #10b981, #2563eb);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.feature:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.feature:hover .feature-icon svg {
    color: white;
}

.feature-icon svg {
    color: #2563eb;
}

.feature h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #1f2937;
}

.feature p {
    color: #6b7280;
    line-height: 1.7;
}

/* Channels Section */
.channels {
    padding: 80px 0;
    background: #f9fafb;
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: inline-flex;
    gap: 40px;
    animation: scroll 40s linear infinite;
}

.channel-logo {
    background: white;
    padding: 20px 40px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    min-width: 180px;
    height: 100px;
}

.channel-logo img {
    max-width: 120px;
    max-height: 50px;
    object-fit: contain;
    filter: drop-shadow(0px 0px  0.05rem  black);
    opacity: 0.7;
    transition: all 0.3s;
}

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

.channel-logo:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.15);
    color: #2563eb;
    border-color: #2563eb;
}

body.dark-mode .channel-logo {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .channel-logo img {
    filter: brightness(0) invert(1) opacity(0.7);
}

body.dark-mode .channel-logo:hover img {
    filter: brightness(0) invert(1) opacity(1);
}

body.dark-mode .channel-logo:hover {
    background: #374151;
    color: #60a5fa;
    border-color: #60a5fa;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Shift by half since we effectively doubled content */
}

/* Pause on hover */
.marquee-track:hover {
    animation-play-state: paused;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: white;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s;
}

.pricing-card:hover {
    border-color: #2563eb;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.15);
}

.plan-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

/* Success Button Variant (Green/WhatsApp) */
.btn-success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white !important;
    border: none;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
    color: white !important;
}

.pricing-card.featured {
    border-color: #2563eb;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

/* Quality Section Redesign */
.quality-section {
    margin-top: 80px;
    background: linear-gradient(135deg, #1e3a5f 0%, #111827 100%);
    border-radius: 24px;
    padding: 60px;
    color: white;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
}

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

.quality-text h3 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #60a5fa, #34d399);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.quality-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #cbd5e1;
    margin-bottom: 30px;
}

.quality-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.quality-features li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    font-weight: 500;
    color: #e2e8f0;
}

.quality-features li::before {
    content: "\2605";
    position: absolute;
    left: 0;
    color: #fbbf24;
}

.quality-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.quality-image:hover img {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

@media (max-width: 900px) {
    .quality-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .quality-text {
        order: 2;
    }

    .quality-image {
        order: 1;
        margin-bottom: 30px;
    }

    .quality-features {
        display: inline-block;
        text-align: left;
    }

    .quality-image img {
        transform: none;
    }
}

.plan-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1f2937;
}

.plan-price {
    font-size: 48px;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 10px;
}

.plan-price span {
    font-size: 20px;
    color: #6b7280;
}

.plan-features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.plan-features li {
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    color: #4b5563;
}

.plan-features li:before {
    content: "\2713 ";
    color: #10b981;
    font-weight: bold;
    margin-right: 8px;
}

/* Testimonials */
/* Guarantee Section Cinematic Redesign */
.guarantee-section {
    padding: 80px 0;
    background: #0f172a;
    /* Deep cinematic dark blue */
    position: relative;
    overflow: hidden;
    color: white;
}

.guarantee-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(30, 58, 138, 0.3) 0%, transparent 70%);
    z-index: 1;
}

.relative-z {
    position: relative;
    z-index: 10;
}

.guarantee-card {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    text-align: left;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.5);
    animation: fadeInScale 1s ease-out;
}

.guarantee-column {
    display: flex;
    flex-direction: column;
}

.action-col {
    align-items: center;
    text-align: center;
    padding-left: 40px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.guarantee-badge-container {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.guarantee-badge-container svg {
    filter: drop-shadow(0 0 15px rgba(251, 191, 36, 0.3));
}

.badge-label {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fbbf24;
}

.guarantee-main-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.glow-text {
    color: #fbbf24;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

.guarantee-divider {
    width: 60px;
    height: 4px;
    background: #fbbf24;
    margin: 20px 0 25px;
    border-radius: 2px;
}

.guarantee-lead {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #cbd5e1;
}

.guarantee-subtext-muted {
    font-size: 1rem;
    opacity: 0.6;
    font-style: italic;
}

.guarantee-features-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 35px;
    text-align: left;
    width: 100%;
}

.guarantee-features-list span {
    font-size: 1.05rem;
    font-weight: 600;
    color: #f8fafc;
    display: flex;
    align-items: center;
    gap: 12px;
}

.guarantee-features-list i {
    color: #22c55e;
    font-size: 20px;
}

.btn-glitter {
    position: relative;
    overflow: hidden;
    padding: 20px 15px;
    font-size: 1.2rem;
    transform: scale(1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-glitter:hover {
    transform: scale(1.05);
}

.btn-glitter::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 45%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 55%);
    animation: glitter 3s infinite;
}

@keyframes glitter {
    0% {
        transform: translateX(-100%) translateY(-100%);
    }

    100% {
        transform: translateX(100%) translateY(100%);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {
    .guarantee-section {
        padding: 80px 0;
    }

    .guarantee-card {
        padding: 50px 30px;
        border-radius: 30px;
    }

    .guarantee-main-title {
        font-size: 2rem;
    }

    .guarantee-lead {
        font-size: 1.1rem;
    }

    .guarantee-features {
        gap: 15px;
    }
}

/* Devices Section */
.devices-section {
    padding: 100px 0;
    background: #ffffff;
}

.devices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.device-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.device-card:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: 0 40px 100px -20px rgba(30, 58, 138, 0.1);
    border-color: #3b82f6;
}

.device-icon {
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.device-card:hover .device-icon {
    transform: scale(1.1);
    background: #eff6ff;
}

.device-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e3a8a;
    margin: 0;
}

.device-card p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
    font-weight: 500;
}

/* Dark Mode Devices */
body.dark-mode .devices-section {
    background: #0f172a;
}

body.dark-mode .device-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .device-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #3b82f6;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.4);
}

body.dark-mode .device-icon {
    background: rgba(15, 23, 42, 0.6);
}

body.dark-mode .device-card h3 {
    color: #f8fafc;
}

@media (max-width: 768px) {
    .devices-section {
        padding: 60px 0;
    }

    .devices-grid {
        gap: 20px;
        margin-top: 40px;
    }

    .device-card {
        padding: 30px 20px;
    }
}

/* Newsletter Section */
.newsletter-section {
    padding: 100px 0;
    background: #0f172a;
    position: relative;
    overflow: hidden;
    color: white;
}

.newsletter-bg-visual {
    position: absolute;
    top: 50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    z-index: 1;
    transform: translateY(-50%);
}

.newsletter-card {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    gap: 50px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.newsletter-icon {
    font-size: 80px;
    color: #fbbf24;
    opacity: 0.9;
    flex-shrink: 0;
}

.newsletter-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #f8fafc;
}

.newsletter-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #cbd5e1;
    max-width: 600px;
}

.newsletter-form .input-group {
    display: flex;
    gap: 15px;
    max-width: 550px;
}

.newsletter-form input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 18px 25px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s;
    width: 100%;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #2563eb;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.2);
}

.btn-newsletter {
    min-width: 160px;
    padding: 18px 30px;
    border-radius: 12px;
    font-weight: 700;
    position: relative;
}

.newsletter-response {
    margin-top: 15px;
    font-size: 0.95rem;
    font-weight: 600;
}

.newsletter-response.success {
    color: #22c55e;
}

.newsletter-response.error {
    color: #ef4444;
}

.loader {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -10px;
    margin-top: -10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 992px) {
    .newsletter-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
        gap: 30px;
    }

    .newsletter-title {
        font-size: 1.8rem;
    }

    .newsletter-form .input-group {
        flex-direction: column;
        width: 100%;
    }

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

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: #f9fafb;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.testimonial-stars {
    color: #fbbf24;
    margin-bottom: 15px;
}

.testimonial-text {
    color: #4b5563;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: #1f2937;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: #f8fafc;
}

.faq .section-header {
    text-align: center;
}

.faq-list {
    max-width: 850px;
    margin: 50px auto 0;
}

.faq-item {
    margin-bottom: 20px;
    background: white;
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.faq-item.active {
    border-color: #2563eb;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e3a8a;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s;
}

.faq-icon {
    flex-shrink: 0;
    margin-left: 20px;
    transition: transform 0.3s ease;
    color: #3b82f6;
}

.faq-icon.rotate-180 {
    transform: rotate(180deg);
}

.faq-answer {
    color: #4b5563;
    line-height: 1.8;
}

.faq-answer-content {
    padding: 0 30px 25px;
    font-size: 1.05rem;
}

/* Footer */
body>footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 30px;
}

body.woocommerce-checkout footer {
    padding-top: 0;
}

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

.footer-logo img {
    max-width: 140px;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #10b981;
}

.footer-section ul,
.footer-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li,
.footer-nav-links li {
    margin-bottom: 10px;
}

.footer-section a,
.footer-nav-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover,
.footer-nav-links a:hover {
    color: #10b981;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

@media (max-width: 768px) {
    body:not(.home) footer {
        /* margin-top: 40px; */
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }

    .nav-links {
        display: none;
    }

    .dark-mode-toggle {
        display: flex;
        margin-left: auto;
        margin-right: 20px;
    }

    .section-title {
        font-size: 28px;
    }
}

/* Cookie Banner */
.cookie-banner-wrap {
    position: fixed;
    bottom: 30px;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(calc(100% + 36px));
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.cookie-banner-wrap.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-banner-card {
    background: rgb(255 255 255);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 30px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 25px;
    max-width: 800px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    pointer-events: auto;
    color: white;
}

.cookie-icon {
    flex-shrink: 0;
}

.cookie-text h3 {
    font-size: 1.1rem;
    margin: 0 0 5px 0;
    color: #fbbf24;
    font-weight: 700;
}

.cookie-text p {
    font-size: 0.95rem;
    margin: 0;
    opacity: 0.8;
    color: #444242ee;
}

.cookie-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-cookie-link {
    background: none;
    border: none;
    color: #fbbf23;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.btn-cookie-link:hover {
    opacity: 1;
}

.animate-up {
    animation: slideUp 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.animate-down {
    animation: slideDown 0.5s ease-in forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(100px);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .cookie-banner-card {
        flex-direction: column;
        text-align: center;
        padding: 25px;
        gap: 15px;
    }
}

/* Dark Mode Styles */
body.dark-mode {
    background: #1a1a1a;
    color: #e5e7eb;
}

body.dark-mode header:not(.header-transparent) {
    background: #111827;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

body.dark-mode .logo {
    color: #60a5fa;
}

body.dark-mode .nav-links a {
    color: #e5e7eb;
}

body.dark-mode .nav-links a:hover {
    color: #60a5fa;
}

body.dark-mode .dark-mode-toggle {
    background: #374151;
}

body.dark-mode .dark-mode-toggle:hover {
    background: #4b5563;
}

body.dark-mode .trust-badges {
    background: #111827;
}

body.dark-mode .trust-badges p {
    color: #9ca3af;
}

body.dark-mode .badge {
    color: #e5e7eb;
}

body.dark-mode .why-us {
    background: #1a1a1a;
}

body.dark-mode .section-title {
    color: #f3f4f6;
}

body.dark-mode .feature {
    background: #111827;
}

body.dark-mode .feature h3 {
    color: #f3f4f6;
}

body.dark-mode .feature p {
    color: #9ca3af;
}

body.dark-mode .feature-icon {
    background: #1e3a5f;
}

body.dark-mode .channels {
    background: #111827;
}

body.dark-mode .channel-logo {
    background: #1f2937;
    color: #9ca3af;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

body.dark-mode .pricing {
    background: #1a1a1a;
}

body.dark-mode .pricing-card {
    background: #111827;
    border-color: #374151;
}

body.dark-mode .pricing-card:hover {
    border-color: #60a5fa;
    box-shadow: 0 15px 40px rgba(96, 165, 250, 0.2);
}

body.dark-mode .pricing-card.featured {
    background: linear-gradient(135deg, #1e3a5f 0%, #1e40af 100%);
    border-color: #60a5fa;
}

body.dark-mode .plan-name {
    color: #f3f4f6;
}

body.dark-mode .plan-features li {
    color: #9ca3af;
    border-bottom-color: #374151;
}

body.dark-mode .testimonials {
    background: #111827;
}

body.dark-mode .testimonial {
    background: #1f2937;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

body.dark-mode .testimonial-text {
    color: #9ca3af;
}

body.dark-mode .testimonial-author {
    color: #f3f4f6;
}

body.dark-mode .faq {
    background: #0f172a;
}

body.dark-mode .faq-item {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .faq-item.active {
    border-color: #3b82f6;
}

body.dark-mode .faq-question {
    color: #f3f4f6;
}

body.dark-mode .faq-answer {
    color: #9ca3af;
}

/* Cinematic Films Section */
.films {
    padding: 120px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

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

.films-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.films-grid::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.film-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    aspect-ratio: 2/3;
    cursor: pointer;
}

.film-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 30px 60px -12px rgba(30, 58, 138, 0.3);
}

.film-poster {
    width: 100%;
    height: 100%;
    position: relative;
}

.film-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.film-card:hover .film-poster img {
    transform: scale(1.1);
    filter: brightness(0.4) blur(2px);
}

.film-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 70%);
    opacity: 0;
    transition: all 0.4s ease;
    transform: translateY(20px);
}

.film-card:hover .film-overlay {
    opacity: 1;
    transform: translateY(0);
}

.film-info {
    color: white;
}

.film-cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #3b82f6;
    margin-bottom: 8px;
    display: block;
}

.film-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.2;
    color: white !important;
}

.film-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0.8;
}

.film-meta .rating {
    color: #fbbf24;
}

.film-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(30, 58, 138, 0.8);
    backdrop-filter: blur(10px);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.film-badge.premium {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.film-badge.new {
    background: #10b981;
}

.films-footer-cta {
    text-align: center;
    margin-top: 40px;
}

.films-footer-cta p {
    color: #64748b;
    margin-bottom: 25px;
    font-weight: 500;
}

.glass-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 100px;
}

/* Dark Mode Films */
body.dark-mode .films {
    background: #0f172a;
}

body.dark-mode .film-card {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

@media (max-width: 1200px) {
    .films-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .films-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .film-title {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .films-grid {
        display: flex;
        overflow-x: auto;
        padding-bottom: 20px;
        scroll-snap-type: x mandatory;
        gap: 15px;
        -webkit-overflow-scrolling: touch;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .film-card {
        flex: 0 0 160px;
        scroll-snap-align: start;
        aspect-ratio: 2/3;
    }

    .films-grid::-webkit-scrollbar {
        display: none;
    }

    .films {
        padding: 60px 0;
    }

    .film-overlay {
        padding: 15px;
    }
}

@media (max-width: 600px) {
    .films-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .films {
        padding: 80px 0;
    }

    .film-overlay {
        padding: 15px;
    }
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
}

.blog-content {
    padding: 25px;
}

.blog-date {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.blog-excerpt {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-link:hover {
    color: #1e40af;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: #64748b;
    font-size: 1.1rem;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    background: white;
    border-radius: 32px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
}

.contact-info-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    padding: 50px 40px;
    border-radius: 24px;
    color: white;
}

.contact-info-card h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.info-intro {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-methods {
    display: grid;
    gap: 30px;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.method-icon.whatsapp {
    background: rgba(16, 185, 129, 0.2);
}

.method-content h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
    margin-bottom: 5px;
}

.method-content p {
    font-weight: 600;
}

.contact-form-wrapper {
    padding: 20px;
    position: relative;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 20px;
    background: #f1f5f9;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    background: white;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    outline: none;
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #ef4444;
    background: #fef2f2;
}

.error-msg {
    font-size: 12px;
    color: #ef4444;
    font-weight: 500;
}

.btn-block {
    width: 100%;
    margin-top: 20px;
}

.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 20px;
    backdrop-filter: blur(8px);
}

.success-content h3 {
    margin: 20px 0 10px;
    color: #1e293b;
}

@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
        padding: 20px;
    }

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

    .contact-info-card {
        padding: 30px;
    }
}

/* Legal Section */
.legal {
    padding: 80px 0;
    background: white;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
}

.legal-section p,
.legal-section ul {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-section ul {
    padding-left: 20px;
}

.legal-section ul li {
    margin-bottom: 10px;
}

/* Dark Mode - Blog */
body.dark-mode .blog {
    background: #1a1a1a;
}

body.dark-mode .blog-card {
    background: #111827;
}

body.dark-mode .blog-title {
    color: #f3f4f6;
}

body.dark-mode .blog-excerpt {
    color: #9ca3af;
}

body.dark-mode .blog-link {
    color: #60a5fa;
}

/* Dark Mode - Contact */
body.dark-mode .contact {
    background: #0f172a;
}

body.dark-mode .contact-container {
    background: #1e293b;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
}

body.dark-mode .contact-info-card {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
}

body.dark-mode .form-group label {
    color: #cbd5e1;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea,
body.dark-mode .form-group select {
    background: #0f172a;
    color: white;
    border-color: #334155;
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group textarea:focus,
body.dark-mode .form-group select:focus {
    border-color: #3b82f6;
    background: #1e293b;
}

body.dark-mode .form-group input.error {
    background: #450a0a;
    border-color: #991b1b;
}

body.dark-mode .form-success-overlay {
    background: rgba(30, 41, 59, 0.95);
}

body.dark-mode .success-content h3 {
    color: white;
}

body.dark-mode .section-subtitle {
    color: #94a3b8;
}

/* Dark Mode - Legal */
body.dark-mode .legal {
    background: #1a1a1a;
}

body.dark-mode .legal-section h3 {
    color: #f3f4f6;
}

body.dark-mode .legal-section p,
body.dark-mode .legal-section ul {
    color: #9ca3af;
}

/* Home Slider Styles - Premium Design */
.home-slider {
    position: relative;
    height: 85vh;
    /* Adaptable height */
    min-height: 500px;
    max-height: 800px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: kenBurns 20s infinite alternate;
}

@keyframes kenBurns {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.6) 0%, rgba(30, 58, 138, 0.3) 100%);
    backdrop-filter: blur(2px);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 20px;
    margin-top: -40px;
    /* Slight offset to center visually */
}

.slide-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    letter-spacing: -2px;
    line-height: 1.1;
    background: linear-gradient(to right, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-cta {
    font-size: 1.1rem;
    padding: 18px 45px;
    display: inline-block;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    text-decoration: none;
    border: none;
}

.slide-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(251, 191, 36, 0.6);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 60;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.15);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.slider-nav.prev {
    left: 40px;
}

.slider-nav.next {
    right: 40px;
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 60;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px 20px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dot.active {
    background: #fbbf24;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.6);
}

@media (max-width: 768px) {
    .home-slider {
        height: 100vh;
        max-height: 600px;
    }

    .slide-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .slide-subtitle {
        font-size: 1.2rem;
    }

    .slider-nav {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .slider-nav.prev {
        left: 10px;
    }

    .slider-nav.next {
        right: 10px;
    }
}

/* Alpine.js Utility Classes for Transitions */
.opacity-0 {
    opacity: 0;
}

.opacity-100 {
    opacity: 1;
}

.transform {
    transform: var(--tw-transform, translate(0, 0) scale(1));
}

.-translate-y-8 {
    --tw-transform: translateY(-2rem);
    transform: var(--tw-transform);
}

.translate-y-0 {
    --tw-transform: translateY(0);
    transform: var(--tw-transform);
}

.translate-y-8 {
    --tw-transform: translateY(2rem);
    transform: var(--tw-transform);
}

.translate-y-12 {
    --tw-transform: translateY(3rem);
    transform: var(--tw-transform);
}

.scale-90 {
    --tw-transform: scale(0.9);
    transform: var(--tw-transform);
}

.scale-95 {
    --tw-transform: scale(0.95);
    transform: var(--tw-transform);
}

.scale-100 {
    --tw-transform: scale(1);
    transform: var(--tw-transform);
}

.scale-105 {
    --tw-transform: scale(1.05);
    transform: var(--tw-transform);
}

.transition {
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.duration-500 {
    transition-duration: 500ms;
}

.duration-700 {
    transition-duration: 700ms;
}

.duration-1000 {
    transition-duration: 1000ms;
}

.ease-out {
    transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.ease-in {
    transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-500 {
    transition-delay: 500ms;
}

.delay-700 {
    transition-delay: 700ms;
}

/* Utility for slider stacking */
.z-50 {
    z-index: 50;
}

/* Header Styles Update */
body>header {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    padding: 10px 0;
    /* Slightly more compact when sticky */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Transparent Header on Homepage */
header.header-transparent {
    background: transparent;
    border-bottom: none;
    box-shadow: none;
    position: fixed;
    /* Keep it fixed on top of slider */
    backdrop-filter: none;
    padding: 10px 0;
}

header.header-transparent .logo,
header.header-transparent .nav-links a {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Scrolled State (For both home and internal) */
header.header-scrolled {
    background: rgb(255 255 255) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header.header-scrolled .logo,
header.header-scrolled .nav-links a {
    color: #1e3a8a !important;
    text-shadow: none !important;
}

/* Dark Mode Scrolled Header */
body.dark-mode header.header-scrolled {
    background: rgba(15, 23, 42, 0.85) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-mode header.header-scrolled .logo,
body.dark-mode header.header-scrolled .nav-links a {
    color: white !important;
}

header.header-transparent .logo:hover,
header.header-transparent .nav-links a:hover {
    color: #fbbf24 !important;
}

/* Mobile Menu Fixes */
@media screen and (max-width: 768px) {

    .logo img {
        max-width: 120px;
    }

    .site-navigation {
        flex-wrap: wrap;
        position: relative;
    }

    .nav-links {
        display: none;
        margin: 0;
    }

    .site-navigation.toggled .nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        background: white;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        box-shadow: 0 23px 30px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 12px 12px;
        padding: 20px;
        z-index: 1000;
        animation: slideDown 0.3s ease;
    }

    /* Dark Mode Mobile Menu */
    body.dark-mode .site-navigation.toggled .nav-links {
        background: #1f2937;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    header.header-transparent .site-navigation.toggled .nav-links a {
        color: #2c3e50;
        text-shadow: none;
    }

    body.dark-mode header.header-transparent .site-navigation.toggled .nav-links a {
        color: #e5e7eb;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Admin Bar Compatibility */
body.admin-bar>header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar>header {
        top: 46px;
    }
}

/* Header Controls Layout */
.header-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    order: 3;
}

/* Mobile Menu Button Refinement */
.menu-toggle {
    background: transparent;
    color: inherit;
    /* Inherit color from header */
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Subtle border */
}

header.header-transparent:not(.header-scrolled) .menu-toggle {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

header:not(.header-transparent) .menu-toggle {
    color: #2c3e50;
    border-color: rgba(0, 0, 0, 0.1);
}

body.dark-mode header:not(.header-transparent) .menu-toggle {
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Enable Slider Arrows on Mobile */
@media (max-width: 768px) {
    .slider-nav {
        display: flex !important;
        opacity: 0.8;
        width: 40px;
        height: 40px;
    }

    /* Ensure Header Controls stick to the right */
    nav {
        justify-content: space-between;
    }

    .nav-links {
        order: 3;
    }
}

/* 404 Error Page Styles */
.error-404-container {
    min-height: calc(100vh - 400px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.error-404-container::before,
.error-404-container::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0) 70%);
    z-index: 0;
    animation: blobMove 15s infinite alternate ease-in-out;
}

.error-404-container::before {
    top: -100px;
    right: -100px;
}

.error-404-container::after {
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

@keyframes blobMove {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(50px, 50px) scale(1.1);
    }
}

.error-content-glass {
    max-width: none;
    width: 80vw;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 40px;
    padding: 80px 40px;
    text-align: center;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
    animation: fadeInScale 0.8s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.error-code {
    font-size: 250px;
    line-height: 1;
    font-weight: 900;
    margin: 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    user-select: none;
}

.error-404 h2 {
    font-size: 3rem;
    color: #1e293b;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -1px;
}

.error-404 p {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.error-illustration {
    margin: 40px auto;
    max-width: 400px;
}

.error-illustration img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: floating 4s ease-in-out infinite;
}

/* Trending topics */
.trending-topics {
    margin-bottom: 50px;
}

.trending-topics h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #94a3b8;
    margin-bottom: 15px;
}

.trending-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.trending-links a {
    padding: 8px 18px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
    transition: all 0.3s;
}

.trending-links a:hover {
    background: #1e3a8a;
    color: white;
    border-color: #1e3a8a;
    transform: translateY(-2px);
}

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

.error-illustration {
    margin-top: 0;
    color: #3b82f6;
    opacity: 0.5;
}

.floating-tv {
    animation: floating 4s ease-in-out infinite;
}

/* Dark Mode 404 */
body.dark-mode .error-404-container {
    background: #0f172a;
}

body.dark-mode .error-404-container::before,
body.dark-mode .error-404-container::after {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0) 70%);
}

body.dark-mode .error-content-glass {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.5);
}

body.dark-mode .error-404 h2 {
    color: white;
}

body.dark-mode .error-404 p {
    color: #94a3b8;
}

body.dark-mode .error-code {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    opacity: 0.05;
}

body.dark-mode .error-search-form input[type="search"] {
    background: #1e293b;
    border-color: #334155;
    color: white;
}

body.dark-mode .trending-links a {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}

body.dark-mode .trending-links a:hover {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

@media (max-width: 768px) {
    .error-content-glass {
        padding: 40px 30px;
        border-radius: 30px;
    }

    .error-404 h2 {
        font-size: 2rem;
    }

    .error-code {
        font-size: 150px;
    }

    .error-search-form form {
        flex-direction: column;
    }

    .error-actions {
        flex-direction: column;
    }
}

/* Blog Section */
.blog {
    padding: 120px 0;
    background: white;
}

body.dark-mode .blog {
    background: #0f172a;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.blog-card {
    background: #f8fafc;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

body.dark-mode .blog-card {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.03);
}

.blog-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px -15px rgba(30, 58, 138, 0.15);
    background: white;
    border-color: #3b82f6;
}

body.dark-mode .blog-card:hover {
    background: #232f3e;
}

.blog-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #e2e8f0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.dark-mode .blog-card-image {
    background: #0f172a;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #1d4ed8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 40px;
    border-radius: 15px;
}

body.dark-mode .placeholder-image {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.placeholder-logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    opacity: 0.85;
    transition: all 0.5s ease;
}

.blog-card:hover .placeholder-logo {
    transform: scale(1.1);
    opacity: 1;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-content {
    padding: 25px 0 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-category {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #3b82f6;
    margin-bottom: 15px;
}

.blog-category a {
    color: inherit;
    text-decoration: none;
}

.blog-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #1e3a8a;
}

body.dark-mode .blog-card h3 {
    color: #f3f4f6;
}

.blog .section-header {
    text-align: center;
}

.blog-card h3 a {
    color: inherit;
    text-decoration: none;
    background: linear-gradient(to right, #3b82f6, #3b82f6) no-repeat 0 100%;
    background-size: 0 2px;
    transition: background-size 0.4s;
}

.blog-card:hover h3 a {
    background-size: 100% 2px;
}

.blog-card p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 30px;
}

body.dark-mode .blog-card p {
    color: #94a3b8;
}

.blog-footer {
    margin-top: auto;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-mode .blog-footer {
    border-top-color: rgba(255, 255, 255, 0.05);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: #2563eb;
    text-decoration: none;
    transition: gap 0.3s;
}

.read-more:hover {
    gap: 12px;
}

.blog-actions {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

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

/* Blog Archive Page */
.archive-main {
    padding-bottom: 120px;
}

.archive-header {
    padding: 180px 0 120px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%),
        url('../iptvquebec/images/archive-bg.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

body.dark-mode .archive-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.archive-header .section-title {
    color: white;
}

.archive-header .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.blog-archive-container {
    margin-top: 50px;
}

/* Pagination */
.pagination {
    margin-top: 80px;
    display: flex;
    justify-content: center;
}

.pagination .nav-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: white;
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 700;
    border: 1.5px solid rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
}

body.dark-mode .pagination .page-numbers {
    background: #1e293b;
    color: #f3f4f6;
    border-color: rgba(255, 255, 255, 0.05);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
    width: auto;
    padding: 0 25px;
}

@media (max-width: 768px) {
    .archive-header {
        padding: 140px 0 60px;
    }

    .pagination .page-numbers {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* Single Post Styles */
.single-post-main {}

.post-header {
    padding: 180px 0 120px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%),
        url('https://images.unsplash.com/photo-1594909122845-11baa439b7bf?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: white;
    position: relative;
    /* Ensure not sticky */
    margin-bottom: 40px;
}


body.dark-mode .post-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.post-header .post-category a {
    color: #fbbf24;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.9rem;
    text-decoration: none;
}

.post-title {
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    font-size: 3rem;
    max-width: 80vw;
    margin: 0 auto;
    margin-bottom: 20px;
}

.post-meta {
    font-size: 1.1rem;
    opacity: 0.8;
}


body.dark-mode .post-container {
    background: #1e293b;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
}

.post-featured-image {
    margin: -80px -80px 60px;
    border-radius: 40px 40px 0 0;
    overflow: hidden;
    aspect-ratio: 21/9;
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Article Typography */
.post-content {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #334155;
}

body.dark-mode .post-content {
    color: #cbd5e1;
}

.post-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1e3a8a;
    margin: 60px 0 30px;
    letter-spacing: -1px;
}

body.dark-mode .post-content h2 {
    color: white;
}

.post-content p {
    margin-bottom: 30px;
}

.post-content ul,
.post-content ol {
    margin-bottom: 40px;
    padding-left: 20px;
}

.post-content li {
    margin-bottom: 15px;
}

/* Post Footer & Navigation */
.post-footer {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-mode .post-footer {
    border-top-color: rgba(255, 255, 255, 0.05);
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 50px;
}

.post-navigation a {
    font-weight: 800;
    color: #2563eb;
    text-decoration: none;
    transition: all 0.3s;
}

.post-navigation a:hover {
    color: #1e3a8a;
}

.post-cta {
    background: #f8fafc;
    border-radius: 30px;
    padding: 60px;
    text-align: center;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

body.dark-mode .post-cta {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.05);
}

.post-cta h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 15px;
}

body.dark-mode .post-cta h3 {
    color: white;
}

@media (max-width: 768px) {
    .post-header {
        padding: 60px 0 80px;
    }

    .post-title {
        font-size: 2.5rem;
    }

    .post-container {
        border-radius: 30px;
    }

    .post-featured-image {
        margin: -40px -25px 40px;
        border-radius: 30px 30px 0 0;
    }

    .post-content {
        font-size: 1.1rem;
    }

    .post-navigation {
        /* flex-direction: column; */
        /* text-align: center; */
    }
}

.page-default {
    padding: 40px 0;
}

.page-contact .contact {
    padding-top: 0;
}

.page-contact .contact-header {
    margin-bottom: 20px;
}

.page-contact .contact-header {
    display: none;
}

.page-contact .section-title {
    margin-bottom: 20px;
}