/* === 1. Setup: Color & Font Variables (LIGHT THEME) === */
:root {
    --bg-light-primary: #FFFFFF;     /* Pure white */
    --bg-light-secondary: #F9FAFB;   /* Off-white */
    --text-dark-primary: #1F2937;    /* Dark text */
    --text-dark-secondary: #6B7280;  /* Grey text */
    --border-light: #E5E7EB;         /* Light grey for borders */
    
    --accent-primary: #8000FF;  /* Purple */
    --accent-hover: #FF4081;    /* Pink */
    
    /* Menu colors are now LIGHT */
    --menu-bg: #FFFFFF;
    --menu-text: #1F2937;
    --menu-border: #E5E7EB;
    
    --font-primary: 'Poppins', sans-serif;
}

/* === 2. General Body Styling (with Sticky Footer Fix) === */
body {
    background-color: var(--bg-light-primary);
    color: var(--text-dark-secondary);
    font-family: var(--font-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
    overflow-x: hidden; /* Prevents horizontal scroll */
}

.page-content {
    flex-grow: 1; /* Sticky footer fix */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 { color: var(--text-dark-primary); margin-top: 0; }

/* === 3. Top Bar Styling === */
.top-bar {
    background-color: var(--bg-light-secondary);
    padding: 8px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-light);
}
.top-bar .container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
}
.top-bar a { 
    color: var(--text-dark-secondary); 
    padding: 5px; 
}
.top-bar a:hover { color: var(--accent-primary); }
.top-bar i { color: var(--accent-primary); margin-right: 8px; }

/* --- NEW: Top Bar Mobile Style --- */
@media (max-width: 480px) {
    .top-bar .container {
        flex-direction: column; /* Stack items vertically */
        gap: 5px; /* Add space between items */
    }
}

/* === 4. Main Header Styling === */
.main-header {
    background-color: var(--bg-light-primary);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}
.main-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 45px; width: auto; }

/* === 5. Desktop Navigation === */
.main-nav { display: none; }
@media (min-width: 769px) { .main-nav { display: block; } }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.main-nav li { margin-left: 30px; }
.main-nav a { text-decoration: none; color: var(--text-dark-primary); font-weight: 600; padding: 10px 0; }
.main-nav a:hover { color: var(--accent-primary); }

/* === 6. Hamburger Button === */
.mobile-nav-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 101; /* Sits over header */
}
@media (min-width: 769px) { .mobile-nav-toggle { display: none; } }

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark-primary); /* Dark lines */
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}


/* ===================================
   === 7. NEW SLIDE-IN MENU (LIGHT) ===
   =================================== */

/* The dark overlay that covers the site */
.menu-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 1000;
}

/* The slide-in menu container (LIGHT) */
.mobile-menu-container {
    background-color: var(--menu-bg); /* CHANGED to white */
    color: var(--menu-text); /* CHANGED to dark text */
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    max-width: 80%;
    z-index: 1001;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* Header inside the slide-in menu (LIGHT) */
.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    padding: 15px;
    border-bottom: 1px solid var(--menu-border); /* CHANGED */
}

/* The NEW "X" Close Button (LIGHT) */
.mobile-menu-close-btn {
    background: none;
    border: none;
    color: var(--menu-text); /* CHANGED to dark text */
    font-size: 2.5rem;
    font-weight: 200;
    line-height: 1;
    cursor: pointer;
    padding: 0 5px;
}
.mobile-menu-close-btn:hover {
    color: var(--accent-hover);
}

/* Links inside the slide-in menu (LIGHT) */
.mobile-menu-container nav {
    padding-top: 15px;
}
.mobile-menu-container ul { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}
.mobile-menu-container a { 
    display: block; 
    padding: 15px 25px; 
    text-decoration: none; 
    color: var(--menu-text); /* CHANGED to dark text */
    font-weight: 600; 
    font-size: 1.1rem; 
    border-bottom: 1px solid var(--menu-border); /* CHANGED */
}
.mobile-menu-container a:hover { 
    background-color: var(--accent-hover); 
    color: white; 
}


/* ===================================
   === 8. "OPEN" STATE STYLES ===
   =================================== */

/* Show the overlay */
body.mobile-menu-open .menu-overlay {
    display: block;
}

/* Slide the menu in */
body.mobile-menu-open .mobile-menu-container {
    transform: translateX(0);
}

/* ===================================
   === 8. FOOTER STYLING (Full Code) ===
   =================================== */

.main-footer {
    background-color: var(--bg-light-secondary);
    color: var(--text-dark-secondary);
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr; /* 1 column on mobile */
    gap: 30px;
    padding-bottom: 40px;
}

/* 3 columns on desktop */
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-widget h3 {
    color: var(--text-dark-primary);
    font-size: 1.2rem;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 10px;
}

.footer-widget p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget li {
    margin-bottom: 10px;
}

.footer-widget a {
    color: var(--text-dark-secondary);
    text-decoration: none;
}

.footer-widget a:hover {
    color: var(--accent-primary);
}

.footer-widget i {
    color: var(--accent-primary);
    margin-right: 5px;
}

/* Styles for the new footer logo */
.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 15px;
}

/* Styles for the new bottom bar */
.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Wraps on mobile */
    gap: 15px;
}

.copyright {
    margin: 0;
    font-size: 0.9rem;
    color: #9CA3AF;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    font-size: 0.9rem;
    color: var(--text-dark-secondary);
    text-decoration: none;
}

.footer-legal a:hover {
    color: var(--accent-primary);
    text-decoration: underline;
}

/* Makes the footer bottom stack on mobile */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column-reverse; /* Puts links above copyright */
        justify-content: center;
        gap: 20px;
    }
}

/* ===================================
   === 9. HERO SECTION STYLES (CENTERED) ===
   =================================== */

.hero {
    min-height: 85vh; 
    display: flex;
    align-items: center;
    justify-content: center; /* Center horizontally */
    text-align: center;      /* Center all text inside */
    padding: 60px 0;
    
    /* "PRO" GRADIENT */
    background: radial-gradient(
        ellipse at center,
        #ffffff 60%, /* White center */
        #fdf5ff 80%, /* Faint pink */
        #f0e6ff 100% /* Light purple edge */
    );
}

.hero-content {
    max-width: 750px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark-primary);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-dark-secondary);
    margin-bottom: 30px;
    max-width: 650px; 
    margin-left: auto;
    margin-right: auto;
}

/* Responsive font size for mobile */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero-description {
        font-size: 1.1rem;
    }
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center; /* Center buttons */
    flex-wrap: wrap; 
    gap: 15px;
}


/* ===================================
   === 10. BUTTON STYLES ===
   =================================== */

.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: #fff;
    border-color: var(--accent-primary);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.btn-secondary:hover {
    background-color: var(--accent-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}


/* ====================================================
   === 12. HERO REVIEWS (LIGHT FROSTED BOX - FIXED) ===
   ==================================================== */

.hero-reviews {
    display: flex;
    align-items: center; 
    justify-content: center; 
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 40px;
}

.review-item {
    /* Transparent LIGHT background */
    background-color: rgba(255, 255, 255, 0.6); 
    
    /* "Frosted glass" effect */
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px); 
    
    border: 1px solid rgba(0, 0, 0, 0.05); /* Subtle dark border */
    border-radius: 12px;
    
    /* This makes them smaller and fixes the size issue */
    width: 220px;
    min-height: 120px; 
    box-sizing: border-box; /* Ensures padding is included in width */
    
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers content vertically */
    
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

/* "Mouse hoover" effect */
.review-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.review-stars {
    color: #FFC107; /* Yellow stars */
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.review-platform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Space between items */
}

.review-score {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark-primary); /* Dark text */
}

.review-on {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-dark-secondary); /* Grey text */
}

.review-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark-primary); /* Dark text */
}

/* Specific styles for the icons */
.review-icon-trust {
    font-size: 1.4rem;
    color: #00b67a; /* Trustpilot Green */
}

.review-icon-google {
    font-size: 1.4rem;
    color: #4285F4; /* Google Blue */
}

/* Make sure the reviews stack nicely on mobile */
@media (max-width: 540px) {
    .hero-reviews {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .review-item {
        width: 100%;
        max-width: 280px; /* Max width on mobile */
    }
}
/* ===================================
   === 13. FEATURES SECTION ===
   =================================== */

.features-section {
    padding: 60px 0;
    background-color: var(--bg-light-secondary); /* Off-white */
    border-top: 1px solid var(--border-light);
}

/* Section Titles (re-usable) */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-dark-primary);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-dark-secondary);
    max-width: 600px;
    margin: 0 auto 40px auto;
}

/* Grid layout for the features */
.features-grid {
    display: grid;
    gap: 25px;
    
    /* Mobile: 1 column */
    grid-template-columns: 1fr;
}

/* Tablet: 2 columns */
@media (min-width: 576px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop: 3 columns */
@media (min-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Individual feature item styling */
.feature-item {
    background-color: var(--bg-light-primary); /* White */
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-primary); /* Purple */
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark-primary);
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark-secondary);
    margin: 0;
}
/* ===================================
   === 13. HOW-IT-WORKS SECTION (5-STEP UPDATE) ===
   =================================== */

.how-it-works-section {
    padding: 60px 0 80px 0;
    background-color: var(--bg-light-primary); /* White */
}

/* Re-usable Section Title Styles (No change) */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-dark-primary);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-dark-secondary);
    max-width: 600px;
    margin: 0 auto 50px auto; /* 50px bottom margin */
}

/* Grid for the 5 steps */
.steps-grid {
    display: grid;
    gap: 20px; /* Reduced gap for 5 columns */
    
    /* 1 column on mobile */
    grid-template-columns: 1fr;
}

/* 2 columns on tablet */
@media (min-width: 576px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 5 COLUMNS on desktop */
@media (min-width: 1200px) {
    .steps-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Individual Step Box */
.step-item {
    background-color: var(--bg-light-primary);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 25px; /* Adjusted padding */
    position: relative; 
    overflow: hidden; 
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--accent-primary);
}

/* The "01", "02", "03" number */
/* The "01", "02", "03" number */
.step-number {
    font-size: 3.5rem;
    font-weight: 700;
    
    /* NEW COLOR: This uses your purple accent color 
      (#8000FF) but with 10% opacity.
    */
    color: rgba(128, 0, 255, 0.1); 
    
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 0;
    line-height: 1;
    user-select: none; /* Can't be selected */
}

.step-item h3 {
    font-size: 1.3rem; /* Adjusted font size */
    font-weight: 600;
    color: var(--text-dark-primary);
    margin-bottom: 10px;
    position: relative; 
    z-index: 1;
}

.step-item p {
    font-size: 0.9rem; /* Adjusted font size */
    line-height: 1.6;
    color: var(--text-dark-secondary);
    margin: 0;
    position: relative; 
    z-index: 1;
}


/* ===================================
   === 14. CHANNEL SCROLLER SECTION ===
   =================================== */

.channel-section {
    padding: 60px 0 80px 0;
    background-color: var(--bg-light-secondary); /* Off-white */
    border-top: 1px solid var(--border-light);
}

.scroller-container {
    max-width: 100%;
    overflow: hidden;
    
    /* This creates the "fade out" effect on the sides */
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 10%,
        #000 90%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 10%,
        #000 90%,
        transparent 100%
    );
}

.scroller-inner {
    display: flex; /* This makes it horizontal */
    gap: 50px; /* Space between logos */
    list-style: none; /* This removes the bullet points */
    padding: 10px 0;
    margin: 0;
    
    /* This is the scrolling animation */
    animation: scroll 25s linear infinite;
}

/* This is your "manual control" */
.scroller-container:hover .scroller-inner {
    animation-play-state: paused;
}

.scroller-inner li {
    flex-shrink: 0; /* Prevents logos from shrinking */
    list-style-type: none; /* Double-check to remove bullets */
}

.scroller-inner img {
    height: 55px; /* Uniform height */
    width: auto;
    filter: grayscale(100%); /* Makes them all look uniform */
    opacity: 0.6;
    transition: all 0.3s ease;
}

/* Brighten logo on hover */
.scroller-inner li:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* The CSS animation that moves the logos */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* This moves the list left by the width of the first list */
        transform: translateX(-50%);
    }
}

/* ===================================
   === 15. MOVIE SCROLLER SECTION ===
   =================================== */

.movie-section {
    padding: 60px 0 80px 0;
    background-color: var(--bg-light-primary); /* White */
    border-top: 1px solid var(--border-light);
}

.movie-scroller-container {
    max-width: 100%;
    overflow: hidden;
    
    /* "Fade out" effect on the sides */
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 5%,
        #000 95%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 5%,
        #000 95%,
        transparent 100%
    );
}

.movie-scroller-inner {
    display: flex;
    gap: 20px; /* Space between posters */
    list-style: none;
    padding: 10px;
    margin: 0;
    
    /* Scrolling animation (slower for posters) */
    animation: movie-scroll 25s linear infinite;
}

/* Pause animation on hover */
.movie-scroller-container:hover .movie-scroller-inner {
    animation-play-state: paused;
}

.movie-scroller-inner li {
    flex-shrink: 0;
}

.movie-item {
    /* --- MOBILE SIZE (fits 2) --- */
    width: 130px;
    height: 195px; 
    
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative; 
    overflow: hidden; 
    cursor: pointer;
}

.movie-item:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Overlay with play icon */
.movie-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); 
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s ease;
}

.movie-item:hover .movie-item-overlay {
    opacity: 1; /* Show on hover */
}

/* The CSS animation that moves the posters */
@keyframes movie-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Moves the list left by the width of the first list */
        transform: translateX(-50%);
    }
}

/* --- DESKTOP SIZE (fits 6) --- */
/* This makes the posters bigger on laptops/desktops */
@media (min-width: 1200px) {
    .movie-item {
        width: 185px;  /* Larger width for desktop */
        height: 278px; /* Larger height for desktop */
    }
}
/* ===================================
   === 16. PRICING TABLE (NEW UI/UX) ===
   =================================== */

.pricing-section {
    padding: 60px 0 80px 0;
    background-color: var(--bg-light-secondary); /* Off-white */
    border-top: 1px solid var(--border-light);
}

.pricing-grid {
    display: grid;
    gap: 30px;
    align-items: stretch; /* Makes all plans the same height */
    
    /* 1 column on mobile */
    grid-template-columns: 1fr;
}

/* 3 columns on desktop */
@media (min-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-plan {
    background-color: var(--bg-light-primary); /* White */
    border: 2px solid var(--border-light); /* Standard light border */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Aligns buttons at the bottom */
}

/* Header of the plan */
.plan-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark-primary);
    margin: 0;
}
.plan-header p {
    font-size: 0.95rem;
    color: var(--text-dark-secondary);
    margin-bottom: 25px;
    min-height: 2.5em; /* Ensures headers are same height */
}

/* Price styling */
.plan-price {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-light);
}
.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark-secondary);
    vertical-align: top;
}
.price-amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-primary); /* NEW: Price is purple */
    line-height: 1;
}

/* Features list */
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
    flex-grow: 1; /* Pushes button to bottom */
}
.plan-features li {
    font-size: 0.95rem;
    color: var(--text-dark-secondary);
    padding: 10px 0;
    display: flex;
    align-items: center;
}
.plan-features li i {
    color: #10B981; /* Green checkmark for success */
    margin-right: 10px;
}
.plan-features li strong {
    color: var(--accent-primary);
    font-weight: 600;
}


/* Button in the plan */
.pricing-plan .btn {
    width: 100%;
}

/* ==================================
   === POPULAR PLAN (ATTENTION) ===
   ================================== */

.pricing-plan.popular {
    border-color: var(--accent-primary); /* Purple border */
    background-color: #fbf5ff; /* Faint purple background */
}

/* The "Best Value" ribbon */
.plan-ribbon {
    position: absolute;
    top: 0; 
    right: 0;
    background-color: var(--accent-primary); /* Purple */
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 0 10px 0 10px;
    box-shadow: 0 4px 10px rgba(128, 0, 255, 0.3);
}

/* Make popular plan button primary */
.pricing-plan.popular .btn-primary {
    background-color: var(--accent-primary);
    color: #fff;
    border-color: var(--accent-primary);
}


/* ==============================================
   === HOVER EFFECTS (FOR DESKTOP/LAPTOP ONLY) ===
   ============================================== */
@media (hover: hover) {
    .pricing-plan:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }
    
    .pricing-plan.popular {
        transform: scale(1.05); 
    }

    .pricing-plan.popular:hover {
        transform: scale(1.08); /* Bigger hover effect */
        box-shadow: 0 10px 30px rgba(128, 0, 255, 0.2);
    }

    /* Popular button hover */
    .pricing-plan.popular .btn-primary:hover {
        background-color: var(--accent-hover);
        border-color: var(--accent-hover);
    }
}

/* On mobile, remove the popular scaling */
@media (max-width: 991px) {
    .pricing-plan.popular {
        transform: scale(1);
    }
}

/* ===================================
   === 17. DEVICE COMPATIBILITY SECTION ===
   =================================== */

.devices-section {
    padding: 60px 0 80px 0;
    background-color: var(--bg-light-primary); /* White */
    border-top: 1px solid var(--border-light);
}

.devices-grid {
    display: grid;
    gap: 20px; /* Gap for mobile */
    
    /* 2 columns on mobile */
    grid-template-columns: repeat(2, 1fr);
}

/* 4 columns on tablet */
@media (min-width: 768px) {
    .devices-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px; /* Slightly larger gap */
    }
}

/* 8 columns on desktop */
@media (min-width: 1200px) {
    .devices-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

/* Individual Device Box */
.device-item {
    background-color: var(--bg-light-secondary); /* Off-white */
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 25px 20px; /* Adjusted padding */
    text-align: center;
    transition: all 0.3s ease;
    /* This ensures boxes are the same height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 150px;
}

/* Hover effect for desktop only */
@media (hover: hover) {
    .device-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        border-color: var(--accent-primary);
    }
}

.device-icon {
    font-size: 2.5rem; /* Slightly smaller icon */
    color: var(--accent-primary); /* Purple icon */
    margin-bottom: 20px;
    line-height: 1;
}

.device-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark-primary);
    margin-bottom: 5px;
}

.device-item p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-dark-secondary);
    margin: 0;
}
/* ===================================
   === 18. APPS SECTION ===
   =================================== */

.apps-section {
    padding: 60px 0 80px 0;
    background-color: var(--bg-light-secondary); /* Off-white */
    border-top: 1px solid var(--border-light);
}

.apps-grid {
    display: grid;
    gap: 20px;
    
    /* 3 columns on mobile */
    grid-template-columns: repeat(3, 1fr);
}

/* 4 columns on tablet */
@media (min-width: 768px) {
    .apps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 5 columns on desktop */
@media (min-width: 992px) {
    .apps-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.app-item {
    background-color: var(--bg-light-primary);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

/* Special style for the "And More" box */
.app-item-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-dark-secondary);
}
.app-item-more i {
    font-size: 2rem;
    margin-bottom: 10px;
}

@media (hover: hover) {
    .app-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        border-color: var(--accent-primary);
    }
}

.app-item img {
    height: 50px;
    width: 50px;
    object-fit: contain;
    margin-bottom: 15px;
}

.app-item p {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark-secondary);
    margin: 0;
}

/* ===================================
   === "GREAT NOTE" OFFER BOX ===
   =================================== */

.apps-offer-box {
    background-color: #fbf5ff; /* Faint purple */
    border: 2px solid var(--accent-primary);
    border-radius: 12px;
    padding: 30px;
    margin-top: 50px;
    
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap; /* Stacks on mobile */
    gap: 30px;
}

.offer-item {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 350px;
}

.offer-icon {
    font-size: 2.5rem;
    color: var(--accent-primary);
}
/* Make the "Best Value" star stand out */
.offer-item:first-child .offer-icon {
    color: var(--accent-icons); /* Yellow */
}

.offer-text h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark-primary);
    margin: 0 0 5px 0;
}

.offer-text p {
    font-size: 0.95rem;
    color: var(--text-dark-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ===================================
   === 19. SEO CONTENT SECTION ===
   =================================== */

.seo-content-section {
    padding: 80px 0;
    background-color: var(--bg-light-primary); /* White */
    border-top: 1px solid var(--border-light);
}

.content-grid {
    display: grid;
    /* 1 column on mobile */
    grid-template-columns: 1fr; 
    gap: 40px;
    align-items: center;
}

/* 2 columns on desktop */
@media (min-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

.content-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.content-text p {
    font-size: 1.1rem;
    color: var(--text-dark-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.content-text .btn {
    margin-top: 10px;
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

/* ===================================
   === 20. CHECKOUT PAGE STYLES (NEW) ===
   =================================== */

.checkout-section {
    padding: 60px 0 80px 0;
    background-color: var(--bg-light-secondary); /* Off-white */
    min-height: 80vh; 
}

/* New 2-Column Grid */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr; /* 1 column on mobile */
    gap: 40px;
}

/* 2 columns on desktop */
@media (min-width: 992px) {
    .checkout-grid {
        grid-template-columns: 2fr 1fr; /* 66% / 33% split */
    }
}

/* Left side: The Form */
.checkout-form-container {
    background-color: var(--bg-light-primary);
    padding: 30px 40px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
}

.checkout-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark-primary);
    text-align: left;
    margin-bottom: 10px;
}

.checkout-subtitle {
    font-size: 1.1rem;
    text-align: left;
    color: var(--text-dark-secondary);
    line-height: 1.6;
    margin: 0 auto 30px 0;
}

/* --- Form Styles --- */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark-primary);
    margin-bottom: 8px;
}

.form-control,
.form-control-static {
    display: block;
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    font-family: var(--font-primary);
    color: var(--text-dark-primary);
    background-color: #FFFFFF; /* Plain white */
    border: 1px solid var(--border-light);
    border-radius: 8px;
    box-sizing: border-box; /* Important */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(128, 0, 255, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.checkout-box .btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

/* --- Right Side: Order Summary --- */
.checkout-summary-container {
    /* On mobile, this will be below the form */
}

.checkout-summary-box {
    background-color: var(--bg-light-primary);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    
    /* Makes it "stick" to the top on desktop */
    position: sticky;
    top: 120px; /* 80px header + 40px padding */
}

.checkout-summary-box h3 {
    font-size: 1.5rem;
    color: var(--text-dark-primary);
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    color: var(--text-dark-secondary);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.summary-item .item-price {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--accent-primary); /* Purple price */
}

.summary-note {
    font-size: 0.9rem;
    color: var(--text-dark-secondary);
    background-color: var(--bg-light-secondary);
    padding: 10px;
    border-radius: 8px;
    margin-top: 20px;
}
.summary-note strong {
    color: var(--text-dark-primary);
}

/* --- Trust Badge Styles --- */
.trust-badge {
    display: flex; /* Changed from inline-flex */
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-dark-secondary);
    margin-top: 20px; /* More space */
}
.trust-badge i {
    color: var(--accent-primary);
    font-size: 1.2rem;
}


/* --- WhatsApp Flag Input Styles --- */
.iti {
    width: 100%;
}
.iti .form-control {
    padding-left: 58px;
}

/* --- Validation Error Style --- */
.error-message {
    color: #D93025; /* Red */
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 8px;
}

/* ===================================
   === 21. CONTACT PAGE (NEW STYLE) ===
   =================================== */

.contact-section {
    padding: 60px 0 80px 0;
    background-color: var(--bg-light-secondary); /* Off-white */
    min-height: 80vh; 
}

/* === 3 Contact Cards === */
.contact-cards-grid {
    display: grid;
    grid-template-columns: 1fr; /* 1 column on mobile */
    gap: 25px;
    margin-bottom: 50px;
}

/* 3 columns on desktop */
@media (min-width: 992px) {
    .contact-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-card {
    background-color: var(--bg-light-primary);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-dark-secondary);
}
/* This makes the non-link card look the same */
.contact-card {
    display: block;
}

@media (hover: hover) {
    .contact-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        border-color: var(--accent-primary);
    }
}

.contact-card-icon {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 15px;
}
.contact-card:nth-child(2) .contact-card-icon {
    color: #25D366; /* WhatsApp Green */
}

.contact-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark-primary);
    margin: 0 0 5px 0;
}

.contact-card p {
    font-size: 0.95rem;
    margin: 0 0 15px 0;
}

.contact-card-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-primary);
}


/* === Centered Contact Form === */
.contact-form-container {
    background-color: var(--bg-light-primary);
    padding: 30px 40px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    max-width: 750px;
    margin: 0 auto; /* This centers the form box */
}
.contact-form-container h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark-primary);
    margin-bottom: 10px;
    text-align: center;
}
.contact-form-container p {
    text-align: center;
    color: var(--text-dark-secondary);
    margin-bottom: 30px;
}
.contact-form-container .btn-primary {
    width: 100%;
    padding-top: 14px;
    padding-bottom: 14px;
    font-size: 1.1rem;
}

/* === Form Element Styles === */
/* (Re-using from checkout) */

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark-primary);
    margin-bottom: 8px;
}

.form-control {
    display: block;
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    font-family: var(--font-primary);
    color: var(--text-dark-primary);
    background-color: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    box-sizing: border-box; 
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(128, 0, 255, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.iti { /* WhatsApp Input Style */
    width: 100%;
}
.iti .form-control {
    padding-left: 58px;
}

.error-message {
    color: #D93025; /* Red */
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 8px;
}
/* ===================================
   === 22. FAQ PAGE STYLES ===
   =================================== */

.faq-section {
    padding: 60px 0 80px 0;
    background-color: var(--bg-light-secondary); /* Off-white */
    min-height: 70vh;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden; /* For the border-radius */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.faq-item {
    border-bottom: 1px solid var(--border-light);
}
.faq-item:last-child {
    border-bottom: none;
}

/* The clickable question button */
.faq-question {
    width: 100%;
    background-color: var(--bg-light-primary);
    border: none;
    text-align: left;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark-primary);
    cursor: pointer;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--bg-light-secondary); /* Off-white hover */
}

/* The arrow icon */
.faq-question i {
    color: var(--accent-primary);
    transition: transform 0.3s ease;
    flex-shrink: 0; /* Prevents icon from shrinking */
}

/* The answer content box */
.faq-answer {
    background-color: var(--bg-light-primary);
    max-height: 0; /* This is the "closed" state */
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}
.faq-answer p {
    padding: 0 25px 25px 25px; /* Padding only appears when open */
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-dark-secondary);
}

/* --- "ACTIVE" STATE (Added by JS) --- */

/* Rotate the arrow when open */
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Change color of active question */
.faq-item.active .faq-question {
    color: var(--accent-primary);
}

/* Reveal the answer */
.faq-item.active .faq-answer {
    max-height: 300px; /* Animate open (set to a value larger than any answer) */
    transition: max-height 0.5s ease-in;
}

/* ===================================
   === 23. ABOUT US PAGE STYLES ===
   =================================== */

/* This is the purple title bar at the top of the page */
.page-hero {
    background-color: var(--accent-primary);
    background-image: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-hover) 100%);
    color: white;
    padding: 50px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: white;
    margin: 0 0 10px 0;
}

.page-hero p {
    font-size: 1.2rem;
    color: white;
    opacity: 0.9;
    margin: 0;
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.2rem;
    }
}

/* This styles the main content section */
.about-section {
    padding: 80px 0;
    background-color: var(--bg-light-primary); /* White */
}

.about-grid {
    display: grid;
    /* 1 column on mobile */
    grid-template-columns: 1fr; 
    gap: 40px;
    align-items: center;
}

/* 2 columns on desktop */
@media (min-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark-primary);
    margin-top: 30px;
    margin-bottom: 15px;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-dark-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}
.about-text p strong {
    color: var(--text-dark-primary);
}

.about-text .btn {
    margin-top: 10px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

/* ===================================
   === 24. GUIDE PAGE STYLES (NEW) ===
   =================================== */

/* Page Hero (Title Bar) */
.page-hero {
    background-color: var(--accent-primary);
    background-image: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-hover) 100%);
    color: white;
    padding: 50px 0;
    text-align: center;
}
.page-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: white;
    margin: 0 0 10px 0;
}
.page-hero p {
    font-size: 1.2rem;
    color: white;
    opacity: 0.9;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.2rem;
    }
}

/* Guide content section */
.guide-section {
    padding: 60px 0 80px 0;
    background-color: var(--bg-light-secondary); /* Off-white */
}

/* Tab Buttons */
.guide-tabs {
    display: flex;
    flex-wrap: wrap; 
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-light);
}

.guide-tab-btn {
    background-color: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: -2px;
}
.guide-tab-btn i {
    margin-right: 8px;
    color: var(--text-dark-secondary);
    transition: all 0.3s ease;
}
.guide-tab-btn:hover {
    color: var(--text-dark-primary);
}
.guide-tab-btn.active {
    color: var(--accent-primary);
    border-bottom-color: var(--accent-primary);
}
.guide-tab-btn.active i {
    color: var(--accent-primary);
}


/* Tab Content */
.tab-pane {
    display: none; 
    background-color: var(--bg-light-primary);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 30px 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.tab-pane.active {
    display: block; 
}

.tab-pane h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark-primary);
    margin: 0 0 25px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Style for the two methods */
.guide-method {
    margin-bottom: 25px;
}

.guide-method-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark-primary);
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge-recommended {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-primary);
    background-color: #fbf5ff;
    border: 1px solid var(--accent-primary);
    padding: 3px 10px;
    border-radius: 50px;
}

.badge-alternative {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark-secondary);
    background-color: var(--bg-light-secondary);
    border: 1px solid var(--border-light);
    padding: 3px 10px;
    border-radius: 50px;
}

.guide-method > p {
    font-size: 1rem;
    color: var(--text-dark-secondary);
    margin-bottom: 25px;
}

/* "OR" divider */
.divider-or {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-dark-secondary);
    margin: 40px 0;
}
.divider-or::before,
.divider-or::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-light);
}
.divider-or span {
    padding: 0 15px;
    font-weight: 600;
}


/* Step-by-step list */
.guide-steps {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    margin: 0;
}

.guide-steps li {
    counter-increment: step-counter; 
    position: relative;
    padding: 15px 0 15px 50px; 
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark-secondary);
    border-bottom: 1px solid var(--border-light);
}
.guide-steps li:last-child {
    border-bottom: none;
}

.guide-steps li::before {
    content: "0" counter(step-counter);
    position: absolute;
    left: 0;
    top: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-primary);
    background-color: #fbf5ff; /* Faint purple */
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.guide-steps li strong {
    color: var(--text-dark-primary);
}

.guide-note {
    background-color: var(--bg-light-secondary);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--accent-primary);
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
    margin-top: 20px;
    font-size: 0.95rem;
}

/* ===================================
   === 26. UPLOAD PROOF PAGE ===
   =================================== */

/* This re-uses the checkout page style for the box */
.checkout-box .form-control[type="file"] {
    padding: 10px;
}

.checkout-box .form-control[type="file"]::file-selector-button {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--accent-primary);
    background-color: #fbf5ff;
    border: 1px solid var(--accent-primary);
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 15px;
}

.checkout-box .form-control[type="file"]::file-selector-button:hover {
    background-color: var(--accent-primary);
    color: #fff;
}



/* ===================================
   === 27/28. CHATBOT STYLES (FINAL) ===
   =================================== */

/* The purple bubble */
.chat-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--accent-primary);
    color: white;
    border-radius: 50%;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}
.chat-bubble:hover {
    background-color: var(--accent-hover);
    transform: scale(1.1);
}

/* The chat window */
.chat-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    max-width: 90%;
    height: 500px;
    max-height: 80vh;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-out;
}
.chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Chat Header */
.chat-header {
    background-color: var(--accent-primary);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}
.chat-agent {
    display: flex;
    align-items: center;
    gap: 10px;
}
.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    color: var(--accent-primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.chat-agent-info strong {
    display: block;
    font-size: 1.1rem;
}
.chat-agent-info span {
    font-size: 0.85rem;
    opacity: 0.8;
}
.chat-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    font-weight: 200;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.chat-close-btn:hover {
    opacity: 1;
}

/* Chat Body (Messages) */
.chat-body {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: var(--bg-light-secondary); /* Off-white */
    display: flex;
    flex-direction: column;
}
.chat-message {
    padding: 10px 15px;
    border-radius: 12px;
    margin-bottom: 15px;
    max-width: 85%;
    line-height: 1.5;
    font-size: 0.95rem;
    word-wrap: break-word;
}
.chat-message.bot {
    background-color: #fff;
    border: 1px solid var(--border-light);
    color: var(--text-dark-primary);
    border-bottom-left-radius: 0;
    align-self: flex-start;
}
.chat-message.user {
    background-color: var(--accent-primary);
    color: #fff;
    border-bottom-right-radius: 0;
    align-self: flex-end;
    margin-left: auto;
}
.chat-message ul {
    padding-left: 20px;
    margin: 10px 0 0 0;
}
.chat-message a {
    color: var(--accent-hover);
    font-weight: 600;
    word-break: break-all;
}
.chat-message .btn-primary {
    font-size: 0.9rem;
    padding: 10px 15px;
}

/* Chat Footer (Inputs) */
.chat-footer {
    padding: 20px;
    background-color: #fff;
    border-top: 1px solid var(--border-light);
    flex-shrink: 0;
}
.chat-footer .form-group {
    margin-bottom: 10px;
}
.chat-footer .btn {
    width: 100%;
}
.chat-footer .error-message {
    font-size: 0.85rem;
    color: #D93025; /* Red */
    font-weight: 600;
}

/* Form Styles */
.chat-footer .form-control {
    display: block;
    width: 100%;
    padding: 12px 15px;
    font-size: 0.95rem;
    font-family: var(--font-primary);
    color: var(--text-dark-primary);
    background-color: var(--bg-light-secondary); /* Off-white */
    border: 1px solid var(--border-light);
    border-radius: 8px;
    box-sizing: border-box; /* Important */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.chat-footer .form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(128, 0, 255, 0.1);
}
.chat-footer .btn-primary {
    width: 100%;
    padding-top: 12px;
    padding-bottom: 12px;
}
.chat-footer .iti { /* WhatsApp fix */
    width: 100%;
}
.chat-footer .iti .form-control {
    padding-left: 58px;
}

/* Question buttons */
.chat-questions, .chat-post-answer {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.chat-question-btn {
    width: 100%;
    padding: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: left;
    background-color: var(--bg-light-secondary);
    border: 1px solid var(--border-light);
    color: var(--text-dark-primary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.chat-question-btn:hover {
    background-color: var(--accent-primary);
    color: #fff;
    border-color: var(--accent-primary);
}

/* Custom message form */
.chat-custom-message {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.chat-custom-message textarea {
    resize: none;
    font-size: 0.95rem;
}
.chat-form-buttons {
    display: flex;
    gap: 10px;
}
.chat-form-buttons .btn {
    flex-grow: 1; /* Make buttons share space */
    padding: 10px;
}





/* ===================================
   === 29. BLOG STYLES (WITH WATERMARK) ===
   =================================== */

/* --- Blog Page Grid --- */
.blog-page-section {
    padding: 60px 0 80px 0;
    background-color: var(--bg-light-secondary);
    min-height: 70vh;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr; /* 1 column on mobile */
    gap: 30px;
}

@media (min-width: 576px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Blog Post Card --- */
.blog-card {
    display: block;
    background-color: #fff;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.blog-card-image {
    /* --- NEW: Image Size Fix --- */
    aspect-ratio: 16 / 9; /* Makes all images 16:9 */
    overflow: hidden;
    position: relative; /* Needed for watermark */
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This makes them all uniform */
}

.blog-card-content {
    padding: 25px;
}
.blog-card-date {
    display: block;
    font-size: 0.85rem;
    color: var(--text-dark-secondary);
    margin-bottom: 10px;
}
.blog-card-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark-primary);
    margin: 0 0 15px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    min-height: 2.8em; /* 2 lines of text */
}

.blog-card-link {
    font-weight: 600;
    color: var(--accent-primary);
}
.blog-card-link i {
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}
.blog-card:hover .blog-card-link i {
    margin-left: 10px;
}

/* --- Single Post Page --- */
.single-post-section {
    padding: 60px 0 80px 0;
}
.single-post-container {
    max-width: 800px;
    margin: 0 auto;
}
.single-post-container h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark-primary);
    line-height: 1.3;
    margin-bottom: 15px;
}
.post-meta {
    font-size: 0.9rem;
    color: var(--text-dark-secondary);
    margin-bottom: 30px;
}
.post-image {
    width: 100%;
    /* --- NEW: Image Size Fix --- */
    aspect-ratio: 16 / 9;
    max-height: 450px;
    
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    position: relative; /* Needed for watermark */
}
.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- NEW: CSS Watermark --- */
.blog-card-image::after,
.post-image::after {
    content: 'britishiptv.net';
    position: absolute;
    bottom: 10px;
    right: 15px;
    z-index: 1;
    
    /* Style the text */
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5); /* Transparent white */
    
    /* Add a shadow to make it readable */
    text-shadow: 0 1px 3px rgba(0,0,0,0.5); 
    
    /* Prevents the user from selecting the text */
    pointer-events: none;
    user-select: none;
}
/* On the single post, make it slightly bigger */
.post-image::after {
    font-size: 16px;
}


/* Content from the admin editor */
.post-content {
    color: var(--text-dark-primary);
    font-size: 1.1rem;
    line-height: 1.8;
}
.post-content p {
    margin-bottom: 20px;
}
.post-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
}
.post-content ul,
.post-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}
.post-content li {
    margin-bottom: 10px;
}



/* ===================================
   === 30. 404 ERROR PAGE STYLES ===
   =================================== */
   
/* The page-hero style is already defined and will be used */

.error-page-section {
    padding: 80px 0;
    background-color: var(--bg-light-primary);
    min-height: 50vh;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.error-icon {
    font-size: 4rem;
    color: var(--accent-icons); /* Yellow */
    margin-bottom: 25px;
}

.error-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark-primary);
    margin-bottom: 15px;
}

.error-content p {
    font-size: 1.1rem;
    color: var(--text-dark-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
}


/* ===================================
   === 31. LEGAL PAGES (Privacy, Terms) ===
   =================================== */
   
/* This re-uses the purple hero bar style */
.page-hero h1 {
    font-size: 2.8rem;
}
.page-hero p {
    font-size: 1.2rem;
}
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.2rem;
    }
}

.legal-section {
    padding: 60px 0 80px 0;
    background-color: var(--bg-light-primary); /* White */
}

/* This centers the content and makes it easy to read */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark-primary);
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark-primary);
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content p,
.legal-content li {
    font-size: 1rem;
    color: var(--text-dark-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}
.legal-content strong {
    color: var(--text-dark-primary);
}

.legal-content ul,
.legal-content ol {
    padding-left: 25px;
}