/* --- CSS Variables --- */
:root {
    --color-primary: #0A192F;
    /* Navy Blue */
    --color-secondary: #FFD700;
    /* Yellow */
    --color-accent: #E1E1E1;
    /* Light Gray */
    --color-text: #333333;
    --color-white: #FFFFFF;
    --color-bg-light: #F8F9FA;
    --font-main: 'Outfit', sans-serif;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease-in-out;
}

/* --- Base Layout --- */
.site-body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Loader --- */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.loader-content {
    text-align: center;
}

.loader-title {
    color: var(--color-secondary);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 5px;
}

.loader-bar-container {
    width: 200px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.loader-bar {
    width: 0%;
    height: 100%;
    background-color: var(--color-secondary);
    animation: loading 2s infinite ease-in-out;
}

@keyframes loading {
    0% {
        width: 0%;
        left: 0;
    }

    50% {
        width: 100%;
        left: 0;
    }

    100% {
        width: 0%;
        left: 100%;
    }
}

/* --- Top Advertisement --- */
.top-ad-banner {
    background-color: #EEE;
    text-align: center;
    padding: 8px 10px;
    border-bottom: 1px solid #DDD;
}

.ad-banner-text {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
}

/* --- Header & Navigation --- */
.main-header {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--box-shadow);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-link {
    color: var(--color-secondary);
    text-decoration: none;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
}

.nav-link {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--color-secondary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* --- Buttons --- */
.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* --- Mobile Menu --- */
.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    border-radius: 2px;
}

.close-menu-btn {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--color-white);
    cursor: pointer;
}

/* --- Sections Common --- */
.section-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 50px;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--color-secondary);
    margin: 15px auto 0;
}

/* --- Hero Section --- */
.hero-section {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 60px 0 100px;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.9;
}

.price-tag {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 30px;
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-product-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
    transition: transform 0.5s ease;
}

.hero-product-image:hover {
    transform: scale(1.05);
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.about-sub-image {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
}

/* --- Features Section --- */
.features-section {
    background-color: var(--color-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--color-bg-light);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.feature-icon-container {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card-title {
    margin-bottom: 15px;
    color: var(--color-primary);
}

/* --- Showcase Section --- */
.showcase-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.showcase-image-container {
    flex: 1;
}

.showcase-image {
    max-width: 100%;
    border-radius: 15px;
}

.showcase-details {
    flex: 1;
}

.showcase-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.details-list {
    list-style: none;
    padding: 0;
}

.details-item {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.details-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: bold;
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stars-container {
    color: var(--color-secondary);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-quote {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--color-primary);
}

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

.faq-item {
    background-color: var(--color-white);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: 20px;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--color-primary);
}

.faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-answer-text {
    padding-bottom: 20px;
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* --- Footer --- */
.main-footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 80px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 2rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--color-secondary);
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list-item {
    margin-bottom: 10px;
}

.footer-link {
    color: #AAA;
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--color-white);
}



.footer-ad-note {
    text-align: center;
    margin-bottom: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.ad-note-text {
    font-size: 0.85rem;
    color: #888;
    max-width: 800px;
    margin: 0 auto;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.copyright {
    font-size: 0.9rem;
    color: #666;
}

/* --- Modal --- */
.modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--color-white);
    margin: 10% auto;
    padding: 40px;
    border-radius: 15px;
    width: 80%;
    max-width: 600px;
    position: relative;
    color: var(--color-text);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 30px;
    cursor: pointer;
}

.modal-title {
    color: var(--color-primary);
    margin-bottom: 20px;
}

/* --- Cookie Popup --- */
.cookie-popup {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 25px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    z-index: 10002;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: none;
}

.cookie-container {
    text-align: center;
}

.cookie-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-actions .header-cta {
        display: none;
    }

    .hamburger-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        /* Requirement: 75% width */
        height: 100%;
        background-color: var(--color-primary);
        z-index: 2000;
        transition: var(--transition);
        padding-top: 80px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
    }

    .close-menu-btn {
        display: block;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .showcase-content {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2rem;
    }
}