/* Variables */
:root {
    --color-charcoal: #82ded8;
    --color-deep-blue: #1B263B;
    --color-soft-teal: #778DA9;
    --color-light-gray: #E0E1DD;
    --color-header-purple: #4a148c; /* Deep Purple */
    --color-accent: #00d2ff;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Styles */
body {
    font-family: var(--font-main);
    color: var(--color-light-gray);
    /* Animated Gradient Background */
    background: linear-gradient(-45deg, #1B263B, #2E2E2E, #231f20, #0d1b2a);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    overflow-x: hidden;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Page Loader */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-deep-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-content {
    text-align: center;
}

.loader-circle {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 5px solid var(--color-accent);
    animation: spin 1s linear infinite;
    margin: 0 auto 20px auto;
}

.loader-text {
    color: white;
    font-size: 1.5rem;
    letter-spacing: 2px;
    animation: pulse 1.5s infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* Ad Disclaimer Top */
.ad-disclaimer-top {
    background-color: #000;
    color: #888;
    font-size: 0.75rem;
    text-align: center;
    padding: 5px 10px;
    width: 100%;
}

/* Header */
.main-header {
    background-color: var(--color-header-purple);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.brand-name {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
}

.desktop-nav .nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: white;
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-accent);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-buy {
    background-color: var(--color-accent);
    color: var(--color-deep-blue);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    transition: transform 0.3s, background-color 0.3s;
    display: inline-block;
}

.btn-buy:hover {
    transform: scale(1.05);
    background-color: #fff;
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-heading {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
}

.hero-subtext {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--color-light-gray);
}

.btn-hero {
    background-color: var(--color-accent);
    color: var(--color-deep-blue);
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(0, 210, 255, 0.6);
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-product-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0,0,0,0.5));
    animation: floatImage 4s ease-in-out infinite;
    border-radius: 10px; /* Optional rounded corners */
}

@keyframes floatImage {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(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: white;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
    margin: 10px auto 0;
}

/* About & Why Us & Testimonials cards */
.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.1rem;
}

.text-paragraph {
    margin-bottom: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    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);
    background: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.feature-title {
    margin-bottom: 15px;
    color: white;
}

.feature-desc {
    color: #ccc;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(0, 0, 0, 0.2);
    padding: 30px;
    border-radius: 15px;
    position: relative;
}

.avatar-circle {
    width: 50px;
    height: 50px;
    background-color: var(--color-header-purple);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
    color: #ddd;
}

.customer-name {
    font-weight: bold;
    color: var(--color-accent);
}

/* FAQ */
.faq-item {
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    color: white;
    text-align: left;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(0,0,0,0.2);
}

.faq-text {
    padding: 20px;
    color: #ccc;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active i {
    transform: rotate(180deg);
}

/* Footer */
.main-footer {
    background-color: #111;
    padding: 60px 20px 20px;
    border-top: 2px solid var(--color-header-purple);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-heading {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-link, .footer-link-contact {
    display: block;
    color: #aaa;
    margin-bottom: 10px;
}

.footer-link:hover, .footer-link-contact:hover {
    color: var(--color-accent);
}

.footer-btn-legal {
    background: none;
    border: none;
    color: #aaa;
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    text-align: left;
    padding: 0;
}

.footer-btn-legal:hover {
    color: var(--color-accent);
}

.footer-text {
    color: #aaa;
    margin-bottom: 10px;
}

.consumer-notice {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
    border: 1px solid #333;
    padding: 15px;
    border-radius: 5px;
}

.notice-text {
    font-size: 0.8rem;
    color: #666;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 20px;
}

.copyright-text {
    color: #555;
    font-size: 0.9rem;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none; /* JS toggles flex */
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: #222;
    color: #fff;
    padding: 40px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
    border: 1px solid var(--color-header-purple);
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    cursor: pointer;
    color: #aaa;
}

.close-modal:hover {
    color: white;
}

.modal-title {
    margin-bottom: 20px;
    color: var(--color-accent);
}

.modal-text {
    margin-bottom: 10px;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #111;
    padding: 20px;
    border-top: 1px solid var(--color-accent);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9990;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-text {
    color: white;
    margin-right: 20px;
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-cookie {
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.btn-cookie.accept {
    background-color: var(--color-accent);
    color: var(--color-deep-blue);
}

.btn-cookie.reject {
    background-color: #555;
    color: white;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden by default */
    width: 75%;
    height: 100%;
    background-color: #1a1a1a;
    z-index: 1001;
    transition: right 0.3s ease-in-out;
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.mobile-nav-overlay.active {
    right: 0;
}

.close-menu {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    align-self: flex-end;
    margin-bottom: 30px;
    cursor: pointer;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-link {
    font-size: 1.2rem;
    color: white;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    display: block;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    .desktop-nav, .btn-buy {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-heading {
        font-size: 2.2rem;
    }
    
    .hero-image-wrapper {
        margin-top: 30px;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-text {
        margin-right: 0;
        margin-bottom: 15px;
    }
}