* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

:root {
    --primary-color: #4a6fa3;      /* soft brand blue (buttons, links) */
    --primary-muted: #6b7f96;    /* subtle blue-gray (pretitle, icons) */
    --heading-color: #2c3e50;    /* headings – calm, not saturated */
    --secondary-color: #b8943a;  /* muted gold – accent only */
    --text-color: #333;
    --bg-color: #ffffff;
    --light-bg: #f7f9fc;
    --border-color: #e8edf3;
    --hover-color: #3d5a82;
    --accent-yellow: #c9b87a;
    --dark-blue: #3d5680;
    --gradient-hero: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

section {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Header Banner */
.header-banner {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 12px 0;
    font-weight: 600;
    font-size: 14px;
}

.banner-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.banner-icon {
    flex-shrink: 0;
}

/* Top Bar */
.top-bar {
    background-color: var(--light-bg);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.top-bar-content {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #666;
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.top-bar-icon {
    flex-shrink: 0;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    padding: 80px 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--heading-color);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

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

.hero-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 15px;
    object-fit: contain;
}

/* CTA Buttons */
.cta-button {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 14px;
    cursor: pointer;
    transition: box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
    box-shadow: 0 6px 18px rgba(74, 111, 163, 0.18);
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.cta-button i {
    font-size: 18px;
}

.cta-button:hover {
    background: var(--hover-color);
    box-shadow: 0 8px 22px rgba(74, 111, 163, 0.22);
}

.cta-button.secondary {
    margin-top: 30px;
}

/* Section Styles */
.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--heading-color);
    line-height: 1.3;
}

.section-text {
    font-size: 18px;
    text-align: center;
    color: #666;
    max-width: 900px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

/* FAQ Section */
.faq {
    padding: 80px 20px;
    background: var(--gradient-hero);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

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

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

.faq-question::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

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

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

.faq-answer p {
    padding: 0 25px 20px;
    font-size: 16px;
    color: #666;
    line-height: 1.7;
}

/* Footer */
.footer {
    background-color: #2c2c2c;
    color: white;
    padding: 50px 20px 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    min-height: 76px;
}

.footer-logo-img {
    height: 76px;
    width: auto;
    max-width: 250px;
    display: block !important;
    object-fit: contain;
    opacity: 1 !important;
    visibility: visible !important;
    background: transparent;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-link {
    background: none;
    border: none;
    color: white;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: inherit;
}

.footer-link:visited {
    color: white;
}

.footer-link:hover {
    color: #a8c0e0;
}

.footer-copyright {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #444;
    text-align: left;
}

.footer-copyright p {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 10px;
}

.footer-copyright p:last-child {
    margin-bottom: 0;
}

.disclaimer {
    font-size: 12px !important;
    color: #888 !important;
    max-width: 800px;
    margin: 15px 0 0 !important;
    text-align: left;
    line-height: 1.6;
}

/* Modal Popup */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    margin: 20px;
    padding: 40px;
    border-radius: 15px;
    max-width: 920px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: 300;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--primary-color);
}

#popupContent {
    margin-top: 20px;
}

#popupContent h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 24px;
}

#popupContent p {
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

#popupContent ul {
    margin-left: 20px;
    margin-top: 15px;
    color: #666;
    line-height: 1.8;
}

#popupContent li {
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        gap: 40px;
    }

    .hero-image {
        order: -1;
    }

    .hero-text {
        text-align: center;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-text {
        font-size: 16px;
    }

    .top-bar-content {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 10px;
        flex-wrap: nowrap;
        font-size: 10px;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        margin-bottom: 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
        justify-content: center;
    }

    .modal-content {
        padding: 30px 20px;
        margin: 10px;
    }

    .hero {
        padding: 50px 20px;
    }

    .hero-content {
        gap: 30px;
    }

    .faq {
        padding: 50px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 16px;
    }
}

/* --- MindPlus Overrides --- */

.navbar {
    background-color: white;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.navbar-logo {
    flex-shrink: 0;
}

.logo-link {
    text-decoration: none;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.navbar-logo-img {
    height: 64px;
    width: auto;
    max-width: 250px;
    display: block;
    object-fit: contain;
}

.navbar-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.navbar-cta {
    margin: 0;
    padding: 12px 30px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-cta i {
    font-size: 18px;
}

/* Navbar responsive fixes */
@media (max-width: 768px) {
    .navbar-content {
        padding: 14px 0;
        gap: 12px;
    }

    .navbar-logo-img {
        height: 44px;
        max-width: 170px;
    }

    .navbar-cta {
        padding: 10px 16px;
        font-size: 14px;
        border-radius: 12px;
        white-space: nowrap;
    }
}

@media (max-width: 420px) {
    .navbar-content {
        flex-wrap: wrap;
        justify-content: center;
    }

    .navbar-actions {
        width: 100%;
        justify-content: center;
    }

    .navbar-logo-img {
        height: 40px;
        max-width: 160px;
    }

    .navbar-cta {
        width: 100%;
        max-width: 320px;
    }
}

.slim-q-hero .hero-text {
    max-width: 600px;
}

.hero-pretitle {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.hero-description {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.hero-tagline {
    font-size: 20px;
    color: var(--heading-color);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-q {
    color: var(--primary-color);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-buttons .cta-button.secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-top: 0;
}

.hero-buttons .cta-button.secondary:hover {
    background: var(--light-bg);
}

@media (max-width: 768px) {
    .hero-buttons {
        justify-content: center;
    }
}

.trust-badges {
    padding: 60px 20px;
    background-color: var(--light-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.trust-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.trust-badge-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1;
}

.trust-badge-text {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.product-collection {
    padding: 80px 20px;
    background-color: white;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.product-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-card.featured {
    border: none;
}

.product-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background-color: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 25px;
}

.product-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 8px;
}

.product-category {
    font-size: 14px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.product-description {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.product-carousel-indicators {
    display: none;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background-color: var(--primary-color);
    width: 30px;
    border-radius: 5px;
}

.product-collection-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.unique-formulation {
    padding: 80px 20px;
    background: var(--gradient-hero);
}

.unique-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.unique-text {
    flex: 1;
}

.unique-content .section-title {
    text-align: left;
}

.unique-features {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.unique-feature {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    padding-left: 20px;
    position: relative;
}

.unique-feature::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.unique-tagline {
    font-size: 20px;
    color: var(--heading-color);
    font-weight: 600;
    margin: 30px 0;
    line-height: 1.6;
}

.unique-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.unique-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 15px;
}

.its-easy {
    padding: 0;
    color: white;
    background-image: url('images/bg1.webp');
    background-position: center 40%;
    background-size: 100% auto;
    background-repeat: no-repeat;
    position: relative;
}

.its-easy::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(44, 62, 90, 0.92);
    pointer-events: none;
}

.its-easy-container {
    position: relative;
    z-index: 1;
    padding: 64px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.its-easy-title {
    text-align: center;
    margin: 0;
    font-size: 36px;
    line-height: 1.15;
    color: #ffffff;
    font-weight: 700;
}

.its-easy-stats {
    list-style: none;
    width: 100%;
    max-width: 1200px;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
}

.its-easy-stat {
    border-radius: 18px;
    padding: 26px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.its-easy-percent {
    color: #ffffff;
    font-weight: 800;
    line-height: 1;
    font-size: 56px;
    margin-bottom: 14px;
}

.its-easy-badge {
    width: 100%;
    max-width: 280px;
    height: 32px;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 16px;
}

.its-easy-badge-fill {
    height: 100%;
    width: calc(var(--p) * 1%);
    background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(220, 230, 245, 0.9) 100%);
}

.its-easy-heading {
    margin: 0 0 10px 0;
    color: #ffffff;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 700;
}

.its-easy-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    line-height: 1.65;
}

.its-easy-cta {
    margin-top: 8px;
}

.build-ritual {
    padding: 80px 20px;
    background: var(--gradient-hero);
}

.ritual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.ritual-item {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ritual-time {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.ritual-period {
    font-size: 24px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ritual-period i {
    font-size: 24px;
    color: var(--primary-muted);
}

.ritual-products {
    margin-bottom: 15px;
}

.ritual-product {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
}

.ritual-description {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.ritual-button-center {
    text-align: center;
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.money-back {
    padding: 60px 20px;
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.money-back-content .section-title {
    color: white;
    margin-bottom: 20px;
}

.money-back-content .section-title strong {
    color: white;
}

.money-back-content .section-text {
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .trust-badges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .product-grid {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 20px;
        padding: 10px 0 20px 0;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .product-card {
        flex: 0 0 calc(100% - 40px);
        min-width: calc(100% - 40px);
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .product-carousel-indicators {
        display: flex;
    }

    .unique-content {
        flex-direction: column;
        gap: 40px;
    }

    .unique-image {
        order: -1;
    }

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

    .its-easy-container {
        padding: 52px 20px;
    }

    .its-easy-title {
        font-size: 28px;
    }

    .its-easy-stats {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* --- Language Selector Styling --- */
.lang-selector-container {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: #666;
    font-size: 13px;
    padding: 6px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lang-btn:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Responsive display helpers */
.desktop-only {
    display: inline-flex !important;
}
.mobile-only {
    display: none !important;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: inline-flex !important;
    }
}
