/* ==========================================================================
   ODISHA'S NO.1 ASTROLOGY × AIDAILYGEN.IN — COSMIC DESIGN SYSTEM
   ========================================================================== */

:root {
    /* Dark Theme Default Variables */
    --bg-main: #0A0A1A;
    --bg-card: rgba(15, 15, 35, 0.85);
    --bg-modal: #0F0F28;
    --border-card: rgba(245, 158, 11, 0.25);
    --gold-main: #F59E0B;
    --gold-glow: rgba(245, 158, 11, 0.4);
    --orange-konark: #EA580C;
    --blue-chilika: #0369A1;
    --violet-aurora: #7C3AED;
    --silver-moon: #CBD5E1;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --shadow-card: 0 20px 50px rgba(0, 0, 0, 0.8);
    --font-odia: 'Noto Serif Odia', serif;
    --font-hindi: 'Noto Serif Devanagari', serif;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Lora', serif;
}

[data-theme="light"] {
    /* Light Theme (Divine Dawn) Override Variables */
    --bg-main: #FAFAF9;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-modal: #FFFFFF;
    --border-card: rgba(234, 88, 12, 0.3);
    --gold-main: #D97706;
    --gold-glow: rgba(217, 119, 6, 0.25);
    --orange-konark: #C2410C;
    --blue-chilika: #0284C7;
    --violet-aurora: #6D28D9;
    --silver-moon: #475569;
    --text-primary: #0F172A;
    --text-secondary: #334155;
    --text-muted: #64748B;
    --shadow-card: 0 15px 35px rgba(0, 0, 0, 0.08);
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Background Cosmic Orbs */
.cosmic-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.22;
    animation: orbFloat 18s ease-in-out infinite alternate;
}

.orb-1 { top: -10%; left: -10%; width: 500px; height: 500px; background: var(--violet-aurora); }
.orb-2 { top: 40%; right: -10%; width: 450px; height: 450px; background: var(--gold-main); animation-delay: -5s; }
.orb-3 { bottom: -10%; left: 30%; width: 600px; height: 600px; background: var(--blue-chilika); animation-delay: -10s; }

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 40px) scale(1.1); }
    100% { transform: translate(-40px, 80px) scale(0.95); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, var(--violet-aurora), var(--orange-konark), var(--gold-main), var(--violet-aurora));
    background-size: 300% 300%;
    animation: gradientShift 6s ease infinite;
    text-align: center;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 600;
    color: #FFF;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Header */
header {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-card);
    backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 26, 0.88);
}

[data-theme="light"] header {
    background: rgba(250, 250, 249, 0.9);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-chakra {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--gold-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--gold-main);
    box-shadow: 0 0 15px var(--gold-glow);
    animation: spinChakra 25s linear infinite;
}

@keyframes spinChakra { 100% { transform: rotate(360deg); } }

.brand-text h1 {
    font-family: var(--font-odia);
    font-size: 19px;
    color: var(--gold-main);
    line-height: 1.2;
}

.brand-text span {
    font-size: 11px;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Header Controls (Language & Theme Toggle) */
.header-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-switcher {
    display: flex;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-card);
    border-radius: 25px;
    padding: 3px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: var(--gold-main);
    color: #000;
    box-shadow: 0 2px 10px var(--gold-glow);
}

.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-card);
    color: var(--gold-main);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
    background: var(--gold-main);
    color: #000;
}

.whatsapp-header-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 8px 18px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.whatsapp-header-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-card);
    border-radius: 22px;
    padding: 35px;
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.glass-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-main);
    box-shadow: 0 25px 50px rgba(124, 58, 237, 0.2), 0 0 25px var(--gold-glow);
}

/* Hero Section */
.hero-section {
    padding: 60px 0 40px;
    text-align: center;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid var(--gold-main);
    color: var(--gold-main);
    padding: 8px 22px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
}

.hero-main-title {
    font-family: var(--font-odia);
    font-size: 42px;
    color: var(--gold-main);
    line-height: 1.3;
    margin-bottom: 15px;
    text-shadow: 0 0 30px rgba(245, 158, 11, 0.25);
}

.hero-subtitle {
    max-width: 850px;
    margin: 0 auto 35px;
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Products Grid */
.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 35px;
}

@media (max-width: 900px) {
    .product-showcase { grid-template-columns: 1fr; }
    .hero-main-title { font-size: 30px; }
}

.product-badge {
    position: absolute;
    top: -14px;
    right: 25px;
    background: linear-gradient(135deg, var(--orange-konark), var(--gold-main));
    color: white;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
}

.product-badge.gold {
    background: linear-gradient(135deg, var(--gold-main), #F59E0B);
    color: #000;
}

.price-tag {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 20px 0;
}

.price-current {
    font-size: 42px;
    font-weight: 800;
    color: var(--gold-main);
    font-family: var(--font-display);
}

.price-original {
    font-size: 20px;
    text-decoration: line-through;
    color: var(--text-muted);
}

.product-features-list {
    list-style: none;
    margin: 20px 0 30px;
    text-align: left;
}

.product-features-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.product-features-list li span.check {
    color: var(--gold-main);
    font-weight: bold;
}

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, var(--gold-main), var(--orange-konark));
    color: #000;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 35px;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 16px;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.35);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.55);
}

.btn-whatsapp-action {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 35px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    font-size: 16px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
    transition: all 0.3s ease;
    margin-top: 12px;
    cursor: pointer;
    border: none;
}

.btn-whatsapp-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.55);
}

/* Section Titles */
.section-header {
    text-align: center;
    margin: 80px 0 45px;
}

.section-header h2 {
    font-family: var(--font-odia);
    font-size: 32px;
    color: var(--gold-main);
    margin-bottom: 8px;
}

.gold-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-main), transparent);
    margin: 15px auto;
}

/* Pain Points Grid */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 20px;
}

.pain-item {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 22px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.pain-icon {
    font-size: 24px;
    background: rgba(239, 68, 68, 0.15);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Stories Grid */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.story-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 28px;
}

.story-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-main), var(--violet-aurora));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #000;
    font-size: 18px;
}

.author-info h4 { font-size: 16px; color: var(--text-primary); }
.author-info span { font-size: 13px; color: var(--gold-main); }

/* FAQ Accordion */
.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 14px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gold-main);
    font-family: var(--font-odia);
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    display: none;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(5, 5, 15, 0.85);
    backdrop-filter: blur(15px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active { display: flex; }

.modal-content {
    background: var(--bg-modal);
    border: 2px solid var(--gold-main);
    border-radius: 25px;
    max-width: 480px;
    width: 100%;
    padding: 35px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 28px;
    color: var(--text-secondary);
    cursor: pointer;
}

.qr-box {
    background: #FFF;
    padding: 15px;
    border-radius: 15px;
    display: inline-block;
    margin: 20px 0;
}

/* Footer */
footer {
    margin-top: 90px;
    padding: 50px 0 30px;
    border-top: 1px solid var(--border-card);
    text-align: center;
    background: rgba(5, 5, 15, 0.95);
}

[data-theme="light"] footer {
    background: #F1F5F9;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 20px 0;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover { color: var(--gold-main); }
