/* ============================================
   KundliBanao - UX Polish & Overhaul
   Scroll Animations, Glassmorphism,
   Micro-interactions, Better Spacing
   ============================================ */

/* ---- Scroll Progress Bar ---- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-1);
    z-index: 9999;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

/* ---- Back to Top Button ---- */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    color: var(--primary-light);
    font-size: 1rem;
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* ---- Scroll Reveal Animations ---- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-children.revealed > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.revealed > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.revealed > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.revealed > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children.revealed > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.revealed > *:nth-child(6) { transition-delay: 0.3s; }
.stagger-children.revealed > *:nth-child(7) { transition-delay: 0.35s; }
.stagger-children.revealed > *:nth-child(8) { transition-delay: 0.4s; }
.stagger-children.revealed > *:nth-child(9) { transition-delay: 0.45s; }
.stagger-children.revealed > *:nth-child(10) { transition-delay: 0.5s; }

.stagger-children.revealed > * {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Glassmorphism Upgrade ---- */
.section {
    padding: 100px 20px;
}

.input-card {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.1);
    padding: 35px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.number-card {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(139, 92, 246, 0.08);
    padding: 28px 20px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.number-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.3);
}

.reading-card {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(139, 92, 246, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* ---- Better Section Spacing ---- */
.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2rem;
    letter-spacing: -0.3px;
    margin-bottom: 12px;
    font-family: 'Cinzel', serif;
}

.section-desc {
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    font-family: 'Poppins', sans-serif;
}

.results-heading {
    margin: 40px 0 20px;
    font-size: 1.2rem;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(245, 158, 11, 0.15);
    font-family: 'Cinzel', serif;
}

/* ---- Section Dividers ---- */
.section-alt {
    background: rgba(26, 26, 46, 0.3);
    border-top: 1px solid rgba(139, 92, 246, 0.06);
    border-bottom: 1px solid rgba(139, 92, 246, 0.06);
}

/* ---- Better Inputs ---- */
.form-group input {
    padding: 14px 18px;
    font-size: 1rem;
    border-radius: 12px;
    background: rgba(22, 22, 42, 0.8);
    border: 1.5px solid rgba(45, 45, 74, 0.6);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.12), 0 0 20px rgba(139, 92, 246, 0.1);
    background: rgba(22, 22, 42, 1);
    transform: translateY(-1px);
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

/* ---- Button Polish ---- */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.3px;
}

.btn-primary {
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

/* Button ripple effect */
.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

.btn-full {
    padding: 18px;
    font-size: 1.05rem;
    margin-top: 15px;
    border-radius: 14px;
}

/* ---- Number Cards Grid Spacing ---- */
.numbers-grid {
    gap: 18px;
}

.number-card .number {
    font-size: 2.8rem;
    margin-bottom: 10px;
    line-height: 1;
}

.number-card .number-label {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.number-card .number-brief {
    font-size: 0.78rem;
    margin-top: 8px;
    line-height: 1.5;
    opacity: 0.7;
}

/* ---- Tab Polish ---- */
.reading-tabs {
    gap: 2px;
    padding: 6px;
    background: rgba(22, 22, 42, 0.8);
    border-bottom: none;
}

.tab-btn {
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 0.83rem;
    font-weight: 600;
    border-bottom: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-btn:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-1px);
}

.tab-btn.active {
    background: rgba(139, 92, 246, 0.15);
    border-bottom: none;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.15);
}

.tab-content {
    padding: 35px;
}

.tab-content h3 {
    font-size: 1.4rem;
    margin-bottom: 18px;
}

.tab-content p {
    line-height: 1.9;
    margin-bottom: 14px;
}

/* ---- Reading Highlight Polish ---- */
.reading-highlight {
    background: rgba(139, 92, 246, 0.06);
    border-left: 4px solid var(--primary);
    padding: 18px 24px;
    border-radius: 0 14px 14px 0;
    margin: 20px 0;
}

/* ---- Lucky Section Polish ---- */
.lucky-section {
    gap: 18px;
    margin-top: 25px;
}

.lucky-card {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 28px;
    transition: all 0.3s ease;
}

.lucky-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.lucky-card h4 {
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.lucky-items {
    gap: 10px;
}

.lucky-item {
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.lucky-item:hover {
    transform: scale(1.05);
}

/* ---- Zodiac Card Polish ---- */
.zodiac-card {
    padding: 50px 40px;
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.zodiac-card::before {
    height: 5px;
    border-radius: 0 0 3px 3px;
}

.zodiac-icon {
    font-size: 4.5rem;
    margin-bottom: 18px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.zodiac-name {
    font-size: 2.2rem;
}

.trait-badge {
    padding: 6px 16px;
    font-size: 0.82rem;
    transition: all 0.3s ease;
}

.trait-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.2);
}

/* ---- Planet Cards Polish ---- */
.planets-grid {
    gap: 18px;
}

.planet-card {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.planet-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(139, 92, 246, 0.2);
}

.planet-icon {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

/* ---- Compatibility Polish ---- */
.compat-grid {
    gap: 30px;
}

.compat-heart {
    font-size: 2.5rem;
}

.compat-score {
    font-size: 5.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.compat-bar {
    height: 10px;
    border-radius: 5px;
}

.compat-bar-fill {
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

/* ---- Feature Cards Polish ---- */
.feature-card {
    background: rgba(26, 26, 46, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 35px 28px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(45, 45, 74, 0.4);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.25);
}

.feature-icon {
    width: 68px;
    height: 68px;
    font-size: 1.6rem;
    margin-bottom: 18px;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.2);
}

/* ---- Testimonial Cards Polish ---- */
.testimonial-card {
    background: rgba(26, 26, 46, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px;
    border: 1px solid rgba(45, 45, 74, 0.4);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(139, 92, 246, 0.2);
}

.testimonial-text {
    font-size: 0.92rem;
    line-height: 1.8;
}

/* ---- Kundli Cards Polish ---- */
.kundli-score-card {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 50px 40px;
}

.kundli-score-circle {
    width: 170px;
    height: 170px;
    transition: all 0.5s ease;
}

.kundli-score-card:hover .kundli-score-circle {
    transform: scale(1.05);
}

.koota-card {
    background: rgba(26, 26, 46, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 22px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(45, 45, 74, 0.4);
}

.koota-card:hover {
    transform: translateX(6px);
    box-shadow: -4px 0 20px rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.2);
}

/* ---- Lo Shu Grid Polish ---- */
.loshu-container {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 40px 30px;
}

.loshu-cell {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.loshu-cell:hover {
    transform: scale(1.08);
}

.loshu-cell.present:hover {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.loshu-cell.repeated:hover {
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
}

/* ---- Chat Polish ---- */
.chat-container {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.message-content {
    background: rgba(22, 22, 42, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(45, 45, 74, 0.4);
    padding: 16px 20px;
    border-radius: 18px;
    line-height: 1.8;
}

.user-message .message-content {
    background: rgba(139, 92, 246, 0.08);
    border-color: rgba(139, 92, 246, 0.15);
}

.suggestion-chip {
    padding: 8px 16px;
    font-size: 0.82rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.suggestion-chip:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.chat-send-btn {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-send-btn:hover {
    transform: scale(1.08) rotate(-5deg);
}

/* ---- Guru Mode Cards Polish ---- */
.guru-mode-card {
    padding: 35px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(26, 26, 46, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.guru-mode-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.guru-mode-icon {
    width: 76px;
    height: 76px;
    font-size: 2rem;
    margin-bottom: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.guru-mode-card:hover .guru-mode-icon {
    transform: scale(1.1) rotate(-5deg);
}

/* ---- Hero Polish ---- */
.hero {
    min-height: 100vh;
    padding: 120px 20px 80px;
}

.hero-badge {
    padding: 8px 22px;
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-title {
    font-size: 4.5rem;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-subtitle {
    font-size: 1.5rem;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-description {
    font-size: 1.05rem;
    line-height: 1.9;
    animation: fadeInUp 0.6s ease 0.5s both;
}

.hero-buttons {
    animation: fadeInUp 0.6s ease 0.6s both;
}

.hero-stats {
    animation: fadeInUp 0.6s ease 0.7s both;
}

.hero-visual {
    animation: fadeInUp 0.8s ease 0.5s both;
}

.stat-number {
    font-size: 2.2rem;
}

/* ---- Navbar Glass ---- */
.navbar.scrolled {
    background: rgba(15, 15, 26, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* ---- Nav Dropdown ---- */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-trigger {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-chevron {
    font-size: 0.55rem;
    margin-left: 2px;
    opacity: 0.6;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(139, 92, 246, 0.12);
    border-radius: 14px;
    padding: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-dropdown-menu a:hover {
    background: rgba(139, 92, 246, 0.12);
    color: var(--text);
    transform: translateX(4px);
}

.nav-dropdown-menu a i {
    width: 18px;
    text-align: center;
    color: var(--primary-light);
    font-size: 0.8rem;
}

/* AI Guruji highlight button */
.nav-highlight {
    background: var(--gradient-1) !important;
    color: white !important;
    border-radius: 10px !important;
    padding: 8px 18px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 12px rgba(139, 92, 246, 0.3);
}

.nav-highlight:hover {
    box-shadow: 0 4px 18px rgba(139, 92, 246, 0.4) !important;
    transform: translateY(-2px) !important;
}

/* Light theme dropdown */
body.light-theme .nav-dropdown-menu {
    background: rgba(255, 255, 255, 0.97);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

body.light-theme .nav-dropdown-menu a {
    color: #4a4a6a;
}

body.light-theme .nav-dropdown-menu a:hover {
    background: rgba(124, 58, 237, 0.06);
    color: #1e1e2e;
}

body.light-theme .nav-dropdown-menu a i {
    color: #7c3aed;
}

.nav-link {
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
    transform: translateY(-1px);
    color: var(--text);
}

.nav-link.active {
    background: rgba(139, 92, 246, 0.12);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.1);
}

/* ---- Mobile Nav Slide ---- */
@media (max-width: 768px) {
    .nav-links {
        background: rgba(15, 15, 26, 0.95);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        padding: 15px;
        gap: 5px;
        border-bottom: 1px solid rgba(139, 92, 246, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        transform: translateY(-10px);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: rgba(139, 92, 246, 0.05);
        border: none;
        box-shadow: none;
        padding: 4px 0 4px 15px;
        min-width: auto;
        margin-top: 2px;
    }

    .nav-dropdown-menu a {
        padding: 8px 12px;
        font-size: 0.82rem;
    }

    .nav-dropdown-trigger .fa-chevron-down {
        display: none;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .section {
        padding: 70px 16px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .input-card {
        padding: 24px 18px;
    }
}

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

    .section-title {
        font-size: 1.5rem;
    }

    .section {
        padding: 60px 14px;
    }
}

/* ---- Lead Capture Popup ---- */
.lead-overlay {
    position: fixed; inset: 0; z-index: 10000;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(5px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
}

.lead-overlay.active { opacity: 1; visibility: visible; }

.lead-popup {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 20px; padding: 40px 35px; max-width: 420px; width: 90%;
    position: relative; text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    transform: scale(0.9); transition: transform 0.3s ease;
}

.lead-overlay.active .lead-popup { transform: scale(1); }

.lead-close {
    position: absolute; top: 12px; right: 16px;
    background: none; border: none; color: var(--text-dim);
    font-size: 1.5rem; cursor: pointer; transition: color 0.2s;
}

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

.lead-popup-icon {
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--primary); color: white;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 15px;
}

.lead-popup-title {
    font-family: 'Cinzel', serif; font-size: 1.3rem;
    color: var(--text); margin-bottom: 8px;
}

.lead-popup-desc {
    color: var(--text-muted); font-size: 0.88rem;
    line-height: 1.6; margin-bottom: 20px;
}

.lead-form { display: flex; flex-direction: column; gap: 10px; }

.lead-form input {
    background: var(--bg-input); border: 1.5px solid var(--border);
    border-radius: 10px; padding: 12px 16px; color: var(--text);
    font-size: 0.9rem; font-family: 'Poppins', sans-serif; outline: none;
    transition: border-color 0.3s;
}

.lead-form input:focus { border-color: var(--primary); }
.lead-form input::placeholder { color: var(--text-dim); }

.lead-form button {
    background: var(--primary); color: white; border: none;
    border-radius: 10px; padding: 13px; font-size: 0.95rem;
    font-weight: 600; cursor: pointer; font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.lead-form button:hover { opacity: 0.9; transform: translateY(-1px); }

.lead-popup-trust {
    color: var(--text-dim); font-size: 0.72rem; margin-top: 12px;
}

.lead-popup-trust i { margin-right: 4px; }

/* ---- Inline Lead Capture ---- */
.lead-inline {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 30px 35px;
    display: flex; align-items: center; gap: 30px;
}

.lead-inline-left { flex: 1; }

.lead-inline-left h3 {
    font-family: 'Cinzel', serif; font-size: 1.2rem;
    color: var(--text); margin-bottom: 6px;
}

.lead-inline-left h3 i { color: var(--primary); margin-right: 8px; }

.lead-inline-left p {
    color: var(--text-muted); font-size: 0.85rem; line-height: 1.5;
}

.lead-inline-form {
    display: flex; gap: 8px; flex-wrap: wrap; flex: 1;
}

.lead-inline-form input {
    flex: 1; min-width: 120px;
    background: var(--bg-input); border: 1.5px solid var(--border);
    border-radius: 8px; padding: 10px 14px; color: var(--text);
    font-size: 0.85rem; font-family: 'Poppins', sans-serif; outline: none;
}

.lead-inline-form input:focus { border-color: var(--primary); }
.lead-inline-form input::placeholder { color: var(--text-dim); }

.lead-inline-form button {
    background: var(--primary); color: white; border: none;
    border-radius: 8px; padding: 10px 20px; font-weight: 600;
    cursor: pointer; font-family: 'Poppins', sans-serif;
    white-space: nowrap; transition: opacity 0.3s;
}

.lead-inline-form button:hover { opacity: 0.9; }

/* Light theme */
body.light-theme .lead-popup { background: #fff; border-color: rgba(0,0,0,0.08); }
body.light-theme .lead-form input { background: #f5f5fa; border-color: #d8d8e8; color: #1e1e2e; }
body.light-theme .lead-inline { background: rgba(255,255,255,0.85); border-color: rgba(0,0,0,0.06); }
body.light-theme .lead-inline-form input { background: #f5f5fa; border-color: #d8d8e8; color: #1e1e2e; }

@media (max-width: 768px) {
    .lead-inline { flex-direction: column; text-align: center; }
    .lead-inline-form { width: 100%; }
    .lead-popup { padding: 30px 20px; }
}

/* ---- Footer Polish ---- */
.footer {
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 60px 20px 25px;
    border-top: 1px solid rgba(139, 92, 246, 0.08);
}

/* ---- Floating Chat Button Polish ---- */
.floating-chat-btn {
    width: 62px;
    height: 62px;
    font-size: 1.4rem;
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.4);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-chat-btn:hover {
    transform: scale(1.12) rotate(-8deg);
    box-shadow: 0 10px 35px rgba(139, 92, 246, 0.5);
}

/* ---- Share Buttons Polish ---- */
.share-bar {
    margin-top: 30px;
    gap: 12px;
}

.share-btn {
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* ---- Dosha Cards Polish ---- */
.dosha-card {
    transition: all 0.3s ease;
    padding: 28px;
}

.dosha-card:hover {
    transform: translateY(-3px);
}

/* ---- Daily Horoscope Bar Polish ---- */
.daily-horoscope-bar {
    background: rgba(26, 26, 46, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(139, 92, 246, 0.08);
    padding: 24px 30px;
    border-radius: 18px;
    transition: all 0.3s ease;
}

.daily-zodiac-select {
    background: rgba(22, 22, 42, 0.8);
    border: 1.5px solid rgba(45, 45, 74, 0.6);
    border-radius: 10px;
    padding: 10px 14px;
    transition: all 0.3s ease;
}

.daily-zodiac-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* ---- Pyramid Polish ---- */
.pyramid-card {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 45px 20px;
}

.pyramid-num {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.pyramid-num:hover {
    transform: scale(1.1);
}

/* ---- Smooth Page Transitions ---- */
.results-container {
    animation: revealResults 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ---- Custom Scrollbar Polish ---- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.5);
}

/* ---- Glow Effects ---- */
.section-title {
    text-shadow: 0 0 40px rgba(139, 92, 246, 0.15);
}

.hero-title .gradient-text {
    text-shadow: 0 0 60px rgba(139, 92, 246, 0.2);
}

/* ---- Name Analysis Polish ---- */
.letter-box {
    width: 48px;
    height: 58px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.letter-box:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.2);
}

.meter-circle {
    width: 130px;
    height: 130px;
    font-size: 2.2rem;
    transition: all 0.5s ease;
}

.name-match-meter:hover .meter-circle {
    transform: scale(1.05);
}

.suggestion-item {
    padding: 14px 18px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.suggestion-item:hover {
    transform: translateX(6px);
    box-shadow: -4px 0 15px rgba(139, 92, 246, 0.1);
}
