:root {
    /* --- Primary & Secondary --- */
    --primary-color: #0D47A1;      /* Deeper, richer blue (was #0A4D68) */
    --secondary-color: #00796B;    /* Teal, good for secondary actions (was #088395) */
    --accent-color: #00E676;       /* Vibrant Green for CTAs, highlights (was #FF6700 Orange) */
                                    /* OR --accent-color: #FFD600; (Bright Yellow) */

    /* --- Backgrounds --- */
    --body-bg-dark: #101418;       /* Very dark blue/gray, slightly less pure black (was #121212) */
    --content-bg-dark-subtle: #1A1F24; /* Slightly lighter for cards (was #1E1E1E) */
    --content-bg-light: #FFFFFF;   /* For sections that might need a light background */

    /* --- Text --- */
    --text-color-on-dark: #E1E2E4; /* Light gray, good readability (was #E0E0E0) */
    --text-color-on-light: #212529;/* Dark gray for text on light backgrounds */
    --text-light: #FFFFFF;         /* Pure white for headings or strong emphasis */
    --text-muted-on-dark: #A0AEC0; /* Muted text for less important info on dark bg */

    /* --- Navigation Specific Colors --- */
    /* Option 1.1: Dark consistent nav */
    --nav-initial-bg: #1A1F24;     /* Same as subtle content bg, or slightly darker */
    --nav-initial-text: var(--text-light);
    --nav-scroll-bg: #1A1F24;      /* Keep it dark on scroll, or make it slightly opaque */
    --nav-scroll-text: var(--text-light);
    /* Option 1.2: Nav that changes to light (like your original) */
    /* --nav-initial-bg: #101418; */
    /* --nav-initial-text: var(--text-light); */
    /* --nav-scroll-bg: #FFFFFF; */
    /* --nav-scroll-text: var(--text-color-on-light); */


    /* --- CTA Button Specific Colors & Style (Using Accent) --- */
    --cta-bg: var(--accent-color);         /* Solid accent color for CTA */
    --cta-text-color: #0D0D0D;          /* Dark text on vibrant green/yellow CTA */
    --cta-hover-bg: #00C853;           /* Slightly darker/different shade of accent for hover */
                                        /* OR --cta-hover-bg: #FFCA00; (if using yellow accent) */
    --cta-button-radius: 8px;         /* Slightly less rounded for a more modern feel (was 16px) */

    /* --- Borders & Dividers --- */
    --border-color-dark: #2D3748;      /* Subtle border for dark theme elements */

    /* --- Existing Variables (Keep or Adjust) --- */
    --nav-height: 70px;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    background-color: var(--body-bg-dark); /* UPDATED */
    color: var(--text-color-on-dark);       /* UPDATED - Default text is now light */
}

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

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

a {
    text-decoration: none;
    color: var(--secondary-color); /* Default link color, e.g., #088395 Teal for dark theme */
}
a:hover {
    color: #FFF; /* Orange for hover */
}

ul {
    list-style: none;
}

section {
	margin-top: 80px;
}

/* --- Navigation Bar --- */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--body-bg-dark);
    height: var(--nav-height);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.top-nav.scrolled {
    background-color: var(--nav-scroll-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--nav-initial-text); /* White */
    transition: color 0.3s ease;
}
.top-nav.scrolled .logo {
    color: var(--nav-scroll-text); /* Dark text when nav is white */
}

.logo img {
    height: 60px;
    margin-right: 10px;
}

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

.nav-menu li {
    /*margin-left: 20px;*/
}

.nav-menu a {
    color: var(--nav-initial-text); /* White */
    font-weight: 600;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--cta-bg-start); /* Light green for hover/active on dark nav */
}

.top-nav.scrolled .nav-menu a {
    color: var(--nav-scroll-text); /* Dark text when nav is white */
}
.top-nav.scrolled .nav-menu a:hover,
.top-nav.scrolled .nav-menu a.active {
    color: var(--accent-color); /* Orange for hover/active on white nav */
}

.nav-cta { /* "TRY FREE" button */
    background: #2a4463;
    color: var(--text-light); /* White text */
    padding: 16px 32px;
    border-radius: var(--cta-button-radius);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
}
.nav-cta:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
    color: white;
}

/* Mobile Navigation Toggle - Hamburger Icon colors */
.hamburger,
.hamburger::before,
.hamburger::after {
    background-color: var(--nav-initial-text); /* White */
}
.top-nav.scrolled .hamburger,
.top-nav.scrolled .hamburger::before,
.top-nav.scrolled .hamburger::after {
    background-color: var(--nav-scroll-text); /* Dark */
}
.top-nav.scrolled .nav-toggle.active .hamburger {
    background-color: transparent !important;
}


/* --- Hero Section --- */
.hero-section {
    min-height: calc(100vh - var(--nav-height));
    background-image: url('https://cnbl-cdn.bamgrid.com/assets/f09f88e62518d16cdd3d60796c1a1ebdba5a010807d8a09c55b0854e6a06668c/original');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    position: relative;
    color: var(--text-light); /* White text for hero content - this is good */
}

.hero-section::after { /* Gradient overlay from bottom */
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgb(16 20 24) 0%, rgb(16 20 24) 25%, rgba(18, 18, 18, 0) 80%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px; /* This max-width is for the content block itself, not the page container */
    padding: 30px;
    border-radius: 8px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0px 2px 4px rgba(0,0,0,0.6);
    color: var(--text-light); /* Explicitly white */
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0px 1px 3px rgba(0,0,0,0.5);
    color: var(--text-color-on-dark); /* Light gray, or var(--text-light) if you want it brighter */
}
.hero-form {
    display: flex;
    flex-direction: row;
    gap: 16px;
    justify-content: center;
}

.hero-form input[type="email"] {
    padding: 32px;
    font-size: 1rem;
    border: 1px solid #FFF; /* Darker border for dark theme */
    border-radius: 16px;
    width: 60%;
    min-width: 200px;
    color: white; /* Text typed into input */
    background-color: rgba(255,255,255,0.1); /* Darker, slightly transparent input field */
}

.hero-form input[type="email"]::placeholder {
    color: #888; /* Lighter placeholder text for dark input */
}

.hero-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-color); /* Orange focus */
    box-shadow: 0 0 0 2px rgba(255, 103, 0, 0.3);
    background-color: rgba(255,255,255,0.15);
}

.hero-form .cta-button { /* "Valider" button */
    background-color: var(--body-bg-dark); /* Orange */
    color: var(--text-light);
    padding: 32px;
    border-radius: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.hero-form .cta-button:hover {
    background: linear-gradient(135deg, var(--cta-bg-start), var(--cta-bg-end));
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Adjusting placeholder sections if they had light backgrounds */
main section {
    /* If you had inline styles for background on these, remove them
       or make them dark. Example: */
    /* background: var(--content-bg-dark-subtle); */
    padding: 40px 0; /* Adjust padding as needed */
    /* text-align: center; Remove if not desired for all sections */
}
main section h2 {
    color: var(--text-light); /* Ensure section headings are light */
    margin-bottom: 20px;
}

/* Example: Alternate subtle background for sections for visual separation */
/* main section:nth-child(odd) {
    background-color: var(--content-bg-dark-subtle);
} */


/* Footer for dark theme */
footer {
    text-align: center;
    padding: 30px 20px;
    background: #0A0A0A; /* Very dark, slightly different from body */
    color: #aaa; /* Softer light gray for footer text */
    border-top: 1px solid #282828; /* Subtle top border */
}

/* Mobile Navigation Toggle - Hamburger Icon colors */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--nav-initial-text); /* Initial: White lines */
    position: relative;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 25px;
    height: 3px;
    background-color: var(--nav-initial-text); /* Initial: White lines */
    transition: transform 0.3s ease, top 0.3s ease, bottom 0.3s ease, background-color 0.3s ease;
}
.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* Scrolled state for hamburger icon */
.top-nav.scrolled .hamburger,
.top-nav.scrolled .hamburger::before,
.top-nav.scrolled .hamburger::after {
    background-color: var(--nav-scroll-text); /* Scrolled: Dark lines */
}
.top-nav.scrolled .nav-toggle.active .hamburger { /* When X, middle line is transparent */
    background-color: transparent !important;
}

/* --- Football Platform Section (Revised for JS interaction) --- */
.football-platform {
    padding: 80px 0;
}

/* Header part remains the same */
.platform-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 50px;
    gap: 40px;
}
.platform-title-block {
    flex-basis: 45%;
    flex-shrink: 0;
}
.platform-title-block h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-light);
    margin: 0;
}
.platform-description-block {
    flex-basis: 50%;
    padding-top: 5px;
}
.platform-description-block p {
    font-size: 0.95rem;
    color: var(--text-color-on-dark);
    line-height: 1.7;
    margin: 0 0 25px 0;
}
.watch-now-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}
.watch-now-link:hover { color: #fff; }
.watch-now-link .arrow { margin-left: 8px; transition: transform 0.2s ease-in-out; }
.watch-now-link:hover .arrow { transform: translateX(4px); }

/* Gallery Interaction Styling */
.platform-gallery {
    display: flex;
    gap: 16px; /* Space between cards */
    height: 450px; /* Adjust as needed */
}

.gallery-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-color: var(--content-bg-dark-subtle); /* Fallback bg */
    cursor: pointer;
    flex-shrink: 0;
    /* Smooth transition for flex properties and any transforms */
    transition: flex-basis 0.6s cubic-bezier(0.4, 0, 0.2, 1), /* Material standard curve */
                flex-grow 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.5s ease-out,
                opacity 0.5s ease-out;
}

/* Default state of cards (when gallery is initialized or no item is 'active' focused) */
/* We will set one card as 'active' by default with JS, so these are fallback/base */
.gallery-card {
    flex-basis: 20%; /* Default smaller size */
    flex-grow: 1;
}
.gallery-card.main-card { /* Give initial prominence if needed before JS kicks in */
    flex-basis: 60%;
    flex-grow: 2;
}

/* Styling for the card that IS .active */
.gallery-card.active {
    flex-basis: 65%; /* Dominant size when active */
    flex-grow: 3;
}
.gallery-card.active img {
    transform: scale(1.02); /* Subtle zoom */
    filter: grayscale(0%) brightness(1) !important; /* Full color, full brightness */
    opacity: 1 !important;
}

/* Styling for cards that are NOT .active, WHEN the gallery has an active item */
.platform-gallery.has-active .gallery-card:not(.active) {
    flex-basis: 17.5%; /* Shrunken size for non-active cards */
    flex-grow: 1;
}
.platform-gallery.has-active .gallery-card:not(.active) img {
    opacity: 0.65;
    filter: brightness(0.55); /* Dim non-active cards */
}

/* Specific filter for side-cards when they are NOT active */
.gallery-card.side-card img { /* Default for side cards is B&W */
    filter: grayscale(100%) brightness(0.8);
}
/* When a side-card is NOT active but gallery HAS an active item */
.platform-gallery.has-active .gallery-card.side-card:not(.active) img {
    filter: grayscale(100%) brightness(0.5); /* More pronounced B&W and dim */
    opacity: 0.6;
}


/* Text Overlay - Now applicable to ANY active card */
.gallery-card .card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 25px; /* Adjusted padding, as there's less content */
    box-sizing: border-box;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.75) 40%, rgba(0,0,0,0) 100%);
    color: var(--text-light);
    z-index: 2;
    opacity: 0; /* Hidden by default */
    pointer-events: none; /* Allows clicks/hovers to pass through if needed */
    transition: opacity 0.5s ease-in-out 0.2s; /* Fade in slightly delayed */
}

/* Overlay becomes visible on ANY .active card */
.gallery-card.active .card-overlay {
    opacity: 1;
}

/* Styling for the content within the overlay */
.gallery-card .card-text-content {
    /* This div might not be strictly necessary if only an H3 is inside,
       but it's fine to keep for future flexibility. */
}

.gallery-card .card-text-content h3 {
    font-size: clamp(1rem, 2.2vw, 1.2rem); /* Slightly adjusted responsive size */
    font-weight: 600;
    margin: 0; /* No margin needed as padding is on .card-overlay */
    line-height: 1.3;
    color: var(--text-light); /* Ensure it's white */
}


/* --- Leagues Carousel Section --- */
.leagues-carousel-section {
    padding: 80px 0;
    background-color: var(--body-bg-dark); /* Or var(--content-bg-dark-subtle) if you want slight difference */
    overflow-x: hidden; /* Prevent horizontal scrollbar from temporary overflows */
}

.leagues-carousel-section .section-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 50px;
}

.leagues-carousel-wrapper {
    position: relative;
}

.leagues-carousel-track-container {
    overflow: hidden; /* This is the viewport for the track */
    margin-bottom: 30px;
}

.leagues-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); /* Smooth slide */
    gap: 20px; /* Space between slides, adjust with slide width */
    padding: 10px 0; /* Padding for active slide's potential border/shadow */
}

.league-slide {
    flex: 0 0 calc(25% - 15px); /* Show 4 items, account for 3 gaps of 20px (20*3/4 = 15px) */
    min-width: 0; /* Fix for flex basis issues in some browsers */
    box-sizing: border-box;
}

.league-card {
    background-color: var(--content-bg-dark-subtle); /* Background for the cards */
    border-radius: 12px;
    padding: 10px;
    height: 300px; /* Fixed height for cards */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #2a2a2a; /* Subtle border for definition */
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.league-slide.is-active .league-card {
    border-color: var(--cta-bg-start); /* Highlight color for active slide's border */
    /* transform: scale(1.03); */ /* Optional: slight scale for active */
    box-shadow: 0 0 15px rgba(197, 5, 15, 1); /* Subtle glow for active */
}

.league-card img {
    max-width: 100%;
    max-height: 100%; /* Max height for logos */
    object-fit: contain;
    filter: brightness(0.9) contrast(1.1); /* Slightly adjust for dark bg if logos are too dark */
}
/* If your logos are dark and hard to see on a dark card, you might need to invert them
   or ensure they have enough contrast. Example for SVGs if they are single color: */
/* .league-card img[src$=".svg"] { filter: invert(1) brightness(0.8) drop-shadow(0 0 2px rgba(0,0,0,0.5)); } */


.carousel-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.carousel-nav-button {
    background: none;
    border: none;
    color: var(--text-color-on-dark);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 12px;
    transition: color 0.3s ease;
    text-transform: uppercase; /* As seen in example */
    letter-spacing: 0.5px;
}

.carousel-nav-button:hover {
    color: var(--text-light);
}
.carousel-nav-button:disabled {
    color: #555; /* Dim disabled buttons */
    cursor: not-allowed;
}

.carousel-pagination {
    font-size: 0.9rem;
    color: #777; /* Color for pagination text */
    font-weight: 500;
}
.carousel-pagination .current-page {
    color: var(--text-color-on-dark); /* Current page slightly more prominent */
}

/* --- Working Process Section --- */
.working-process-section {
    padding: 80px 0;
    background-color: var(--body-bg-dark); /* Or var(--content-bg-dark-subtle) */
}

.working-process-section .section-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 70px;
}

.process-steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Align items to the top */
    gap: 30px; /* Initial gap, will be adjusted by flex-basis too */
}

.process-step {
    flex: 1; /* Each step takes equal space initially */
    min-width: 0; /* Fix for flex basis issues */
    text-align: left; /* Text align for step content */
}

.step-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    height: 50px; /* Fixed height for alignment */
}

.step-number-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #00ff1961; /* Using green from your CTA */
    color: var(--text-light); /* White number */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0; /* Prevent shrinking */
}

.step-arrow-container {
    flex-grow: 1; /* Allow arrow container to take up space */
    display: flex;
    align-items: center;
    justify-content: center; /* Center arrow horizontally in available space */
    padding: 0 20px; /* Space around the arrow */
    color: var(--text-color-on-dark); /* Arrow color */
    min-width: 80px; /* Minimum width for arrow to be visible */
}

.step-arrow {
    max-width: 100%; /* Ensure arrow scales down if container is too small */
    height: auto; /* Maintain aspect ratio */
}

/* Hide arrow container on the last step */
.process-step:last-child .step-arrow-container {
    display: none;
}

.step-title {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 12px;
}

.step-description {
    font-size: 0.95rem;
    color: var(--text-color-on-dark);
    line-height: 1.7;
}

/* --- New Pricing Section --- */
.new-pricing-section {
    padding: 80px 0;
    background-color: var(--body-bg-dark);
}

.new-pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.header-tagline {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color-on-dark);
}
.shield-icon {
    color: var(--cta-bg-start); /* Green shield icon */
    display: inline-flex;
}
.shield-icon svg {
    width: 28px;
    height: 28px;
}

.billing-cycle-selector select {
    background-color: var(--content-bg-dark-subtle);
    color: var(--text-light);
    border: 1px solid #333;
    border-radius: 6px;
    padding: 10px 30px 10px 15px; /* Space for arrow */
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    appearance: none; /* Remove default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%23E0E0E0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}
.billing-cycle-selector select:focus {
    outline: none;
    border-color: var(--cta-bg-start);
}

/* Pricing Plans Grid */
.pricing-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.pricing-plan-card {
    background-color: var(--content-bg-dark-subtle);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    border: 1px solid #2f2f2f;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pricing-plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.pricing-plan-card .plan-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color-on-dark);
    margin-bottom: 20px;
}
.pricing-plan-card .plan-price {
    margin-bottom: 25px;
}
.pricing-plan-card .price-value {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-light);
}
.pricing-plan-card .price-period {
    font-size: 0.9rem;
    color: var(--text-color-on-dark);
    display: block;
    margin-top: 2px;
}
.pricing-plan-card .choose-plan-button {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    width: 100%;
}
.pricing-plan-card .choose-plan-button:hover {
    background-color: var(--text-light);
    color: var(--content-bg-dark-subtle);
}

/* Highlighted Plan Styling */
.pricing-plan-card.highlighted-plan {
    background-color: #0052FF; /* Blue from example */
    color: var(--text-light);
    border-color: #0052FF;
    transform: scale(1.03); /* Slightly larger */
}
.pricing-plan-card.highlighted-plan:hover {
    transform: scale(1.03) translateY(-5px); /* Keep scale on hover */
}
.pricing-plan-card.highlighted-plan .plan-name,
.pricing-plan-card.highlighted-plan .price-period {
    color: #b3ceff; /* Lighter text for contrast on blue */
}
.pricing-plan-card.highlighted-plan .price-value {
    color: var(--text-light);
}
.pricing-plan-card.highlighted-plan .choose-plan-button {
    background-color: var(--text-light);
    color: #0052FF; /* Blue text */
    border-color: var(--text-light);
}
.pricing-plan-card.highlighted-plan .choose-plan-button:hover {
    background-color: #e6f0ff; /* Slightly off-white hover */
    border-color: #e6f0ff;
}


/* --- Elegant Pricing Section --- */
.elegant-pricing-section {
    padding: 100px 0;
    background-color: var(--body-bg-dark); /* Dark background for the section */
    color: var(--text-color-on-dark);
}

.elegant-pricing-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr; /* Adjust ratio as needed */
    gap: 60px; /* Gap between intro and plans */
    align-items: flex-start; /* Align intro to top of plans area */
}

.elegant-pricing-intro {
    position: sticky; /* Make intro text sticky */
    top: 120px; /* Adjust based on your nav height + desired offset */
    align-self: flex-start;
}
.intro-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #2a4463; /* Circle bg */
    color: var(--text-light); /* Icon color */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}
.intro-icon-wrapper svg {
    width: 30px; height: 30px;
}
.elegant-pricing-title {
    font-family: 'Georgia', 'Times New Roman', Times, serif; /* Serif font like example */
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 500; /* Example uses a lighter weight serif */
    color: var(--text-light);
    line-height: 1.2;
    margin-bottom: 20px;
}
.elegant-pricing-subtitle {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color-on-dark);
    max-width: 400px;
}

.elegant-pricing-plans-area {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.plan-card-elegant {
    border-radius: 20px;
    padding: 25px 30px;
    transition: box-shadow 0.3s ease;
    position: relative; /* For badge */
    /* Non-highlighted cards on dark theme: darker card with lighter border or lighter card */
    background-color: var(--content-bg-dark-subtle); /* Slightly lighter than body */
    border: 1px solid #333; /* Subtle border */
}
.plan-card-elegant:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.plan-badge-elegant {
    position: absolute;
    top: 0;
    left: 0; /* Slight overlap */
    background: linear-gradient(135deg, var(--cta-bg-start), var(--cta-bg-end));
    color: var(--text-light);
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 15px 15px 15px 0; /* Pill shape with one flat side */
    text-transform: uppercase;
    z-index: 2;
}

.plan-header-elegant {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Align items to top */
    margin-bottom: 15px;
}
.plan-name-elegant {
    font-size: 1.5rem; /* Example uses larger font */
    font-weight: 600;
    color: var(--text-light);
    margin: 0 0 5px 0;
}
.plan-description-elegant {
    font-size: 0.85rem;
    color: var(--text-color-on-dark);
    margin: 0;
    max-width: 220px; /* Limit width */
}

.plan-price-area-elegant {
    text-align: right;
    white-space: nowrap; /* Prevent price from wrapping */
}
.original-price-elegant {
    font-size: 0.9rem;
    color: #888; /* Dimmer color for struck-through price */
    text-decoration: line-through;
    display: block;
    margin-bottom: 2px;
}
.current-price-elegant {
    font-size: 2rem; /* Example uses larger font */
    font-weight: 600;
    color: var(--text-light);
}
.price-period-elegant {
    font-size: 0.8rem;
    color: var(--text-color-on-dark);
    display: block;
    margin-top: -2px; /* Pull up slightly */
}

.plan-details-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    border-top: 1px solid #333; /* Separator line */
    padding: 15px 0 10px 0; /* Padding above/below text */
    margin-top: 15px; /* Space from header */
    color: var(--text-color-on-dark);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
}
.plan-details-toggle:hover {
    color: var(--text-light);
}
.toggle-icon-elegant {
    font-size: 1.5em;
    line-height: 1;
    font-weight: 300;
    border: 1px solid #fff;
    padding: 2px 8px;
    border-radius: 8px;
}

.plan-features-elegant {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding-top 0.4s ease-out;
    padding-top: 0;
}
.plan-features-elegant.open {
    /* max-height set by JS */
    padding-top: 15px; /* Padding when open */
}
.plan-features-elegant ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}
.plan-features-elegant li {
    font-size: 0.9rem;
    color: var(--text-color-on-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}
.feature-check-elegant {
    color: var(--cta-green-start); /* Or your accent */
    margin-right: 10px;
    font-weight: bold;
    font-size: 1.1em;
}

.select-plan-button-elegant {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 16px 32px;
    background-color: #2a4463; /* Or your primary CTA color */
    color: var(--text-light);
    border: none;
    border-radius: var(--cta-button-radius);
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.select-plan-button-elegant:hover {
    background-color: #0f1418; /* Darker shade */
    color: #FFF;
}


/* Highlighted Plan Styling */
.plan-card-elegant.highlighted-plan-elegant {
    background-color: var(--text-light); /* White background */
    color: var(--body-bg-dark); /* Dark text */
    border: 2px solid var(--cta-green-start); /* Accent border */
    box-shadow: 0 10px 30px rgba(0,128,128,0.2); /* Example shadow */
    transform: scale(1.02); /* Slightly larger */
}


.plan-card-elegant.highlighted-plan-elegant .plan-name-elegant,
.plan-card-elegant.highlighted-plan-elegant .current-price-elegant {
    color: var(--body-bg-dark); /* Dark text */
}
.plan-card-elegant.highlighted-plan-elegant .plan-description-elegant,
.plan-card-elegant.highlighted-plan-elegant .price-period-elegant,
.plan-card-elegant.highlighted-plan-elegant .original-price-elegant {
    color: #555; /* Medium gray text on white bg */
}
.plan-card-elegant.highlighted-plan-elegant .plan-details-toggle {
    color: #444; /* Darker gray for toggle text on white */
    border-top-color: #e0e0e0; /* Lighter separator */
}
.plan-card-elegant.highlighted-plan-elegant .plan-details-toggle:hover {
    color: #000;
}
.plan-card-elegant.highlighted-plan-elegant .plan-features-elegant li {
    color: #333; /* Dark text for features */
}
.plan-card-elegant.highlighted-plan-elegant .feature-check-elegant {
    color: var(--cta-green-start); /* Green checkmark still works */
}
.plan-card-elegant.highlighted-plan-elegant .select-plan-button-elegant {
    background-color: var(--body-bg-dark); /* Dark button */
    color: var(--text-light);
}
.plan-card-elegant.highlighted-plan-elegant .select-plan-button-elegant:hover {
    background-color: #2a4463; /* Slightly lighter dark */
}


/* Quantity Stepper for 12 Months Plan */
.quantity-stepper-elegant-container {
    margin: 15px 0;
    padding-top: 15px;
    border-top: 1px solid #333; /* Separator */
}
.plan-card-elegant.highlighted-plan-elegant .quantity-stepper-elegant-container {
    border-top-color: var(--content-bg-dark-subtle); /* Lighter separator for highlighted card */
}

.quantity-stepper-elegant-container label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-color-on-dark);
}
.plan-card-elegant.highlighted-plan-elegant .quantity-stepper-elegant-container label {
    color: #555;
}

.quantity-stepper-elegant { /* Copied and adapted from checkout page */
    display: flex;
    align-items: center;
    background-color: var(--content-bg-dark-subtle);
    border-radius: 6px;
    padding: 5px;
    width: fit-content;
    border: 1px solid #444;
}
.plan-card-elegant.highlighted-plan-elegant .quantity-stepper-elegant {
    background-color: var(--content-bg-dark-subtle); /* Light gray base for stepper on white card */
}

.stepper-btn-elegant {
    background: none; border: none; color: var(--text-light);
    font-size: 1.2rem; font-weight: bold; width: 30px; height: 30px;
    cursor: pointer; border-radius: 4px; transition: background-color 0.2s ease;
}
.plan-card-elegant.highlighted-plan-elegant .stepper-btn-elegant {
    color: #FFF; /* Dark +/- on light stepper */
}
.stepper-btn-elegant:hover { background-color: #3a3a3a; }
.plan-card-elegant.highlighted-plan-elegant .stepper-btn-elegant:hover {
    background-color: #FFF;
    color: var(--content-bg-dark-subtle);
}

.quantity-stepper-elegant input[type="number"] {
    width: 40px; text-align: center; border: none; background: none;
    color: var(--text-light); font-weight: 500; font-size: 1rem;
    -moz-appearance: textfield;
}
.plan-card-elegant.highlighted-plan-elegant .quantity-stepper-elegant input[type="number"] {
    color: #FFF; /* Dark number input */
}
.quantity-stepper-elegant input[type="number"]::-webkit-outer-spin-button,
.quantity-stepper-elegant input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none; margin: 0;
}

/* --- Thank You Modal Page Styles --- */
.thank-you-modal-page {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh; /* Full viewport height */
    overflow: hidden; /* Prevent scrollbars from the modal itself */
    display: flex; /* For centering the modal */
    align-items: center;
    justify-content: center;
    position: relative; /* For overlay positioning */
    background-color: var(--body-bg-dark); /* Fallback if blur doesn't work / image fails */
}

.blurred-background-overlay {
    position: fixed; /* Cover the entire viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Behind the modal */
    /* Option 1: Actual blurred image (replace with your image) */
    background-image: url('../images/blurred-content-bg.webp'); /* Create a blurred bg image */
    background-size: cover;
    background-position: center;
    filter: blur(8px); /* Apply CSS blur if the image isn't pre-blurred */
    transform: scale(1.1); /* Enlarge slightly to avoid hard edges from blur */

    /* Option 2: Simple dark semi-transparent overlay if no blurred image */
    /* background-color: rgba(10, 10, 20, 0.8); */ /* Dark semi-transparent */
}

.thank-you-modal-container {
    position: relative; /* To be above the overlay */
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px; /* Ensure modal doesn't touch screen edges */
    width: 100%;
    height: 100%;
}

.thank-you-modal-card {
    background-color: #1A1D24; /* Very dark, almost black, slightly different from body */
    color: #fff;
    padding: 40px 50px;
    border-radius: 20px;
    text-align: center;
    max-width: 615px; /* Max width of the modal */
    width: 90%; /* Responsive width */
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    position: relative; /* For any absolute positioned elements inside if needed*/
    animation: fadeInModal 0.5s ease-out forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes fadeInModal {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-emoji-thanks {
    margin-bottom: 25px;
}
.thanks-emoji-img {
    width: 80px; /* Adjust size as needed */
    height: auto;
}
/* .emoji-text { font-size: 4rem; } /* If using text emoji */


.modal-title-thanks {
    font-size: clamp(1.6rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--text-light);
    margin: 0 0 10px 0;
}

.modal-message-thanks {
    font-size: 1rem;
    color: var(--text-color-on-dark); /* Slightly softer white */
    line-height: 1.6;
    margin: 0 0 8px 0;
}

.modal-spam-note {
    font-size: 0.85rem;
    color: #99A3AD; /* Dimmer text for spam note */
    line-height: 1.5;
    margin: 0 0 30px 0;
}

.modal-cta-button-thanks {
    display: inline-block;
    background-color: #007BFF; /* Bright blue like example */
    color: var(--text-light);
    padding: 12px 35px;
    border-radius: 25px; /* Pill shape */
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.modal-cta-button-thanks:hover {
    background-color: #005ECB; /* Darker blue */
    transform: translateY(-2px);
}

/* Responsive Thank You Modal */
@media (max-width: 600px) {
    .thank-you-modal-card {
        padding: 30px 25px;
        width: 95%;
    }
    .thanks-emoji-img {
        width: 70px;
    }
    .modal-title-thanks {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
    }
    .modal-message-thanks {
        font-size: 0.95rem;
    }
    .modal-spam-note {
        font-size: 0.8rem;
    }
    .modal-cta-button-thanks {
        padding: 10px 30px;
        font-size: 0.95rem;
    }
}
/* Responsive Elegant Pricing */
@media (max-width: 1024px) {
    .elegant-pricing-container {
        grid-template-columns: 1fr; /* Stack intro and plans */
        gap: 40px;
    }
    .elegant-pricing-intro {
        position: static; /* Remove stickiness */
        text-align: center; /* Center intro text */
    }
    .elegant-pricing-intro .intro-icon-wrapper {
        margin-left: auto; margin-right: auto; /* Center icon */
    }
    .elegant-pricing-subtitle {
        margin-left: auto; margin-right: auto; /* Center subtitle */
    }
    .elegant-pricing-plans-area {
        max-width: 550px; /* Constrain width of stacked plans */
        margin: 0 auto;
    }
    .plan-card-elegant.highlighted-plan-elegant {
        transform: scale(1); /* Reset scale when stacked */
    }
    .plan-card-elegant.highlighted-plan-elegant:hover {
         transform: translateY(-3px);
    }
}

@media (max-width: 768px) {
    .elegant-pricing-section { padding: 60px 0; }
    .elegant-pricing-title { font-size: clamp(2.2rem, 6vw, 3rem); }
    .plan-card-elegant { padding: 20px; }
    .plan-name-elegant { font-size: 1.3rem; }
    .current-price-elegant { font-size: 1.8rem; }
}

/* --- Payment Methods Section --- */
.payment-methods-section {
    padding: 60px 0; /* Slightly less padding than larger sections */
    background-color: var(--body-bg-dark); /* Ensures consistency */
}

.payment-methods-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.payment-methods-text {
    flex-basis: 30%; /* Give text some space */
    flex-shrink: 0;
}

.section-title-small { /* New class for smaller section titles */
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-light);
    margin-bottom: 8px;
}

.payment-vat-notice {
    font-size: 0.9rem;
    color: var(--text-color-on-dark);
    line-height: 1.6;
}

.payment-icons-grid {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 15px;
    justify-content: flex-start; /* Align to start if wrapping */
    flex-grow: 1;
}

.payment-icon-card {
    background-color: var(--content-bg-dark-subtle); /* Card background */
    border: 1px solid #383838; /* Slightly more visible border for light card on dark bg */
    border-radius: 8px;
    padding: 15px; /* Padding inside the card */
    height: 70px; /* Fixed height for the cards */
    width: 130px; /* Fixed width for cards */
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.payment-icon-card:hover {
    border-color: #555;
    box-shadow: 0 2px 10px rgba(85, 85, 85, 0.1);
}

.payment-icon-card img {
    max-width: 100px;
    max-height: 100px; /* Max height for logos within card */
    object-fit: contain;
}
/* For SVGs that might be dark and need help on dark card bg */
/* .payment-icon-card img[src$=".svg"] { filter: brightness(1.2); } */

.payment-icon-card {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    color: var(--text-color-on-dark); /* Text color inside crypto card */
    font-size: 0.85rem;
    line-height: 1.3;
    padding: 10px 15px; /* Adjust padding for text content */
    width: auto; /* Allow crypto card to be wider */
    height: 130px;
}
.payment-icon-card .crypto-icon {
    width: 28px; /* Size of the bitcoin SVG */
    height: 28px;
    color: var(--cta-bg-start); /* Color for the bitcoin icon */
    flex-shrink: 0;
}
.payment-icon-card span {
    text-align: left;
}

/* --- FAQ Section Styled --- */
.faq-section-styled {
    padding: 80px 0;
    background-color: var(--body-bg-dark);
}

.faq-section-styled .section-title {
    text-align: center;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 40px;
}

/* FAQ Filters */
.faq-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.faq-filter-button {
	background-color: var(--content-bg-dark-subtle);
    color: var(--text-color-on-dark);
    border: 1px solid #333;
    border-radius: var(--cta-button-radius);
    padding: 15px 30px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.faq-filter-button .filter-check-icon {
    display: none; /* Hidden by default */
    width: 14px;
    height: 14px;
}
.faq-filter-button.active .filter-check-icon {
    display: inline-block; /* Show on active button */
}

.faq-filter-button:hover {
    background-color: #2a4463;
    border-color: #FFF;
}
.faq-filter-button.active {
    background: #2a4463; /* Active filter color */
    color: var(--text-light);
    border-color: #ffffff;
}

/* FAQ Accordion */
.faq-accordion-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--content-bg-dark-subtle);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden; /* Important for smooth transition */
    transition: opacity 0.3s ease, transform 0.3s ease; /* For filtering animation */
}
.faq-item.hidden-faq { /* Class added by JS for filtering */
    display: none; /* Simple hide for now, can be animated */
    /* opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    max-height: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important; */
}


.faq-question {
    background: none; /* Transparent background for button itself */
    color: var(--text-light);
    padding: 30px 25px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
    border-radius: 10px;
}
.faq-question:hover {
    /* Optional: slight background change on hover for question */
    /* background-color: rgba(255,255,255,0.03); */
}
.faq-icon {
    color: var(--text-color-on-dark); /* Icon color */
    transition: transform 0.3s ease;
    flex-shrink: 0; /* Prevent icon from shrinking */
}
.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.1, 0.25, 1), 
                padding 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    padding: 0 25px; /* Horizontal padding will apply when open */
}
.faq-answer.open {
    /* max-height will be set by JS */
    padding: 5px 25px 20px 25px; /* Full padding when open */
}
.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-color-on-dark);
    line-height: 1.7;
    margin: 0; /* Reset default p margin */
}
.faq-answer p:not(:last-child) {
    margin-bottom: 1em;
}

/* --- Capabilities Section - Stacked Scroll --- */
.capabilities-section-stacked {
    background-color: #111111; /* Very dark background as per example */
    color: var(--text-light);
}

.capabilities-container-stacked {
    display: flex;
    gap: 5%; /* Gap between intro and list */
    position: relative; /* For positioning child elements if needed */
}

.capabilities-intro-sticky {
    flex-basis: 40%; /* Width of the left text column */
    flex-shrink: 0;
    position: sticky;
    top: 150px; /* Adjust this based on your nav height + desired top offset */
    height: calc(100vh - 300px); /* Make it tall enough to stay visible for a while */
    align-self: flex-start; /* Important for sticky behavior in flex */
}

.services-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    color: #999; /* Dimmer eyebrow text */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.capabilities-title-main,
.capabilities-title-secondary {
    font-size: clamp(2.8rem, 6vw, 4.5rem); /* Large, responsive font */
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
}
.capabilities-title-main {
    color: var(--text-light); /* White */
}
.capabilities-title-secondary {
    color: #2a4463; /* Grayer text */
    margin-bottom: 25px;
}

.capabilities-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color-on-dark); /* Light gray */
    max-width: 450px;
}


.capabilities-list-scrolling {
    flex-basis: 55%; /* Width of the right scrolling column */
    position: relative; /* Important for z-index context of children if needed */
    /* The height of this container needs to be calculated to allow full scroll effect.
       Example: If each item takes roughly 100vh of scroll to "pass over",
       and you have 4 items, this might need to be around 400vh.
       Let's make each item less than 100vh tall in its "active" state,
       so the scroll length is more manageable.
    */
}

.capability-item-stacked {
    position: sticky;
    top: 180px; /* IMPORTANT: This value makes items stack here. Adjust for nav/desired offset */
    background-color: #111111; /* Match section background to hide content behind */
    padding: 40px 0 40px 40px; /* Padding for the content within the item */
    display: flex;
    align-items: flex-start; /* Align icon and text to top */
    gap: 25px;
    border-bottom: 1px solid #282828; /* Separator line */
}
/* Ensure the last item doesn't have a bottom border if desired */
.capabilities-list-scrolling .capability-item-stacked:last-child {
    border-bottom: none;
    /* min-height: calc(100vh - 180px); /* Make last item fill remaining space until scroll ends */
}

/* Stacking order: Later items in DOM will naturally be on top if z-index isn't set.
   If you need explicit control, you can add z-index. Example:
.capability-item-stacked:nth-child(1) { z-index: 1; }
.capability-item-stacked:nth-child(2) { z-index: 2; top: 182px; } // Slight offset can enhance effect
.capability-item-stacked:nth-child(3) { z-index: 3; top: 184px; }
.capability-item-stacked:nth-child(4) { z-index: 4; top: 186px; }
   The top offset needs to be the same or very close for stacking to look right.
   The primary effect comes from the opaque background and scroll container height.
*/


.capability-icon-wrapper-stacked {
    background-color: #2a4463; /* Dark gray circle for icon */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light); /* Icon color */
    flex-shrink: 0;
}
.capability-icon-wrapper-stacked svg {
    width: 28px; /* Adjust icon size */
    height: 28px;
}

.capability-text-stacked h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--text-light);
    margin: 0 0 10px 0;
}
.capability-text-stacked p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-color-on-dark);
    max-width: 500px; /* Limit width of text */
}


/* --- Live Sports Networks Section --- */
.live-sports-networks {
    padding: 80px 0;
    background-color: var(--content-bg-dark-subtle); /* A slightly lighter dark for contrast */
    text-align: center;
}

.live-sports-networks .section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
}

.networks-subtitle {
    font-size: 1rem;
    color: var(--text-color-on-dark);
    line-height: 1.7;
    max-width: 750px;
    margin: 0 auto 25px auto;
}

.view-channels-link {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: white; /* Using your green CTA color */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 40px;
    transition: color 0.3s ease;
}
.view-channels-link:hover {
    color: var(--cta-bg-start); /* Slightly different green on hover */
}
.view-channels-link .arrow {
    margin-left: 5px;
    transition: transform 0.2s ease-in-out;
}
.view-channels-link:hover .arrow {
    transform: translateX(3px);
}

.network-logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Gap between logo circles */
    max-width: 900px; /* Max width for the grid */
    margin: 0 auto;
}

.network-logo-circle {
    width: 90px; /* Diameter of the circle */
    height: 90px;
    border-radius: 8px;
    background-color: var(--body-bg-dark); /* White background for logos, as in example */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px; /* Padding inside the circle */
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* Subtle shadow for depth */
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}
.network-logo-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.network-logo-circle img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
}
/* Specific adjustments if some logos are too big/small or have too much whitespace */
/* .network-logo-circle img[alt="Specific Logo"] { max-width: 70%; } */


/* --- CTA Trial Section --- */
.cta-trial-section {
    padding: 60px 0;
    background: url('../images/trial-iptv-img.webp') no-repeat center center;
    background-size: cover;
    overflow: hidden;
}

.cta-trial-container {
    display: flex;
    align-items: center; /* Vertically align items */
    gap: 40px; /* Gap between illustration and content */
}

.cta-illustration-column {
    flex-basis: 30%; /* Adjust based on your illustration's aspect ratio */
    flex-shrink: 0;
}

.cta-main-illustration {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0 20px 20px 0; /* Example if you want a rounded edge if image is rectangular */
    /* object-fit: cover; /* or contain, depending on image */
}

.cta-content-column {
    flex-basis: 70%;
    padding: 30px;
    background-color: var(--content-bg-dark-subtle);
    border-radius: 12px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    /* In example, title is a muted blue. Let's use a light color for dark theme. */
    color: var(--text-light);
    margin-bottom: 20px;
}

.cta-description {
    font-size: 0.95rem;
    color: var(--text-color-on-dark);
    line-height: 1.7;
    margin-bottom: 15px;
}
.cta-description:last-of-type {
    margin-bottom: 30px;
}

.cta-form {
    display: flex;
    align-items: flex-end; /* Align input and button baseline */
    gap: 15px;
    background-color: var(--body-bg-dark); /* Slightly different bg for form area if desired */
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #333; /* Border matching example */
}

.form-group-cta {
    flex-grow: 1; /* Allow email input to take available space */
}

.form-label-cta {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-color-on-dark);
    margin-bottom: 6px;
}

.form-group-cta input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    background-color: transparent; /* Make input transparent to show form area bg */
    border: none; /* Border is on the .cta-form container */
    /* border-bottom: 1px solid #444; Optional bottom border for input itself */
    border-radius: 0; /* Input itself no radius if form container has it */
    color: var(--text-light);
    font-size: 0.95rem;
}
.form-group-cta input[type="email"]::placeholder {
    color: #777;
}
.form-group-cta input[type="email"]:focus {
    outline: none;
    /* box-shadow: 0 0 0 2px var(--cta-bg-start); Optional focus style */
}

.cta-submit-button {
    background: #2a4463;
    color: var(--text-light);
    padding: 16px 32px;
    border: none;
    border-radius: var(--cta-button-radius);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex-shrink: 0; /* Prevent button from shrinking */
}
.cta-submit-button:hover {
    background-color: #4353aa; /* Darker blue */
}

/* --- Vimeo Video Section --- */
.vimeo-video-section {
    padding: 60px 0; /* Adjust padding as needed */
    background-color: var(--body-bg-dark); /* Or a slightly different dark shade if preferred */
}

.vimeo-embed-container {
    position: relative;
    width: 100%;
    margin: 0 auto; /* Center the player */
    padding-top: 56.25%; /* Aspect Ratio 16:9 (9 / 16 = 0.5625) */
    /* For other aspect ratios:
       4:3  => padding-top: 75%;
       1:1  => padding-top: 100%;
    */
    background-color: #000000; /* Black background while video loads or if it fails */
    border-radius: 8px; /* Optional: rounded corners for the player */
    overflow: hidden; /* Ensure iframe stays within rounded corners */
    box-shadow: 0 5px 20px rgba(0,0,0,0.3); /* Subtle shadow for depth */
}

.vimeo-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0; /* Ensure no iframe border */
}

/* --- Site Footer Complex --- */
.site-footer-complex {
    /* The example footer has a very light bg. For dark theme,
       we'll use a slightly lighter shade of dark or the body's dark. */
    background-color: var(--content-bg-dark-subtle); /* Or var(--body-bg-dark) */
    color: var(--text-color-on-dark);
}

/* Pre-footer CTA */
.pre-footer-cta {
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid #2f2f2f; /* Separator line */
}
.pre-footer-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-light); /* White/light text */
    line-height: 1.3;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.pre-footer-link {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light); /* Light link text */
    transition: color 0.3s ease;
}
.pre-footer-link:hover {
    color: var(--cta-bg-start); /* Accent color on hover */
}
.pre-footer-link .arrow {
    margin-left: 8px;
    transition: transform 0.2s ease-in-out;
}
.pre-footer-link:hover .arrow {
    transform: translateX(4px);
}

/* Main Footer Content */
.main-footer-content {
    padding: 50px 0 30px 0;
}

.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #2f2f2f; /* Separator line */
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.footer-logo img {
    height: 35px; /* Match nav logo height */
    margin-right: 10px;
}
.footer-logo span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
}

.footer-nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 25px;
}
.footer-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color-on-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-nav a:hover {
    color: var(--text-light);
}

/* Language Selector */
.language-selector-container {
    position: relative;
}
.language-selector-button {
    background-color: transparent;
    border: 1px solid #383838;
    color: var(--text-color-on-dark);
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: border-color 0.3s ease;
}
.language-selector-button:hover,
.language-selector-button[aria-expanded="true"] {
    border-color: #555;
}
.language-selector-button .lang-flag {
    font-size: 1.1em; /* Adjust emoji flag size */
}
.language-selector-button .lang-arrow {
    margin-left: auto; /* Push arrow to the right if needed */
    transition: transform 0.2s ease;
}
.language-selector-button[aria-expanded="true"] .lang-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    bottom: 100%; /* Position above the button */
    right: 0; /* Align to the right of the button */
    background-color: #252525; /* Darker dropdown bg */
    border: 1px solid #383838;
    border-radius: 6px;
    list-style: none;
    padding: 5px 0;
    margin: 0 0 5px 0; /* Margin below button */
    min-width: 150px;
    z-index: 1010; /* Ensure it's above other content */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}
.language-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.language-dropdown li a {
    display: block;
    padding: 8px 15px;
    color: var(--text-color-on-dark);
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.language-dropdown li a:hover {
    background-color: #333;
    color: var(--text-light);
}


.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.footer-copyright {
    font-size: 0.85rem;
    color: #888; /* Dimmer copyright text */
}
.footer-legal-nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 20px;
}
.footer-legal-nav a {
    font-size: 0.85rem;
    color: #aaa; /* Slightly lighter legal links */
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-legal-nav a:hover {
    color: var(--text-light);
}


/* --- Checkout Page Section --- */
.checkout-page-section {
    padding: 60px 0;
    background-color: var(--body-bg-dark);
    min-height: 100vh; /* Ensure it takes up space */
}

.checkout-card {
    background-color: var(--content-bg-dark-subtle);
    border-radius: 20px;
    padding: 30px 40px;
    max-width: 1100px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.checkout-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid #333; /* Darker separator */
}
.checkout-header-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.checkout-header-icon svg { /* If using SVG */
    width: 32px; height: 32px;
}
.checkout-header-text h1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0 0 5px 0;
}
.checkout-header-text p {
    font-size: 0.9rem;
    color: var(--text-color-on-dark);
    margin: 0;
}
.form-input {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--body-bg-dark);
    border: 1px solid #444;
    color: var(--text-light);
    border-radius: 6px;
    font-size: 16px;
    margin-bottom: 15px;
}
.privacy-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-medium);
}
.checkout-main-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Adjust ratio as needed */
    gap: 40px;
}

/* Common Section Header Style */
.checkout-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.checkout-section-header h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
}

/* Left Column: Plan Selection */
.plan-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.plan-option-card {
    background-color: var(--body-bg-dark);
    border: 1px solid #383838;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative; /* For custom radio button */
}
.plan-option-card:hover {
    border-color: #555;
}
.plan-option-card.selected-plan-visual, /* Visual cue for selected */
.plan-option-card input[type="radio"]:checked + .plan-details + .plan-pricing,
.plan-option-card input[type="radio"]:checked ~ .plan-details, /* Target sibling for style */
.plan-option-card input[type="radio"]:checked ~ .plan-pricing {
    /* Styles for selected. The input being checked is what matters */
}
.plan-option-card input[type="radio"]:checked { /* The radio itself might be hidden */
   /* Example to show border on parent when checked */
}
.plan-option-card.selected-plan-visual { /* Add this class with JS to main selected */
    border-color: var(--cta-bg-start); /* Highlight border for selected plan */
    box-shadow: 0 0 0 2px var(--cta-bg-start);
}

.plan-option-card input[type="radio"] {
    position: absolute;
    opacity: 0; /* Hide actual radio, style the label */
    width: 0; height: 0;
}
/* Custom radio button style */
.plan-option-card .plan-details::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #555;
    border-radius: 50%;
    margin-right: 12px;
    vertical-align: middle;
    transition: border-color 0.2s ease;
}
.plan-option-card input[type="radio"]:checked + .plan-details::before {
    border-color: #FFF;
    background-color: #FFF; /* Inner circle */
    box-shadow: inset 0 0 0 3px var(--body-bg-dark); /* Creates the "dot" */
}

.plan-option-card .plan-details,
.plan-option-card .plan-pricing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px; /* For space before features list if any */
}
.plan-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
}
.plan-description {
    font-size: 0.8rem;
    color: var(--text-color-on-dark);
    margin: 0;
}
.plan-price-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
}
.plan-price-period {
    font-size: 0.8rem;
    color: var(--text-color-on-dark);
    text-align: right;
}
.plan-features-list {
    list-style: none;
    padding: 10px 0 0 0;
    margin: 10px 0 0 0;
    border-top: 1px solid #333;
    font-size: 0.85rem;
    color: var(--text-color-on-dark);
}
.plan-features-list li {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
}
.feature-check {
    color: var(--cta-bg-start);
    margin-right: 8px;
    font-weight: bold;
}
.team-accounts-control {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #333;
}
.team-accounts-control p {
    font-size: 0.9rem;
    color: var(--text-color-on-dark);
    margin-bottom: 10px;
}
.team-accounts-control p small { font-size: 0.75rem; color: #888; display: block; margin-top: 3px;}

.quantity-stepper {
    display: flex;
    align-items: center;
    background-color: #2c2c2c; /* Slightly different from body bg */
    border-radius: 6px;
    padding: 5px;
    width: fit-content;
    border: 1px solid #444;
}
.stepper-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: bold;
    width: 30px;
    height: 30px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}
.stepper-btn:hover { background-color: #3a3a3a; }
.quantity-stepper input[type="number"] {
    width: 40px;
    text-align: center;
    border: none;
    background: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 1rem;
    -moz-appearance: textfield; /* Remove spinners Firefox */
}
.quantity-stepper input[type="number"]::-webkit-outer-spin-button,
.quantity-stepper input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none; margin: 0; /* Remove spinners Chrome, Safari, Edge, Opera */
}

/* Right Column: Payment & Summary */
.checkout-payment-summary {
    background-color: var(--body-bg-dark); /* Darker background for this column */
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #383838;
}
.saved-cards-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 15px; }
.saved-card-item {
    background-color: var(--content-bg-dark-subtle); /* Lighter card item */
    border: 1px solid #444;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: border-color 0.2s ease;
}
.saved-card-item:hover { border-color: #666; }
.saved-card-item input[type="radio"] { /* Style this like plan options if needed */
    opacity: 0; width: 0; height: 0; position: absolute;
}
/* Custom radio style for saved card */
.saved-card-item::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #555;
    border-radius: 50%;
    flex-shrink: 0;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.saved-card-item input[type="radio"]:checked + .card-info + .card-logo-img + .edit-card-link + span::before, /* Complicated selector due to no direct parent */
.saved-card-item input[type="radio"]:checked ~ ::before { /* This is a hack, better handled by JS adding a class */
   /* This needs JS to add a class to .saved-card-item when input is checked */
}
.saved-card-item.checked-card-visual::before { /* Add 'checked-card-visual' class with JS */
    border-color: #fff;
    background-color: #fff;
    box-shadow: inset 0 0 0 3px var(--content-bg-dark-subtle);
}

.card-info { flex-grow: 1; }
.card-last-four { display: block; font-size: 0.9rem; font-weight: 500; color: var(--text-light); }
.card-brand { font-size: 0.8rem; color: var(--text-color-on-dark); }
.card-logo-img { height: 50px; width: 50px; object-fit: contain; }
.edit-card-link { font-size: 0.8rem; color: var(--cta-bg-start); text-decoration: none; margin-left: auto; }
.edit-card-link:hover { text-decoration: underline; }

.add-new-card-btn {
    width: 100%;
    padding: 12px;
    background-color: #333;
    color: var(--text-light);
    border: 1px dashed #555;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-bottom: 20px;
}
.add-new-card-btn:hover { background-color: #3a3a3a; }

.crypto-info { padding: 20px; background: #d4edda47; border-radius: 8px; }
.crypto-info strong,.crypto-info p { font-size: 0.9rem; color: var(--text-color-on-dark);}
.paypal-logo-img { max-height: 30px; }

.discount-code-area { margin-top: 25px; margin-bottom: 25px; }
.discount-code-area label { display: block; font-size: 0.9rem; font-weight: 500; color: var(--text-light); margin-bottom: 8px; }
.discount-input-group { display: flex; gap: 10px; }
.discount-input-group input[type="text"] {
    flex-grow: 1;
    padding: 10px 12px;
    background-color: var(--content-bg-dark-subtle);
    border: 1px solid #444;
    border-radius: 6px;
    color: var(--text-light);
    font-size: 0.9rem;
}
.discount-input-group input[type="text"]:focus { outline-color: var(--cta-bg-start); }
.discount-input-group button {
    padding: 10px 18px;
    background-color: #383838;
    color: var(--text-light);
    border: 1px solid #444;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.discount-input-group button:hover { background-color: #4a4a4a; }
.discount-status { font-size: 0.85rem; color: var(--cta-bg-start); margin-top: 8px; }

.order-summary { margin-top: 30px; padding-top: 20px; border-top: 1px solid #333; }
.summary-item, .summary-total { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.95rem; }
.summary-item span:first-child, .summary-total span:first-child { color: var(--text-color-on-dark); }
.summary-item span:last-child, .summary-total span:last-child { color: var(--text-light); font-weight: 500; }
.discount-summary-item span:last-child { color: var(--cta-bg-start); }
.summary-total { margin-top: 15px; padding-top: 15px; border-top: 1px solid #333; }
.summary-total span { font-size: 1.3rem; font-weight: 600; color: var(--text-light); }
.next-payment-note { font-size: 0.8rem; color: #888; text-align: center; margin-top: 15px; }

.pay-now-btn {
    width: 100%;
    padding: 15px;
    background: #2a4463;
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 25px;
    transition: background-color 0.2s ease;
}
.pay-now-btn:hover { background-color: #0041cc; } /* Darker blue */


/* --- Legal & Policy Page Styles --- */
.legal-page-body {
    background-color: var(--body-bg-dark);
}

.legal-main-container {
    /*padding: 40px 0 80px 0;  Add more bottom padding */
}

.legal-page-header {
    margin-bottom: 40px 0;
    text-align: left;
    padding: 80px 0;
    background: #1e1e1e;
}
.legal-page-header h1 {
    font-size: clamp(2.2rem, 5vw, 3rem);
    color: var(--text-light);
    margin-bottom: 10px;
}
/* Optional Breadcrumb Styling */
.breadcrumb-legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 8px;
    font-size: 0.9rem;
}
.breadcrumb-legal li a {
    color: var(--text-color-on-dark);
    text-decoration: none;
}
.breadcrumb-legal li a:hover {
    color: var(--text-light);
}
.breadcrumb-legal li::after { /* Separator */
    content: '>';
    margin-left: 8px;
    color: #666;
}
.breadcrumb-legal li:last-child::after {
    content: ''; /* No separator for last item */
}
.breadcrumb-legal li[aria-current="page"] {
    color: #888; /* Dim current page */
}


.legal-content-layout {
    display: grid;
    grid-template-columns: 260px 1fr; /* Sidebar width and main content */
    gap: 40px; /* Gap between sidebar and content */
    align-items: flex-start; /* Align items to top */
    margin-top: 80px;
}

.legal-sidebar-nav {
    position: sticky;
    top: calc(var(--nav-height) + 20px); /* Adjust based on your sticky nav height + offset */
    max-height: calc(100vh - var(--nav-height) - 40px); /* Prevent overlapping footer */
    overflow-y: auto; /* Scrollbar if sidebar content is too long */
    padding-right: 15px; /* Space for scrollbar if it appears */
}
.legal-sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.legal-sidebar-nav li {
    margin-bottom: 5px;
}
.legal-nav-link {
    display: block;
    padding: 10px 15px;
    color: var(--text-color-on-dark);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-left: 3px solid transparent; /* For active state indicator */
}
.legal-nav-link:hover {
    background-color: var(--content-bg-dark-subtle);
    color: var(--text-light);
}
.legal-nav-link.active {
    background-color: var(--content-bg-dark-subtle); /* Darker subtle highlight */
    color: var(--cta-green-start); /* Active link color */
    font-weight: 600;
    border-left-color: var(--cta-green-start);
}


.legal-content-area {
    /* Background will be inherited from body or section */
}
.legal-content-section {
    padding: 0 !important;
    margin-top: 0 !important;
}
.legal-content-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.legal-content-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    color: var(--text-light);
    margin: 0 0 5px 0;
    padding-top: 20px; /* Offset for scrollspy */
}
.last-updated-date {
    display: block;
    font-size: 0.85rem;
    color: #888; /* Muted color */
    margin-bottom: 25px;
}
.legal-content-section p,
.legal-content-section ul,
.legal-content-section ol {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color-on-dark);
    margin-bottom: 1.2em;
}
.legal-content-section h3 {
    font-size: 1.4rem;
    color: var(--text-light);
    margin: 30px 0 15px 0;
    font-weight: 600;
}
.legal-content-section h4 {
    font-size: 1.2rem;
    color: var(--text-light);
    margin: 25px 0 10px 0;
    font-weight: 600;
}
.legal-content-section ul,
.legal-content-section ol {
    padding-left: 25px; /* Indent lists */
}
.legal-content-section li {
    margin-bottom: 0.5em;
}
.legal-content-section a { /* Links within the content */
    color: var(--cta-green-start); /* Use a theme accent color */
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
.legal-content-section a:hover {
    text-decoration: none;
}

/* --- Guarantee CTA Banner Section --- */
.guarantee-cta-banner {
    background-color: var(--banner-bg-color);
    color: var(--banner-text-light);
    padding: 80px 0;
    position: relative; /* For positioning abstract graphics */
    overflow: hidden; /* To clip abstract graphics */
}

.guarantee-cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* Ensure content is above abstract graphics */
    z-index: 2;
}

.guarantee-cta-content {
    flex-basis: 55%; /* Adjust as needed */
    max-width: 600px;
    z-index: 2; /* Ensure text is above graphics */
}

/* Guarantee Badge */
.guarantee-badge-wrapper {
    margin-bottom: 30px;
}
.guarantee-badge {
    width: 150px; /* Adjust size as needed */
    height: 150px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.badge-arc {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.badge-text {
    position: relative; /* To be on top of SVG */
    z-index: 1;
    color: var(--text-light); /* Ensure text inside badge is light */
}
.badge-days {
    font-size: 2.5rem; /* Large "30" */
    font-weight: 700;
    line-height: 1;
    display: block;
}
.badge-day-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    line-height: 1;
    margin-top: 2px;
}
.badge-guarantee-label {
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    margin-top: 6px;
    display: block;
    color: #A0B3C1; /* Slightly dimmer text for subtitle */
}

/* Text Content */
.guarantee-cta-title {
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-light); /* Pure white or very light */
    line-height: 1.2;
    margin-bottom: 15px;
}
.guarantee-cta-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--banner-text-light);
    line-height: 1.5;
    margin-bottom: 20px;
}
.guarantee-cta-details {
    font-size: 0.95rem;
    color: var(--banner-text-light);
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 500px;
}
.text-link-guarantee {
    color: var(--banner-accent-glow); /* Lighter accent for link */
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    font-weight: 600;
}
.text-link-guarantee:hover {
    text-decoration: none;
}

.cta-button-guarantee {
    display: inline-block;
    background-color: #2a4463; /* White button */
    color: var(--banner-bg-color); /* Dark text on button */
    padding: 14px 30px;
    border-radius: 30px; /* Pill shape */
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid var(--text-light); /* Border for definition */
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}
.cta-button-guarantee:hover {
    background-color: transparent;
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Abstract Background Graphics */
.abstract-graphics-container {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 50%; /* Start graphics from midpoint, adjust as needed */
    z-index: 1; /* Behind content */
    pointer-events: none; /* Allow clicks to pass through */
}
.abstract-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4; /* Adjust opacity for desired blend */
    filter: blur(10px); /* Soften edges, adjust blur amount */
}
.abstract-circle.circle-1 {
    width: 350px;
    height: 350px;
    background: #2a4463;
    top: 50%;
    right: -80px; /* Partially off-screen */
    transform: translateY(-60%);
}
.abstract-circle.circle-2 {
    width: 450px;
    height: 450px;
    background: #005cca;
    top: 50%;
    right: 50px; /* Overlapping */
    transform: translateY(-40%);
    opacity: 0.3;
}
.abstract-circle.circle-3 {
    width: 300px;
    height: 300px;
    background: #2a4463;
    top: 50%;
    right: 200px; /* Further left */
    transform: translateY(-50%);
    opacity: 0.35;
}

/* --- Global Servers Section --- */
.global-servers-section {
    padding: 80px 0;
    text-align: center;
    position: relative; /* For the background image */
    background-image: url('../images/maps.webp'); /* Your map background */
    background-size: cover; /* Or contain, or specific size */
    background-position: center center;
    background-repeat: no-repeat;
    /* Add a subtle overlay if map is too busy for text readability on dark theme */
    /* background-color: rgba(18, 18, 18, 0.7); /* Adjust color and opacity */
    /* background-blend-mode: multiply; */ /* Or overlay, darken, etc. */
}

/* Add a pseudo-element for overlay if you prefer to keep background-image clean */
.global-servers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 18, 18, 0.80); /* Adjust (var(--body-bg-dark) with opacity) */
    z-index: 1; /* Overlay is below content */
}

.global-servers-section .container {
    position: relative; /* Ensure content is above the ::before overlay */
    z-index: 2;
}

.global-servers-section .section-title {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: var(--text-light); /* Ensure title is light on dark/map background */
    margin-bottom: 40px;
}

.country-flags-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Gap between flags */
    margin-bottom: 80px 0;
    max-width: 900px; /* Max width for the flag grid */
    margin-left: auto;
    margin-right: auto;
}

.flag-item {
    width: 64px; /* Adjust based on your flag image aspect ratio & desired size */
    height: 42px; /* Adjust to maintain aspect ratio or create uniform boxes */
    border-radius: 6px; /* Rounded corners for flags */
    overflow: hidden; /* Clip image to rounded corners */
    box-shadow: 0 2px 8px rgba(0,0,0,0.15); /* Subtle shadow */
    background-color: #fff; /* Fallback if images are transparent or don't load */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease-out;
}
.flag-item:hover {
    transform: scale(1.1);
}

.flag-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures flag fills the container, might crop if aspect ratios differ */
    /* object-fit: contain; Use if you want to see the whole flag, might leave whitespace */
    display: block;
}

.see-all-countries-button {
    display: inline-flex; /* For arrow alignment */
    align-items: center;
    background-color: transparent;
    /* For dark theme, button should be light or use an accent color */
    color: var(--text-light);
    border: 2px solid var(--cta-green-start); /* Your accent color */
    padding: 12px 25px;
    border-radius: 30px; /* Pill shape */
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.see-all-countries-button:hover {
    background-color: var(--cta-green-start);
    color: var(--text-light); /* Or var(--body-bg-dark) if green is very light */
    border-color: var(--cta-green-start);
}
.see-all-countries-button .arrow {
    margin-left: 8px;
    transition: transform 0.2s ease-in-out;
}
.see-all-countries-button:hover .arrow {
    transform: translateX(3px);
}

/* --- 404 Page Styles --- */
.page-404-body {
    background: linear-gradient(135deg, #f4c600, var(--cta-bg-end));
    color: var(--text-color-on-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    overflow: hidden; /* Prevent scrollbars from large text */
    position: relative; /* For positioning the background text */
    font-family: var(--font-family); /* Your default font */
}

.background-404-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Montserrat', sans-serif; /* A bold display font */
    font-weight: 900;
    font-size: clamp(200px, 40vw, 500px); /* Hugely responsive */
    line-height: 0.8; /* Tight line height */
    color: rgba(255, 255, 255, 0.03); /* Very subtle light text for background */
    /* In example, the numbers are lighter than bg. For dark theme, they are lighter than body-bg-dark */
    /* Example colors from image: text: #F9D7C5 (light peach), bg: #FDEFE2 (lighter peach)
       We will make them a very light shade of gray on dark bg */
    user-select: none;
    pointer-events: none;
    z-index: 1;
    display: flex; /* To control spacing if needed, though not strictly for this effect */
}
.background-404-text span {
    display: inline-block;
    /* letter-spacing: -0.05em; /* Adjust spacing if characters are too far */
}


.content-404-main {
    position: relative; /* To be above background text */
    z-index: 2;
    text-align: center;
}

.container-404 {
    /* The example content is inside a shape formed by the "0" of "404".
       We'll make a rounded content box that sits nicely on top. */
    background-color: var(--content-bg-dark-subtle); /* Slightly lighter dark for the card */
    padding: 40px 50px;
    border-radius: 24px; /* Rounded corners like example */
    max-width: 480px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid #333; /* Subtle border for definition */
}

.icon-404-wrapper {
    margin-bottom: 25px;
}
.icon-404-graphic { /* SVG styles */
    width: 100px; /* Adjust size as needed */
    height: 100px;
    /* SVG colors are set inline for this example, but can be styled via CSS too */
}

.message-404 {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color-on-dark);
    margin: 0 0 30px 0;
}

.button-404-home {
    display: inline-flex;
    align-items: center;
    /* Button style from example: light bg, dark text, thick border */
    background-color: #ffffff; /* Light peachy color from example */
    color: #1E1E1E; /* Dark text */
    padding: 12px 25px;
    border-radius: 12px; /* Rounded corners */
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: 3px solid #1E1E1E; /* Thick dark border */
    box-shadow: 4px 4px 0px #1E1E1E; /* Offset shadow effect */
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.button-404-home:hover {
    background-color: #f5c7b3; /* Slightly darker peach */
    transform: translate(2px, 2px); /* Reduce shadow on hover */
    box-shadow: 2px 2px 0px #1E1E1E;
}
.button-404-home:active {
    transform: translate(4px, 4px); /* Full press effect */
    box-shadow: 0px 0px 0px #1E1E1E;
}

.button-404-home .arrow {
    margin-left: 8px;
    transition: transform 0.2s ease-in-out;
}
/* .button-404-home:hover .arrow {
    transform: translateX(3px); /* Optional arrow move */
} */

/* Responsive 404 Page */
@media (max-width: 768px) {
    .container-404 {
        padding: 30px 25px;
    }
    .icon-404-graphic {
        width: 80px;
        height: 80px;
    }
    .message-404 {
        font-size: 0.95rem;
    }
    .button-404-home {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}
/* --- Responsive Global Servers Section --- */
@media (max-width: 768px) {
    .global-servers-section {
        padding: 60px 0;
    }
    .global-servers-section .section-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 30px;
    }
    .country-flags-grid {
        gap: 15px;
        margin-bottom: 30px;
    }
    .flag-item {
        width: 56px;
        height: 36px;
    }
    .see-all-countries-button {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .flag-item {
        width: 48px;
        height: 32px;
    }
     .country-flags-grid {
        gap: 10px;
    }
}
/* --- Responsive Guarantee CTA Banner --- */
@media (max-width: 992px) { /* Tablets */
    .guarantee-cta-container {
        flex-direction: column;
        text-align: center;
    }
    .guarantee-cta-content {
        flex-basis: auto;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center; /* Center content items like badge, button */
    }
    .guarantee-badge-wrapper {
        margin-bottom: 25px;
    }
    .abstract-graphics-container {
        left: 0; /* Graphics can span full width behind text */
        opacity: 0.3; /* Reduce opacity when behind text */
    }
    .abstract-circle.circle-1 { right: -100px; transform: translateY(-50%) scale(0.8); }
    .abstract-circle.circle-2 { right: -50px; transform: translateY(-40%) scale(0.9); }
    .abstract-circle.circle-3 { right: 80px; transform: translateY(-60%) scale(0.7); }
}

@media (max-width: 768px) {
    .guarantee-cta-banner {
        padding: 60px 0;
    }
    .guarantee-cta-title {
        font-size: clamp(1.8rem, 6vw, 2.4rem);
    }
    .guarantee-cta-subtitle {
        font-size: 1.1rem;
    }
    .guarantee-cta-details {
        font-size: 0.9rem;
    }
    .guarantee-badge { width: 100px; height: 100px; }
    .badge-days { font-size: 2rem; }
    .badge-day-label { font-size: 0.7rem; }
    .badge-guarantee-label { font-size: 0.55rem; }
}
/* Responsive Legal Page */
@media (max-width: 992px) { /* Tablets */
    .legal-content-layout {
        grid-template-columns: 220px 1fr; /* Slightly narrower sidebar */
        gap: 30px;
    }
}

@media (max-width: 768px) { /* Mobile */
    .legal-content-layout {
        grid-template-columns: 1fr; /* Stack sidebar and content */
    }
    .legal-sidebar-nav {
        position: static; /* Remove stickiness */
        max-height: none;
        overflow-y: visible;
        margin-bottom: 30px;
        padding-right: 0;
        border-bottom: 1px solid #2f2f2f; /* Separator when stacked */
        padding-bottom: 20px;
    }
    .legal-sidebar-nav ul { /* Optional: horizontal scroll for nav items on mobile */
        /* display: flex;
        overflow-x: auto;
        padding-bottom: 10px;
        white-space: nowrap; */
    }
    .legal-sidebar-nav li {
        /* margin-right: 10px; */ /* If using horizontal scroll */
    }
    .legal-content-section h2 {
        padding-top: 0; /* No scrollspy offset needed when stacked */
    }
}
/* Responsive Checkout */
@media (max-width: 1024px) { /* Adjust breakpoint as needed */
    .checkout-main-content {
        grid-template-columns: 1fr; /* Stack columns */
        gap: 30px;
    }
    .checkout-payment-summary {
        margin-top: 20px;
    }
}
@media (max-width: 768px) {
    .checkout-card { padding: 20px; }
    .checkout-header { flex-direction: column; text-align: center; }
    .checkout-section-header { flex-direction: column; gap: 10px; align-items: flex-start; }
    .billing-cycle-toggle, .payment-method-toggle { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
}

/* --- Responsive Design --- */
/* Mobile nav adjustments */
@media (max-width: 768px) {
	.nav-menu {
        display: none; /* Hide menu on mobile */
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        border-top: 1px solid #eee;
        background-color: var(--content-bg-dark-subtle); /* Darker background for mobile dropdown */
        border-top: 1px solid #333; /* Darker border */
    }

    .nav-menu.active { /* Class toggled by JS */
        display: flex;
    }

    .nav-menu li a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
        color: var(--text-color-on-dark); /* Light text for links in mobile menu */
        border-bottom: 1px solid #333; /* Darker separator */
    }

    .nav-menu li:last-child a {
        border-bottom: none;
    }

    .nav-toggle {
        display: block; /* Show hamburger on mobile */
    }

    .nav-menu li a:hover,
    .nav-menu li a.active {
        color: var(--cta-bg-start); /* Light green accent */
        background-color: rgba(255,255,255,0.05); /* Subtle hover bg */
    }
    /* Ensure hamburger icon logic for open (X) state is correct */
    .nav-toggle.active .hamburger { background-color: transparent; }
    .nav-toggle.active .hamburger::before,
    .nav-toggle.active .hamburger::after {
        background-color: var(--nav-initial-text); /* White lines for X on dark nav */
    }
    .top-nav.scrolled .nav-toggle.active .hamburger::before,
    .top-nav.scrolled .nav-toggle.active .hamburger::after {
        background-color: var(--nav-scroll-text); /* Dark lines for X on white nav */
    }

    /* Other responsive styles remain largely the same */
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }

     .gallery-card .card-overlay {
        padding: 15px 20px; /* Slightly smaller padding on mobile */
    }

    .gallery-card.active .card-overlay {
        opacity: 1; /* Ensure overlay is visible on active card on mobile */
    }

    .gallery-card .card-text-content h3 {
        font-size: clamp(0.9rem, 3vw, 1.1rem); /* Adjust font size for mobile if needed */
    }
    .cta-trial-section {
        padding: 40px 0;
    }
    .cta-title {
        font-size: clamp(1.6rem, 5vw, 2rem);
    }
    .cta-content-column {
        padding: 20px;
    }
    .cta-form {
        padding: 15px;
    }
        .vimeo-video-section {
        padding: 40px 0;
    }
    /* Max width might not be needed, or can be adjusted */
    .vimeo-embed-container {
        max-width: 100%; /* Allow full width on smaller screens */
    }
    .pre-footer-cta {
        padding: 60px 0;
    }
    .pre-footer-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .main-footer-content {
        padding: 40px 0 20px 0;
    }
    .footer-nav ul {
        gap: 15px;
        flex-wrap: wrap; /* Allow nav links to wrap */
        justify-content: center;
    }
    .footer-bottom-row {
        flex-direction: column-reverse; /* Stack copyright below legal links */
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    .live-sports-networks {
        padding: 60px 0;
    }
    .live-sports-networks .section-title {
        font-size: clamp(2rem, 6vw, 2.8rem);
    }
    .networks-subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    .view-channels-link {
        margin-bottom: 30px;
    }
    .network-logo-circle {
        width: 70px;
        height: 70px;
        padding: 8px;
    }
    .capabilities-section-stacked {
        padding: 60px 0;
    }
    .capability-item-stacked {
        flex-direction: column; /* Stack icon and text vertically inside item */
        align-items: center; /* Center items */
        text-align: center;
        gap: 20px;
    }
    .capability-icon-wrapper-stacked {
        margin-bottom: 10px;
    }
     .capability-text-stacked p {
        max-width: 100%;
    }
    .faq-section-styled .section-title {
        font-size: clamp(2rem, 5vw, 2.8rem);
        margin-bottom: 30px;
    }
    .faq-filters {
        gap: 8px;
        margin-bottom: 30px;
    }
    .faq-filter-button {
        padding: 7px 15px;
        font-size: 0.85rem;
    }
    .faq-question {
        padding: 18px 20px;
        font-size: 1rem;
    }
    .faq-answer.open {
        padding: 5px 20px 18px 20px;
    }
    .faq-answer p {
        font-size: 0.9rem;
    }
    .payment-icon-card {
        height: 60px;
        width: 100px;
        padding: 10px;
    }
    .payment-icon-card img {
        max-height: 30px;
    }
    .payment-icon-card.crypto-card {
        min-width: 130px; /* Adjust crypto card width on mobile */
        font-size: 0.8rem;
    }
    .payment-icon-card.crypto-card .crypto-icon {
        width: 24px;
        height: 24px;
    }
     .payment-icons-grid {
        gap: 10px;
    }
    .new-pricing-section {
        padding: 60px 0;
    }
    .header-tagline { font-size: 1rem; }
    .billing-cycle-selector select { font-size: 0.9rem; padding: 8px 25px 8px 12px; }

    .accordion-header { font-size: 1rem; padding: 15px 20px; }
    .accordion-content { padding: 0 20px; } /* Adjust padding on mobile */
    .accordion-content.open { padding: 15px 20px; }

    .accordion-content table {
        display: block; /* Make table scrollable horizontally if needed */
        overflow-x: auto;
        white-space: nowrap; /* Prevent wrapping in cells */
    }
    .accordion-content td {
        padding: 10px 8px;
        min-width: 80px; /* Minimum width for table cells when scrolling */
    }
     .accordion-content td:first-child {
        min-width: 150px; /* Feature name column wider */
    }
    .working-process-section .section-title {
        font-size: clamp(2rem, 6vw, 2.8rem);
        margin-bottom: 40px;
    }
    .process-steps-container {
        flex-direction: column; /* Stack steps vertically */
        align-items: center; /* Center items when stacked */
        gap: 40px; /* Gap between stacked items */
    }
    .process-step {
        width: 100%;
        max-width: 450px; /* Max width for readability when stacked */
        text-align: center; /* Center text content in stacked view */
    }
    .step-header {
        justify-content: center; /* Center number circle when arrow is hidden */
        margin-bottom: 15px;
    }
    .step-arrow-container {
        display: none; /* Hide arrows on mobile when stacked */
    }
    .step-title {
        margin-bottom: 10px;
    }
    .leagues-carousel-section .section-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        margin-bottom: 40px;
    }
    .league-slide {
        flex: 0 0 calc(50% - 10px); /* Show 2 items */
    }
    .league-card {
        height: 140px;
        padding: 20px 15px;
    }
    .league-card img {
        max-height: 70px;
    }
    .carousel-navigation {
        gap: 20px;
    }
    .football-platform { padding: 60px 0; }
    .platform-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .platform-title-block,
    .platform-description-block {
        flex-basis: auto;
        width: 100%;
        max-width: 500px;
    }
    .platform-description-block { padding-top: 0; margin-top: 20px; }
    .watch-now-link { justify-content: center; }

    .platform-gallery {
        flex-direction: column; /* Stack cards vertically */
        height: auto; /* Auto height for stacked cards */
        gap: 20px;
    }
    /* Reset flex behavior for stacked cards, active state will mainly control visual prominence */
    .gallery-card,
    .gallery-card.active,
    .platform-gallery.has-active .gallery-card:not(.active) {
        flex-basis: auto !important; /* Override desktop flex-basis */
        flex-grow: 1 !important;   /* Override desktop flex-grow */
        height: 280px;
        width: 100%;
    }
    .gallery-card.main-card,
    .gallery-card.main-card.active { /* Main card can be slightly taller */
        height: 320px;
    }

    /* Mobile hover/active visual: subtle scale, always full opacity and brightness for simplicity */
    .gallery-card.active img {
        transform: scale(1.03);
    }
    .gallery-card img { /* Ensure images are not overly dimmed by default on mobile */
        filter: brightness(0.95);
        opacity: 1;
    }
    .gallery-card.side-card img { /* Keep side cards B&W on mobile by default */
        filter: grayscale(100%) brightness(0.9);
    }
    .gallery-card.side-card.active img { /* Active side card becomes color on mobile */
        filter: grayscale(0%) brightness(1);
    }

    .gallery-card.main-card.active .card-overlay {
        opacity: 1; /* Ensure overlay is visible on active main card */
    }
}

/* Tablet nav adjustments */
@media (max-width: 992px) { /* Tablets */
	.capabilities-container-stacked {
        flex-direction: column; /* Stack intro and list on tablets */
        gap: 50px;
    }
    .capabilities-intro-sticky {
        position: static; /* Remove stickiness for intro on tablet */
        height: auto;
        text-align: center; /* Center text when stacked */
        flex-basis: auto;
    }
    .capabilities-intro-sticky .capabilities-description {
        margin-left: auto;
        margin-right: auto;
    }
    .capabilities-list-scrolling {
        flex-basis: auto;
    }
    .capability-item-stacked {
        /* On tablets, the stacking effect might be too much.
           Consider making them just scroll normally. */
        position: relative; /* Change from sticky to normal scroll */
        top: auto;
        min-height: auto; /* Let content define height */
        padding: 30px 0;
        border-bottom: 1px solid #282828;
    }
    .capability-item-stacked:last-child {
        border-bottom: none;
    }
    .capabilities-title-main,
    .capabilities-title-secondary {
        font-size: clamp(2.5rem, 5vw, 3.5rem);
    }
    .platform-header { margin-bottom: 40px; }
    .platform-gallery { height: 380px; }
    .league-slide {
        flex: 0 0 calc(33.333% - 13.33px); /* Show 3 items */
    }
    .league-card {
        height: 160px;
    }
    .working-process-section .section-title {
        margin-bottom: 60px;
    }
    .process-steps-container {
        gap: 20px;
    }
    .step-arrow-container {
        padding: 0 10px;
    }
    .new-pricing-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 40px;
    }
    .pricing-plans-grid {
        grid-template-columns: 1fr; /* Stack pricing cards */
        max-width: 450px; /* Constrain width when stacked */
        margin-left: auto;
        margin-right: auto;
    }
    .pricing-plan-card.highlighted-plan {
        transform: scale(1); /* Reset scale when stacked */
    }
    .pricing-plan-card.highlighted-plan:hover {
        transform: translateY(-5px); /* Only y-translate on hover */
    }
     .accordion-content td:first-child {
        width: 35%;
    }
    .payment-methods-content {
        flex-direction: column; /* Stack text and icons */
        align-items: flex-start; /* Align to start when stacked */
        gap: 30px;
    }
    .payment-methods-text {
        flex-basis: auto; /* Full width when stacked */
        text-align: center; /* Center text when stacked */
    }
    .payment-icons-grid {
        justify-content: center; /* Center icons when stacked */
        width: 100%;
    }
    .network-logos-grid {
        gap: 15px;
        max-width: 100%;
    }
    .network-logo-circle {
        width: 80px;
        height: 80px;
    }
    .cta-trial-container {
        flex-direction: column; /* Stack illustration and content */
        text-align: center; /* Center text when stacked */
    }
    .cta-illustration-column {
        flex-basis: auto;
        width: 100%;
        max-width: 500px; /* Limit illustration width when stacked */
        margin-bottom: 30px;
    }
    .cta-main-illustration {
        border-radius: 20px; /* Full rounded corners when stacked */
    }
    .cta-content-column {
        flex-basis: auto;
        width: 100%;
    }
    .cta-form {
        flex-direction: column; /* Stack form elements */
        align-items: stretch; /* Make elements full width */
    }
    .cta-submit-button {
        width: 100%; /* Full width button on mobile form */
    }

    .footer-top-row {
        flex-direction: column;
        align-items: center; /* Center items when stacked */
        text-align: center;
        gap: 25px;
        padding-bottom: 25px;
        margin-bottom: 25px;
    }
    .language-selector-container {
        margin-top: 10px; /* Add some space if it's last in stack */
    }
     .language-dropdown { /* Adjust dropdown position if needed */
        /* right: auto; left: 50%; transform: translateX(-50%); */
    }
    .footer-top-row {
        flex-direction: column;
        align-items: center; /* Center items when stacked */
        text-align: center;
        gap: 25px;
        padding-bottom: 25px;
        margin-bottom: 25px;
    }
    .language-selector-container {
        margin-top: 10px; /* Add some space if it's last in stack */
    }
     .language-dropdown { /* Adjust dropdown position if needed */
        /* right: auto; left: 50%; transform: translateX(-50%); */
    }

}


/* Small Mobile nav adjustments */
@media (max-width: 480px) { /* Small Mobile */
	.league-slide {
        /* On very small screens, you might want to show 1 item,
           or make it a bit wider than 50% and let a bit of the next peek out.
           For 1 item at a time: flex: 0 0 100%;
           For a bit of peeking: flex: 0 0 80%; (and center the track differently)
           For now, sticking with 2.
        */
        flex: 0 0 calc(50% - 10px);
    }
    .carousel-nav-button {
        font-size: 0.8rem;
        padding: 6px 8px;
    }
    .carousel-pagination {
        font-size: 0.8rem;
    }
	 .network-logos-grid {
        gap: 10px; /* Tighter gap on very small screens */
    }
    .network-logo-circle {
        width: 60px; /* Even smaller logos */
        height: 60px;
    }
    .payment-methods-section {
        padding: 50px 0;
    }
     .section-title-small {
        font-size: clamp(1.6rem, 5vw, 2rem);
    }
    .payment-vat-notice {
        font-size: 0.85rem;
    }
    /* Make cards take more width on very small screens if needed */
    .payment-icon-card {
        /* Example: 2 cards per row */
        /* width: calc(50% - 5px);  Adjust gap calculation if doing this */
    }
}



/* ... (other responsive styles) ... */