/* ==========================================================================
   PSYCORA CELESTIAL REDESIGN MASTER STYLESHEET
   Matches media_1789791378883.png (Hero Reference) & media_1789789675094.jpg (Explore)
   ========================================================================== */

:root {
    --celestial-purple-900: #1a0833;
    --celestial-purple-800: #290d4f;
    --celestial-purple-700: #3e1673;
    --celestial-purple-600: #581e9e;
    --celestial-purple-500: #7b2dc0;
    --celestial-purple-400: #9d4edd;
    --celestial-purple-200: #e2caff;
    --celestial-purple-100: #f2e9fc;
    --celestial-purple-50:  #faf6fe;
    
    --celestial-gold-500: #f59e0b;
    --celestial-gold-400: #fbbf24;
    --celestial-gold-100: #fef3c7;
    
    --celestial-green-500: #10b981;
    --celestial-green-100: #d1fae5;
    
    --celestial-card-bg: #ffffff;
    --celestial-card-border: rgba(123, 45, 192, 0.12);
    --celestial-card-shadow: 0 10px 30px -10px rgba(41, 13, 79, 0.07);
    --celestial-card-shadow-hover: 0 20px 40px -12px rgba(123, 45, 192, 0.18);
    
    --font-serif: 'Playfair Display', 'Cinzel', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* --------------------------------------------------------------------------
   Smooth Scrolling & Base Typography
   -------------------------------------------------------------------------- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: #2d3748;
    background-color: #fcfbfe;
    overflow-x: hidden;
}

.font-serif {
    font-family: var(--font-serif) !important;
}

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

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

/* --------------------------------------------------------------------------
   Top Promo Ribbon
   -------------------------------------------------------------------------- */
.celestial-promo-ribbon {
    background: linear-gradient(90deg, #2a0b52 0%, #4c1782 50%, #6d22b5 100%);
    color: #ffffff;
    padding: 8px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: center;
    position: relative;
    z-index: 1040;
}

.celestial-promo-ribbon .code-pill {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 2px 8px;
    border-radius: 9999px;
    font-family: monospace;
    font-size: 0.78rem;
    margin-left: 6px;
    color: #ffd700;
}

/* --------------------------------------------------------------------------
   Sticky Celestial Navbar
   -------------------------------------------------------------------------- */
.celestial-nav {
    background: #ffffff;
    border-bottom: 1px solid rgba(123, 45, 192, 0.08);
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: all 0.3s ease;
}

.celestial-nav .nav-link-item {
    color: #4a5568;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.celestial-nav .nav-link-item:hover,
.celestial-nav .nav-link-item.active {
    color: var(--celestial-purple-500);
    background-color: var(--celestial-purple-50);
}

.nav-btn-signin {
    color: #4a5568;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 8px 16px;
    text-decoration: none;
    transition: color 0.2s ease;
}
.nav-btn-signin:hover {
    color: var(--celestial-purple-500);
}

.nav-btn-join {
    background: linear-gradient(135deg, #7b2dc0 0%, #9d4edd 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 8px 20px;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(123, 45, 192, 0.3);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.nav-btn-join:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(123, 45, 192, 0.4);
    color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   HERO SECTION (Exact Match to Reference Image media_1789791378883.png)
   -------------------------------------------------------------------------- */
.celestial-hero-section {
    position: relative;
    overflow: hidden;
    padding: 70px 0 95px 0;
    background-color: #ede3fe;
}

.celestial-bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    pointer-events: none;
}

.celestial-bg-layer.bg-layer-1 {
    background-image: 
        linear-gradient(180deg, rgba(246, 240, 255, 0.25) 0%, rgba(255, 255, 255, 0.08) 45%, rgba(255, 255, 255, 0.78) 90%, #ffffff 100%),
        url('/images/hero-celestial-bg.jpg');
}

.celestial-bg-layer.bg-layer-2 {
    background-image: 
        linear-gradient(180deg, rgba(246, 240, 255, 0.25) 0%, rgba(255, 255, 255, 0.08) 45%, rgba(255, 255, 255, 0.78) 90%, #ffffff 100%),
        url('/images/hero-celestial-bg-2.jpg');
}

.celestial-bg-layer.active {
    opacity: 1;
}

/* Astrological Constellation & Celestial Orbit Graphic Overlay (Right Side) */
.astrological-chart-overlay {
    position: absolute;
    top: 50%;
    right: -60px;
    transform: translateY(-50%);
    width: 620px;
    height: 620px;
    pointer-events: none;
    opacity: 0.28;
    background: 
        radial-gradient(circle at center, transparent 40%, rgba(123, 45, 192, 0.15) 41%, transparent 42%),
        radial-gradient(circle at center, transparent 60%, rgba(123, 45, 192, 0.12) 61%, transparent 62%),
        radial-gradient(circle at center, transparent 80%, rgba(123, 45, 192, 0.08) 81%, transparent 82%);
    border: 1px dashed rgba(123, 45, 192, 0.22);
    border-radius: 50%;
    z-index: 1;
}

.astrological-chart-overlay::before {
    content: '';
    position: absolute;
    inset: 35px;
    border: 1px solid rgba(123, 45, 192, 0.15);
    border-radius: 50%;
}

.astrological-chart-overlay::after {
    content: '';
    position: absolute;
    inset: 80px;
    border: 1px dashed rgba(123, 45, 192, 0.18);
    border-radius: 50%;
}

.hero-tag-text {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--celestial-purple-500);
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
}

.celestial-hero-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.16;
    color: #1a0833;
    margin-bottom: 22px;
    letter-spacing: -0.5px;
}

.celestial-hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.65;
    color: #4b5563;
    margin-bottom: 34px;
    max-width: 530px;
}

.celestial-hero-subtitle strong {
    color: #1a0833;
    font-weight: 700;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #7b2dc0 0%, #9d4edd 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 34px;
    border-radius: 9999px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(123, 45, 192, 0.35);
    transition: all 0.3s ease;
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(123, 45, 192, 0.45);
    color: #ffffff;
}

.hero-btn-secondary {
    color: var(--celestial-purple-500);
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 24px;
    border-radius: 9999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.hero-btn-secondary:hover {
    color: var(--celestial-purple-700);
    background: rgba(123, 45, 192, 0.08);
}

.hero-trust-indicators {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-top: 36px;
    font-size: 0.86rem;
    font-weight: 600;
    color: #4b5563;
}

.hero-trust-indicators .trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* --------------------------------------------------------------------------
   TOP 5 ADVISORS AUTO-ROTATING CARD SLIDER WITH AMBIENT GLOW
   -------------------------------------------------------------------------- */
.hero-portrait-card-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-portrait-card-slider {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 480px;
}

.hero-advisor-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.97) translateY(6px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.8s;
    pointer-events: none;
}

.hero-advisor-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    pointer-events: auto;
    z-index: 2;
}

/* Dynamic Ambient Glow adapted to Advisor Photo */
.hero-card-ambient-glow {
    position: absolute;
    inset: -10px;
    border-radius: 36px;
    background-size: cover;
    background-position: center 25%;
    filter: blur(35px);
    opacity: 0.45;
    z-index: 1;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.hero-portrait-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 55px -12px rgba(91, 33, 182, 0.28),
                0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    background: #ffffff;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    z-index: 2;
}

/* Slider Pagination Dots */
.hero-advisor-dots {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
}

.hero-advisor-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: rgba(123, 45, 192, 0.25);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-advisor-dot.active {
    width: 24px;
    background: linear-gradient(135deg, #7b2dc0 0%, #9d4edd 100%);
    box-shadow: 0 2px 8px rgba(123, 45, 192, 0.4);
}

.hero-portrait-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 65px -12px rgba(91, 33, 182, 0.38);
}

.hero-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Pinned Top Rated Badge */
.hero-card-pinned-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(109, 40, 217, 0.88);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 9999px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 3;
}

/* Overlaid Floating White Pill Card at Bottom */
.hero-card-floating-pill {
    position: absolute;
    bottom: 18px;
    left: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-radius: 22px;
    padding: 16px 18px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15),
                0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

.hero-card-floating-pill:hover {
    transform: scale(1.02);
    color: inherit;
}

.pill-advisor-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ede5ff;
    flex-shrink: 0;
}

.pulse-green-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: greenPulse 1.8s infinite;
}

@keyframes greenPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* --------------------------------------------------------------------------
   STATS BAR WITH ANIMATED COUNTER DIGITS
   -------------------------------------------------------------------------- */
.celestial-stats-bar {
    background: #ffffff;
    border-top: 1px solid rgba(123, 45, 192, 0.08);
    border-bottom: 1px solid rgba(123, 45, 192, 0.08);
    padding: 34px 0;
}

.stat-item {
    text-align: center;
    padding: 8px 16px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--celestial-purple-900);
    line-height: 1;
    margin-bottom: 6px;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   Category / Topic Cards Grid
   -------------------------------------------------------------------------- */
.topic-card {
    background: #ffffff;
    border: 1px solid rgba(123, 45, 192, 0.1);
    border-radius: 18px;
    padding: 24px 18px;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--celestial-card-shadow);
    height: 100%;
}

.topic-card:hover {
    transform: translateY(-5px);
    border-color: var(--celestial-purple-400);
    box-shadow: var(--celestial-card-shadow-hover);
}

.topic-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--celestial-purple-50);
    border: 1px solid rgba(123, 45, 192, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--celestial-purple-500);
    margin-bottom: 14px;
    transition: all 0.3s ease;
}

.topic-card:hover .topic-icon-wrap {
    background: linear-gradient(135deg, #7b2dc0 0%, #9d4edd 100%);
    color: #ffffff;
    transform: scale(1.08);
}

.topic-name {
    font-weight: 700;
    font-size: 0.98rem;
    color: #1a0833;
    margin-bottom: 4px;
}

.topic-count {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   Advisor Cards (Used in Homepage & Explore)
   -------------------------------------------------------------------------- */
.celestial-advisor-card {
    background: #ffffff;
    border: 1px solid rgba(123, 45, 192, 0.12);
    border-radius: 20px;
    padding: 20px 16px;
    box-shadow: var(--celestial-card-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.celestial-advisor-card:hover {
    transform: translateY(-4px);
    border-color: rgba(123, 45, 192, 0.35);
    box-shadow: var(--celestial-card-shadow-hover);
}

.advisor-avatar-wrap {
    position: relative;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.advisor-avatar-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #efe8fa;
}

.status-badge-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2.5px solid #ffffff;
}

.status-badge-dot.online {
    background-color: #22c55e;
}

.status-badge-dot.away {
    background-color: #eab308;
}

.status-badge-dot.busy {
    background-color: #f97316;
}

.status-badge-dot.offline {
    background-color: #94a3b8;
}

.advisor-name-link {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.05rem;
    color: #1a0833;
    text-decoration: none;
    transition: color 0.2s ease;
}

.advisor-name-link:hover {
    color: var(--celestial-purple-500);
}

.advisor-rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1a0833;
}

.advisor-rating-pill .stars {
    color: #f59e0b;
    letter-spacing: -1px;
}

.advisor-headline {
    font-size: 0.86rem;
    color: #4b5563;
    font-style: italic;
    line-height: 1.45;
    margin: 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.advisor-specialty-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.advisor-title-text {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1.35;
    margin-top: 1px;
}

.specialty-tag {
    display: inline-flex;
    align-items: center;
    background: #f5f3ff;
    color: #6b21a8;
    border: 1px solid #e9d5ff;
    border-radius: 9999px;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.25;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.specialty-tag:hover {
    background: #ede9fe;
    color: #581c87;
    border-color: #d8b4fe;
    text-decoration: none;
    transform: translateY(-0.5px);
}

.advisor-tag-pill {
    background: #f5f3ff;
    color: #6b21a8;
    border: 1px solid #e9d5ff;
    border-radius: 9999px;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 600;
}

/* Card Rate & Free Mins Banner */
.card-pricing-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-top: 1px solid #f1f0f5;
    margin-bottom: 14px;
}

.card-rate-text {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1a0833;
}

.free-mins-badge {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 0.74rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* 4 Action Buttons Grid */
.advisor-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.btn-card-action {
    border-radius: 9999px;
    padding: 7px 4px;
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
    width: 100%;
}

.btn-action-chat {
    background: var(--celestial-purple-500);
    color: #ffffff;
    border-color: var(--celestial-purple-500);
}
.btn-action-chat:hover {
    background: var(--celestial-purple-600);
    color: #ffffff;
}

.btn-action-call {
    background: #ffffff;
    color: #059669;
    border-color: #10b981;
}
.btn-action-call:hover {
    background: #ecfdf5;
    color: #047857;
}

.btn-action-video {
    background: #ffffff;
    color: #2563eb;
    border-color: #3b82f6;
}
.btn-action-video:hover {
    background: #eff6ff;
    color: #1d4ed8;
}

.btn-action-profile {
    background: #ffffff;
    color: #4b5563;
    border-color: #d1d5db;
}
.btn-action-profile:hover {
    background: #f9fafb;
    color: #111827;
}

/* --------------------------------------------------------------------------
   How Psycora Works (3 Steps)
   -------------------------------------------------------------------------- */
.how-it-works-section {
    background: #fdfcfe;
    padding: 80px 0;
}

.step-card {
    background: #ffffff;
    border: 1px solid rgba(123, 45, 192, 0.1);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    position: relative;
    box-shadow: var(--celestial-card-shadow);
    height: 100%;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-4px);
}

.step-badge-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7b2dc0 0%, #9d4edd 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 4px 12px rgba(123, 45, 192, 0.3);
}

.step-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a0833;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Testimonials / Reviews Carousel
   -------------------------------------------------------------------------- */
.testimonial-card {
    background: #ffffff;
    border: 1px solid rgba(123, 45, 192, 0.1);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--celestial-card-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: #334155;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
}

.testimonial-author-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #f1f0f5;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--celestial-purple-500);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

/* --------------------------------------------------------------------------
   Minute Packages (Subscription Plans)
   -------------------------------------------------------------------------- */
.package-card-celestial {
    background: #ffffff;
    border: 1.5px solid rgba(123, 45, 192, 0.14);
    border-radius: 24px;
    padding: 34px 28px;
    box-shadow: var(--celestial-card-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
}

.package-card-celestial.featured {
    border-color: var(--celestial-purple-500);
    box-shadow: 0 15px 35px -8px rgba(123, 45, 192, 0.25);
    background: radial-gradient(circle at top right, rgba(157, 78, 221, 0.04) 0%, #ffffff 70%);
}

.package-top-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #7b2dc0 0%, #9d4edd 100%);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 5px 16px;
    border-radius: 9999px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.package-price-val {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 800;
    color: #1a0833;
    line-height: 1;
}

.package-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: #4b5563;
    margin-bottom: 12px;
}

.package-feature-item i {
    color: var(--celestial-green-500);
}

/* --------------------------------------------------------------------------
   Explore Advisors Directory Styles (media_1789789675094.jpg)
   -------------------------------------------------------------------------- */
.explore-header-banner {
    background-color: #230b42;
    background-image: 
        linear-gradient(135deg, rgba(35, 11, 66, 0.88) 0%, rgba(61, 20, 109, 0.82) 60%, rgba(88, 30, 158, 0.76) 100%),
        url('/images/hero-celestial-bg.jpg');
    background-size: cover;
    background-position: center 70%;
    background-repeat: no-repeat;
    color: #ffffff;
    padding: 50px 0 42px 0;
    border-radius: 0 0 32px 32px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(35, 11, 66, 0.25);
}

.explore-topic-pills-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 2px 14px 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE / Edge */
}

.explore-topic-pills-wrap::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
    width: 0;
    height: 0;
}

.explore-topic-pill {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #290d4f;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: 9999px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.explore-topic-pill:hover {
    transform: translateY(-2px);
    background: #ffffff;
    color: var(--celestial-purple-600);
    border-color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.explore-topic-pill.active {
    background: linear-gradient(135deg, #7b2dc0 0%, #9d4edd 100%);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(123, 45, 192, 0.4);
    transform: translateY(-1px);
}

.sticky-explore-sidebar {
    background: #ffffff;
    border: 1px solid rgba(123, 45, 192, 0.12);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--celestial-card-shadow);
    position: sticky;
    top: 90px;
}

.sidebar-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a0833;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.filter-group-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    display: block;
}

/* Custom form range purple */
input[type=range]::-webkit-slider-thumb {
    background-color: var(--celestial-purple-500) !important;
}

/* Satisfaction Guarantee Card in Sidebar */
.sidebar-guarantee-card {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border: 1px solid #d8b4fe;
    border-radius: 14px;
    padding: 16px;
    margin-top: 24px;
    text-align: center;
}

/* --------------------------------------------------------------------------
   FAQ Accordion Styling
   -------------------------------------------------------------------------- */
.celestial-faq-item {
    background: #ffffff;
    border: 1px solid rgba(123, 45, 192, 0.1);
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: border-color 0.2s ease;
}

.celestial-faq-item.active {
    border-color: var(--celestial-purple-400);
}

.celestial-faq-btn {
    width: 100%;
    padding: 18px 24px;
    background: none;
    border: none;
    text-align: left;
    font-weight: 700;
    font-size: 1.02rem;
    color: #1a0833;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.celestial-faq-body {
    padding: 0 24px 20px 24px;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Rich Footer
   -------------------------------------------------------------------------- */
.celestial-footer {
    background: #110524;
    color: #cbd5e1;
    padding: 70px 0 30px 0;
    font-size: 0.92rem;
}

.footer-heading {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

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

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (Mobile & Tablet Auto-Adjust)
   ========================================================================== */
@media (max-width: 991.98px) {
    .celestial-hero-section {
        padding: 40px 0 50px 0;
        background-position: center bottom;
    }
    .astrological-chart-overlay {
        display: none;
    }
    .celestial-hero-title {
        font-size: 2.5rem;
        margin-bottom: 14px;
    }
    .celestial-hero-subtitle {
        font-size: 1.02rem;
        margin-bottom: 22px;
        max-width: 100%;
    }
    .sticky-explore-sidebar {
        position: static;
        margin-bottom: 24px;
    }
    .hero-portrait-card-container {
        margin-top: 15px;
    }
    .hero-portrait-card {
        max-width: 380px;
        height: 360px;
        border-radius: 24px;
        margin: 0 auto;
    }
}

/* Search trigger in navbar */
.nav-search-trigger {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--celestial-purple-50);
    border: 1px solid rgba(123, 45, 192, 0.16);
    color: var(--celestial-purple-500);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.92rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.nav-search-trigger:hover {
    background: linear-gradient(135deg, #7b2dc0 0%, #9d4edd 100%);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 4px 14px rgba(123, 45, 192, 0.3);
}

@media (max-width: 767.98px) {
    .celestial-hero-section {
        padding: 24px 0 34px 0;
    }
    .hero-tag-text {
        font-size: 0.72rem;
        letter-spacing: 1px;
        margin-bottom: 8px;
    }
    .celestial-hero-title {
        font-size: clamp(1.75rem, 6.2vw, 2.15rem);
        line-height: 1.2;
        margin-bottom: 10px;
    }
    .celestial-hero-subtitle {
        font-size: 0.92rem;
        line-height: 1.5;
        margin-bottom: 16px;
    }
    .hero-btn-primary {
        font-size: 0.92rem;
        padding: 11px 22px;
    }
    .hero-btn-secondary {
        font-size: 0.92rem;
        padding: 11px 18px;
    }
    .hero-trust-indicators {
        margin-top: 14px;
        gap: 10px 16px;
        font-size: 0.78rem;
    }
    .hero-portrait-card-container {
        margin-top: 16px;
    }
    /* Auto-adjust Top Rated Advisor Card for Mobile - Proportional Portrait matching Desktop */
    .hero-portrait-card-slider {
        width: 100%;
        max-width: 325px;
        height: 380px; /* Generous height keeps advisor face & shoulders 100% visible */
        margin: 0 auto;
    }
    .hero-portrait-card {
        border-radius: 24px;
        box-shadow: 0 18px 40px -10px rgba(91, 33, 182, 0.3);
    }
    .hero-portrait-img {
        object-fit: cover;
        object-position: center 15%; /* Frames head and shoulders in upper half */
    }
    .hero-card-pinned-badge {
        top: 12px;
        left: 12px;
        font-size: 0.74rem;
        padding: 5px 12px;
    }
    .hero-card-floating-pill {
        bottom: 12px;
        left: 12px;
        right: 12px;
        padding: 12px 14px;
        border-radius: 18px;
    }
    .pill-advisor-avatar {
        width: 40px;
        height: 40px;
    }
    .hero-card-floating-pill h6 {
        font-size: 0.92rem;
    }
    .advisor-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    /* Mobile Header Decluttering for Logged In and Guest */
    .psycora-navbar {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }
    .psycora-nav-logo {
        height: 28px !important;
        max-height: 28px !important;
    }
    .hamburger-btn {
        padding: 4px 6px !important;
        font-size: 1.05rem !important;
    }
    .nav-credit-pill {
        padding: 3px 8px !important;
        font-size: 0.74rem !important;
        gap: 3px !important;
    }
    .nav-icon-circle {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.8rem !important;
    }
    .nav-avatar-img {
        width: 30px !important;
        height: 30px !important;
    }
    .nav-search-trigger {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.8rem !important;
    }
    .nav-btn-signin {
        font-size: 0.8rem !important;
        padding: 6px 10px !important;
    }
    .nav-btn-join {
        font-size: 0.8rem !important;
        padding: 6px 14px !important;
    }

    .celestial-hero-section {
        padding: 18px 0 28px 0;
    }
    .celestial-hero-title {
        font-size: clamp(1.6rem, 6.8vw, 1.95rem);
        margin-bottom: 8px;
    }
    .celestial-hero-subtitle {
        font-size: 0.88rem;
        margin-bottom: 14px;
    }
    .hero-portrait-card-slider {
        max-width: 305px;
        height: 360px; /* Ample height prevents face overlap even on small devices */
    }
    .hero-portrait-card {
        border-radius: 20px;
    }
    .hero-card-floating-pill {
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 10px 12px;
        border-radius: 16px;
    }
    .pill-advisor-avatar {
        width: 36px;
        height: 36px;
    }
    .hero-card-floating-pill h6 {
        font-size: 0.88rem;
    }
    .hero-card-floating-pill .pill-advisor-cats {
        display: none;
    }
    .hero-trust-indicators {
        gap: 8px 12px;
        font-size: 0.74rem;
    }
}

/* --------------------------------------------------------------------------
   PSYCHOLOGICAL & CONVERSION ENHANCEMENTS: VOICE SNIPPET, EMOTIONAL SELECTOR,
   HICK'S LAW CARD ACTIONS, AND 3-COLUMN REVIEWS
   -------------------------------------------------------------------------- */

/* 1. Interactive Hero Emotional Problem Selector */
.hero-emotional-selector {
    margin-top: 24px;
    margin-bottom: 24px;
}

.hero-emotional-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #6b21a8;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.emotional-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.emotional-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(123, 45, 192, 0.18);
    color: #1a0833;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(123, 45, 192, 0.06);
}

.emotional-pill:hover {
    background: #7b2dc0;
    color: #ffffff;
    border-color: #7b2dc0;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(123, 45, 192, 0.28);
}

.emotional-pill i {
    font-size: 0.95rem;
}

.hero-guarantee-ribbon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 4px 12px;
    border-radius: 9999px;
    margin-top: 10px;
}

/* 2. Live Telemetry in Stats Bar */
.telemetry-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: greenPulse 1.8s infinite;
    vertical-align: middle;
    margin-right: 4px;
}

.stat-telemetry-badge {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    color: #059669;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 9999px;
    padding: 2px 8px;
    margin-top: 5px;
}

/* 3. Inline Voice Intro Snippet on Cards */
.card-voice-snippet-bar {
    margin: 10px 0 12px 0;
}

.btn-voice-snippet {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border: 1px solid rgba(123, 45, 192, 0.22);
    color: #6b21a8;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    outline: none;
    width: 100%;
    justify-content: center;
}

.btn-voice-snippet:hover {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    border-color: #7b2dc0;
    color: #581c87;
    transform: translateY(-1px);
}

.btn-voice-snippet.is-playing {
    background: linear-gradient(135deg, #7b2dc0 0%, #9d4edd 100%);
    color: #ffffff;
    border-color: #7b2dc0;
    box-shadow: 0 4px 12px rgba(123, 45, 192, 0.35);
}

.btn-voice-snippet.is-playing .mini-wave-bar {
    background-color: #ffffff !important;
}

/* Mini Audio Waves inside Button */
.mini-waves-wrap {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    height: 14px;
}

.mini-wave-bar {
    width: 2.5px;
    height: 6px;
    border-radius: 2px;
    background-color: #7b2dc0;
    transition: height 0.2s ease;
}

.btn-voice-snippet.is-playing .mini-wave-bar {
    animation: miniWaveAnim 0.9s ease-in-out infinite alternate;
}

.btn-voice-snippet.is-playing .mini-wave-bar:nth-child(1) { animation-delay: 0.1s; }
.btn-voice-snippet.is-playing .mini-wave-bar:nth-child(2) { animation-delay: 0.25s; }
.btn-voice-snippet.is-playing .mini-wave-bar:nth-child(3) { animation-delay: 0.15s; }
.btn-voice-snippet.is-playing .mini-wave-bar:nth-child(4) { animation-delay: 0.35s; }

@keyframes miniWaveAnim {
    0% { height: 4px; }
    100% { height: 14px; }
}

/* 4. Hick's Law Action Buttons Hierarchy on Cards */
.advisor-card-actions-flex {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    width: 100%;
    min-width: 0;
}

.btn-card-primary-chat {
    flex: 1;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 10px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #7b2dc0 0%, #9d4edd 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.8rem;
    border: none;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(123, 45, 192, 0.25);
    transition: all 0.25s ease;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-card-primary-chat:hover {
    background: linear-gradient(135deg, #6b21a8 0%, #7b2dc0 100%);
    box-shadow: 0 6px 18px rgba(123, 45, 192, 0.4);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.btn-card-primary-chat:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-card-icon-action {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(123, 45, 192, 0.18);
    background: #ffffff;
    color: #4b5563;
    font-size: 0.82rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.btn-card-icon-action.action-call {
    color: #059669;
    border-color: #a7f3d0;
}
.btn-card-icon-action.action-call:hover {
    background: #ecfdf5;
    color: #047857;
    border-color: #10b981;
    transform: translateY(-2px);
}

.btn-card-icon-action.action-video {
    color: #2563eb;
    border-color: #bfdbfe;
}
.btn-card-icon-action.action-video:hover {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.btn-card-icon-action.action-profile {
    color: #6b21a8;
    border-color: #e9d5ff;
}
.btn-card-icon-action.action-profile:hover {
    background: #faf5ff;
    color: #581c87;
    border-color: #7b2dc0;
    transform: translateY(-2px);
}

.btn-card-icon-action:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
}

/* 5. 3-Column Verified Seeker Review Cards */
.review-card-modern {
    background: #ffffff;
    border: 1px solid rgba(123, 45, 192, 0.1);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--celestial-card-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: var(--celestial-card-shadow-hover);
    border-color: rgba(123, 45, 192, 0.3);
}

.verified-seeker-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 9999px;
    padding: 2px 8px;
}

/* 6. New Seeker Welcome Starter Offer & Money-Back Guarantee Seal */
.welcome-starter-banner {
    background: linear-gradient(135deg, #1a0833 0%, #3b0764 50%, #4c1d95 100%);
    border-radius: 24px;
    padding: 28px 32px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 16px 36px rgba(26, 8, 51, 0.3);
}

.welcome-starter-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.money-back-guarantee-seal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 9999px;
    padding: 6px 16px;
    font-size: 0.84rem;
    font-weight: 700;
    color: #fef08a;
}

