/*
 * ╔══════════════════════════════════════════════════════════════════════╗
 * ║   COSMIC NUMEROLOGY PRO — MASTER OVERRIDE                          ║
 * ║   File: cosmic-override.css                                        ║
 * ║   Load: functions.php AFTER all plugin styles                      ║
 * ║   Priority: HIGH — overrides all plugin CSS via specificity        ║
 * ║                                                                    ║
 * ║   Covers:                                                          ║
 * ║   ① Theme base (header, nav, footer, typography)                  ║
 * ║   ② cosmic-ai-saas-pro (reports, dashboard, wallet, WooCommerce)  ║
 * ║   ③ cosmic-ai-chat (chat widget, tabs)                            ║
 * ║   ④ numerovision-v3 (voice widget, history, audio)                ║
 * ║   ⑤ Mobile-first — feels like a native app on phones             ║
 * ╚══════════════════════════════════════════════════════════════════════╝
 */

/* ─────────────────────────────────────────────────────────────────────
   0. DESIGN TOKENS — SINGLE SOURCE OF TRUTH
   All colours/sizes defined once, used everywhere.
   These override both theme & plugin :root variables.
───────────────────────────────────────────────────────────────────── */
:root {
    /* Brand palette */
    --c-bg:          #06000f;          /* deepest background         */
    --c-bg-2:        #0d0020;          /* surface / card background  */
    --c-bg-3:        #140033;          /* elevated surface           */
    --c-border:      rgba(138, 63, 252, 0.18);
    --c-border-gold: rgba(245, 166, 35, 0.25);

    --c-purple:      #7b2ff7;
    --c-violet:      #9d4edd;
    --c-lavender:    #c77dff;
    --c-pink:        #f107a3;
    --c-gold:        #f5a623;
    --c-gold-light:  #ffd27a;
    --c-teal:        #6effb4;

    --c-text:        #ece4ff;
    --c-text-2:      #b8a8d8;
    --c-muted:       #6b5e87;
    --c-white:       #ffffff;

    /* Gradients */
    --g-primary:   linear-gradient(135deg, #7b2ff7 0%, #f107a3 100%);
    --g-purple:    linear-gradient(135deg, #7b2ff7 0%, #9d4edd 100%);
    --g-gold:      linear-gradient(135deg, #c9880a 0%, #f5a623 100%);
    --g-surface:   linear-gradient(160deg, #0d0020 0%, #06000f 100%);
    --g-cosmic:    radial-gradient(ellipse at 30% 0%, #2a003f 0%, #06000f 65%);

    /* Shadows */
    --shadow-sm:   0 2px 12px rgba(0,0,0,.5);
    --shadow-md:   0 8px 32px rgba(0,0,0,.6);
    --shadow-lg:   0 20px 60px rgba(0,0,0,.7);
    --glow-purple: 0 0 40px rgba(123,47,247,.35);
    --glow-gold:   0 0 24px rgba(245,166,35,.3);
    --glow-pink:   0 0 24px rgba(241,7,163,.35);

    /* Layout */
    --radius-sm:  10px;
    --radius-md:  16px;
    --radius-lg:  22px;
    --radius-xl:  28px;
    --radius-pill:50px;

    --max-w:      1140px;
    --header-h:   64px;

    /* Motion */
    --ease:       cubic-bezier(.22,.68,0,1.2);
    --dur:        0.26s;

    /* Typography */
    --font-head:  'Cormorant Garamond', Georgia, serif;
    --font-body:  'Poppins', system-ui, sans-serif;
    --font-devan: 'Tiro Devanagari Hindi', Georgia, serif;

    /* Plugin vars mapped to our tokens — forces consistency */
    --purple-primary:  var(--c-purple);
    --purple-light:    #9a5cff;
    --purple-mid:      var(--c-violet);
    --purple-pastel:   var(--c-lavender);
    --purple-soft:     #cc66ff;
    --purple-hover:    #cc99ff;
    --pink-accent:     var(--c-pink);
    --pink-alt:        #a970ff;
    --bg-dark:         var(--c-bg);
    --bg-deep:         #030008;
    --glass-bg:        rgba(255,255,255,.04);
    --glass-border:    var(--c-border);
    --text-main:       var(--c-text);
    --text-muted:      var(--c-text-2);
    --text-dim:        var(--c-text-2);
    --text-faint:      var(--c-muted);
    --gradient-cta:    var(--g-primary);
    --gradient-purple: var(--g-purple);
    --transition:      var(--dur) ease;

    /* NumeroVision plugin tokens */
    --nv-bg:       var(--c-bg);
    --nv-surface:  var(--c-bg-2);
    --nv-border:   var(--c-border);
    --nv-purple:   var(--c-purple);
    --nv-gold:     var(--c-gold);
    --nv-pink:     var(--c-pink);
    --nv-text:     var(--c-text);
    --nv-muted:    var(--c-muted);
}

/* ─────────────────────────────────────────────────────────────────────
   1. BASE RESET & TYPOGRAPHY
───────────────────────────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--c-bg) !important;
    background-image: none !important;
    color: var(--c-text);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Persistent cosmic background — GPU composited, never repaints */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background: var(--g-cosmic);
    will-change: transform;
    pointer-events: none;
}

/* Subtle nebula grain overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        radial-gradient(ellipse at 75% 80%, rgba(241,7,163,.06) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 20%, rgba(123,47,247,.08) 0%, transparent 50%);
    will-change: transform;
    pointer-events: none;
}

/* Kill the plugin's #cosmic-bg canvas */
#cosmic-bg { display: none !important; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: var(--c-white);
    line-height: 1.15;
    margin-top: 0;
}

h1 { font-size: clamp(36px, 6vw, 68px); font-weight: 300; }
h2 { font-size: clamp(26px, 4.5vw, 46px); font-weight: 400; text-align:center !important; }
h3 { font-size: clamp(18px, 2.8vw, 26px); font-weight: 500; }

a { color: var(--c-lavender); text-decoration: none; transition: color var(--dur) ease; }
a:hover { color: var(--c-white); }

img { max-width: 100%; height: auto; display: block; }

/* ─────────────────────────────────────────────────────────────────────
   2. SCROLLBAR (global)
───────────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: rgba(123,47,247,.5);
    border-radius: 10px;
}
* { scrollbar-width: thin; scrollbar-color: rgba(123,47,247,.5) transparent; }

/* ─────────────────────────────────────────────────────────────────────
   3. HEADER & NAVIGATION
───────────────────────────────────────────────────────────────────── */
.cosmic-header,
header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 40px !important;
    height: var(--header-h);
    background: rgba(6,0,15,.85) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid var(--c-border) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    box-shadow: 0 1px 0 rgba(138,63,252,.1), var(--shadow-sm) !important;
}
header a {margin-left:none !important;}
.logo img { max-height: 68px !important; width: auto !important; }

/* Desktop nav links */
.main-nav .menu { gap: 8px !important; }

.main-nav .menu li a {
    font-size: 17px !important;
    font-weight: 500 !important;
    color: var(--c-text-2) !important;
    padding: 8px 14px !important;
    border-radius: var(--radius-sm) !important;
    transition: color var(--dur) ease, background var(--dur) ease !important;
}

.main-nav .menu li a:hover {
    color: var(--c-white) !important;
    background: rgba(123,47,247,.12) !important;
}

/* Nav CTA button */
.main-nav .menu li:last-child > a,
.main-nav ul li:last-child > a,
.main-nav ul li.cta-orange > a {
    background: var(--g-primary) !important;
    color: #fff !important;
    padding: 9px 22px !important;
    border-radius: var(--radius-pill) !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 16px rgba(241,7,163,.35) !important;
    font-size: 13px !important;
}

.main-nav .menu li:last-child > a:hover,
.main-nav ul li:last-child > a:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(241,7,163,.5) !important;
}
li#menu-item-427 {
    margin-top: 3px;
}
/* Dropdown */
.main-nav .menu li ul {
    background: var(--c-bg-3) !important;
    border: 1px solid var(--c-border) !important;
    border-radius: var(--radius-md) !important;
    padding: 8px !important;
    box-shadow: var(--shadow-md) !important;
    min-width: 240px !important;
    top: calc(100% + 8px) !important;
    margin-top:-10px !important;
}

.main-nav .menu li ul li {
    padding: 0 !important;
    border-radius: var(--radius-sm) !important;
}

.main-nav .menu li ul li a {
    display: block !important;
    padding: 10px 14px !important;
    border-radius: var(--radius-sm) !important;
    font-size: 13px !important;
}

/* ── Hamburger ── */
.hamburger span {
    width: 22px !important;
    height: 2px !important;
    background: var(--c-text) !important;
    border-radius: 2px !important;
    margin: 3px 0 !important;
    transition: var(--dur) ease !important;
}

/* ─────────────────────────────────────────────────────────────────────
   4. MOBILE NAVIGATION — App-like slide panel
───────────────────────────────────────────────────────────────────── */
@media (max-width: 992px) {
    .cosmic-header,
    header {
        padding: 0 18px !important;
        height: 58px !important;
    }

    .logo img { max-height: 68px !important; }

    .main-nav .menu,
    .main-nav ul:not(.menu) {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        right: auto !important;
        width: min(280px, 85vw) !important;
        height: 100dvh !important;
        background: rgba(8,0,20,.98) !important;
        backdrop-filter: blur(24px) !important;
        flex-direction: column !important;
        gap: 4px !important;
        padding: 80px 16px 32px !important;
        border-right: 1px solid var(--c-border) !important;
        z-index: 998 !important;
        transition: left .35s var(--ease) !important;
        overflow-y: auto !important;
    }

    .main-nav .menu.active,
    .main-nav ul.active {
        left: 0 !important;
        right: auto !important;
    }

    .main-nav .menu li { width: 100% !important; }

    .main-nav .menu li a {
        display: block !important;
        padding: 16px 18px !important;
        font-size: 18px !important;
        border-radius: var(--radius-md) !important;
        color: var(--c-text) !important;
    }

    /* CTA in mobile nav */
    .main-nav .menu li:last-child > a {
        margin-top: 8px !important;
        text-align: center !important;
        font-size: 15px !important;
        padding: 14px 22px !important;
    }

    /* Mobile nav overlay backdrop */
    .main-nav .menu.active::before {
        content: '';
        position: fixed;
        inset: 0;
        left: min(280px, 85vw);
        background: rgba(0,0,0,.6);
        z-index: -1;
    }
}

/* ─────────────────────────────────────────────────────────────────────
   5. GLOBAL BUTTONS
───────────────────────────────────────────────────────────────────── */
.btn,
.slider-btn,
.service-btn,
.career-btn,
.ai-report-btn,
.pricing-btn,
.cosmic-dashboard-btn,
button:not(.hamburger):not(.nv-lang-btn):not(.nv-page-btn):not(.nv-copy-btn):not(.cosmic-chat-send-btn):not(.cosmic-chat-new-session-btn):not(.cosmic-tab-btn) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border: none !important;
    cursor: pointer !important;
    transition: transform var(--dur) ease, box-shadow var(--dur) ease, opacity var(--dur) ease !important;
    white-space: nowrap !important;
}

/* Primary CTA */
.btn,
.slider-btn,
.career-btn,
.ai-report-btn,
.service-btn {
    padding: 13px 30px !important;
    border-radius: var(--radius-pill) !important;
    background: var(--g-primary) !important;
    color: #fff !important;
    box-shadow: 0 6px 24px rgba(241,7,163,.3) !important;
    font-size: 14px !important;
}

.btn:hover,
.slider-btn:hover,
.career-btn:hover,
.ai-report-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 36px rgba(241,7,163,.45) !important;
}

.pricing-btn {
    padding: 12px 28px !important;
    border-radius: var(--radius-pill) !important;
    background: var(--g-purple) !important;
    color: #fff !important;
    font-size: 14px !important;
}

/* ─────────────────────────────────────────────────────────────────────
   6. HERO SLIDER
───────────────────────────────────────────────────────────────────── */
.hero-slider {
    height: 100dvh !important;
    min-height: 560px !important;
}

.hero-slider .slide::before {
    background: linear-gradient(to top, rgba(6,0,15,.9) 0%, rgba(6,0,15,.4) 60%, transparent 100%) !important;
}

.slide-content { max-width: 860px !important; padding: 24px !important; }

.slide-content h1 {
    font-family: var(--font-head) !important;
    font-size: clamp(36px, 7vw, 80px) !important;
    font-weight: 300 !important;
    line-height: 1.05 !important;
    margin-bottom: 16px !important;
    letter-spacing: -0.5px !important;
}

.slide-content p {
    font-size: clamp(15px, 2vw, 18px) !important;
    color: var(--c-text-2) !important;
    max-width: 600px !important;
    margin: 0 auto 32px !important;
}

.slider-arrow {
    font-size: 22px !important;
    width: 48px !important; height: 48px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: rgba(123,47,247,.2) !important;
    border: 1px solid var(--c-border) !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    backdrop-filter: blur(8px) !important;
}

.slider-arrow:hover { background: rgba(123,47,247,.45) !important; }
.slider-arrow.left  { left: 24px !important; }
.slider-arrow.right { right: 24px !important; }

.slider-dots span {
    width: 8px !important; height: 8px !important;
    background: rgba(255,255,255,.25) !important;
}

.slider-dots span.active {
    background: var(--c-pink) !important;
    box-shadow: 0 0 8px var(--c-pink) !important;
    transform: scale(1.4) !important;
}

@media (max-width: 768px) {
    .hero-slider { height: 100dvh !important; min-height: 500px !important; }
    .slide-content h1 { font-size: clamp(28px, 8vw, 42px) !important; }
    .slider-arrow { display: none !important; }
}

/* ─────────────────────────────────────────────────────────────────────
   7. SECTION CHROME — labels, titles, subtitles
───────────────────────────────────────────────────────────────────── */
.section,
.services-section,
.career-section,
.ai-report-section,
.cosmic-pricing {
    padding: 80px 24px !important;
}

@media (min-width: 768px) {
    .section,
    .services-section,
    .career-section,
    .ai-report-section,
    .cosmic-pricing {
        padding: 100px 40px !important;
    }
}

.section-title,
.career-title,
.ai-report-title {
    font-family: var(--font-head) !important;
    font-size: clamp(28px, 5vw, 52px) !important;
    font-weight: 400 !important;
    background: var(--g-primary) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    margin-bottom: 12px !important;
}

.section-subtitle,
.career-subtitle,
.ai-report-subtitle {
    color: var(--c-text-2) !important;
    font-size: 16px !important;
    line-height: 1.75 !important;
    max-width: 620px !important;
    margin: 0 auto 56px !important;
}

/* ─────────────────────────────────────────────────────────────────────
   8. CARDS — universal glass card
───────────────────────────────────────────────────────────────────── */
.card,
.service-card,
.career-card,
.cosmic-stat-card,
.cosmic-report-card,
.pricing-card {
    background: var(--g-surface) !important;
    border: 1px solid var(--c-border) !important;
    border-radius: var(--radius-lg) !important;
    backdrop-filter: none !important;    /* removed — causes flicker/repaint */
    -webkit-backdrop-filter: none !important;
    box-shadow: var(--shadow-sm) !important;
    transition: transform var(--dur) ease, box-shadow var(--dur) ease, border-color var(--dur) ease !important;
}

.card:hover,
.service-card:hover,
.career-card:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(123,47,247,.45) !important;
    box-shadow: var(--shadow-md), var(--glow-purple) !important;
}

.service-card { padding: 32px 28px !important; }
.career-card  { padding: 36px 30px !important; }

.service-card h3,
.career-card h3 {
    font-family: var(--font-head) !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    color: var(--c-white) !important;
    margin-bottom: 12px !important;
}

.service-card p,
.career-card p {
    font-size: 13.5px !important;
    color: var(--c-text-2) !important;
    line-height: 1.75 !important;
}

.service-btn {
    margin-top: 22px !important;
    font-size: 13px !important;
    padding: 10px 22px !important;
}

/* ─────────────────────────────────────────────────────────────────────
   9. AI REPORT SECTION
───────────────────────────────────────────────────────────────────── */
.ai-report-section {
    background: linear-gradient(180deg, transparent 0%, rgba(20,0,51,.6) 100%) !important;
}

.ai-report-box {
    background: var(--g-surface) !important;
    border: 1px solid var(--c-border) !important;
    border-radius: var(--radius-xl) !important;
    padding: 52px 48px !important;
    gap: 56px !important;
    backdrop-filter: none !important;
    box-shadow: var(--shadow-lg), var(--glow-purple) !important;
}

.ai-features li {
    position: relative;
    padding-left: 22px !important;
    font-size: 14.5px !important;
    color: var(--c-text) !important;
    margin-bottom: 14px !important;
}

.ai-features li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--c-gold);
    font-size: 10px;
    top: 4px;
}

.price-box .price {
    font-family: var(--font-head) !important;
    font-size: 58px !important;
    font-weight: 600 !important;
    color: var(--c-gold-light) !important;
    line-height: 1 !important;
}

.price-label {
    font-size: 13px !important;
    color: var(--c-muted) !important;
    margin-top: 6px !important;
}

.guarantee {
    font-size: 12px !important;
    color: var(--c-muted) !important;
    margin-top: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
}

@media (max-width: 992px) {
    .ai-report-box { padding: 32px 24px !important; gap: 36px !important; }
}

/* ─────────────────────────────────────────────────────────────────────
   10. PRICING SECTION
───────────────────────────────────────────────────────────────────── */
.pricing-title {
    font-family: var(--font-head) !important;
    font-size: clamp(28px, 5vw, 46px) !important;
    font-weight: 400 !important;
    color: var(--c-white) !important;
    margin-bottom: 10px !important;
}

.pricing-subtitle {
    color: var(--c-text-2) !important;
    font-size: 16px !important;
    max-width: 520px !important;
    margin: 0 auto 52px !important;
}

.pricing-card {
    width: 300px !important;
    padding: 36px 28px !important;
    position: relative !important;
    overflow: hidden !important;
}

.pricing-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: var(--g-primary);
    opacity: 0;
    transition: opacity var(--dur) ease;
}

.pricing-card:hover::before { opacity: 1; }

.pricing-card.popular {
    border-color: rgba(123,47,247,.45) !important;
    background: linear-gradient(160deg, rgba(123,47,247,.1), var(--c-bg-2)) !important;
    transform: scale(1.04) !important;
}

.pricing-card.popular:hover { transform: scale(1.04) translateY(-6px) !important; }

.pricing-card .price {
    font-family: var(--font-head) !important;
    font-size: 56px !important;
    font-weight: 700 !important;
    color: var(--c-gold-light) !important;
    line-height: 1 !important;
    margin: 20px 0 4px !important;
}

.credits {
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: var(--c-lavender) !important;
    margin-bottom: 24px !important;
}

.pricing-card ul { border-top: 1px solid var(--c-border) !important; padding-top: 20px !important; }
.pricing-card ul li {
    font-size: 13.5px !important;
    color: var(--c-text) !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-bottom: 10px !important;
    line-height: 1.5 !important;
}

.pricing-card ul li::before {
    content: '✓';
    color: var(--c-teal);
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 1px;
}

.badge {
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    padding: 5px 16px !important;
    border-radius: var(--radius-pill) !important;
    top: -13px !important;
}

.badge:not(.purple) {
    background: linear-gradient(135deg, #f5a623, #ffd27a) !important;
    color: #1a0800 !important;
    box-shadow: 0 4px 16px rgba(245,166,35,.4) !important;
}

.badge.purple {
    background: var(--g-purple) !important;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(123,47,247,.4) !important;
}

@media (max-width: 768px) {
    .pricing-card { width: min(340px, 90vw) !important; transform: none !important; }
    .pricing-card.popular { transform: none !important; }
}

/* ─────────────────────────────────────────────────────────────────────
   11. DASHBOARD — stats, reports table, report cards
───────────────────────────────────────────────────────────────────── */
.cosmic-dashboard {
    background: var(--g-surface) !important;
    border: 1px solid var(--c-border) !important;
    border-radius: var(--radius-xl) !important;
    padding: 32px 28px !important;
    box-shadow: var(--shadow-md) !important;
}

.cosmic-stats-grid { gap: 16px !important; }

.cosmic-stat-card {
    background: linear-gradient(135deg, rgba(123,47,247,.1), rgba(6,0,15,.9)) !important;
    border-radius: var(--radius-md) !important;
    padding: 24px 20px !important;
    border: 1px solid var(--c-border) !important;
    text-align: center !important;
}

.cosmic-stat-card h4 {
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: var(--c-lavender) !important;
    margin-bottom: 10px !important;
}

.cosmic-stat-card span {
    font-family: var(--font-head) !important;
    font-size: 34px !important;
    font-weight: 700 !important;
    color: var(--c-gold-light) !important;
    line-height: 1 !important;
}

/* Report table */
.cosmic-report-table {
    border-radius: var(--radius-lg) !important;
    overflow: hidden !important;
    border: 1px solid var(--c-border) !important;
}

.cosmic-report-table th {
    background: rgba(123,47,247,.15) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: var(--c-lavender) !important;
    padding: 14px 18px !important;
}

.cosmic-report-table td {
    padding: 14px 18px !important;
    color: var(--c-text) !important;
    font-size: 13.5px !important;
    border-bottom: 1px solid rgba(138,63,252,.08) !important;
}

.cosmic-report-table tr:last-child td { border-bottom: none !important; }

.cosmic-report-table tr:hover { background: rgba(123,47,247,.06) !important; }

/* Report cards */
.cosmic-report-card {
    padding: 22px 24px !important;
    border-radius: var(--radius-lg) !important;
    align-items: center !important;
    gap: 20px !important;
}

.cosmic-report-card:hover {
    transform: translateY(-3px) !important;
    border-color: rgba(123,47,247,.35) !important;
    box-shadow: var(--shadow-md) !important;
}

.report-info h3 { font-size: 17px !important; margin-bottom: 4px !important; font-family: var(--font-head) !important; font-weight: 600 !important; }
.report-info p  { font-size: 13px !important; color: var(--c-text-2) !important; }
.report-info small { font-size: 12px !important; color: var(--c-muted) !important; }

/* Dashboard action buttons */
.cosmic-dashboard-btn {
    padding: 8px 16px !important;
    border-radius: var(--radius-pill) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

.cosmic-dashboard-btn.view { background: rgba(123,47,247,.3) !important; color: var(--c-lavender) !important; border: 1px solid rgba(123,47,247,.35) !important; }
.cosmic-dashboard-btn.pdf  { background: var(--g-purple) !important; color: #fff !important; }
.cosmic-dashboard-btn.regen{ background: rgba(255,255,255,.07) !important; color: var(--c-text-2) !important; }

.cosmic-dashboard-btn:hover { transform: translateY(-2px) !important; opacity: .88 !important; }

/* Empty state */
.cosmic-empty-state {
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--c-border) !important;
    padding: 52px 32px !important;
}

/* Dashboard header */
.cosmic-dashboard-header h2 {
    font-family: var(--font-head) !important;
    font-size: 28px !important;
    font-weight: 500 !important;
    color: var(--c-white) !important;
}

.cosmic-plan-badge {
    background: var(--g-purple) !important;
    border-radius: var(--radius-pill) !important;
    font-size: 12px !important;
    padding: 6px 18px !important;
}

/* ─────────────────────────────────────────────────────────────────────
   12. FORMS — cosmic form wrapper
───────────────────────────────────────────────────────────────────── */
.cosmic-form-wrapper {
    background: var(--g-surface) !important;
    border: 1px solid var(--c-border) !important;
    border-radius: var(--radius-xl) !important;
    padding: 36px 32px !important;
    box-shadow: var(--shadow-md) !important;
}

.cosmic-form-wrapper h2,
.cosmic-container h1 {
    font-family: var(--font-head) !important;
    font-weight: 500 !important;
    background: var(--g-primary) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    margin-bottom: 24px !important;
}

.cosmic-form-wrapper input,
.cosmic-form-wrapper select,
.cosmic-auth-card input[type="text"],
.cosmic-auth-card input[type="email"],
.cosmic-auth-card input[type="password"],
.cosmic-auth-card input[type="tel"],
.cosmic-auth-card select,
.woocommerce form input.input-text,
.woocommerce form .form-row input.input-text {
    background: rgba(255,255,255,.04) !important;
    border: 1px solid rgba(138,63,252,.25) !important;
    border-radius: var(--radius-sm) !important;
    color: var(--c-text) !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    padding: 13px 16px !important;
    width: 100% !important;
    transition: border-color var(--dur) ease, box-shadow var(--dur) ease !important;
    outline: none !important;
    -webkit-appearance: none !important;
}

.cosmic-form-wrapper input:focus,
.cosmic-form-wrapper select:focus,
.cosmic-auth-card input:focus,
.woocommerce form input.input-text:focus {
    border-color: var(--c-purple) !important;
    box-shadow: 0 0 0 3px rgba(123,47,247,.2) !important;
    background: rgba(123,47,247,.06) !important;
}

.cosmic-form-wrapper input::placeholder,
.cosmic-auth-card input::placeholder {
    color: rgba(255,255,255,.25) !important;
}

#cosmicGenerate,
.cosmic-auth-card input[type="submit"],
.cosmic-auth-card button[type="submit"],
.cosmic-auth-btn {
    background: var(--g-primary) !important;
    border: none !important;
    border-radius: var(--radius-pill) !important;
    color: #fff !important;
    font-family: var(--font-body) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 14px !important;
    width: 100% !important;
    cursor: pointer !important;
    letter-spacing: .3px !important;
    transition: transform var(--dur) ease, box-shadow var(--dur) ease !important;
    box-shadow: 0 6px 24px rgba(241,7,163,.25) !important;
}

#cosmicGenerate:hover,
.cosmic-auth-btn:hover,
.cosmic-auth-card button[type="submit"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 32px rgba(241,7,163,.4) !important;
}

#result {
    background: rgba(6,0,15,.8) !important;
    border: 1px solid var(--c-border) !important;
    border-radius: var(--radius-md) !important;
    padding: 24px !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
    color: var(--c-text) !important;
}

/* Auth card */
.cosmic-auth-page {
    min-height: 100dvh !important;
    background: transparent !important;
}

.cosmic-auth-card {
    background: var(--g-surface) !important;
    border: 1px solid var(--c-border) !important;
    border-radius: var(--radius-xl) !important;
    padding: 48px 40px !important;
    box-shadow: var(--shadow-lg), var(--glow-purple) !important;
    max-width: 460px !important;
}

.cosmic-auth-title {
    font-family: var(--font-head) !important;
    font-size: 30px !important;
    font-weight: 500 !important;
}

.cosmic-auth-subtitle {
    color: var(--c-text-2) !important;
    font-size: 14px !important;
    margin-bottom: 32px !important;
}

.cosmic-auth-card label {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--c-text-2) !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.cosmic-auth-card a { color: var(--c-lavender) !important; }
.cosmic-auth-card a:hover { color: var(--c-pink) !important; }

.cosmic-auth-message.error {
    background: rgba(255,60,60,.1) !important;
    border: 1px solid rgba(255,60,60,.25) !important;
    border-radius: var(--radius-sm) !important;
    color: #ff9090 !important;
    font-size: 13px !important;
    padding: 12px 16px !important;
}

.cosmic-auth-message.success {
    background: rgba(110,255,180,.08) !important;
    border: 1px solid rgba(110,255,180,.2) !important;
    color: var(--c-teal) !important;
    font-size: 13px !important;
    padding: 12px 16px !important;
}

/* ─────────────────────────────────────────────────────────────────────
   13. WOOCOMMERCE — shop, product, cart, checkout
───────────────────────────────────────────────────────────────────── */
/* Product grid */
.woocommerce ul.products {
    gap: 24px !important;
    padding: 48px 0 !important;
    justify-content: center !important;
}

.woocommerce ul.products li.product {
    background: var(--g-surface) !important;
    border: 1px solid var(--c-border) !important;
    border-radius: var(--radius-xl) !important;
    padding: 40px 28px !important;
    width: min(320px, 90vw) !important;
    box-shadow: var(--shadow-sm) !important;
    transition: transform var(--dur) ease, border-color var(--dur) ease, box-shadow var(--dur) ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.woocommerce ul.products li.product::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: var(--g-primary);
    opacity: 0;
    transition: opacity var(--dur) ease;
}

.woocommerce ul.products li.product:hover::before { opacity: 1; }

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px) !important;
    border-color: rgba(123,47,247,.45) !important;
    box-shadow: var(--shadow-md), var(--glow-purple) !important;
}

.woocommerce ul.products li.product h2 {
    font-family: var(--font-head) !important;
    font-size: 22px !important;
    font-weight: 500 !important;
    color: var(--c-white) !important;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price {
    font-family: var(--font-head) !important;
    font-size: 48px !important;
    font-weight: 700 !important;
    color: var(--c-gold-light) !important;
    margin: 20px 0 !important;
    line-height: 1 !important;
}

.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce div.product form.cart .single_add_to_cart_button {
    background: var(--g-primary) !important;
    border-radius: var(--radius-pill) !important;
    border: none !important;
    color: #fff !important;
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    padding: 13px 28px !important;
    transition: transform var(--dur) ease, box-shadow var(--dur) ease !important;
    box-shadow: 0 6px 20px rgba(241,7,163,.25) !important;
    width: 100% !important;
    text-align: center !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce div.product form.cart .single_add_to_cart_button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 28px rgba(241,7,163,.4) !important;
    background: var(--g-primary) !important;
}

/* Single product */
.woocommerce div.product {
    background: var(--g-surface) !important;
    border: 1px solid var(--c-border) !important;
    border-radius: var(--radius-xl) !important;
    padding: 52px 48px !important;
    box-shadow: var(--shadow-lg) !important;
    max-width: 680px !important;
    margin: 60px auto !important;
}

.woocommerce div.product .product_title {
    font-family: var(--font-head) !important;
    font-size: clamp(24px, 4vw, 38px) !important;
    font-weight: 400 !important;
}

/* Cart */
.woocommerce-cart table.cart,
.woocommerce-cart table.cart th,
.woocommerce-cart table.cart td {
    background: transparent !important;
    border-color: var(--c-border) !important;
}

/* Checkout */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    border-radius: var(--radius-sm) !important;
}

.woocommerce-checkout #place_order {
    background: var(--g-primary) !important;
    border-radius: var(--radius-pill) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 16px !important;
    box-shadow: 0 6px 24px rgba(241,7,163,.3) !important;
    transition: transform var(--dur) ease !important;
}

.woocommerce-checkout #place_order:hover { transform: translateY(-2px) !important; }

/* WC My Account */
.woocommerce-account .woocommerce { gap: 24px !important;  }

.woocommerce-account-navigation {
    width: 240px !important;
    background: var(--g-surface) !important;
    border: 1px solid var(--c-border) !important;
    border-radius: var(--radius-lg) !important;
    padding: 12px !important;
}

.woocommerce-account-navigation ul li a {
    border-radius: var(--radius-sm) !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    padding: 11px 14px !important;
    color: var(--c-text-2) !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.woocommerce-account-navigation ul li a:hover {
    background: rgba(123,47,247,.18) !important;
    color: var(--c-white) !important;
}

.woocommerce-account-navigation .is-active a {
    background: var(--g-purple) !important;
    color: #fff !important;
}

.woocommerce-account-content {
    flex: 1 !important;
    background: var(--g-surface) !important;
    border: 1px solid var(--c-border) !important;
    border-radius: var(--radius-lg) !important;
    padding: 32px !important;
    box-shadow: var(--shadow-sm) !important;
    backdrop-filter: none !important;
}

/* WC block components */
.wc-block-components-checkout-place-order-button {
    background: var(--g-primary) !important;
    border-radius: var(--radius-pill) !important;
    font-weight: 700 !important;
}

a.wc-block-components-product-name { color: var(--c-text) !important; font-weight: 600 !important; }

/* ─────────────────────────────────────────────────────────────────────
   14. WP ADMIN LOGIN PAGE
───────────────────────────────────────────────────────────────────── */
body.login {
    background: radial-gradient(ellipse at 30% 0%, #2a003f, #06000f 65%) !important;
    font-family: var(--font-body) !important;
}

body.login #loginform,
body.login #lostpasswordform,
body.login #registerform {
    background: rgba(13,0,32,.95) !important;
    border: 1px solid rgba(138,63,252,.25) !important;
    border-radius: var(--radius-xl) !important;
    padding: 40px !important;
    box-shadow: var(--shadow-lg), var(--glow-purple) !important;
}

body.login #loginform label,
body.login #lostpasswordform label {
    color: var(--c-text-2) !important;
    font-size: 13px !important;
}

body.login #loginform input[type="text"],
body.login #loginform input[type="password"],
body.login #lostpasswordform input[type="text"] {
    background: rgba(255,255,255,.05) !important;
    border: 1px solid rgba(138,63,252,.25) !important;
    border-radius: var(--radius-sm) !important;
    color: #fff !important;
    font-size: 14px !important;
    padding: 13px 16px !important;
    box-shadow: none !important;
    transition: border-color var(--dur) ease !important;
}

body.login #loginform input[type="text"]:focus,
body.login #loginform input[type="password"]:focus {
    border-color: var(--c-purple) !important;
    box-shadow: 0 0 0 3px rgba(123,47,247,.2) !important;
    outline: none !important;
}

body.login #loginform input[type="submit"],
body.login #lostpasswordform input[type="submit"] {
    background: linear-gradient(135deg, #7b2ff7, #f107a3) !important;
    border: none !important;
    border-radius: var(--radius-pill) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 14px !important;
    width: 100% !important;
    box-shadow: 0 6px 24px rgba(241,7,163,.3) !important;
    text-shadow: none !important;
    transition: transform var(--dur) ease !important;
}

body.login #loginform input[type="submit"]:hover { transform: translateY(-2px) !important; }
body.login #nav a, body.login #backtoblog a { color: var(--c-lavender) !important; font-size: 13px !important; }
body.login #nav a:hover, body.login #backtoblog a:hover { color: var(--c-pink) !important; }

/* ─────────────────────────────────────────────────────────────────────
   15. COSMIC AI CHAT PLUGIN
───────────────────────────────────────────────────────────────────── */
.cosmic-chat-wrapper {
    background: #080016 !important;
    border: 1px solid var(--c-border) !important;
    border-radius: var(--radius-xl) !important;
    max-width: 820px !important;
    min-height: 600px !important;
    max-height: min(740px, 88dvh) !important;
    box-shadow: var(--shadow-lg), var(--glow-purple) !important;
    font-family: var(--font-body) !important;
    transform: translateZ(0) !important;
    isolation: isolate !important;
}

.cosmic-chat-header {
    background: linear-gradient(90deg, #100830, #160c40) !important;
    border-bottom: 1px solid var(--c-border) !important;
    padding: 14px 20px !important;
}

.cosmic-chat-avatar {
    background: var(--g-primary) !important;
    border-radius: 50% !important;
    box-shadow: 0 0 12px rgba(241,7,163,.3) !important;
}

.cosmic-chat-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--c-white) !important;
}

.cosmic-chat-subtitle {
    font-size: 11px !important;
    color: var(--c-lavender) !important;
}

.cosmic-chat-credits {
    background: rgba(123,47,247,.12) !important;
    border: 1px solid rgba(123,47,247,.28) !important;
    border-radius: var(--radius-pill) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--c-lavender) !important;
    padding: 5px 14px !important;
}

.cosmic-chat-messages { padding: 18px 16px !important; gap: 12px !important; }

/* Chat bubbles */
.cosmic-chat-msg.ai .cosmic-chat-bubble {
    background: #140c30 !important;
    border: 1px solid rgba(123,47,247,.2) !important;
    border-radius: 4px var(--radius-md) var(--radius-md) var(--radius-md) !important;
    color: var(--c-text) !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

.cosmic-chat-msg.user .cosmic-chat-bubble {
    background: var(--g-purple) !important;
    border-radius: var(--radius-md) 4px var(--radius-md) var(--radius-md) !important;
    color: #fff !important;
    font-size: 14px !important;
}

.cosmic-chat-bubble.typing {
    background: #140c30 !important;
    border: 1px solid rgba(123,47,247,.2) !important;
    border-radius: 4px var(--radius-md) var(--radius-md) var(--radius-md) !important;
}

.cosmic-chat-bubble.typing span {
    background: var(--c-lavender) !important;
    will-change: transform !important;
}

/* Input area — solid background prevents flicker on focus */
.cosmic-chat-input-area {
    background: #0c0624 !important;
    border-top: 1px solid rgba(123,47,247,.2) !important;
    padding: 12px 16px !important;
}

.cosmic-chat-input {
    background: #120840 !important;
    border: 1px solid rgba(123,47,247,.3) !important;
    border-radius: var(--radius-sm) !important;
    color: #fff !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    padding: 12px 16px !important;
    transition: border-color var(--dur) ease !important;
    outline: none !important;
}

.cosmic-chat-input:focus {
    border-color: var(--c-purple) !important;
    box-shadow: inset 0 0 0 1px rgba(123,47,247,.3) !important;
    background: #160c48 !important;
}

.cosmic-chat-input::placeholder { color: rgba(255,255,255,.2) !important; }

.cosmic-chat-send-btn {
    background: var(--g-purple) !important;
    border-radius: var(--radius-sm) !important;
    width: 44px !important; height: 44px !important;
    box-shadow: 0 4px 14px rgba(123,47,247,.35) !important;
    transition: opacity var(--dur) ease !important;
}

.cosmic-chat-send-btn:hover:not(:disabled) { opacity: .82 !important; }

.cosmic-chat-footer {
    background: #080016 !important;
    border-top: 1px solid rgba(255,255,255,.04) !important;
    font-size: 11px !important;
    color: #3a3050 !important;
}

/* Tab navigation */
.cosmic-chat-tabs-nav {
    max-width: 820px !important;
    margin: 0 auto 10px !important;
    gap: 8px !important;
}

.cosmic-tab-btn {
    background: rgba(255,255,255,.05) !important;
    border: 1px solid var(--c-border) !important;
    border-radius: var(--radius-sm) !important;
    color: var(--c-text-2) !important;
    font-family: var(--font-body) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 9px 18px !important;
    cursor: pointer !important;
    transition: background var(--dur) ease, color var(--dur) ease !important;
}

.cosmic-tab-btn.active,
.cosmic-tab-btn:hover {
    background: rgba(123,47,247,.2) !important;
    color: var(--c-white) !important;
    border-color: rgba(123,47,247,.4) !important;
}

/* Session end / no credits */
.cosmic-chat-session-end {
    background: rgba(123,47,247,.07) !important;
    border: 1px solid rgba(123,47,247,.2) !important;
    border-radius: var(--radius-sm) !important;
}

.cosmic-chat-no-credit-notice {
    background: rgba(255,60,60,.06) !important;
    border: 1px solid rgba(255,60,60,.18) !important;
    border-radius: var(--radius-sm) !important;
    color: #ff9090 !important;
}

.cosmic-chat-new-session-btn {
    background: var(--g-purple) !important;
    border-radius: var(--radius-pill) !important;
    font-family: var(--font-body) !important;
    padding: 10px 24px !important;
}

.cosmic-chat-buy-btn {
    background: var(--g-primary) !important;
    border-radius: var(--radius-pill) !important;
    font-weight: 600 !important;
}

/* Chat gate (logged out) */
.cosmic-chat-gate-inner {
    background: var(--g-surface) !important;
    border: 1px solid var(--c-border) !important;
    border-radius: var(--radius-xl) !important;
    padding: 48px 36px !important;
    box-shadow: var(--shadow-md) !important;
}

.cosmic-chat-gate-inner h3 { font-family: var(--font-head) !important; font-size: 24px !important; }

/* ─────────────────────────────────────────────────────────────────────
   16. NUMEROVISION — Voice widget
───────────────────────────────────────────────────────────────────── */
.nv-widget {
    background: linear-gradient(160deg, #0d0022 0%, #07001a 60%, #100028 100%) !important;
    border: 1px solid var(--c-border) !important;
    border-radius: var(--radius-xl) !important;
    padding: 32px 24px 28px !important;
    max-width: 500px !important;
    box-shadow: var(--shadow-lg), var(--glow-purple) !important;
    font-family: var(--font-devan) !important;
}

/* Language buttons */
.nv-lang-btn {
    background: rgba(255,255,255,.04) !important;
    border: 1px solid rgba(199,125,255,.18) !important;
    border-radius: var(--radius-pill) !important;
    color: var(--c-muted) !important;
    font-size: 12px !important;
    font-family: var(--font-body) !important;
    padding: 6px 16px !important;
    cursor: pointer !important;
    transition: background var(--dur) ease, color var(--dur) ease !important;
}

.nv-lang-btn:hover {
    background: rgba(123,47,247,.18) !important;
    border-color: rgba(123,47,247,.4) !important;
    color: var(--c-text) !important;
}

.nv-lang-btn.active {
    background: linear-gradient(135deg, rgba(123,47,247,.35), rgba(241,7,163,.2)) !important;
    border-color: var(--c-purple) !important;
    color: #fff !important;
    font-weight: 600 !important;
}

/* Avatar */
.nv-avatar {
    width: 130px !important; height: 130px !important;
    border: 3px solid rgba(123,47,247,.45) !important;
    box-shadow: 0 0 28px rgba(123,47,247,.4), 0 0 70px rgba(123,47,247,.1) !important;
    border-radius: 50% !important;
}

.nv-avatar.nv-speaking {
    border-color: var(--c-gold) !important;
    box-shadow: 0 0 32px rgba(245,166,35,.5), 0 0 90px rgba(245,166,35,.15) !important;
}

/* Status text */
.nv-status {
    font-size: 13px !important;
    font-family: var(--font-body) !important;
    letter-spacing: .02em !important;
}

/* Start / end buttons */
.nv-btn-start,
.nv-btn-end {
    border-radius: var(--radius-pill) !important;
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
    padding: 14px 32px !important;
    font-size: 15px !important;
    box-shadow: 0 6px 24px rgba(241,7,163,.3) !important;
    border: none !important;
    cursor: pointer !important;
    transition: transform var(--dur) ease, box-shadow var(--dur) ease !important;
}

.nv-btn-start:hover { transform: translateY(-3px) !important; box-shadow: 0 12px 36px rgba(241,7,163,.45) !important; }

/* Transcript messages */
.nv-msg {
    font-family: var(--font-devan) !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    border-radius: var(--radius-md) !important;
    padding: 12px 16px !important;
}

.nv-msg-jyoti {
    background: rgba(123,47,247,.12) !important;
    border: 1px solid rgba(123,47,247,.22) !important;
    border-radius: 4px var(--radius-md) var(--radius-md) var(--radius-md) !important;
}

.nv-msg-user {
    background: rgba(245,166,35,.1) !important;
    border: 1px solid rgba(245,166,35,.2) !important;
    border-radius: var(--radius-md) 4px var(--radius-md) var(--radius-md) !important;
    align-self: flex-end !important;
}

/* Credits / timer bar */
.nv-credit-bar {
    background: rgba(255,255,255,.04) !important;
    border-radius: var(--radius-sm) !important;
    border: 1px solid var(--c-border) !important;
}

/* ─────────────────────────────────────────────────────────────────────
   17. NUMEROVISION — History page
───────────────────────────────────────────────────────────────────── */
.nv-history {
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 0 16px 56px !important;
    font-family: var(--font-devan) !important;
    color: var(--c-text) !important;
}

.nv-history-header {
    border-bottom: 1px solid var(--c-border) !important;
    margin-bottom: 28px !important;
    padding-bottom: 20px !important;
}

.nv-history-title h2 {
    font-family: var(--font-head) !important;
    font-size: 24px !important;
    color: var(--c-gold) !important;
    margin-bottom: 2px !important;
}

/* Stats */
.nv-stat {
    background: rgba(123,47,247,.08) !important;
    border: 1px solid rgba(123,47,247,.2) !important;
    border-radius: var(--radius-sm) !important;
    padding: 10px 18px !important;
}

.nv-stat-num {
    font-family: var(--font-head) !important;
    font-size: 24px !important;
    color: var(--c-gold) !important;
}

.nv-stat-label { font-family: var(--font-body) !important; font-size: 11px !important; color: var(--c-muted) !important; }

/* Session cards */
.nv-session-card {
    background: linear-gradient(135deg, rgba(13,0,37,.97), rgba(7,0,26,.97)) !important;
    border: 1px solid var(--c-border) !important;
    border-radius: var(--radius-lg) !important;
    padding: 18px 22px !important;
    transition: all var(--dur) ease !important;
}

.nv-session-card:hover {
    border-color: rgba(123,47,247,.45) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 32px rgba(123,47,247,.18) !important;
}

.nv-tag {
    background: rgba(123,47,247,.14) !important;
    border: 1px solid rgba(123,47,247,.24) !important;
    border-radius: var(--radius-pill) !important;
    font-family: var(--font-body) !important;
    font-size: 11px !important;
    color: var(--c-lavender) !important;
}

.nv-tag-audio {
    background: rgba(245,166,35,.1) !important;
    border-color: rgba(245,166,35,.28) !important;
    color: var(--c-gold) !important;
}

/* Pagination */
.nv-page-btn {
    background: rgba(123,47,247,.12) !important;
    border: 1px solid rgba(123,47,247,.28) !important;
    color: var(--c-lavender) !important;
    border-radius: var(--radius-pill) !important;
    font-family: var(--font-body) !important;
    padding: 9px 22px !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: background var(--dur) ease !important;
}

.nv-page-btn:hover:not(:disabled) { background: rgba(123,47,247,.28) !important; }
.nv-page-btn:disabled { opacity: .35 !important; cursor: not-allowed !important; }

/* Session detail — audio player */
.nv-audio-player-wrap {
    background: linear-gradient(135deg, rgba(13,0,37,.98), rgba(7,0,26,.98)) !important;
    border: 1px solid var(--c-border-gold) !important;
    border-radius: var(--radius-lg) !important;
    padding: 22px 24px !important;
    box-shadow: var(--glow-gold) !important;
}

.nv-audio-name { font-family: var(--font-head) !important; color: var(--c-gold) !important; font-size: 16px !important; font-weight: 600 !important; }
.nv-audio-duration { font-family: var(--font-body) !important; color: var(--c-muted) !important; }

/* Transcript bubbles */
.nv-transcript-view {
    background: linear-gradient(160deg, #0d0022, #07001a) !important;
    border: 1px solid var(--c-border) !important;
    border-radius: var(--radius-lg) !important;
}

.nv-transcript-view-header {
    border-bottom: 1px solid rgba(199,125,255,.1) !important;
    padding: 16px 20px !important;
}

.nv-transcript-view-header h3 {
    font-family: var(--font-head) !important;
    font-size: 17px !important;
    color: var(--c-lavender) !important;
    margin: 0 !important;
}

.nv-copy-btn {
    background: rgba(123,47,247,.14) !important;
    border: 1px solid rgba(123,47,247,.28) !important;
    color: var(--c-lavender) !important;
    border-radius: var(--radius-pill) !important;
    font-family: var(--font-body) !important;
    font-size: 12px !important;
    padding: 6px 16px !important;
    cursor: pointer !important;
}

.nv-tv-user .nv-tv-bubble {
    background: rgba(245,166,35,.1) !important;
    border: 1px solid rgba(245,166,35,.22) !important;
    border-radius: var(--radius-md) var(--radius-md) 4px var(--radius-md) !important;
}

.nv-tv-jyoti .nv-tv-bubble {
    background: rgba(123,47,247,.13) !important;
    border: 1px solid rgba(123,47,247,.22) !important;
    border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 4px !important;
}

.nv-back-btn {
    background: rgba(123,47,247,.12) !important;
    border: 1px solid rgba(123,47,247,.25) !important;
    color: var(--c-lavender) !important;
    border-radius: var(--radius-pill) !important;
    font-family: var(--font-body) !important;
    transition: all var(--dur) ease !important;
}

.nv-back-btn:hover { background: rgba(123,47,247,.24) !important; }

.nv-btn-primary {
    background: var(--g-primary) !important;
    border-radius: var(--radius-pill) !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

/* ─────────────────────────────────────────────────────────────────────
   18. FOOTER
───────────────────────────────────────────────────────────────────── */
.cosmic-footer,
footer {
    background: rgba(3,0,8,.98) !important;
    border-top: 1px solid var(--c-border) !important;
    padding: 64px 40px 28px !important;
    margin-top: 80px !important;
    box-shadow: none !important;
}

.footer-container {
    max-width: var(--max-w) !important;
    gap: 48px !important;
}

.footer-col h3,
.footer-col h4 {
    font-family: var(--font-head) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: var(--c-lavender) !important;
    margin-bottom: 18px !important;
}

.footer-menu li a {
    font-size: 13.5px !important;
    color: var(--c-text-2) !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.footer-menu li a:hover {
    color: var(--c-white) !important;
    transform: translateX(4px) !important;
}

.cosmic-footer .copyright {
    border-top: 1px solid rgba(255,255,255,.06) !important;
    margin-top: 40px !important;
    padding-top: 20px !important;
    font-size: 12px !important;
    color: var(--c-muted) !important;
}

/* ─────────────────────────────────────────────────────────────────────
   19. MOBILE — APP-LIKE EXPERIENCE
   Mobile browsers render these pages as if they were native apps.
───────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

    /* Full-bleed sections */
    .section,
    .services-section,
    .career-section,
    .ai-report-section,
    .cosmic-pricing { padding: 60px 16px !important; }

    /* Cards stack nicely */
    .grid,
    .services-grid,
    .career-grid,
    .cosmic-stats-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .cosmic-report-card { flex-direction: column !important; align-items: flex-start !important; gap: 14px !important; }
    .report-actions { flex-wrap: wrap !important; }

    /* WC Account — full width stacked */
    .woocommerce-account .woocommerce { flex-direction: column !important; }
    .woocommerce-account-navigation { width: 100% !important; }
    .woocommerce-account-navigation ul { display: flex !important; flex-wrap: wrap !important; gap: 6px !important; }
    .woocommerce-account-navigation ul li { margin: 0 !important; }
    .woocommerce-account-navigation ul li a {
        padding: 9px 14px !important;
        font-size: 12.5px !important;
    }
    .woocommerce-account-content { padding: 20px 16px !important; }

    /* WC products */
    .woocommerce ul.products { padding: 24px 16px !important; }
    .woocommerce ul.products li.product { width: 100% !important; padding: 28px 20px !important; }

    /* Single product / checkout */
    .woocommerce div.product,
    .woocommerce-checkout,
    .woocommerce-cart { margin: 20px 12px !important; padding: 28px 18px !important; }

    /* Pricing */
    .pricing-wrapper { flex-direction: column !important; align-items: center !important; }
    .pricing-card { width: min(360px, 94vw) !important; transform: none !important; }
    .pricing-card.popular { transform: none !important; }

    /* AI report box */
    .ai-report-box { flex-direction: column !important; padding: 28px 20px !important; gap: 28px !important; }

    /* Auth card */
    .cosmic-auth-card { padding: 32px 22px !important; margin: 20px 14px !important; }

    /* Dashboard */
    .cosmic-form-wrapper,
    .cosmic-dashboard { padding: 22px 18px !important; }

    /* Report table — card style on mobile */
    .cosmic-report-table thead { display: none !important; }
    .cosmic-report-table tr {
        display: block !important;
        background: var(--g-surface) !important;
        border: 1px solid var(--c-border) !important;
        border-radius: var(--radius-md) !important;
        margin-bottom: 12px !important;
        padding: 16px !important;
    }
    .cosmic-report-table td {
        display: block !important;
        padding: 4px 0 !important;
        border: none !important;
        font-size: 13px !important;
    }
    .cosmic-report-table td::before {
        content: attr(data-label) ': ';
        color: var(--c-lavender);
        font-size: 11px;
        font-weight: 600;
        letter-spacing: .5px;
        text-transform: uppercase;
        display: block;
    }

    /* Dashboard header */
    .cosmic-dashboard-header { flex-direction: column !important; align-items: flex-start !important; gap: 12px !important; }

    /* NV widget — full screen feel */
    .nv-widget { max-width: 100% !important; border-radius: var(--radius-lg) !important; padding: 24px 18px 22px !important; }

    /* NV history */
    .nv-history-header { flex-direction: column !important; gap: 14px !important; }
    .nv-history-stats { flex-wrap: wrap !important; gap: 10px !important; }
    .nv-session-card { flex-direction: column !important; align-items: flex-start !important; gap: 12px !important; }
    .nv-sc-right { width: 100% !important; justify-content: space-between !important; }
    .nv-sc-arrow { display: none !important; }
    .nv-audio-player { flex-direction: column !important; }
    .nv-tv-msg { max-width: 96% !important; }
    .nv-transcript-messages { max-height: 380px !important; }

    /* Chat — full-height on mobile */
    .cosmic-chat-wrapper {
        min-height: 70dvh !important;
        max-height: 90dvh !important;
        border-radius: var(--radius-md) !important;
    }

    .cosmic-chat-header { padding: 11px 14px !important; }
    .cosmic-chat-messages { padding: 12px 10px !important; }
    .cosmic-chat-input-area { padding: 10px 12px !important; }
    .credit-label { display: none !important; }

    /* Footer */
    .cosmic-footer,
    footer { padding: 48px 20px 24px !important; }

    .footer-container { flex-direction: column !important; gap: 32px !important; }
}

/* ─────────────────────────────────────────────────────────────────────
   20. SAFE-AREA INSETS — iPhone notch / home bar
───────────────────────────────────────────────────────────────────── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .cosmic-chat-input-area {
        padding-bottom: calc(12px + env(safe-area-inset-bottom)) !important;
    }

    .cosmic-header,
    header {
        padding-left: max(18px, env(safe-area-inset-left)) !important;
        padding-right: max(18px, env(safe-area-inset-right)) !important;
    }

    body { padding-bottom: env(safe-area-inset-bottom); }
}

/* ─────────────────────────────────────────────────────────────────────
   21. MICRO-INTERACTIONS & FOCUS STATES
───────────────────────────────────────────────────────────────────── */
:focus-visible {
    outline: 2px solid var(--c-purple) !important;
    outline-offset: 3px !important;
    border-radius: 4px !important;
}

/* Smooth page transitions */
.ng-page *,
.cosmic-dashboard *,
.nv-history *,
.cosmic-chat-wrapper * {
    -webkit-tap-highlight-color: transparent;
}

/* Pulse animation for loading orbs */
@keyframes nv-orb-pulse {
    0%, 100% { transform: scale(.85); opacity: .6; }
    50%       { transform: scale(1.1); opacity: 1; }
}

/* Typing dots */
@keyframes cosmicTypingDot {
    0%, 60%, 100% { transform: translateY(0); }
    30%           { transform: translateY(-6px); }
}

/* ─────────────────────────────────────────────────────────────────────
   22. UTILITY CLASSES
───────────────────────────────────────────────────────────────────── */
.text-gradient {
    background: var(--g-primary) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.text-gold {
    color: var(--c-gold-light) !important;
}

.card-cosmic {
    background: var(--g-surface) !important;
    border: 1px solid var(--c-border) !important;
    border-radius: var(--radius-lg) !important;
    padding: 28px 24px !important;
}
/* ── Mobile logo center + footer columns centered ── */

/* 1. Logo centered on mobile */
@media (max-width: 992px) {
    .logo {
        order: 0 !important;
        margin-left: 0 !important;
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .hamburger {
        order: 1 !important;
        position: relative !important;
        z-index: 1 !important;
    }

    .cosmic-header,
    header {
        position: relative !important;
    }
}

/* 2. Footer columns centered */
.footer-container {
    justify-content: center !important;
    text-align: center !important;
}

.footer-col {
    text-align: center !important;
}

.footer-menu,
.footer-menu ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.footer-menu li a:hover {
    transform: translateX(0) translateY(-2px) !important;
}

@media (max-width: 768px) {
    .footer-container {
        align-items: center !important;
    }
}
button#cosmicMenuAvatar {
    padding: 8px 26px !important;
}
a.cma-link.cma-logout{
    width:120px !important;
}

/* ================================================================
   NUMEROLOGYGENIE.COM — PREMIUM MOBILE UI ADDITIONS
   Add this after style.css (or append to cosmic-override.css)
   Covers: Mobile Drawer, Account Dropdown, Scroll-shrink header,
           Premium Card upgrades, Interactive micro-animations
================================================================ */

/* ================================================================
   1. HEADER ADDITIONS — wallet, avatar, scroll-shrink
================================================================ */

.cosmic-header {
    transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.cosmic-header.scrolled {
    padding: 10px 60px;
    background: rgba(5, 0, 20, 0.97);
    box-shadow: 0 2px 30px rgba(123, 47, 247, 0.25);
}

/* Right cluster: wallet + avatar */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.header-wallet-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(123, 47, 247, 0.18);
    border: 1px solid rgba(123, 47, 247, 0.4);
    border-radius: 20px;
    padding: 6px 14px;
    color: #c084fc;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: 0.25s ease;
    backdrop-filter: blur(6px);
}
.header-wallet-btn:hover {
    background: rgba(123, 47, 247, 0.35);
    color: #e0b0ff;
    transform: translateY(-1px);
}
.wallet-icon { font-size: 1rem; }
.wallet-credits { letter-spacing: 0.02em; }

/* Login button */
.header-login-btn {
    background: linear-gradient(45deg, #7b2ff7, #f107a3);
    border-radius: 25px;
    padding: 8px 22px;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 0 18px rgba(241, 7, 163, 0.45);
    transition: 0.25s ease;
}
.header-login-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 28px rgba(241, 7, 163, 0.75);
}

/* Avatar button */
.header-account-wrap {
    position: relative;
}
.header-avatar-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7b2ff7, #f107a3);
    border: 2px solid rgba(255,255,255,0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.25s ease;
}
.header-avatar-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 15px rgba(123,47,247,0.6);
}
.avatar-initials {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    line-height: 1;
}


/* ================================================================
   2. DESKTOP ACCOUNT DROPDOWN
================================================================ */

.header-account-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 260px;
    background: rgba(10, 5, 30, 0.97);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(123, 47, 247, 0.3);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(123,47,247,0.1);
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    z-index: 10000;
}
.header-account-dropdown.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.dropdown-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(123,47,247,0.2), rgba(241,7,163,0.1));
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.dropdown-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7b2ff7, #f107a3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
}
.dropdown-name  { font-weight: 600; font-size: 0.9rem; color: #fff; }
.dropdown-email { font-size: 0.75rem; color: #999; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }

.dropdown-account-menu {
    list-style: none;
    padding: 6px 0;
    margin: 0;
}
.dropdown-account-menu li a {
    display: block;
    padding: 10px 18px;
    color: #ccc;
    text-decoration: none;
    font-size: 0.88rem;
    transition: 0.2s ease;
}
.dropdown-account-menu li a:hover {
    background: rgba(123, 47, 247, 0.15);
    color: #c084fc;
    padding-left: 24px;
}
.dropdown-account-menu .dropdown-logout a {
    color: #f87171;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 4px;
}
.dropdown-account-menu .dropdown-logout a:hover {
    background: rgba(248, 113, 113, 0.1);
    color: #fca5a5;
}


/* ================================================================
   3. MOBILE OVERLAY
================================================================ */

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 9998;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-overlay.visible {
    display: block;
    opacity: 1;
}


/* ================================================================
   4. MOBILE DRAWER
================================================================ */

.mobile-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    background: linear-gradient(180deg, #0d0020 0%, #05000f 100%);
    border-right: 1px solid rgba(123, 47, 247, 0.25);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    transition: left 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    -webkit-overflow-scrolling: touch;
}
.mobile-drawer.open {
    left: 0;
    box-shadow: 6px 0 40px rgba(123, 47, 247, 0.2);
}

/* Drawer header */
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    min-height: 68px;
    flex-shrink: 0;
}
.drawer-logo img { max-height: 36px; }
.drawer-logo .site-title { color: #fff; font-weight: 700; font-size: 1.1rem; }
.drawer-close {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: #aaa;
    border-radius: 8px;
    width: 34px;
    height: 34px;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.drawer-close:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* User card */
.drawer-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(123,47,247,0.18), rgba(241,7,163,0.1));
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}
.drawer-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7b2ff7, #f107a3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(123,47,247,0.5);
}
.drawer-user-info { flex: 1; min-width: 0; }
.drawer-user-name  { font-weight: 600; font-size: 0.95rem; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drawer-user-email { font-size: 0.75rem; color: #999; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.drawer-credits-badge {
    background: rgba(192, 132, 252, 0.15);
    border: 1px solid rgba(192,132,252,0.35);
    color: #c084fc;
    border-radius: 14px;
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: 0.2s ease;
}
.drawer-credits-badge:hover { background: rgba(192,132,252,0.25); }

/* Section labels */
.drawer-section-label {
    padding: 12px 20px 6px;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    font-weight: 600;
    flex-shrink: 0;
}

/* Account menu inside drawer */
.drawer-account-menu {
    list-style: none;
    margin: 0;
    padding: 0 12px;
    flex-shrink: 0;
}
.drawer-account-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 10px;
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 10px;
    transition: 0.2s ease;
}
.drawer-account-menu li a:hover {
    background: rgba(123, 47, 247, 0.18);
    color: #c084fc;
    transform: translateX(4px);
}
.dmenu-icon {
    font-size: 1.1rem;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}

/* Primary nav inside drawer */
.drawer-nav {
    flex: 1;
    padding: 0 12px;
}
.drawer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.drawer-menu li a {
    display: block;
    padding: 12px 10px;
    color: #ddd;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 10px;
    transition: 0.2s ease;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.drawer-menu li a:hover {
    background: rgba(123, 47, 247, 0.15);
    color: #c084fc;
    padding-left: 18px;
}
.drawer-menu li ul {
    list-style: none;
    padding: 0 0 0 12px;
    margin: 0;
}
.drawer-menu li ul li a {
    font-size: 0.85rem;
    color: #aaa;
    padding: 8px 10px;
}

/* Drawer footer */
.drawer-footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}
.drawer-logout-btn {
    display: block;
    text-align: center;
    padding: 12px;
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248,113,113,0.25);
    border-radius: 12px;
    color: #f87171;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.2s ease;
}
.drawer-logout-btn:hover { background: rgba(248,113,113,0.2); }
.drawer-login-btn {
    display: block;
    text-align: center;
    padding: 12px;
    background: linear-gradient(45deg, #7b2ff7, #f107a3);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 0 20px rgba(241,7,163,0.35);
    transition: 0.25s ease;
}
.drawer-login-btn:hover { transform: scale(1.02); box-shadow: 0 0 30px rgba(241,7,163,0.55); }


/* ================================================================
   5. HAMBURGER → X ANIMATION
================================================================ */

.hamburger {
    background: transparent;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: none; /* shown only in mobile media query */
    flex-direction: column;
    gap: 5px;
    z-index: 10001;
    position: relative;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
    transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ================================================================
   6. MOBILE RESPONSIVE OVERRIDES
================================================================ */

@media (max-width: 992px) {

    .cosmic-header {
        padding: 14px 20px;
    }
    .cosmic-header.scrolled {
        padding: 10px 20px;
    }

    .hamburger { display: flex; }

    /* Hide desktop nav — drawer replaces it */
    .main-nav { display: none !important; }

    /* Wallet btn — keep visible, smaller */
    .header-wallet-btn {
        padding: 5px 10px;
        font-size: 0.82rem;
    }

    /* Avatar still visible */
    .header-avatar-btn { width: 34px; height: 34px; }

    /* Dropdown should still work on mobile tap if drawer isn't open */
    .header-account-dropdown {
        right: 0;
        width: 240px;
    }
}

@media (max-width: 480px) {
    .header-wallet-btn { display: none; } /* credit shown in drawer */
    .mobile-drawer { width: 290px; }
}


/* ================================================================
   7. PREMIUM CARD UPGRADES — match app card style
================================================================ */

/* Glass cards with glow ring on hover */
.cosmic-card,
.feature-card,
.report-card,
.service-card {
    position: relative;
    border-radius: 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    overflow: hidden;
}
.cosmic-card::before,
.feature-card::before,
.report-card::before,
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(123,47,247,0.07) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.28s ease;
}
.cosmic-card:hover,
.feature-card:hover,
.report-card:hover,
.service-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 12px 40px rgba(123,47,247,0.25), 0 0 0 1px rgba(123,47,247,0.3);
    border-color: rgba(123,47,247,0.4);
}
.cosmic-card:hover::before,
.feature-card:hover::before,
.report-card:hover::before,
.service-card:hover::before {
    opacity: 1;
}

/* CTA button glow pulse */
.cosmic-btn,
.cta-button,
.btn-primary {
    position: relative;
    overflow: hidden;
}
.cosmic-btn::after,
.cta-button::after,
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.12);
    opacity: 0;
    transition: opacity 0.2s ease;
}
.cosmic-btn:active::after,
.cta-button:active::after,
.btn-primary:active::after {
    opacity: 1;
}


/* ================================================================
   8. SCROLL-REVEAL UTILITY
================================================================ */

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ================================================================
   9. WOOCOMMERCE MY ACCOUNT PAGE — MOBILE PREMIUM LAYOUT
================================================================ */

@media (max-width: 768px) {

    /* Stack navigation on top like an app tab bar */
    .woocommerce-account .woocommerce {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .woocommerce-account-navigation {
        width: 100%;
        order: 1;
        background: rgba(123,47,247,0.08);
        border-radius: 16px;
        margin-bottom: 20px;
        padding: 8px;
        border: 1px solid rgba(123,47,247,0.2);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Horizontal scrolling tab pills */
    .woocommerce-account-navigation ul {
        display: flex !important;
        flex-direction: row !important;
        gap: 6px;
        padding: 0 !important;
        margin: 0 !important;
        white-space: nowrap;
    }

    .woocommerce-account-navigation ul li {
        margin: 0 !important;
        flex-shrink: 0;
    }

    .woocommerce-account-navigation ul li a {
        display: block;
        padding: 8px 14px !important;
        border-radius: 10px !important;
        font-size: 0.82rem !important;
        white-space: nowrap;
        background: rgba(255,255,255,0.04);
        border: 1px solid transparent;
        color: #bbb !important;
    }

    .woocommerce-account-navigation ul li.is-active a,
    .woocommerce-account-navigation ul li a:hover {
        background: rgba(123,47,247,0.25) !important;
        border-color: rgba(123,47,247,0.4) !important;
        color: #c084fc !important;
    }

    .woocommerce-account-content {
        order: 2;
        padding: 16px;
    }
}


/* ================================================================
   10. FLOATING BOTTOM CTA BAR (mobile — logged out)
================================================================ */

@media (max-width: 768px) {
    .cosmic-mobile-cta-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 12px 20px;
        background: rgba(5,0,20,0.95);
        border-top: 1px solid rgba(123,47,247,0.25);
        backdrop-filter: blur(12px);
        z-index: 8000;
        display: flex;
        gap: 10px;
        align-items: center;
        justify-content: center;
    }
    .cosmic-mobile-cta-bar a {
        flex: 1;
        text-align: center;
        padding: 12px;
        border-radius: 12px;
        font-weight: 700;
        font-size: 0.9rem;
        text-decoration: none;
    }
    .cta-bar-primary {
        background: linear-gradient(45deg, #7b2ff7, #f107a3);
        color: #fff !important;
        box-shadow: 0 0 20px rgba(241,7,163,0.4);
    }
    .cta-bar-secondary {
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.15);
        color: #ccc !important;
    }
}


/* ================================================================
   HEADER — Sign In / Register buttons (logged-out state)
   These trigger the cosmic auth popup, styled to match the popup.
================================================================ */

.header-login-btn,
.header-register-btn {
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 25px;
    padding: 8px 18px;
    transition: 0.25s ease;
    line-height: 1;
}

/* Primary — Sign In */
.header-login-btn {
    background: var(--gradient-cta);
    color: #fff;
    box-shadow: 0 0 16px rgba(241, 7, 163, 0.4);
}
.header-login-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 26px rgba(241, 7, 163, 0.65);
}

/* Secondary — Register */
.header-register-btn {
    background: rgba(255, 255, 255, 0.06);
    color: #ddd;
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.header-register-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* Hide register button on small screens to save space */
@media (max-width: 480px) {
    .header-register-btn { display: none; }
}


/* ================================================================
   DESKTOP NAV — hide any raw #cosmic-login / #cosmic-register
   menu items that the filter may not have replaced yet on page load
   (belt-and-suspenders; the PHP filter handles this server-side).
================================================================ */

/* These classes are added by cosmic_menu_auth_items when logged in */
.logged-in .cosmic-menu-auth-item:has(.cosmic-menu-signin-btn),
.logged-in .cosmic-menu-auth-item:has(.cosmic-menu-register-btn) {
    display: none !important;
}

/* Hide header sign-in/register buttons when WP adds .logged-in to body */
body.logged-in .header-login-btn,
body.logged-in .header-register-btn {
    display: none !important;
}

/* Hide avatar/wallet when NOT logged in */
body:not(.logged-in) .header-wallet-btn,
body:not(.logged-in) .header-account-wrap {
    display: none !important;
}


/* ================================================================
   DRAWER — guest (logged-out) auth buttons
================================================================ */

.drawer-guest-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.drawer-guest-btns .drawer-login-btn {
    display: block;
    text-align: center;
    padding: 13px;
    background: var(--gradient-cta);
    border-radius: 12px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(241, 7, 163, 0.35);
    transition: 0.25s ease;
}
.drawer-guest-btns .drawer-login-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(241, 7, 163, 0.55);
}

.drawer-guest-btns .drawer-register-btn {
    display: block;
    text-align: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #ccc;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: 0.25s ease;
}
.drawer-guest-btns .drawer-register-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}


/* ================================================================
   FIX: Hide duplicate #cosmic-account "My Account" dropdown
   from inside the mobile drawer nav — the drawer already shows
   all account links above the nav section.
================================================================ */

@media (max-width: 992px) {

    /* Hide the plugin-injected #cosmic-account menu item on mobile */
    .drawer-menu .cosmic-menu-account,
    .drawer-menu .cosmic-menu-auth-item,
    .menu .cosmic-menu-account,
    .menu .cosmic-menu-auth-item {
        display: none !important;
    }

    /* Also hide it from the main-nav (main-nav is hidden on mobile anyway,
       but belt-and-suspenders in case any theme variant shows it) */
    .main-nav .cosmic-menu-account,
    .main-nav .cosmic-menu-auth-item {
        display: none !important;
    }

    /* Hide the floating cosmic-menu-dropdown if it somehow renders */
    .cosmic-menu-dropdown {
        display: none !important;
    }
}


/* ================================================================
   FIX: Hide WooCommerce account sidebar navigation on mobile.
   The toggle drawer already exposes all My Account links, so
   the sidebar is redundant and wastes vertical space.
================================================================ */

@media (max-width: 768px) {

    /* Hide the left sidebar nav on My Account pages */
    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account-navigation {
        display: none !important;
    }

    /* Make the content take full width now that sidebar is gone */
    .woocommerce-account .woocommerce-MyAccount-content,
    .woocommerce-account-content {
        width: 100% !important;
        padding: 16px !important;
        margin: 0 !important;
    }

    /* Reset any flex/grid layout that expected two columns */
    .woocommerce-account .woocommerce {
        display: block !important;
    }
}


/* ================================================================
   FIX: Hide any generic .sidebar on mobile site-wide
   (already hidden on WooCommerce pages in theme, this covers rest)
================================================================ */

@media (max-width: 768px) {

    .sidebar,
    #sidebar,
    .widget-area,
    #secondary {
        display: none !important;
    }

    /* Expand main content to full width when sidebar is hidden */
    .site-main,
    #primary,
    .content-area {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
    }
}


/* ================================================================
   FIX: Hide the fixed floating auth trigger bar (#cosmic-auth-trigger-wrap)
   that appears in the top-right corner on scroll.
   Our header already shows wallet + avatar (logged in) and
   Sign In / Register buttons (logged out) — this is fully redundant.
================================================================ */

#cosmic-auth-trigger-wrap {
    display: none !important;
}


/* ================================================================
   FIX: Desktop nav — push menu + header-right to the far right.
   Logo stays left, everything else floats right.
================================================================ */

@media (min-width: 993px) {

    .cosmic-header {
        justify-content: flex-start;
        gap: 0;
    }

    /* Logo stays on the left, no change needed */
    .cosmic-header .logo {
        flex-shrink: 0;
    }

    /* Nav gets auto left-margin — pushes itself (and everything after)
       to the right side of the header */
    .cosmic-header .main-nav {
        margin-left: auto;
    }

    /* header-right (wallet + avatar / sign-in buttons) sits
       immediately after the nav, flush to the right edge */
    .cosmic-header .header-right {
        margin-left: 24px;
        flex-shrink: 0;
    }
}


/* ================================================================
   FIX: Hide the fixed floating auth trigger bar (#cosmic-auth-trigger-wrap)
   that appears in the top-right corner on scroll.
   Our header already shows wallet + avatar (logged in) and
   Sign In / Register buttons (logged out) — this is fully redundant.
================================================================ */

#cosmic-auth-trigger-wrap {
    display: none !important;
}


/* ================================================================
   FIX: Desktop nav — push menu + header-right to the far right.
   Logo stays left, everything else floats right.
================================================================ */

@media (min-width: 993px) {

    .cosmic-header {
        justify-content: flex-start;
        gap: 0;
    }

    /* Logo stays on the left, no change needed */
    .cosmic-header .logo {
        flex-shrink: 0;
    }

    /* Nav gets auto left-margin — pushes itself (and everything after)
       to the right side of the header */
    .cosmic-header .main-nav {
        margin-left: auto;
    }

    /* header-right (wallet + avatar / sign-in buttons) sits
       immediately after the nav, flush to the right edge */
    .cosmic-header .header-right {
        margin-left: 24px;
        flex-shrink: 0;
    }
}
#cosmic-auth-trigger-wrap { display: none !important; }
/* ================================================================
   NUMEROLOGYGENIE — REPORT MOBILE CSS
   Paste into mobile-premium.css OR enqueue as a separate file.
   All rules are scoped inside @media (max-width: 768px) so
   desktop is completely untouched.
================================================================ */

@media (max-width: 768px) {

    /* ────────────────────────────────────────────────────────
       1. MY REPORTS LIST — report cards
    ──────────────────────────────────────────────────────── */

    .cosmic-report-list {
        gap: 12px;
    }

    .cosmic-report-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 16px;
        border-radius: 16px;
        background: rgba(20, 10, 45, 0.95);
        border: 1px solid rgba(123, 47, 247, 0.2);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    }

    .report-info {
        width: 100%;
    }

    .report-info h3 {
        font-size: 15px;
        margin-bottom: 4px;
        line-height: 1.3;
    }

    .report-info p {
        font-size: 13px;
        margin-bottom: 3px;
    }

    .report-info small {
        font-size: 12px;
    }

    /* Action buttons — full row, equal width */
    .report-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
    }

    .report-actions .cosmic-dashboard-btn {
        flex: 1;
        min-width: 80px;
        text-align: center;
        padding: 9px 10px;
        font-size: 12px;
        border-radius: 10px;
        margin-right: 0;
    }


    /* ────────────────────────────────────────────────────────
       2. MY REPORTS TABLE (if table layout is used)
    ──────────────────────────────────────────────────────── */

    .cosmic-report-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 12px;
        font-size: 13px;
    }

    .cosmic-report-table th,
    .cosmic-report-table td {
        padding: 10px 12px;
        font-size: 12px;
        white-space: nowrap;
    }

    /* Empty state */
    .cosmic-empty-state {
        padding: 32px 20px;
        border-radius: 16px;
    }

    .cosmic-empty-state h3 {
        font-size: 16px;
    }


    /* ────────────────────────────────────────────────────────
       3. REPORT VIEW — full report content
    ──────────────────────────────────────────────────────── */

    .cosmic-report-text {
        font-size: 14px;
        line-height: 1.75;
        padding: 0 2px;
    }

    .cosmic-report-text p {
        margin-bottom: 14px;
        font-size: 14px;
    }


    /* ── Section wrapper ── */
    .cr-section {
        background: rgba(255, 255, 255, 0.035);
        border: 1px solid rgba(245, 166, 35, 0.18);
        border-radius: 16px;
        padding: 16px 14px;
        margin-bottom: 16px;
        overflow: hidden;
    }

    .cr-section + .cr-section {
        margin-top: 0;
    }

    /* ── Section heading ── */
    .cr-section-heading,
    .cr-section-title {
        font-size: 15px;
        font-weight: 700;
        margin: 0 0 12px 0;
        padding: 10px 14px;
        background: linear-gradient(90deg, rgba(123, 47, 247, 0.25), rgba(123, 47, 247, 0.05));
        border-left: 4px solid #a970ff;
        border-radius: 0 10px 10px 0;
        letter-spacing: 0.2px;
    }

    /* ── Subheading ── */
    .cr-subheading {
        font-size: 13px;
        margin: 16px 0 8px;
        padding-left: 10px;
    }

    /* ── Section body ── */
    .cr-section-body {
        padding: 4px 0 0;
    }


    /* ── Number rows ── */
    .cr-number-row {
        flex-wrap: nowrap;
        gap: 8px;
        padding: 10px 12px;
        margin-bottom: 8px;
        align-items: center;
    }

    .cr-number-label {
        font-size: 11px;
        min-width: 0;
        flex: 1;
    }

    .cr-number-badge {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 18px;
        flex-shrink: 0;
    }

    .cr-number-meaning {
        font-size: 12px;
        flex: 2;
        min-width: 0;
    }


    /* ── Affirmations ── */
    .cr-affirmations {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin: 8px 0;
    }

    .cr-affirmation {
        padding: 12px 14px;
        font-size: 13px;
        border-radius: 0 10px 10px 0;
        line-height: 1.65;
        text-align: left;
    }


    /* ── Do's and Don'ts — stack on mobile ── */
    .cr-dosdonts {
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 14px 0;
    }

    .cr-dos,
    .cr-donts {
        border-radius: 12px;
    }

    .cr-dd-header,
    .cr-do-header,
    .cr-dont-header {
        font-size: 11px;
        padding: 8px 14px;
    }

    .cr-dd-item,
    .cr-do-item,
    .cr-dont-item {
        font-size: 13px;
        padding: 8px 14px;
        gap: 8px;
    }


    /* ── Remedies ── */
    .cr-remedies {
        border-radius: 14px;
        margin: 14px 0;
    }

    .cr-remedies-title {
        font-size: 11px;
        padding: 10px 14px;
    }

    .cr-remedy-item {
        padding: 12px 14px;
        gap: 12px;
    }

    .cr-remedy-icon {
        font-size: 20px;
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }

    .cr-remedy-type  { font-size: 10px; }
    .cr-remedy-name  { font-size: 13px; }
    .cr-remedy-desc  { font-size: 12px; }


    /* ── Lucky grid — 2 columns on mobile ── */
    .cr-lucky-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin: 10px 0;
    }

    .cr-lucky-item {
        padding: 10px 11px;
        border-radius: 10px;
    }

    .cr-lucky-icon  { font-size: 18px; }
    .cr-lucky-label { font-size: 10px; }
    .cr-lucky-value { font-size: 13px; }


    /* ── Year forecast cards ── */
    .cr-year-card {
        border-radius: 14px;
        margin-bottom: 12px;
    }

    .cr-year-header {
        padding: 12px 14px;
        gap: 8px;
    }

    .cr-year-num   { font-size: 22px; }
    .cr-year-title { font-size: 13px; flex-basis: 100%; margin-top: -2px; }
    .cr-year-py    { font-size: 11px; }

    .cr-year-body {
        padding: 12px 14px;
        gap: 8px;
    }

    .cr-year-row {
        font-size: 13px;
        gap: 8px;
        align-items: flex-start;
    }

    .cr-yr-label {
        min-width: 100px;
        font-size: 11px;
        flex-shrink: 0;
    }

    .cr-year-para {
        font-size: 13px;
        margin: 5px 0;
    }


    /* ── Verdict card ── */
    .cr-verdict-card {
        border-radius: 12px;
        margin: 10px 0;
    }

    .cr-verdict-heading { font-size: 11px; padding: 10px 14px 4px; }

    .cr-verdict-row {
        padding: 9px 14px;
        gap: 6px;
        font-size: 13px;
    }

    .cr-verdict-key {
        min-width: 110px;
        font-size: 12px;
        flex-shrink: 0;
    }

    .cr-verdict-val { font-size: 13px; }


    /* ── Monthly table — horizontal scroll ── */
    .cr-monthly-table-wrap {
        border-radius: 12px;
        margin: 10px 0;
    }

    .cr-monthly-table-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .cr-monthly-table {
        min-width: 480px;
        font-size: 11px;
    }

    .cr-monthly-table thead th {
        font-size: 10px;
        padding: 8px 8px;
        white-space: nowrap;
    }

    .cr-monthly-table td {
        padding: 7px 8px;
        font-size: 11px;
    }


    /* ── Compatibility table ── */
    .cr-compat-table {
        font-size: 12px;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .cr-compat-table td {
        padding: 7px 8px;
        font-size: 11px;
        white-space: nowrap;
    }


    /* ── Lo Shu Grid ── */
    .cr-loshu-wrap {
        padding: 14px 12px;
        border-radius: 14px;
    }

    .cr-loshu-main {
        flex-direction: column;
        gap: 14px;
    }

    .cr-loshu-grid-col {
        align-self: center;
    }

    /* Scale grid to fit narrower screens */
    .cr-loshu-grid {
        width: 210px;
        border-radius: 10px;
    }

    .cr-loshu-row {
        grid-template-columns: repeat(3, 70px);
    }

    .cr-loshu-cell {
        height: 70px;
    }

    .cr-lc-num { font-size: 22px; }

    .cr-loshu-legend {
        gap: 8px;
        flex-wrap: wrap;
    }

    .cr-ll-item { font-size: 10px; }

    .cr-loshu-pillrow {
        padding: 8px 10px;
        border-radius: 10px;
    }

    .cr-loshu-pill {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .cr-loshu-sw,
    .cr-loshu-sw-weak {
        padding: 10px 12px;
        gap: 8px;
    }

    .cr-lsw-text { font-size: 12px; }

    .cr-loshu-plane {
        padding: 10px 12px;
    }

    .cr-lplane-desc { font-size: 12px; }


    /* ── Icon rows ── */
    .cr-icon-row {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 0;
        font-size: 13px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .cr-icon-label {
        font-size: 11px;
        color: #888;
        min-width: 90px;
        flex-shrink: 0;
    }

    .cr-icon-value {
        font-size: 13px;
        font-weight: 600;
        color: #fff;
        flex: 1;
    }


    /* ── Report header / title area ── */
    .ai-report-title {
        font-size: 24px !important;
        line-height: 1.2;
        text-align: center;
    }

    .ai-report-subtitle {
        font-size: 14px !important;
        text-align: center;
        margin-bottom: 28px !important;
    }

    .ai-report-box {
        flex-direction: column;
        padding: 20px 16px;
        gap: 20px;
    }

    .ai-report-left {
        text-align: center;
    }

    .ai-report-right {
        text-align: center;
    }

    .ai-report-btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 14px;
    }

}
/* end @media (max-width: 768px) */