/* ===================================
   RESET & BASIC SETUP
   =================================== */
:root {
    --primary-green: #1ed760;
    --dark-green-bg: #084428;
    --dark-bg: #000000;
    --card-bg: #1A1D21;
    --card-bg-darker: #121417;
    --text-white: #FFFFFF;
    --text-gray: #b3b3b3;
    --red-disabled: #ff4d4d;
    --font-main: 'Poppins', sans-serif;
    --font-price: 'Playfair Display', serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-main); background-color: var(--dark-bg); color: var(--text-white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
.section-title { text-align: center; font-size: 2.8rem; font-weight: 800; margin-bottom: 50px; }
.section-title span { color: var(--primary-green); }

/* ===================================
   HEADER & NAVIGATION (SHARED)
   =================================== */
.navbar {
    background-color: var(--dark-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 6%;
    position: relative;
    z-index: 1000;
}
.logo img { height: 35px; width: auto; }
.nav-links { display: flex; gap: 35px; }
.nav-links a { font-weight: 500; transition: color 0.3s ease; }
.nav-links a:hover { color: var(--primary-green); }
.cta-button { background-color: var(--primary-green); color: var(--dark-bg); padding: 10px 25px; border-radius: 50px; font-weight: 700; transition: background-color 0.3s ease; }
.cta-button:hover { background-color: #ffffff; }
#menu-icon { display: none; font-size: 2rem; cursor: pointer; }

/* ===================================
   SHARED BUTTON
   =================================== */
.cta-button-main {
    background-color: var(--primary-green);
    color: var(--dark-bg);
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.cta-button-main:hover { background-color: #ffffff; transform: scale(1.05); }

/* ===================================
   STYLES FOR INDEX.HTML (Hero, Features, Pricing, etc.)
   =================================== */
.hero {
    min-height: 90vh; /* Use min-height for better adaptability */
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url("./images/cover-background.png");
    background-size: cover;
    background-position: center center;
    overflow: hidden;
}
.hero-content { z-index: 5; max-width: 850px; }
.hero h1 { font-size: 4rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; letter-spacing: -1.5px; }
.hero h1 .highlight { color: var(--primary-green); }
.hero .description { font-size: 1.3rem; color: var(--text-gray); margin-bottom: 40px; }

.hero-channels-carousel { position: absolute; bottom: 40px; width: 85%; max-width: 1000px; background-color: rgba(26, 29, 33, 0.7); backdrop-filter: blur(5px); border-radius: 50px; padding: 15px 60px; }
.channels-swiper { width: 100%; height: 100%; }
.channel-slide { display: flex; justify-content: center; align-items: center; text-align: center; }
.channel-slide img { height: 45px; width: auto; max-width: 130px; transition: transform 0.3s ease; filter: none; opacity: 0.9; }
.channel-slide:hover img { transform: scale(1.1); opacity: 1; }

.movies-section { padding: 50px 0 100px 0; overflow: hidden; }
.swiper { width: 100%; height: auto; } /* General swiper style */
.swiper-slide { width: 250px; height: auto; border-radius: 10px; overflow: hidden; transition: transform 0.4s ease; } /* For movie swiper */
.swiper-slide:hover { transform: scale(1.05); }
.swiper-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.features-section { padding: 100px 20px; }
.features-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.feature-card { background-color: var(--card-bg); padding: 30px; border-radius: 12px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); }
.feature-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.feature-header i { font-size: 2.5rem; color: var(--primary-green); }
.feature-header h3 { font-size: 1.3rem; font-weight: 700; }
.feature-card p { font-size: 0.95rem; color: var(--text-gray); line-height: 1.6; }

.pricing-section { padding: 100px 20px; }
.pricing-header { text-align: center; margin-bottom: 40px; }
.pricing-header h2 { font-size: 3.5rem; font-weight: 800; margin-bottom: 15px; }
.pricing-header h2 .highlight-green { color: var(--primary-green); }
.pricing-header p { font-size: 1.2rem; color: var(--text-gray); max-width: 600px; margin: 0 auto; }
.price-toggler { display: flex; justify-content: center; margin-bottom: 50px; background-color: var(--card-bg); border-radius: 50px; width: max-content; margin-left: auto; margin-right: auto; padding: 5px; }
.toggler-btn { border: none; background-color: transparent; color: var(--text-gray); padding: 12px 25px; border-radius: 50px; cursor: pointer; font-size: 1rem; font-weight: 700; transition: all 0.3s ease; }
.toggler-btn.active { background-color: var(--text-white); color: var(--dark-bg); }
.discount-badge { margin-left: 8px; color: #c979ff; font-weight: 700; }
.pricing-container { max-width: 1100px; margin: 0 auto; } /* Container for price grids */
.price-grid { display: none; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.price-grid.active { display: grid; }
.price-card { background-color: var(--card-bg); border: 2px solid #333; padding: 40px 30px 30px 30px; border-radius: 16px; display: flex; flex-direction: column; text-align: center; position: relative; transition: all 0.3s ease; }
.price-card:hover { transform: translateY(-10px); border-color: var(--primary-green); }
.price-card.popular { border-color: var(--primary-green); }
.popular-badge { position: absolute; top: 0; left: 50%; transform: translateX(-50%); background-color: var(--primary-green); color: var(--dark-bg); padding: 8px 30px; clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%); font-size: 0.9rem; font-weight: 700; }
.plan-duration { font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; margin-top: 20px; }
.plan-price { font-family: var(--font-price); font-size: 3.8rem; font-weight: 800; margin-bottom: 25px; }
.buy-button { background-color: var(--primary-green); color: var(--dark-bg); padding: 15px; border-radius: 8px; font-weight: 700; margin-bottom: 30px; transition: background-color 0.3s ease, color 0.3s ease; display: block; width: 100%; }
.buy-button:hover { background-color: #ffffff; }
.price-card.popular .buy-button { background-color: var(--text-white); color: var(--dark-bg); }
.price-card.popular .buy-button:hover { background-color: var(--primary-green); color: var(--dark-bg); }
.features-list { list-style: none; text-align: left; margin-top: auto; border-top: 1px solid #333; padding-top: 30px; padding-left: 0; }
.features-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; font-size: 0.95rem; }
.features-list i { font-size: 1.5rem; color: var(--primary-green); }
.features-list li.disabled { color: var(--text-gray); }
.features-list li.disabled i { color: var(--red-disabled); }

.how-it-works-section { padding: 100px 20px; }
.steps-container { max-width: 1100px; margin: 0 auto; background-color: var(--dark-green-bg); border-radius: 20px; padding: 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step-card { text-align: center; }
.step-header { display: flex; justify-content: center; align-items: center; gap: 15px; margin-bottom: 20px; }
.step-number { font-size: 2.5rem; font-weight: 800; }
.step-header i { font-size: 3rem; color: var(--primary-green); }
.step-card h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 15px; }
.step-card p { font-size: 1rem; color: var(--text-gray); line-height: 1.6; }

.testimonials-section { padding: 100px 20px; }
.testimonials-header { text-align: center; max-width: 800px; margin: 0 auto 60px auto; }
.section-subtitle { font-size: 1.1rem; color: var(--text-gray); line-height: 1.7; margin-top: -30px; margin-bottom: 30px; }
.satisfaction-banner { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; background-color: var(--card-bg); border-radius: 50px; color: var(--primary-green); font-weight: 700; font-size: 0.9rem; }
.satisfaction-banner i { font-size: 1.5rem; }
.testimonials-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testimonial-card { background-color: var(--card-bg); padding: 30px; border-radius: 16px; display: flex; flex-direction: column; }
.testimonial-author { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.testimonial-author img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary-green); }
.author-info h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: 2px; }
.author-info p { font-size: 0.9rem; color: var(--text-gray); }
.testimonial-rating { margin-bottom: 20px; color: #ffc107; font-size: 1.2rem; }
.testimonial-text { font-size: 1rem; color: var(--text-gray); line-height: 1.7; font-style: italic; border-left: 3px solid var(--primary-green); padding-left: 15px; }

/* Styles for .devices-grid (likely on index.html or other pages) */
.compatible-devices-section { padding: 100px 20px; }
.devices-grid {
    max-width: 650px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.device-card { /* This is the original .device-card style */
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}
.device-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}
.device-card img {
    height: 50px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}
.device-card p {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-green);
}

.faq-section { padding: 100px 20px; }
.faq-container { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 60fr 40fr; gap: 40px; align-items: flex-start; }
.faq-accordion { display: flex; flex-direction: column; gap: 15px; }
.faq-item { background-color: var(--card-bg); border-radius: 12px; overflow: hidden; }
.faq-question { width: 100%; background-color: transparent; border: none; padding: 20px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; text-align: left; }
.faq-question span { font-size: 1.1rem; font-weight: 700; color: var(--text-white); }
.faq-question i { font-size: 1.5rem; color: var(--text-gray); transition: transform 0.3s ease; }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--primary-green); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out, padding 0.4s ease-out; }
.faq-answer p { padding: 0 20px 20px 20px; color: var(--text-gray); line-height: 1.7; font-size: 1rem; }
.faq-item.active .faq-answer { max-height: 200px; } /* Adjust as needed */
.faq-contact-card { background-color: var(--card-bg); border-radius: 12px; padding: 40px 30px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100%; }
.faq-contact-card > .bx.bxl-whatsapp { font-size: 6rem; color: var(--text-white); margin-bottom: 15px; }
.faq-contact-card h4 { font-size: 1.3rem; margin-bottom: 5px; }
.faq-contact-card p { color: var(--text-gray); margin-bottom: 25px; }
.whatsapp-button { display: inline-flex; align-items: center; gap: 10px; padding: 12px 25px; border: 2px solid var(--primary-green); border-radius: 8px; color: var(--primary-green); font-weight: 700; transition: all 0.3s ease; }
.whatsapp-button:hover { background-color: var(--primary-green); color: var(--dark-bg); }
.whatsapp-button i { font-size: 1.5rem; }

/* ===================================
   STYLES FOR STATIC & LANDING PAGES (test-iptv.html, contact.html, liste-chaines.html etc.)
   =================================== */
.page-header {
    padding: 100px 20px 80px 20px;
    text-align: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("./images/cover-background.png");
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #222;
    min-height: 50vh; /* Ensure some minimum height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.page-header h1 { font-size: 3rem; font-weight: 800; line-height: 1.3; }
.page-header p { font-size: 1.2rem; color: var(--text-gray); max-width: 600px; margin: 15px auto 0 auto; }

.experience-container { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 60px; }
.experience-text { flex-basis: 50%; }
.experience-image { flex-basis: 50%; }
.experience-image img { max-width: 100%; height: auto; display: block; border-radius: 12px; } /* Added border-radius */

.page-container {
    max-width: 1100px; /* Default max-width */
    margin: -50px auto 80px auto;
    background-color: var(--card-bg);
    padding: 50px;
    border-radius: 16px;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 1px solid #2a2a2a;
}
/* Specific max-width for liste-chaines.html if its HTML has a direct style attribute,
   otherwise, use a more specific selector or a dedicated class.
   If liste-chaines.html uses <main class="page-container" style="max-width: 1200px;">
   that inline style will override this. For consistency, manage in CSS: */
body:has(#country-list) .page-container { /* Targets .page-container only on pages with #country-list */
    max-width: 1200px;
}


.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; }
.contact-form h2, .contact-details h2 { font-size: 1.8rem; margin-bottom: 20px; }
.contact-info-card { background-color: #0d0f11; padding: 20px; border-radius: 12px; margin-bottom: 15px; display: flex; align-items: center; gap: 20px; transition: transform 0.3s ease; }
.contact-info-card:hover { transform: translateY(-3px); }
.contact-info-card i { font-size: 2rem; color: var(--primary-green); }
.contact-info-card p { margin: 0; line-height: 1.5; color: var(--text-gray); }
.contact-info-card span { font-weight: 700; color: var(--text-white); display: block; font-size: 1rem; margin-bottom: 3px; }

.test-page-container { max-width: 1100px; margin: 40px auto 80px auto; } /* Wrapper for test page content */
.content-section { padding: 40px 20px; } /* General content section */
.content-section h2 { font-size: 2.2rem; margin-bottom: 20px; text-align: center; }
.content-section p { color: var(--text-gray); line-height: 1.8; font-size: 1.1rem; max-width: 900px; margin-left: auto; margin-right: auto; text-align: center; }
/* Specific styling for content-section within .page-container on liste-chaines.html */
.page-container .content-section {
    padding: 0 0 30px 0; /* Adjust padding as needed, remove side padding if .page-container handles it */
}
.page-container .content-section h2 {
    font-size: 2rem; /* Slightly smaller for this context */
    margin-bottom: 15px;
}
.page-container .content-section p {
    font-size: 1rem;
    max-width: 800px; /* Adjust as needed */
}


.trust-bar { display: flex; justify-content: center; gap: 40px; padding: 20px; background-color: var(--card-bg-darker); }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 500; color: var(--text-gray); }
.trust-item i { font-size: 1.5rem; color: var(--primary-green); }

.separator { height: 1px; background: #2a2a2a; margin: 60px auto; width: 80%; }

.test-form-section { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 40px; background-color: var(--card-bg); border-radius: 16px; border: 1px solid #2a2a2a; }
.form-content h2 { text-align: left; margin-bottom: 15px; font-size: 2rem; }
.form-content p { color: var(--text-gray); margin-bottom: 30px; line-height: 1.6; text-align: left; max-width: none; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px; border-radius: 8px; border: 1px solid #333; background-color: var(--card-bg-darker); color: var(--text-white); font-family: var(--font-main); font-size: 1rem; transition: border-color 0.3s ease; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-green); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right .7em top 50%; background-size: .85em auto; }
.features-list-alt { list-style: none; padding: 0; } /* For test page feature list */
.features-list-alt li { display: flex; align-items: center; gap: 15px; font-size: 1.1rem; margin-bottom: 15px; padding: 15px; background-color: var(--card-bg-darker); border-radius: 8px; }
.features-list-alt li i { font-size: 1.5rem; color: var(--primary-green); }
.form-success { background-color: #084428; border: 1px solid var(--primary-green); color: var(--text-white); padding: 30px; border-radius: 8px; text-align: center; }
.form-success i { font-size: 3rem; color: var(--primary-green); margin-bottom: 15px; display: block; }
.form-success h4 { font-size: 1.5rem; margin-bottom: 10px; }
.form-success p { color: var(--text-gray); line-height: 1.6; }

/* Styles for Device List on Test IPTV Page (test-iptv.html) - GRID CARD LAYOUT */
.device-grid-alt {
    max-width: 650px;
    margin: 30px auto 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.device-card-alt {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}
.device-card-alt:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}
.device-card-alt img {
    height: 50px;
    width: auto;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}
.device-card-alt span {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-green);
}

.faq-section-alt { padding-top: 20px; } /* For test page FAQ */
.faq-section-alt h2 { font-size: 2.2rem; text-align: center; margin-bottom: 40px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; } /* For test page FAQ items */
.faq-item-alt { background-color: var(--card-bg); padding: 25px; border-radius: 12px; border: 1px solid #2a2a2a; }
.faq-item-alt h4 { font-size: 1.2rem; margin-bottom: 10px; color: var(--primary-green); }
.faq-item-alt p { color: var(--text-gray); line-height: 1.7; }

/* === STYLES FOR liste-chaines.html === */
.search-bar-mock {
    margin: 30px auto 0 auto;
    max-width: 700px; /* قم بزيادة هذه القيمة حسب الحاجة، مثلاً 600px, 700px, etc. */
    width: 100%; /* اجعل العرض يأخذ المساحة المتاحة حتى يصل إلى max-width */
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 5px;
    display: flex;
    align-items: center;
    border: 1px solid #444;
}
.search-bar-mock i {
    font-size: 1.5rem;
    padding: 0 15px;
    color: var(--text-gray);
}
.search-bar-mock input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-white);
    font-size: 1.1rem;
    padding: 10px 0;
}
.search-bar-mock input::placeholder {
    color: var(--text-gray);

}

.country-list-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Default 4 columns */
    gap: 20px;
    margin-top: 30px; /* Space from the paragraph above */
}
.country-item {
    background-color: var(--card-bg-darker);
    padding: 12px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text-white);
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: default; /* Remove pointer if not clickable */
}
.country-item:hover {
    background-color: var(--primary-green);
    color: var(--dark-bg);
}
.country-item img {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

.cta-section { /* Styles for CTA section within liste-chaines.html or other pages */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    /* background-color: var(--card-bg); Remove if inside .page-container */
    padding: 0px; /* Remove if inside .page-container and .page-container has padding */
    /* border-radius: 16px; Remove if inside .page-container */
    margin-top: 40px; /* Add space if needed */
}
.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: left;
}
.cta-content p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 30px;
    text-align: left;
    max-width: none;
}
.cta-image img {
    max-width: 100%;
    border-radius: 12px;
}


/* ===================================
   STYLES FOR 404 ERROR PAGE
   =================================== */
.error-page-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: calc(100vh - 75px - 280px); /* Adjust 75px (header) and 280px (footer) if needed */
    padding: 50px 20px;
    color: var(--text-white);
}
.error-page-container h1 { /* For "404" number */
    font-size: 10rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 0px;
    line-height: 1;
}
.error-page-container h2 { /* For "Oups! Page non trouvée." */
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-white);
    margin-top: 10px;
    margin-bottom: 25px;
}
.error-page-container p { /* For descriptive text */
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 35px;
    line-height: 1.7;
}
/* .cta-button-main for 404 page should inherit global styles */


/* ===================================
   FOOTER (SHARED)
   =================================== */
.site-footer { background-color: var(--card-bg-darker); color: var(--text-gray); padding: 80px 20px 0 20px; margin-top: 0; border-top: 1px solid #2a2a2a; }
.footer-main { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-column .logo { margin-bottom: 20px; }
.footer-column .logo img { height: 40px; width: auto; }
.footer-about-text { line-height: 1.7; font-size: 0.95rem; }
.footer-column h4 { color: var(--text-white); font-size: 1.2rem; font-weight: 700; margin-bottom: 25px; }
.footer-links { list-style: none; padding:0; }
.footer-links li { margin-bottom: 15px; }
.footer-links a:hover { color: var(--primary-green); }
.footer-contact { list-style: none; padding:0; }
.footer-contact li { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.footer-contact i { font-size: 1.5rem; color: var(--primary-green); }
.footer-bottom { margin-top: 60px; border-top: 1px solid #333; padding: 25px 0; max-width: 1200px; margin-left: auto; margin-right: auto; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { margin: 0; } /* Ensure no extra margin on copyright */
.footer-bottom img { height: 25px; }

/* ===================================
   RESPONSIVE DESIGN (SHARED)
   =================================== */
@media (max-width: 992px) {
    .footer-main, .price-grid, .testimonials-grid, .features-grid, .steps-container, .faq-container, .test-form-section, .faq-grid, .contact-layout, .experience-container, .cta-section { grid-template-columns: 1fr; }
    .features-grid, .devices-grid, .country-list-grid, .device-grid-alt, .faq-grid {grid-template-columns: repeat(2, 1fr);} /* .faq-grid for test page, .country-list-grid now 2 cols */
    .footer-main { text-align: center; }
    .footer-contact li, .footer-column .logo { justify-content: center; }
    .page-header h1 { font-size: 2.5rem; }
    .page-header p { font-size: 1.1rem; }
    .error-page-container h1 { font-size: 8rem; }
    .error-page-container h2 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background-color: var(--card-bg); flex-direction: column; align-items: center; padding: 20px 0; gap: 20px; }
    .nav-links.active { display: flex; }
    .cta-button { display: none; } /* Hide main CTA button in nav for mobile */
    #menu-icon { display: block; }

    .hero h1, .section-title, .pricing-header h2, .page-header h1, .content-section h2, .faq-section-alt h2 { font-size: 2rem; }
    .hero .description, .feature-card p, .step-card p, .faq-answer p, .pricing-header p, .content-section p, .faq-item-alt p { font-size: 1rem; }
    .page-container .content-section h2 { font-size: 1.8rem; } /* Specific for liste-chaines context */
    .page-container .content-section p { font-size: 0.95rem; }


    .experience-container, .footer-bottom { flex-direction: column; text-align: center; gap: 20px; }
    .experience-text { text-align: center; }
    .experience-text .section-title { text-align: center; font-size: 2rem !important; }
    .experience-cta {font-size: 1rem !important; padding: 15px 30px !important;}

    .features-grid, .devices-grid, .price-grid, .testimonials-grid, .steps-container, .country-list-grid, .device-grid-alt, .faq-grid, .faq-container { grid-template-columns: 1fr;}
    /* .country-list-grid above will be 1 column. If you wanted 2 columns for country list specifically at this breakpoint: */
    /* @media (max-width: 768px) { .country-list-grid { grid-template-columns: repeat(2, 1fr); } } */

    .step-header { flex-direction: column; gap: 5px; }

    .page-container { padding: 30px 20px; margin: -30px 10px 40px 10px; }
    .test-page-container { margin: 20px auto 40px auto; }
    .trust-bar { flex-direction: column; gap: 15px; align-items: center; }
    .test-form-section, .cta-section { padding: 30px 20px; }
    .cta-content h2, .form-content h2 {text-align: center;}

    .toggler-btn { padding: 10px 15px; font-size: 0.9rem; }
    .discount-badge { margin-left: 5px; }

    .error-page-container h1 { font-size: 6rem; }
    .error-page-container h2 { font-size: 1.8rem; }
    .error-page-container p { font-size: 0.95rem; }
    .error-page-container { min-height: calc(100vh - 65px - 250px); } /* Adjust for mobile header/footer */
}

@media (max-width: 480px) {
    /* .country-list-grid is already 1 column due to the 768px rule.
       If you want a different behavior for very small screens, specify here. */
    .hero h1 { font-size: 1.8rem; }
    .hero .description { font-size: 0.9rem; }
    .hero-channels-carousel { padding: 10px 30px; }
    .channel-slide img { height: 35px; }
    .buy-button { font-size: 0.9rem; padding: 12px; }
    .plan-price { font-size: 2.8rem; }
    .cta-button-main { font-size: 1rem; padding: 12px 30px; }
    .error-page-container h1 { font-size: 5rem; }
    .error-page-container h2 { font-size: 1.5rem; }
    .page-header h1 { font-size: 1.8rem; } /* For static pages */
    .page-header p { font-size: 0.9rem; }
    .search-bar-mock { max-width: 90%; }
    .country-item { font-size: 0.9rem; padding: 10px 12px; }
    .country-item img { width: 18px; }

}