/* styles.css */
:root {
    --primary-dark: #0B3B2C;
    --primary: #1B6B4A;
    --primary-light: #2B8C64;
    --secondary: #F5B042;
    --secondary-light: #FFD966;
    --dark: #1E2A3A;
    --gray-dark: #4A5568;
    --gray: #718096;
    --gray-light: #E2E8F0;
    --light: #F7FAFC;
    --white: #FFFFFF;
    --success: #38A169;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
/* Base Styles (previously Tag Selectors) */
.app-html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.app-body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.app-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 75%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .app-container {
        width: 90%;
    }
}


/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--gray-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loader-text {
    font-size: 18px;
    color: var(--primary);
    font-weight: 500;
}

.dot-animation::after {
    content: '';
    animation: dots 1.5s infinite;
}

@keyframes dots {

    0%,
    20% {
        content: '.';
    }

    40%,
    60% {
        content: '..';
    }

    80%,
    100% {
        content: '...';
    }
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 30px;
    left: 30px;
    max-width: 350px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: none;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-popup.show {
    display: block;
}

.cookie-content {
    padding: 25px;
}

.cookie-icon {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 15px;
}

.cookie-title {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: var(--dark);
    box-sizing: border-box;
}

.cookie-text {
    font-size: 14px;
    color: var(--gray);
    margin: 0 0 20px 0;
    line-height: 1.5;
    box-sizing: border-box;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-btn.accept {
    background-color: var(--primary);
    color: var(--white);
}

.cookie-btn.accept:hover {
    background-color: var(--primary-light);
}

.cookie-btn.reject {
    background-color: var(--gray-light);
    color: var(--gray-dark);
}

.cookie-btn.reject:hover {
    background-color: #d1d9e6;
}

/* Advertisement Banner */
.ad-banner {
    background-color: #FFF3E0;
    border-bottom: 1px solid #FFE5C0;
    padding: 8px 0;
    text-align: center;
}

.ad-banner-text {
    font-size: 12px;
    color: #B45F06;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.ad-banner-icon {
    color: #F57C00;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-sun {
    color: var(--primary);
}

.logo-flux {
    color: var(--secondary);
}

.desktop-nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.desktop-nav-link {
    text-decoration: none;
    color: var(--gray-dark);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

.desktop-nav-link:hover {
    color: var(--primary);
}

.cta-btn {
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.cta-btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--dark);
    transition: var(--transition);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    transition: transform 0.3s ease, opacity 0.3s ease;
    padding: 40px 20px;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    display: none;
}

.mobile-menu.active {
    display: block;
    transform: translateX(0);
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray);
}

.mobile-menu-close:hover {
    color: var(--dark);
}

.mobile-nav-list {
    list-style: none;
    margin-top: 40px;
    padding: 0;
    box-sizing: border-box;
}

.mobile-nav-item {
    margin-bottom: 20px;
    box-sizing: border-box;
}

.mobile-nav-link {
    text-decoration: none;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-light);
}

.mobile-cta {
    background-color: var(--primary);
    color: var(--white) !important;
    text-align: center;
    padding: 15px !important;
    border-radius: 8px;
}

.mobile-menu-active {
    display: block !important;
    opacity: 1 !important;
    pointer-events: all !important;
    transform: translateX(0) !important;
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .header-cta-btn {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    animation: fadeInLeft 1s ease;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-badge {
    display: inline-block;
    background-color: rgba(27, 107, 74, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px 0;
    color: var(--dark);
    box-sizing: border-box;
}

.hero-title .highlight {
    color: var(--primary);
}

.hero-description {
    font-size: 18px;
    color: var(--gray);
    margin: 0 0 30px 0;
    line-height: 1.6;
    box-sizing: border-box;
}

.hero-features {
    list-style: none;
    margin-bottom: 30px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 16px;
    color: var(--gray-dark);
}

.hero-feature-icon {
    color: var(--primary);
    font-size: 20px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.hero-cta:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.product-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.trust-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--white);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-badge-icon {
    font-size: 24px;
    color: var(--secondary);
    box-sizing: border-box;
}

.trust-badge-text {
    font-weight: 600;
    color: var(--dark);
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 36px;
    }

    .trust-badge {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 20px;
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 15px 0;
    box-sizing: border-box;
}

.section-title .highlight {
    color: var(--primary);
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.about-text-p {
    margin: 0 0 20px 0;
    color: var(--gray);
    font-size: 16px;
    line-height: 1.7;
    box-sizing: border-box;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
}

.detail-item-icon {
    color: var(--primary);
    font-size: 20px;
}

.detail-item-text {
    font-size: 16px;
    color: var(--gray-dark);
}

.about-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.value-card {
    background-color: var(--light);
    padding: 25px;
    border-radius: 12px;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.value-card-icon {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 15px;
}

.value-card-title {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: var(--dark);
    box-sizing: border-box;
}

.value-card-text {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.5;
    margin: 0;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Why Us Section */
.why-us {
    padding: 80px 0;
    background-color: var(--light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(27, 107, 74, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-card-icon {
    font-size: 30px;
    color: var(--primary);
}

.benefit-card-title {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: var(--dark);
    box-sizing: border-box;
}

.benefit-card-text {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--light);
    padding: 30px;
    border-radius: 12px;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-rating {
    margin-bottom: 15px;
    color: var(--secondary);
}

.testimonial-rating-star {
    margin-right: 2px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--gray-dark);
    line-height: 1.7;
    margin: 0 0 20px 0;
    font-style: italic;
    box-sizing: border-box;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar-icon {
    font-size: 40px;
    color: var(--gray);
}

.author-info-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
}

.author-info-location {
    font-size: 14px;
    color: var(--gray);
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: var(--light);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: #f5f5f5;
}

.faq-question-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

.faq-question-icon {
    color: var(--primary);
    transition: var(--transition);
    box-sizing: border-box;
}

.faq-item.active .faq-question-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 20px 20px;
}

.faq-answer p {
    /* fallback */
}

.faq-answer-text {
    padding: 0 20px 20px;
    color: var(--gray);
    line-height: 1.6;
    font-size: 14px;
    margin: 0;
    box-sizing: border-box;
}

/* Return Policy Section */
.return-policy {
    padding: 80px 0;
    background: linear-gradient(145deg, #164E35 0%, #1B6B4A 100%);
    color: var(--white);
    box-sizing: border-box;
}

.policy-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.policy-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.policy-title {
    font-size: 32px;
    margin-bottom: 20px;
}

.policy-text {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.9;
}

.policy-details {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 20px;
    box-sizing: border-box;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
}

.detail-item-icon {
    font-size: 20px;
    color: var(--secondary);
    box-sizing: border-box;
}

.detail-item-text {
    font-size: 16px;
    font-weight: 500;
    box-sizing: border-box;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-heading {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--white);
    letter-spacing: 0.5px;
    box-sizing: border-box;
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list-item {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-list-icon {
    color: var(--secondary);
    width: 20px;
}

.footer-link {
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
    box-sizing: border-box;
}

.footer-link:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.legal-link {
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 13px;
    box-sizing: border-box;
}

.legal-link:hover {
    color: var(--secondary);
}

.footer-disclaimer {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
}

.footer-disclaimer-text {
    font-size: 13px;
    line-height: 1.8;
    color: #94A3B8;
    margin: 0;
    box-sizing: border-box;
}

.footer-copyright {
    text-align: center;
    padding: 20px 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #95A5A6;
    margin: 0;
    box-sizing: border-box;
}

.footer-copyright-text {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
}

/* Modal Styles */
.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-container.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background-color: var(--white);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 12px;
    position: relative;
    padding: 40px;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-container.active .modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--gray);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--dark);
}

.modal-title {
    font-size: 24px;
    color: var(--primary);
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
    box-sizing: border-box;
}

.modal-content {
    color: var(--gray-dark);
    line-height: 1.7;
}

.modal-subtitle {
    color: var(--dark);
    font-size: 18px;
    margin-top: 15px;
    margin-bottom: 10px;
}

.modal-list {
    margin-left: 20px;
    margin-bottom: 15px;
}

/* Utility Classes */
.highlight {
    color: var(--primary);
}

/* JS-driven Helper Classes */
.no-scroll {
    overflow: hidden !important;
}

.header-scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
}

.reveal-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-active {
    display: block !important;
    opacity: 1 !important;
    pointer-events: all !important;
    transform: translateX(0) !important;
}