/* --- Variables & Reset (No * selector usage for reset) --- */
:root {
    --color-navy: #0a192f;
    --color-header-purple: #240046; /* Requested Purple Shade */
    --color-red: #d62828;
    --color-yellow: #fcbf49;
    --color-black: #000000;
    --color-white: #ffffff;
    --color-gray-light: #f4f4f4;
    --color-gray-dark: #333333;
    --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --spacing-standard: 20px;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--color-black);
    overflow-x: hidden;
    background-color: var(--color-white);
}

/* --- Loader --- */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-navy);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loader-content {
    text-align: center;
    color: var(--color-white);
}

.loader-circle {
    width: 50px;
    height: 50px;
    border: 5px solid var(--color-gray-light);
    border-top: 5px solid var(--color-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    font-weight: bold;
    letter-spacing: 2px;
}

/* --- Top Advertisement Bar --- */
.ad-disclaimer-bar {
    background-color: var(--color-gray-light);
    text-align: center;
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

.ad-text {
    font-size: 0.8rem;
    color: var(--color-gray-dark);
    text-transform: uppercase;
    font-weight: bold;
}

/* --- Header --- */
.site-header {
    background-color: var(--color-header-purple);
    color: var(--color-white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-white);
    text-decoration: none;
    letter-spacing: 1px;
}

.desktop-nav {
    display: none;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-link {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--color-yellow);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.shop-btn {
    background-color: var(--color-red);
    color: var(--color-white);
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
}

.shop-btn:hover {
    background-color: #b01e1e;
    transform: translateY(-2px);
}

.hamburger-btn {
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (min-width: 992px) {
    .desktop-nav {
        display: block;
    }
    .hamburger-btn {
        display: none;
    }
}

/* --- Mobile Sidebar --- */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 75%;
    height: 100%;
    background-color: var(--color-navy);
    z-index: 200;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active {
    transform: translateX(0);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    color: var(--color-white);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: bold;
}

.close-btn {
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-link {
    color: var(--color-white);
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 199;
    display: none;
}

.overlay.active {
    display: block;
}

/* --- Hero Section --- */
.hero-section {
    background-color: var(--color-gray-light);
    padding: 60px 20px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.hero-content {
    text-align: center;
    flex: 1;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-gray-dark);
    margin-bottom: 30px;
}

.cta-btn {
    display: inline-block;
    background-color: var(--color-navy);
    color: var(--color-yellow);
    padding: 15px 35px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(10, 25, 47, 0.3);
}

.cta-btn:hover {
    background-color: var(--color-red);
    color: var(--color-white);
    transform: translateY(-3px);
}

.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.product-image {
    max-width: 100%;
    height: auto;
    width: 400px;
    object-fit: contain;
    filter: drop-shadow(0 20px 20px rgba(0,0,0,0.2));
}

.floating-anim {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@media (min-width: 768px) {
    .hero-container {
        flex-direction: row;
        text-align: left;
    }
    .hero-content {
        text-align: left;
    }
    .hero-title {
        font-size: 4rem;
    }
}

/* --- Sections General --- */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section-heading {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-red);
}

/* --- About --- */
.about-section {
    background-color: var(--color-white);
}

.section-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--color-gray-dark);
    font-size: 1.1rem;
}

/* --- Features (Why Us) --- */
.features-section {
    background-color: #f9f9f9;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.feature-card {
    background: var(--color-white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--color-red);
    margin-bottom: 15px;
}

.feature-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--color-navy);
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.testimonial-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--color-white);
    padding: 25px;
    border: 1px solid #eee;
    border-radius: 8px;
}

.avatar-circle {
    width: 50px;
    height: 50px;
    background-color: var(--color-navy);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 10px;
    color: var(--color-gray-dark);
}

.customer-name {
    font-weight: bold;
    color: var(--color-red);
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- FAQ --- */
.faq-section {
    background-color: #f9f9f9;
}

.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: var(--color-white);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 15px 20px;
    background: none;
    border: none;
    text-align: left;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--color-navy);
}

.icon-arrow {
    transition: transform 0.3s;
}

.faq-item.active .icon-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    padding: 15px 20px;
    max-height: 200px; /* Arbitrary height for animation */
}

/* --- Footer --- */
.site-footer {
    background-color: #111;
    color: var(--color-white);
    padding: 60px 0 20px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-heading {
    color: var(--color-yellow);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.footer-info {
    margin-bottom: 10px;
    color: #ccc;
}

.footer-link-contact {
    color: var(--color-white);
    text-decoration: underline;
    margin-bottom: 10px;
    display: block;
}

.footer-list {
    list-style: none;
}

.footer-list-item {
    margin-bottom: 10px;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--color-white);
}

.footer-modal-trigger {
    background: none;
    border: none;
    color: #ccc;
    text-decoration: underline;
    cursor: pointer;
    display: block;
    margin-bottom: 10px;
    font-size: 1rem;
    padding: 0;
    text-align: left;
}

.footer-disclaimer-box {
    max-width: 1200px;
    margin: 0 auto 20px auto;
    padding: 15px;
    border: 1px solid #333;
    background-color: #1a1a1a;
}

.footer-disclaimer-text {
    font-size: 0.75rem;
    color: #888;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.copyright-text {
    font-size: 0.9rem;
    color: #666;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Modals --- */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-backdrop.active {
    display: flex;
}

.modal-content {
    background: var(--color-white);
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    overflow: hidden;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-header {
    background: var(--color-navy);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-white);
}

.modal-title {
    font-weight: bold;
}

.modal-close {
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    color: var(--color-black);
}

.modal-text {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    z-index: 2000;
    display: none; /* JS will toggle flex */
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

.cookie-text {
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.cookie-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.cookie-btn.accept {
    background-color: var(--color-yellow);
    color: var(--color-navy);
}

.cookie-btn.reject {
    background-color: transparent;
    border: 1px solid var(--color-white);
    color: var(--color-white);
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }
}