/* --- Global Variables & Reset --- */
:root {
    --color-charcoal: #562b5f;
    --color-deep-blue: #562b5f; /* Adjusted for purple/blue header request */
    --color-soft-teal: #51b2db;
    --color-light-gray: #f4f4f4;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-bg-dark: #0b5c56;
    --font-main: 'Poppins', sans-serif;
    --transition-speed: 0.3s;   
}

/* Reset using classes implies specific targeting, but universal reset is standard practice for clean slate */
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;
}

/* --- Base Body Styling --- */
body {
    font-family: var(--font-main);
    color: var(--color-light-gray);
    line-height: 1.6;
    overflow-x: hidden;
    /* Animated Background */
    background: linear-gradient(-45deg, #1a1a1a, #2c3e50, #2E2b5F, #333333);
	background-size: 400% 400%;
	animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

/* --- Loader --- */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-deep-blue);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.loader-circle {
    width: 50px;
    height: 50px;
    border: 5px solid var(--color-light-gray);
    border-top: 5px solid var(--color-soft-teal);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loader-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 2px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- Advertisement Bar --- */
.ad-disclaimer {
    background-color: var(--color-light-gray);
    color: var(--color-charcoal);
    text-align: center;
    padding: 8px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    position: relative;
    z-index: 1001;
}

/* --- Header --- */
.main-header {
    background-color: var(--color-deep-blue);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px 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;
}

.brand-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--color-light-gray);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.nav-link:hover {
    color: var(--color-soft-teal);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-soft-teal);
    transition: width var(--transition-speed);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-shop-nav {
    background-color: var(--color-soft-teal);
    color: var(--color-deep-blue);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.2s, background-color 0.3s;
}

.btn-shop-nav:hover {
    background-color: var(--color-white);
    transform: translateY(-2px);
}

.hamburger-icon {
    display: none;
    font-size: 1.5rem;
    color: var(--color-white);
    cursor: pointer;
}

.nav-header-mobile {
    display: none;
}

/* --- Hero Section --- */
.hero-section {
    padding: 100px 20px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text-wrapper {
    animation: slideInLeft 1s ease-out;
}

.hero-heading {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subheading {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #cccccc;
}

.btn-hero {
    display: inline-block;
    background-color: var(--color-soft-teal);
    color: var(--color-deep-blue);
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(102, 205, 170, 0.4);
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background-color: var(--color-white);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(102, 205, 170, 0.6);
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    animation: fadeInRight 1.5s ease-out;
}

.hero-product-img {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    /* Floating Animation */
    animation: floatImg 4s ease-in-out infinite;
    z-index: 2;
    transform-style: preserve-3d;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

@keyframes floatImg {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* --- Common Section Styles --- */
.section-common {
    padding: 80px 20px;
}

.container-common {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--color-soft-teal);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--color-white);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* --- About Us --- */
.about-section {
    background-color: rgba(255,255,255,0.05);
    border-radius: 20px;
    margin: 20px;
}

.about-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* --- Why Choose Us --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--color-charcoal);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-soft-teal);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--color-soft-teal);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--color-white);
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--color-deep-blue);
    padding: 30px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.review-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--color-soft-teal);
    color: var(--color-deep-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #ddd;
}

.review-name {
    font-weight: 600;
    color: var(--color-white);
}

/* --- FAQs --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: rgba(255,255,255,0.05);
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 10px;
    transition: background-color 0.3s;
}

.faq-item:hover {
    background-color: rgba(255,255,255,0.1);
}

.faq-question {
    font-size: 1.2rem;
    color: var(--color-soft-teal);
    margin-bottom: 10px;
}

/* --- Footer --- */
.main-footer {
    background-color: #111;
    color: var(--color-white);
    padding: 60px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #333;
    padding-bottom: 40px;
}

.footer-heading {
    color: var(--color-soft-teal);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-info, .footer-li {
    margin-bottom: 10px;
    color: #bbb;
    font-size: 0.9rem;
}

.footer-link, .footer-link-mail, .btn-legal-trigger {
    color: #bbb;
    transition: color 0.3s;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    text-align: left;
    padding: 0;
}

.footer-link:hover, .footer-link-mail:hover, .btn-legal-trigger:hover {
    color: var(--color-soft-teal);
    text-decoration: underline;
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: #777;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.4;
    border: 1px solid #333;
    padding: 10px;
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    color: #777;
}

/* --- Modals --- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--color-charcoal);
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
    border: 1px solid var(--color-soft-teal);
    color: var(--color-white);
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-soft-teal);
}

.modal-title {
    font-size: 1.5rem;
    color: var(--color-soft-teal);
    margin-bottom: 20px;
    border-bottom: 1px solid #555;
    padding-bottom: 10px;
}

.modal-body p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.modal-body ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* --- Cookie Popup --- */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--color-white);
    color: var(--color-charcoal);
    padding: 20px;
    border-radius: 10px;
    display: none; /* Controlled by JS */
    z-index: 3000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    max-width: 400px;
}

.cookie-content p {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.cookie-link {
    color: var(--color-deep-blue);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.btn-cookie-accept {
    background-color: var(--color-deep-blue);
    color: var(--color-white);
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

.btn-cookie-reject {
    background-color: #ddd;
    color: var(--color-charcoal);
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

/* --- Responsive Media Queries --- */
@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
    }

    .hamburger-icon {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden by default */
        width: 75%; /* Requirement: 75% width */
        height: 100vh;
        background-color: var(--color-charcoal);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 20px;
        transition: right 0.4s ease;
        z-index: 1001;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-header-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0 20px;
        margin-bottom: 40px;
    }

    .mobile-brand {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--color-white);
    }

    .close-menu-icon {
        font-size: 1.5rem;
        color: var(--color-soft-teal);
        cursor: pointer;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-link {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
    }

    /* Hide desktop shop button, show mobile link */
    .btn-shop-nav {
        display: none;
    }
    
    .mobile-only {
        display: block;
        padding: 20px;
    }

    .nav-cta-mobile {
        display: block;
        background-color: var(--color-soft-teal);
        color: var(--color-deep-blue);
        text-align: center;
        padding: 12px;
        border-radius: 5px;
        font-weight: 700;
    }

    /* Hero Responsive */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .hero-heading {
        font-size: 2.5rem;
    }

    .hero-image-wrapper {
        order: -1; /* Image on top for mobile */
    }

    .hero-product-img {
        max-width: 80%;
    }

    .features-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
}