/* 1. Variables & Root */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary: #6A1B4D;   /* Deep Plum */
    --secondary: #F8D7E5; /* Soft Rose */
    --neutral: #FFF8F3;   /* Warm Cream */
    --accent: #EDE7F6;    /* Lavender */
    --white: #FFFFFF;
    --text: #333333;
    --light-text: #666666;
    --error: #F43F5E;
    --success: #2D6A4F;
    --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 30px 60px -12px rgba(106, 27, 77, 0.2);
}

/* 2. Global Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { 
    width: 100%; 
    min-height: 100%;
    overflow-x: hidden; 
    background: var(--neutral); 
    font-family: 'Inter', sans-serif; 
    color: var(--text);
    line-height: 1.6;
    scroll-behavior: smooth;
}

.st-site-wrapper { width: 100%; overflow-x: hidden; position: relative; }

/* 3. Header & Navigation */
.header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 1.5rem 5%; display: flex; justify-content: space-between; align-items: center;
    transition: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 5%;
    box-shadow: var(--shadow-sm);
}

/* Logo Styles */
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-box { width: 42px; height: 42px; background: var(--primary); color: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.3rem; }
.logo-text { font-size: 1.6rem; font-weight: 900; color: var(--primary); letter-spacing: -1px; }
.logo-img { height: 50px; width: auto; border-radius: 20px; display: block; object-fit: contain; }

/* Desktop Nav */
.nav-desktop { display: flex; gap: 2.5rem; align-items: center; }
.nav-item { 
    font-weight: 800; font-size: 0.8rem; text-transform: uppercase; 
    letter-spacing: 0.15em; cursor: pointer; color: var(--primary); 
    opacity: 0.6; transition: 0.3s; background: none; border: none; 
}
.nav-item:hover { opacity: 1; color: var(--error); }

.btn-plum { background: var(--primary); color: #fff; border: none; padding: 0.9rem 2.2rem; border-radius: 14px; font-weight: 800; cursor: pointer; transition: 0.3s; display: inline-flex; align-items: center; gap: 8px; }
.btn-plum:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(106, 27, 77, 0.3); }

/* Mobile Overlay */
.mobile-toggle { display: none; background: none; border: none; color: var(--primary); cursor: pointer; }
.mobile-overlay { 
    position: fixed; inset: 0; background: rgba(255, 255, 255, 0.98); z-index: 1100; 
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem;
    transform: translateX(100%); transition: 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    backdrop-filter: blur(15px);
}
.mobile-overlay.open { transform: translateX(0); }
.mobile-overlay .nav-item { font-size: 1.5rem; letter-spacing: 0.05em; font-weight: 900; opacity: 1; margin-bottom: 1rem; }

/* 4. Core Layout Sections */
.section { padding: 2rem 5%; width: 100%; position: relative; }
.section-white { background: var(--white); }
.container { max-width: 1300px; margin: 0 auto; width: 100%; position: relative; z-index: 1; }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 900; color: var(--primary); margin-bottom: 1.5rem; letter-spacing: -0.04em; }
.section-header p { font-size: 1.25rem; color: var(--light-text); max-width: 800px; margin: 0 auto; }
.header-line { height: 8px; width: 120px; background: rgba(106, 27, 77, 0.1); margin: 2rem auto 0; border-radius: 10px; }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 140px 5% 5rem; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 5rem; align-items: center; max-width: 1400px; margin: 0 auto; width: 100%; position: relative; z-index: 1; }
.hero-tag { display: inline-block; padding: 0.6rem 1.4rem; background: var(--secondary); color: var(--primary); border-radius: 50px; font-weight: 900; font-size: 0.75rem; text-transform: uppercase; margin-bottom: 2rem; letter-spacing: 2px; }
.hero-title { font-size: clamp(1rem, 5.5vw, 5rem); font-weight: 900; line-height: 0.9; color: var(--primary); margin-bottom: 2.5rem; letter-spacing: -0.05em; }
.hero-desc { font-size: 1.3rem; color: var(--light-text); max-width: 600px; margin-bottom: 3.5rem; }
.hero-img { width: 600px; height: 350px; border-radius: 80px; box-shadow: var(--shadow-lg); transform: rotate(3deg); transition: 1s cubic-bezier(0.19, 1, 0.22, 1); object-fit: cover; }
.hero-img:hover { transform: rotate(0); }

/* 5. Components & Grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.card { background: var(--white); padding: 3.5rem; border-radius: 50px; border: 1.5px solid rgba(106, 27, 77, 0.05); transition: 0.5s; }
.card:hover { transform: translateY(-12px); box-shadow: 0 30px 60px rgba(0,0,0,0.06); }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2rem; width: 100%; }
.team-item { text-align: center; }
.team-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 40px; margin-bottom: 1.5rem; filter: grayscale(1); transition: 0.4s; border: 1px solid #eee; }
.team-item:hover .team-img { filter: grayscale(0); transform: translateY(-8px); }

/* Store */
.product { background: var(--white); border-radius: 40px; overflow: hidden; border: 1px solid #f2f2f2; transition: 0.4s; }
.product:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.product-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: #eee; }
.product-info { padding: 2.5rem; }
.price { font-size: 1.8rem; font-weight: 900; color: var(--error); }

/* 6. Shakti Tide (Video & Insta) */
.shakti-tide-section {
    display: flex; flex-wrap: wrap; width: 100%; height: 60vh; min-height: 350px;
    background-color: var(--neutral); border-top: 4px solid var(--primary);
}
.video-container { flex: 1; min-width: 50%; height: 100%; position: relative; overflow: hidden; border-right: 2px solid var(--secondary); }
.background-video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.control-btn { 
    position: absolute; bottom: 20px; left: 20px; z-index: 10; padding: 10px 25px; 
    background: var(--primary); color: var(--neutral); border: none; border-radius: 25px; 
    font-weight: bold; cursor: pointer; transition: 0.2s; box-shadow: 0 4px 15px rgba(106, 27, 77, 0.3); 
}
.control-btn:hover { background: #9C27B0; transform: scale(1.05); }

.insta-container { 
    flex: 1; min-width: 50%; height: 100%; padding: 40px; 
    background-color: var(--accent); display: flex; flex-direction: column; align-items: center; overflow-y: auto; 
}
.insta-container h3 { color: var(--primary); margin-bottom: 20px; border-bottom: 2px solid var(--secondary); padding-bottom: 10px; }

/* 7. Impact & Awareness */
.impact-banner { background: var(--primary); color: #fff; padding: 4rem 5%; text-align: center; }
.counter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4rem; max-width: 1200px; margin: 0 auto; }
.counter-val { font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 900; line-height: 1; margin-bottom: 0.5rem; }
.counter-lbl { font-size: 0.9rem; font-weight: 800; text-transform: uppercase; letter-spacing: 3px; opacity: 0.6; }

.stat-card { text-align: center; padding: 3rem 2rem; }
.stat-icon { color: var(--error); margin-bottom: 1.5rem; }
.stat-number { font-size: 3.5rem; font-weight: 900; color: var(--primary); line-height: 1; margin-bottom: 0.5rem; }
.stat-text { font-weight: 700; font-size: 0.9rem; color: var(--light-text); text-transform: uppercase; letter-spacing: 1px; }

.condition-card { 
    background: var(--neutral); padding: 2.5rem; border-radius: 35px; 
    border: 1px solid rgba(106, 27, 77, 0.05); transition: 0.4s cubic-bezier(0.19, 1, 0.22, 1); 
}
.condition-card:hover { background: #fff; transform: translateY(-10px); box-shadow: var(--shadow-sm); border-color: var(--primary); }
.condition-tag { display: inline-block; padding: 0.4rem 1rem; background: var(--secondary); color: var(--primary); border-radius: 50px; font-size: 0.7rem; font-weight: 800; margin-bottom: 1.5rem; }
.condition-card h4 { font-size: 1.6rem; font-weight: 900; color: var(--primary); margin-bottom: 1rem; }
.learn-more-link { display: inline-block; margin-top: 1.5rem; color: var(--error); font-weight: 800; text-decoration: none; font-size: 0.9rem; transition: 0.3s; }
.learn-more-link:hover { padding-left: 5px; }

/* 8. Predictor & AI */
.predict-box { background: var(--neutral); padding: clamp(2rem, 5vw, 4rem); border-radius: 60px; border: 2px dashed #ddd; margin-top: 2rem; }
.pills { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2.5rem; }
.pill { padding: 0.9rem 1.8rem; border-radius: 50px; border: 2.5px solid #eee; background: #fff; font-weight: 800; font-size: 0.85rem; color: var(--light-text); cursor: pointer; transition: 0.3s; }
.pill.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.custom-symptoms { width: 100%; border: 2.5px solid #eee; padding: 1.5rem; border-radius: 25px; margin-bottom: 2.5rem; font-family: inherit; font-size: 1rem; outline: none; transition: 0.3s; box-shadow: var(--shadow-sm); }
.custom-symptoms:focus { border-color: var(--primary); background: #fff; }

.ai-trigger { position: fixed; bottom: 2rem; right: 2rem; width: 75px; height: 75px; background: var(--primary); color: #fff; border-radius: 22px; border: 4px solid #fff; box-shadow: 0 15px 35px rgba(0,0,0,0.25); cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 1001; transition: 0.3s; }
.ai-panel { 
    position: fixed; bottom: 8rem; right: 2rem; width: 420px; max-width: calc(100% - 40px); height: 600px; max-height: 80vh;
    background: #fff; border-radius: 40px; box-shadow: 0 40px 100px rgba(0,0,0,0.3); z-index: 1101; overflow: hidden; display: none; flex-direction: column; border: 1px solid #eee; 
}
.ai-panel.open { display: flex; }
.ai-header { background: var(--primary); color: #fff; padding: 1.5rem 2rem; font-weight: 800; display: flex; justify-content: space-between; align-items: center; }
.ai-body { flex: 1; overflow-y: auto; padding: 2rem; background: var(--neutral); display: flex; flex-direction: column; gap: 1.5rem; }
.msg { padding: 1.2rem; border-radius: 22px; font-size: 0.95rem; line-height: 1.5; max-width: 85%; }
.msg.ai { background: #fff; align-self: flex-start; border-bottom-left-radius: 0; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
.msg.user { background: var(--primary); color: #fff; align-self: flex-end; border-bottom-right-radius: 0; }

.ai-disclaimer-box { background: #FFF5F5; border-left: 5px solid var(--error); padding: 1.5rem; border-radius: 15px; margin-bottom: 2rem; color: #C53030; font-size: 0.95rem; font-weight: 600; }
.ai-header-tag { display: inline-block; margin: 1.5rem 0 1rem; font-weight: 900; color: var(--primary); font-size: 1.2rem; text-transform: uppercase; letter-spacing: 1px; }
.ai-bullet-list { list-style: none; padding-left: 0; margin-bottom: 1.5rem; }
.ai-bullet-list li { position: relative; padding-left: 1.5rem; margin-bottom: 0.75rem; color: var(--text); font-weight: 500; }
.ai-bullet-list li::before { content: "✨"; position: absolute; left: 0; font-size: 0.9rem; }
.ai-bold { color: var(--primary); font-weight: 800; }

/* 9. FAQ & Utilities */
.faq-wrapper { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; }
.faq-item { background: var(--neutral); border-radius: 20px; border: 1.5px solid rgba(106, 27, 77, 0.05); overflow: hidden; transition: 0.3s; }
.faq-question { width: 100%; padding: 1.5rem 2rem; display: flex; justify-content: space-between; align-items: center; background: none; border: none; cursor: pointer; text-align: left; color: var(--primary); font-size: 1.1rem; font-weight: 800; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.19, 1, 0.22, 1); background: #fff; }
.faq-answer p { padding: 0 2rem 1.5rem 2rem; color: var(--light-text); }
.faq-item.active { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--error); }

/* Beauty Element */
.beauty-blob { position: absolute; width: 400px; height: 400px; background: var(--secondary); border-radius: 50%; filter: blur(100px); opacity: 0.3; z-index: 0; pointer-events: none; }

/* 10. Marquees & Runners */
/* Generic Marquee */
.marquee-section { background: var(--secondary); padding: 2.5rem 0; overflow: hidden; white-space: nowrap; border-top: 1px solid rgba(0,0,0,0.05); }
.marquee-track { display: inline-flex; animation: scrollMarquee 40s linear infinite; gap: 5rem; }

/* Photo Runner */
.photo-runner-section { padding: 4rem 0; background: var(--neutral); overflow: hidden; }
.runner-container { display: flex; width: 100%; }
.runner-track { display: flex; gap: 2rem; animation: slideLeft 25s linear infinite; padding: 0 1rem; }
.runner-track img { height: 250px; width: 350px; object-fit: cover; border-radius: 30px; border: 3px solid var(--primary); box-shadow: var(--shadow-sm); transition: 0.3s; }
.runner-track img:hover { transform: scale(1.05); border-color: var(--error); }
.runner-container:hover .runner-track, .marquee-track:hover { animation-play-state: paused; }

/* Testimonials */
.testimonials-section { padding: 80px 0; background-color: #fffafb; overflow: hidden; }
.plum-heading { color: #5c1f4e; font-size: 2.8rem; font-weight: 700; text-align: center; margin-bottom: 10px; }
.testimonial-card { min-width: 320px; background: white; padding: 30px; border-radius: 25px; border: 1px solid rgba(92, 31, 78, 0.1); box-shadow: 0 10px 30px rgba(0,0,0,0.03); text-align: center; }
.client-img { width: 85px; height: 85px; border-radius: 50%; object-fit: cover; margin-bottom: 20px; border: 3px solid #fdf2f5; }
.client-quote { font-style: italic; color: #444; margin-bottom: 15px; }

/* Keyframes */
@keyframes scrollMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes slideLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes loop-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 11. Footer */
.footer-desktop { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 5rem; padding: 4rem 5% 6rem; background: var(--primary); color: #fff; }
.footer-mobile { display: none; text-align: center; flex-direction: column; gap: 3rem; padding: 4rem 5%; background: var(--primary); color: #fff; }
.footer-col h4 { font-weight: 900; text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; margin-bottom: 2rem; color: var(--secondary); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 1.2rem; }
.footer-link { color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 600; cursor: pointer; transition: 0.3s; }
.footer-link:hover { color: #fff; }
.privacy-banner { background: var(--primary); color: #fff; padding: 1.5rem 5%; font-size: 0.95rem; text-align: center; border-top: 1px solid rgba(255,255,255,0.1); }

/* 12. Animations & Global Utilities */
.reveal { opacity: 0; transform: translateY(30px); transition: 1s cubic-bezier(0.19, 1, 0.22, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* 13. Combined Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-desc { margin: 0 auto 3.5rem; }
    .nav-desktop { display: none; }
    .mobile-toggle { display: block; }
    .footer-desktop { display: none; }
    .footer-mobile { display: flex; }
    .hero-img { width: 100%; transform: rotate(3deg); }
}

@media (max-width: 768px) {
    .section { padding: 2rem 5%; } 
    .hero { padding-top: 100px; padding-bottom: 3rem; }
    .hero-title { font-size: 3.2rem; }
    .grid-3, .team-grid { grid-template-columns: 1fr; }
    .counter-grid { grid-template-columns: 1fr; gap: 3rem; }
    .counter-val { font-size: 3.5rem; }
    .ai-panel { width: calc(100% - 2rem); right: 1rem; bottom: 7.5rem; height: 70vh; }
    .header { padding: 1rem 5%; }
    .logo-img { height: 40px; }
    .runner-track img { height: 180px; width: 260px; }
    .shakti-tide-section { height: auto; }
    .video-container, .insta-container { min-width: 100%; height: 40vh; }
    .plum-heading { font-size: 2rem; }
    .stat-number { font-size: 2.5rem; }
    .condition-card { padding: 2rem; }
}

#menuClose {
    z-index: 2000 !important; /* Force it above everything else */
    cursor: pointer !important;
    pointer-events: auto !important; /* Ensure it accepts touch */
    padding: 15px; /* Makes the clickable area bigger without changing look */
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute !important;
    z-index: 9999 !important; /* Extremely high to beat any server-side widgets */
    pointer-events: auto !important; /* Forces the element to be 'touchable' */
    cursor: pointer;
}

/* Ensure the overlay doesn't block clicks when it is closed */
.mobile-overlay {
    pointer-events: none; 
}

.mobile-overlay.open {
    pointer-events: auto;
}