/* Global Styles */
:root {
    --primary-red: #C40000;
    --dark-red: #9E0000;
    --text-color: #333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --gray-text: #666;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

h1,
h2,
h3 {
    margin-top: 0;
    line-height: 1.3;
}

/* Utilities */
.text-center {
    text-align: center;
}

.mt-50 {
    margin-top: 50px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--dark-red);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
}

.btn-secondary:hover {
    background-color: var(--primary-red);
    color: var(--white);
}

/* Loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loader-content {
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

.loader-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Header & Nav */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 45px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: 500;
    font-size: 16px;
    color: #555;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--primary-red);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* Hero Section */
.hero-section {
    position: relative;
    color: var(--white);
    padding: 100px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Use local image now */
    background-image: url('hero.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text-box {
    max-width: 600px;
}

.hero-label {
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 700;
    opacity: 0.9;
    display: block;
    margin-bottom: 10px;
}

.hero-section h1 {
    font-size: 52px;
    margin-bottom: 25px;
}

.hero-benefits {
    margin-bottom: 35px;
}

.hero-benefits li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 18px;
}

.hero-benefits li::before {
    content: '✓';
    color: #e53935;
    background: white;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 12px;
    font-size: 14px;
    font-weight: bold;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-subtext {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.check-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.check-list li::before {
    content: '\f00c';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary-red);
    position: absolute;
    left: 0;
    top: 2px;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
}

/* Schemes / Benefits */
.section-title {
    font-size: 36px;
    margin-bottom: 60px;
    color: #222;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.icon-wrapper img {
    height: 70px;
    margin-bottom: 20px;
}

.benefit-card h3 {
    color: var(--primary-red);
    margin-bottom: 15px;
}

/* Comparison */
.comparison-layout {
    display: flex;
    align-items: center;
    gap: 50px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.comparison-image {
    flex: 1;
}

.comparison-image img {
    max-width: 100%;
}

.comparison-text {
    flex: 1;
}

/* Variants Table */
.variants-table-wrapper {
    overflow-x: auto;
}

.variants-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.variants-table th,
.variants-table td {
    padding: 18px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.variants-table th {
    background-color: #f4f4f4;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.check i {
    color: #2ecc71;
}

.cross {
    color: #ccc;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.stars {
    color: #ffc107;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.author {
    display: block;
    margin-top: 15px;
    font-weight: 700;
    font-style: italic;
    color: #555;
    font-size: 14px;
}

/* FAQ */
.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 10px;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 18px;
    background: white;
}

.faq-question:hover {
    color: var(--primary-red);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
    background: white;
}

.faq-answer p {
    padding-bottom: 20px;
    margin-top: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Contact Section */
.contact-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.contact-card h3 {
    color: var(--primary-red);
    margin-bottom: 20px;
    font-size: 24px;
}

.contact-card p {
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-card i {
    color: var(--primary-red);
    width: 20px;
    text-align: center;
}

/* Footer & Disclosure */
.main-footer {
    background-color: #222;
    color: #ccc;
    padding: 60px 0 30px;
    font-size: 14px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
}

.footer-contact {
    margin-bottom: 10px;
}

.footer-contact h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-contact p {
    margin: 5px 0;
    color: #aaa;
}

.footer-contact a {
    color: #ccc;
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--white);
    text-decoration: underline;
}

.affiliate-disclosure {
    max-width: 800px;
    font-size: 12px;
    color: #777;
    font-style: italic;
    border-top: 1px solid #333;
    padding-top: 20px;
    margin-top: 10px;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary-red);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    width: 90%;
    max-width: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
    width: 100%;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.cookie-banner.hidden {
    display: none;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 40px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    border-radius: 8px;
    position: relative;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: black;
}

.legal-text {
    max-height: 60vh;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.6;
}

.legal-text h3 {
    margin-top: 20px;
    color: var(--primary-red);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .comparison-layout {
        flex-direction: column;
    }

    .hero-section h1 {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
        word-wrap: break-word;
        hyphens: auto;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
        display: none;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .main-nav ul li a {
        display: block;
        padding: 10px 0;
        font-size: 18px;
    }

    .header-container {
        padding: 0 10px;
    }

    .mobile-hidden {
        display: none;
        /* Hide top CTA on small mobile to save space, relies on other CTAs */
    }

    .hero-section {
        padding: 60px 0;
    }

    .hero-content {
        text-align: center;
    }

    .hero-benefits li {
        justify-content: center;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .variants-table th,
    .variants-table td {
        padding: 10px 5px;
        font-size: 13px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-card {
        padding: 20px;
    }

    .contact-card p {
        font-size: 16px;
        flex-direction: column;
        text-align: center;
    }
}