/*
* File: style.css
* Project: FirestickIPTVUK
* Description: Final corrected stylesheet with a robust fix for the mobile menu background.
*/

/* ========= THEME VARIABLES & GLOBAL STYLES ========= */
:root, [data-theme='dark'] {
    --primary-color: #FF5A28;
    --primary-color-dark: #e04a1f;
    --background-primary: #121212;
    --background-secondary: #1E1E1E;
    --text-primary: #EAEAEA;
    --text-secondary: #B3B3B3;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.4);
}

[data-theme='light'] {
    --background-primary: #F9F9F9;
    --background-secondary: #FFFFFF;
    --text-primary: #1E1E1E;
    --text-secondary: #555555;
    --border-color: #EAEAEA;
    --shadow-color: rgba(0, 0, 0, 0.08);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-primary);
    color: var(--text-primary);
    margin: 0; padding: 0;
    padding-top: 70px;
    line-height: 1.7;
    transition: background-color 0.3s ease, color 0.3s ease;
}
body.nav-open {
    overflow: hidden;
}

.main-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
section { padding: 60px 0; }
.section-title { font-size: 2.8rem; color: var(--text-primary); text-align: center; margin-bottom: 1rem; font-weight: 700; }
.section-description { font-size: 1.1rem; color: var(--text-secondary); text-align: center; max-width: 700px; margin: 0 auto 50px auto; }
.button-primary { display: inline-block; background-color: var(--primary-color); color: white; padding: 14px 35px; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 1rem; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(255, 90, 40, 0.3); border: none; cursor: pointer; }
.button-primary:hover { background-color: var(--primary-color-dark); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(255, 90, 40, 0.4); }

/* ========= HEADER & NAVIGATION ========= */
.header {
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed; width: 100%; top: 0; left: 0; z-index: 1000;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}
[data-theme='light'] .header { background-color: rgba(255, 255, 255, 0.8); }

.nav { display: flex; justify-content: space-between; align-items: center; }
.nav__logo { font-weight: 800; font-size: 1.8rem; color: var(--text-primary); text-decoration: none; }
.nav__logo span { color: var(--primary-color); }
.nav__list { display: flex; list-style: none; gap: 2.5rem; margin: 0; padding: 0; }
.nav__link { color: var(--text-secondary); text-decoration: none; font-weight: 500; transition: color 0.3s ease; }
.nav__link:hover { color: var(--primary-color); }
.nav__actions { display: flex; align-items: center; gap: 1rem; }
.theme-toggle { background: none; border: none; color: var(--text-secondary); font-size: 1.5rem; cursor: pointer; transition: color 0.3s ease; padding: 0;}
.theme-toggle:hover { color: var(--primary-color); }
.theme-toggle .bxs-sun { display: none; }
.theme-toggle .bxs-moon { display: block; }
[data-theme='light'] .theme-toggle .bxs-sun { display: block; }
[data-theme='light'] .theme-toggle .bxs-moon { display: none; }

.nav__toggle { display: none; font-size: 1.8rem; cursor: pointer; color: var(--text-primary); position: relative; width: 24px; height: 24px; }
.nav__toggle .bx-menu, .nav__toggle .bx-x { position: absolute; transition: opacity 0.3s ease, transform 0.3s ease; }
.nav__toggle .bx-x { opacity: 0; transform: rotate(-90deg); }
.nav__toggle.active .bx-menu { opacity: 0; transform: rotate(90deg); }
.nav__toggle.active .bx-x { opacity: 1; transform: rotate(0deg); }


/* ========= HERO SECTION ========= */
.hero { min-height: calc(100vh - 70px); position: relative; display: flex; align-items: center; justify-content: center; text-align: center; color: #FFFFFF; padding: 40px 20px; overflow: hidden; }
.hero-video-bg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); min-width: 100%; min-height: 100%; width: auto; height: auto; z-index: 1; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); z-index: 2; }
.hero-content { max-width: 850px; position: relative; z-index: 3; }
.hero-title { font-size: 3.8rem; margin-bottom: 1.5rem; line-height: 1.2; font-weight: 800; color: #FFFFFF; }
.hero-subtitle { font-size: 1.25rem; margin-bottom: 2rem; color: rgba(255, 255, 255, 0.9); }
.hero-social-proof { display: flex; justify-content: center; gap: 2rem; margin-bottom: 2.5rem; }
.rating-item { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(5px); border-radius: 8px; padding: 0.5rem 1rem; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.rating-item p { margin: 0; font-weight: 500; display: flex; align-items: center; gap: 0.5rem; }
.rating-item .stars { color: #ffc107; }
.rating-logo { height: 20px; }
[data-theme='dark'] .rating-logo[alt*="Trustpilot"] { filter: brightness(0) invert(1); }

/* ========= CARD SECTIONS ========= */
.card-grid, .card-grid-3 { display: grid; gap: 1.5rem; }
.card-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.card { background-color: var(--background-secondary); border-radius: 12px; padding: 2.5rem 2rem; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px var(--shadow-color); }
.card-icon { font-size: 3.5rem; color: var(--primary-color); margin-bottom: 1rem; }
.card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--text-primary); font-weight: 600; }
.card p { color: var(--text-secondary); margin: 0; }

/* ========= VOD SECTION ========= */
.vod-section { background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1627843563095-2df974f28c0c?q=80&w=2070&auto-format&fit=crop') no-repeat center center/cover; color: #FFFFFF; text-align: center; border-radius: 20px; padding: 80px 40px; margin: 60px 0; }
.vod-section .section-title, .vod-section .section-description { color: #FFFFFF; }


/* ========= PRICING SECTION ========= */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch; 
}
.pricing-card {
    background-color: var(--background-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}
.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-color);
}
.pricing-card h3 {
    font-size: 1.6rem;
    text-align: center;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
    font-weight: 600;
}
.pricing-card .price {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 1.5rem 0;
    line-height: 1;
    text-align: center;
}
.pricing-card .button-primary {
    width: 100%;
    text-align: center;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.features-list {
    list-style: none;
    padding: 1.5rem 0 0 0;
    margin: 0;
    border-top: 1px solid var(--border-color);
    flex-grow: 1;
}
.features-list li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: left;
}
.features-list .bx, .features-list .bxs-star {
    font-size: 1.2rem;
    color: var(--primary-color);
}
.highlight-feature {
    font-weight: bold;
    color: var(--text-primary);
}
.pricing-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 10;
}
.popular-badge {
    position: absolute;
    top: 20px;
    right: -45px;
    background: var(--primary-color);
    color: white;
    padding: 5px 50px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
}
.pricing-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding: 1rem;
    background-color: var(--background-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.pricing-footer .bxs-shield-check {
    font-size: 2rem;
    color: var(--primary-color);
}
.see-more-container {
    display: none;
    text-align: center;
    margin-top: 1rem;
}
.see-more-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}
.see-more-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}
.see-more-btn.expanded i {
    transform: rotate(180deg);
}


/* ========= HOW TO ORDER SECTION ========= */
.how-to-order-section { position: relative; }
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}
.steps-grid::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background-image: linear-gradient(to right, var(--primary-color) 50%, transparent 50%);
    background-size: 20px 2px;
    background-repeat: repeat-x;
    z-index: 1;
}
.step-card { text-align: center; background: var(--background-secondary); padding: 1.5rem; border-radius: 12px; }
.step-number {
    width: 60px; height: 60px;
    background: var(--background-primary);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}
.step-card h3 { font-size: 1.3rem; color: var(--text-primary); }
.step-card p { color: var(--text-secondary); }

/* ========= SCROLLER SECTIONS ========= */
.scroller { max-width: 100%; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent); mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent); }
.scroller__inner { display: flex; flex-wrap: nowrap; gap: 1.5rem; padding-block: 1rem; width: max-content; animation: scroll 30s linear infinite; }
.scroller[data-direction="right"] .scroller__inner { animation-direction: reverse; }
@keyframes scroll { to { transform: translate(calc(-50% - 0.75rem)); } }
.review-image { max-height: 450px; width: auto; border-radius: 10px; border: 1px solid var(--border-color); }
.tag-list { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.tag-list li { padding: 1rem 1.5rem; background: var(--background-secondary); border-radius: 0.5rem; display: flex; align-items: center; gap: 0.5rem; font-size: 1.1rem; font-weight: 500; white-space: nowrap; }
.tag-list li .bx { font-size: 1.5rem; color: var(--primary-color); }

/* ========= CTA & SEO SECTIONS ========= */
.cta-section { background: var(--background-secondary); border-radius: 20px; padding: 60px 40px; text-align: center; }
.seo-content-container { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.seo-image img { width: 100%; border-radius: 10px; }

/* ========= FOOTER ========= */
.footer { background: var(--background-secondary); color: var(--text-secondary); padding: 50px 0 20px 0; margin-top: 60px; border-top: 1px solid var(--border-color); }
.footer-container { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer__logo { margin-bottom: 1rem; }
.footer-col h3 { color: var(--text-primary); font-size: 1.2rem; margin-bottom: 1rem; }
.footer-col p { font-size: 0.9rem; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a { color: var(--text-secondary); text-decoration: none; transition: color 0.3s ease; }
.footer-col ul a:hover { color: var(--primary-color); }
.footer-bottom { text-align: center; padding-top: 2rem; margin-top: 2rem; border-top: 1px solid var(--border-color); font-size: 0.9rem; }

/* ========= RESPONSIVE DESIGN ========= */
@media (max-width: 1024px) {
    .pricing-grid { grid-template-columns: 1fr 1fr; }
    .pricing-card.popular { transform: scale(1); }
    .steps-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
    .steps-grid::before { display: none; }
    .seo-content-container { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    body { padding-top: 70px; }

    /* --- MOBILE MENU (FIXED) --- */
    .nav__toggle { display: flex; z-index: 1001; }
    .nav__menu {
        position: fixed; top: 0; right: -100%;
        width: 80%; max-width: 320px; height: 100vh; /* Changed height to vh */
        
        /* THIS IS THE FIX: The background is now solid and removes blur */
        background-color: #1E1E1E;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;

        display: flex; /* Added display flex */
        flex-direction: column; 
        justify-content: center; 
        align-items: center;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: -10px 0 20px var(--shadow-color);
        padding: 2rem;
        z-index: 1000;
    }
    .nav__menu.show-menu { 
        right: 0;
    }
    .nav__list { flex-direction: column; text-align: center; font-size: 1.5rem; gap: 2rem;}

    .section-title { font-size: 2.2rem; }
    .hero-title { font-size: 2.5rem; }
    .hero { min-height: auto; padding: 100px 20px 60px; }
    .pricing-grid, .steps-grid, .footer-container { grid-template-columns: 1fr; }
    .hero-social-proof { flex-direction: column; gap: 1rem; align-items: center; }
    
    .see-more-container {
        display: block; /* Show the button on mobile */
    }

    .features-list .extra-feature {
        display: none;
    }
    
    .features-list.features-expanded .extra-feature {
        display: flex;
    }
}

/* ========= PROFESSIONAL CHECKOUT PAGE STLES ========= */
.checkout-section {
    padding: 40px 0 80px 0;
}

.checkout-container {
    display: grid;
    grid-template-columns: 55% 45%; /* Adjusted column ratio */
    gap: 3rem;
    max-width: 1100px;
    margin: auto;
}

/* --- Customer Details Form --- */
.customer-details .section-title, .order-summary .section-title {
    text-align: left;
    margin-bottom: 0.5rem;
}

.customer-details .section-description {
    text-align: left;
    margin: 0 0 2rem 0;
    max-width: 100%;
}

.checkout-form .form-group {
    margin-bottom: 1.5rem;
}

.checkout-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.checkout-form input, .checkout-form textarea {
    width: 100%;
    padding: 14px 14px 14px 50px; /* Left padding for icon */
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--background-secondary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.checkout-form textarea {
    padding: 14px 14px 14px 50px;
}
.checkout-form input:focus, .checkout-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 90, 40, 0.2);
}

.checkout-form .button-primary {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

/* --- Order Summary --- */
.order-summary {
    background-color: var(--background-secondary);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.plan-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 1.5rem 0;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}
.plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}
.plan-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}
.plan-billing {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}
.features-list-checkout {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}
.features-list-checkout li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}
.features-list-checkout .bx, .features-list-checkout .bxs-star {
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* --- Trust & Security Badges --- */
.trust-security {
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}
.trust-badge {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--background-primary);
    border-radius: 8px;
    margin-bottom: 1.5rem;
}
.trust-badge i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}
.trust-badge h4 {
    margin: 0 0 0.25rem 0;
    color: var(--text-primary);
}
.trust-badge p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* --- UPDATED: Payment Methods Styles --- */
.payment-methods h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}
.payment-option-primary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--background-primary);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}
.payment-option-primary i {
    font-size: 1.8rem;
    color: var(--primary-color);
}
.payment-icons-secondary {
    display: flex;
    gap: 1rem;
    align-items: center;
    opacity: 0.7;
    padding-left: 5px;
}
.payment-icons-secondary img {
    height: 20px;
}
[data-theme='dark'] .payment-icons-secondary img {
    filter: invert(1) grayscale(1) brightness(2);
}


/* --- Intl-Tel-Input Library Styles --- */
.iti { width: 100%; } /* Make the library take full width */
.iti__country-list {
    background-color: var(--background-secondary);
    border: 1px solid var(--border-color);
}
.iti__country {
    color: var(--text-secondary);
}
.iti__country.iti__highlight {
    background-color: var(--background-primary);
}
.iti__dial-code {
    color: var(--text-secondary);
}
#phone {
    padding-left: 55px !important; /* Force padding for country flag */
}

/* --- Responsive adjustments for checkout --- */
@media (max-width: 992px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }
    .order-summary {
        margin-top: 3rem;
    }
}
@media (max-width: 768px) {
    .customer-details, .order-summary {
        padding: 1.5rem;
    }
}
/* ========= DYNAMIC THANK YOU PAGE STYLES ========= */
.thank-you-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 40px 0;
}

.thank-you-content {
    background-color: var(--background-secondary);
    padding: 3rem 4rem;
    border-radius: 16px;
    text-align: center;
    max-width: 600px;
    width: 100%;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.thank-you-content .bxs-check-circle {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.thank-you-content h1 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
}

.thank-you-content p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.thank-you-content .button-primary {
    margin-top: 2rem;
}

.order-details-summary {
    background-color: var(--background-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2.5rem 0;
    text-align: left;
}

.order-details-summary h3 {
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 600;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    gap: 1rem;
}
.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item span {
    color: var(--text-secondary);
    flex-shrink: 0; /* Prevents the label from shrinking */
}

.detail-item strong {
    color: var(--text-primary);
    font-weight: 500;
    word-break: break-word; /* Prevents long text from overflowing */
    text-align: right;
}

/* Responsive adjustments for smaller screens */
@media(max-width: 768px) {
    .thank-you-content {
        padding: 2rem;
    }
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 0.25rem;
    }
    .detail-item strong {
        text-align: left;
    }
}

/* ========= CONTACT PAGE STYLES (REDESIGNED) ========= */
.contact-section {
    padding: 40px 0 80px 0;
}
.contact-container {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: auto;
    background-color: var(--background-secondary);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.contact-info {
    padding: 2.5rem;
    background: var(--background-primary);
    border-right: 1px solid var(--border-color);
}
.contact-info h2 {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}
.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}
.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}
.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-form-container {
    padding: 2.5rem;
}

/* Reusing checkout form styles for consistency */
.checkout-form .form-group {
    margin-bottom: 1.5rem;
}
.checkout-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-secondary);
}
.input-with-icon {
    position: relative;
}
.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1.2rem;
}
.checkout-form input, .checkout-form textarea {
    width: 100%;
    padding: 14px 14px 14px 45px; /* Add padding for the icon */
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--background-primary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.checkout-form input:focus, .checkout-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 90, 40, 0.2);
}
.checkout-form textarea {
    padding-top: 14px; /* Adjust padding for textarea */
}
.checkout-form .button-primary {
    width: 100%;
}


/* Form confirmation messages */
.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-align: center;
}
.form-message.success {
    background-color: rgba(4, 184, 4, 0.1);
    color: #04b804;
    border: 1px solid #04b804;
}
.form-message.error {
    background-color: rgba(255, 0, 0, 0.1);
    color: #ff0000;
    border: 1px solid #ff0000;
}

/* Styles for Intl-Tel-Input on Contact Page */
.iti {
    width: 100%;
}
.iti__country-list {
    background-color: var(--background-primary);
    border-color: var(--border-color);
}
.iti__country {
    color: var(--text-secondary);
}
.iti__country:hover, .iti__country.iti__highlight {
    background-color: rgba(255, 90, 40, 0.1);
}
.iti__dial-code {
    color: var(--text-secondary);
}
.checkout-form #contact-phone {
    padding-left: 55px; /* Adjust padding for country code dropdown */
}


/* Responsive adjustments for contact page */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    .contact-info {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
}
@media (max-width: 768px) {
    .contact-info, .contact-form-container {
        padding: 1.5rem;
    }
}

/* ========= FAQ PAGE STYLES ========= */
.faq-section {
    
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0 80px 0;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-accordion {
    border-top: 1px solid var(--border-color);
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    text-align: left;
}

.faq-question span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.faq-question:hover span {
    color: var(--primary-color);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), padding 0.4s ease;
}

.faq-answer p {
    color: var(--text-secondary);
    padding-bottom: 1.5rem;
    margin: 0;
    line-height: 1.8;
}

/* Styles for when the accordion item is active/open */
.faq-item.active .faq-question span {
    color: var(--primary-color);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* A large value to allow content to expand */
}

/* FAQ Call to Action */
.faq-cta {
    text-align: center;
    background-color: var(--background-secondary);
    border-radius: 16px;
    padding: 2.5rem;
    margin-top: 4rem;
    border: 1px solid var(--border-color);
}

.faq-cta h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
}

.faq-cta p {
    color: var(--text-secondary);
    margin: 0 0 1.5rem 0;
}
/* ========= ABOUT US PAGE STYLES ========= */
.about-hero {
    text-align: center;
    padding: 60px 0;
   
    border-radius: 16px;
    margin-top: 2.5rem; /* ADDED: This creates the needed space below the fixed header */
}

.mission-section {
    padding: 80px 0;
}

.mission-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.mission-image img {
    width: 100%;
    border-radius: 16px;
}

.mission-text h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.mission-text p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.why-choose-us-section {
    padding-bottom: 80px;
}

/* Responsive adjustments for about page */
@media (max-width: 992px) {
    .mission-container {
        grid-template-columns: 1fr;
    }
}

/* ========= INSTALLATION GUIDE PAGE STYLES (REDESIGNED) ========= */
.install-guide-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0 80px 0;
}

.install-guide-header {
    text-align: center;
    margin-bottom: 3rem;
}

.install-accordion {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.install-item {
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}
.install-item:last-child {
    border-bottom: none;
}

.install-item.active {
    background-color: var(--background-secondary);
}

.install-question {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    text-align: left;
}

.install-question span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.install-icon {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.install-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.install-answer-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

/* Styles for when the accordion item is active/open */
.install-item.active .install-icon {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.install-item.active .install-answer {
    max-height: 2000px; /* A large value to allow content to expand */
}

/* CLEANER STEP-BY-STEP LIST */
.steps-list {
    list-style: none;
    padding-left: 0;
    counter-reset: steps-counter;
}
.steps-list li {
    counter-increment: steps-counter;
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
    /* Removed card styles for a cleaner look */
    background-color: transparent; 
    padding: 0;
    border-radius: 0;
}

.steps-list li::before {
    content: counter(steps-counter);
    flex-shrink: 0;
    width: 35px;
    height: 35px;
    background-color: var(--background-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ========= INSTALLATION GUIDE PAGE STYLES (FINAL REDESIGN) ========= */
.install-guide-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0 80px 0;
}

.install-guide-header {
    text-align: center;
    margin-bottom: 3rem;
}

.install-accordion {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.install-item {
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}
.install-item:last-child {
    border-bottom: none;
}

/* When an item is open, give it a subtle background color */
.install-item.active {
    background-color: var(--background-secondary);
}

.install-question {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    text-align: left;
}

.install-question span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.install-icon {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.install-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.install-answer-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

/* Styles for when the accordion item is active/open */
.install-item.active .install-icon {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.install-item.active .install-answer {
    max-height: 2000px; /* A large value to allow content to expand */
}

/* --- THIS IS THE FIX FOR THE STEP-BY-STEP LIST --- */
.steps-list {
    list-style: none;
    padding-left: 0;
    counter-reset: steps-counter;
}

.steps-list li {
    counter-increment: steps-counter;
    display: flex;
    align-items: flex-start; /* Aligns number with the top of the text */
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.steps-list li::before {
    content: counter(steps-counter);
    flex-shrink: 0;
    width: 35px;
    height: 35px;
    background-color: var(--background-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
/* The div inside the li now holds all the text, preventing spacing issues */
.steps-list li div {
    color: var(--text-secondary);
}
/* --- END OF LIST FIX --- */


/* --- PROFESSIONAL STYLE FOR DOWNLOADER CODE --- */
code.downloader-code {
    display: inline-block;
    background-color: var(--background-secondary);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0.5rem 0;
}
/* --- END OF CODE STYLE --- */

.video-guide {
    margin-top: 1.5rem;
    border-radius: 12px;
}
.video-guide strong {
    color: var(--text-primary);
}
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 8px;
    margin-top: 1rem;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.app-note {
    margin: 2rem 0 1rem 0;
    padding: 1.5rem;
    background-color: var(--background-secondary);
    border-radius: 12px;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    border-left: 4px solid var(--primary-color);
}
.app-note i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
}
.app-note h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: var(--text-primary);
}
.app-note p {
    margin: 0;
    color: var(--text-secondary);
}
/* ========= LEGAL PAGES (PRIVACY POLICY, ETC.) STYLES ========= */
.legal-page-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0 80px 0;
}

.legal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.legal-header .section-description {
    margin-bottom: 0;
}

.legal-content {
    background-color: var(--background-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
}

.legal-content h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}
.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p, .legal-content li {
    color: var(--text-secondary);
    line-height: 1.8;
}

.legal-content ul {
    padding-left: 20px;
}

.legal-content a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}
.legal-content a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-content {
        padding: 1.5rem;
    }
}

/* ========= UPLOAD RECEIPT PAGE STYLES ========= */
.upload-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 40px 0;
}

.upload-container {
    max-width: 500px;
    width: 100%;
    background-color: var(--background-secondary);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.upload-container h1 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
}

.upload-container p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.upload-form .form-group {
    margin: 2rem 0;
}

.upload-form label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Styling for the file input button */
.upload-form input[type="file"] {
    color: var(--text-secondary);
    font-size: 0.9rem;
}
/* Hides the default browser button */
.upload-form input[type="file"]::file-selector-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
    margin-right: 1rem;
    transition: background-color 0.3s ease;
}
.upload-form input[type="file"]::file-selector-button:hover {
    background-color: var(--primary-color-dark);
}

.upload-form .button-primary {
    width: 100%;
}

/* ========= 404 ERROR PAGE STYLES ========= */
.error-page-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
}

.error-content {
    max-width: 600px;
}

.error-title {
    font-size: 8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
    line-height: 1;
    /* Optional: Add a subtle text shadow */
    text-shadow: 0 4px 15px rgba(255, 90, 40, 0.2);
}

.error-content h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin: 1rem 0 1rem 0;
    border-bottom: none; /* Override default h2 style */
    padding-bottom: 0;
}

.error-content p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}


