/* ==========================================================================
   Accountic Lux Design & Motion Engine
   Architected per Taste Skill (Anti-Slop Editorial Design),
   Lenis (Ultra-Smooth Scroll), GSAP (Physics Motion) & React Bits Components
   ========================================================================== */

:root {
    /* Palette: Soft Luxury Pearlescent & Vibrant Accents */
    --lux-primary: #4f46e5;
    --lux-primary-hover: #4338ca;
    --lux-primary-glow: rgba(79, 70, 229, 0.35);
    --lux-primary-subtle: rgba(79, 70, 229, 0.08);

    --lux-cyan: #06b6d4;
    --lux-cyan-glow: rgba(6, 182, 212, 0.35);

    --lux-gold: #f59e0b;
    --lux-gold-dark: #b45309;
    --lux-gold-glow: rgba(245, 158, 11, 0.35);
    --lux-gold-subtle: rgba(245, 158, 11, 0.08);

    --lux-violet: #7c3aed;
    --lux-violet-dark: #6d28d9;
    --lux-violet-glow: rgba(124, 58, 237, 0.35);
    --lux-violet-subtle: rgba(124, 58, 237, 0.08);

    --lux-emerald: #10b981;
    --lux-emerald-dark: #047857;
    --lux-emerald-glow: rgba(16, 185, 129, 0.3);

    /* Multi-layered Glass Tokens */
    --lux-glass-bg: rgba(255, 255, 255, 0.88);
    --lux-glass-border: rgba(226, 232, 240, 0.85);
    --lux-glass-shadow: 0 16px 36px -12px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.85) inset;
    --lux-glass-shadow-hover: 0 24px 48px -12px rgba(79, 70, 229, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.95) inset;
}

/* ================= 1. Lenis Smooth Scroll Foundation ================= */
html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* ================= 2. React Bits: Dynamic Cursor Spotlight Cards ================= */
/* Tracks mouse cursor position across cards creating an interactive radial light */
.product-card,
.prod-card,
.ai-card,
.ai-subplan-card,
.stars-dedicated-card,
.post-card,
.featured-hero-card,
.panel-stat-card,
.panel-card,
.social-service-card-lux,
.spotlight-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease;
}

.product-card::before,
.prod-card::before,
.ai-card::before,
.ai-subplan-card::before,
.stars-dedicated-card::before,
.post-card::before,
.featured-hero-card::before,
.panel-stat-card::before,
.panel-card::before,
.spotlight-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        360px circle at var(--mouse-x, -200px) var(--mouse-y, -200px),
        rgba(99, 102, 241, 0.1),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 1;
    border-radius: inherit;
}

/* Gold Spotlight for Stars */
.stars-dedicated-card.stars-gold-theme::before {
    background: radial-gradient(
        420px circle at var(--mouse-x, -200px) var(--mouse-y, -200px),
        rgba(245, 158, 11, 0.14),
        transparent 70%
    ) !important;
}

/* Violet Spotlight for Telegram Premium */
.stars-dedicated-card.premium-violet-theme::before {
    background: radial-gradient(
        420px circle at var(--mouse-x, -200px) var(--mouse-y, -200px),
        rgba(124, 58, 237, 0.14),
        transparent 70%
    ) !important;
}

/* Hover Activation */
.product-card:hover::before,
.prod-card:hover::before,
.ai-card:hover::before,
.ai-subplan-card:hover::before,
.stars-dedicated-card:hover::before,
.post-card:hover::before,
.featured-hero-card:hover::before,
.panel-stat-card:hover::before,
.panel-card:hover::before,
.spotlight-card:hover::before {
    opacity: 1;
}

/* ================= 3. React Bits: Shiny / Shimmer Text Effect ================= */
.shiny-text {
    background: linear-gradient(
        110deg,
        #0f172a 0%,
        #0f172a 35%,
        #6366f1 50%,
        #0f172a 65%,
        #0f172a 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 4s linear infinite;
    display: inline-block;
}

.shiny-text-gold {
    background: linear-gradient(
        110deg,
        #92400e 0%,
        #b45309 35%,
        #fde68a 50%,
        #b45309 65%,
        #92400e 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 3.5s linear infinite;
    display: inline-block;
}

.shiny-text-violet {
    background: linear-gradient(
        110deg,
        #4c1d95 0%,
        #7c3aed 35%,
        #f5d0fe 50%,
        #7c3aed 65%,
        #4c1d95 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 3.5s linear infinite;
    display: inline-block;
}

.shiny-badge {
    position: relative;
    overflow: hidden;
}

.shiny-badge::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transform: skewX(-20deg);
    animation: badgeSweep 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes textShine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes badgeSweep {
    0%, 60% { left: -100%; }
    100% { left: 160%; }
}

/* ================= 4. React Bits: Border Beam Tracer ================= */
.border-beam-card {
    position: relative;
}

.border-beam-card::after {
    content: '';
    position: absolute;
    inset: -1.5px;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(99, 102, 241, 0.7),
        transparent
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: borderBeamRotate 5s linear infinite;
    opacity: 0.85;
}

.border-beam-card.gold::after {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(245, 158, 11, 0.85),
        transparent
    );
}

.border-beam-card.violet::after {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(124, 58, 237, 0.85),
        transparent
    );
}

@keyframes borderBeamRotate {
    0% { filter: hue-rotate(0deg); opacity: 0.5; }
    50% { opacity: 1; }
    100% { filter: hue-rotate(360deg); opacity: 0.5; }
}

/* ================= 5. Aurora Ambient Glow Mesh ================= */
.aurora-mesh-glow {
    position: absolute;
    width: 550px;
    height: 380px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.16;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
    animation: auroraFloat 12s ease-in-out infinite alternate;
}

.aurora-blue {
    background: radial-gradient(circle, #38bdf8 0%, #4f46e5 60%, transparent 80%);
}

.aurora-gold {
    background: radial-gradient(circle, #fde047 0%, #f59e0b 60%, transparent 80%);
}

.aurora-pink {
    background: radial-gradient(circle, #f472b6 0%, #9333ea 60%, transparent 80%);
}

@keyframes auroraFloat {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 20px) scale(1.08); }
    100% { transform: translate(-25px, -15px) scale(0.96); }
}

/* ================= 6. Taste Skill: Glassmorphism Materiality ================= */
.glass-panel-lux,
.hero-widget-card,
.product-card,
.prod-card,
.ai-card,
.post-card,
.panel-card,
.panel-stat-card {
    background: var(--lux-glass-bg) !important;
    backdrop-filter: blur(25px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
    border: 1px solid var(--lux-glass-border) !important;
    box-shadow: var(--lux-glass-shadow) !important;
}

.glass-panel-lux:hover,
.product-card:hover,
.prod-card:hover,
.ai-card:hover,
.post-card:hover,
.panel-stat-card:hover {
    box-shadow: var(--lux-glass-shadow-hover) !important;
    transform: translateY(-3px);
}

/* ================= 7. Taste Skill: Enhanced User Panel Polish ================= */
.panel-sidebar {
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(25px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
    border-left: 1px solid rgba(226, 232, 240, 0.85) !important;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05) !important;
}

.panel-stat-card {
    border-radius: 20px !important;
    padding: 22px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.stat-number {
    font-size: 22px !important;
    font-weight: 900 !important;
    letter-spacing: -0.5px !important;
}

.stat-icon-wrapper {
    box-shadow: 0 6px 16px -4px rgba(79, 70, 229, 0.25) !important;
    transition: transform 0.25s ease !important;
}

.panel-stat-card:hover .stat-icon-wrapper {
    transform: scale(1.08) rotate(3deg);
}

.nav-item {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.nav-item:hover {
    background: rgba(241, 245, 249, 0.85) !important;
    color: var(--lux-primary) !important;
    transform: translateX(-3px);
}

.nav-item.active {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(99, 102, 241, 0.06)) !important;
    border-right: 3px solid var(--lux-primary) !important;
    color: var(--lux-primary) !important;
}

/* Modal Luxury Glass Backdrop */
.modal-card-glass,
.modal-card-luxury {
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(30px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(190%) !important;
    border: 1.5px solid rgba(226, 232, 240, 0.9) !important;
    border-radius: 28px !important;
    box-shadow: 0 30px 70px -15px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.9) inset !important;
}

/* ================= 8. Taste Skill: Enhanced Shop & AI Hub Cards ================= */
.card-icon-box,
.ai-card-icon,
.prod-icon {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.product-card:hover .prod-icon,
.prod-card:hover .card-icon-box,
.ai-card:hover .ai-card-icon {
    transform: scale(1.1) rotate(2deg);
}

/* ================= 9. Taste Skill: Editorial Blog Polish ================= */
.post-card {
    border-radius: 22px !important;
    overflow: hidden;
    padding: 20px !important;
}

.post-card-title {
    font-size: 16px !important;
    font-weight: 900 !important;
    line-height: 1.45 !important;
    color: #0f172a !important;
    transition: color 0.2s ease !important;
}

.post-card:hover .post-card-title {
    color: var(--lux-primary) !important;
}

.post-cat-tag {
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 4px 10px !important;
    border-radius: 8px !important;
}

/* ================= 10. Magnetic Spring Button Wrap ================= */
.btn-primary,
.btn-stars-submit,
.nav-btn-bot {
    position: relative;
    overflow: hidden;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease !important;
}

.btn-primary:active,
.btn-stars-submit:active {
    transform: scale(0.97) !important;
}


/* ==========================================================================
   Taste Skill & React Bits: Luxury User Panel Dashboard & Stars Redesign
   ========================================================================== */

/* 1. Welcome Bento Banner */
.user-dash-welcome-banner {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 255, 0.92)) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1.5px solid rgba(226, 232, 240, 0.88) !important;
    border-radius: 26px !important;
    padding: 30px 34px !important;
    margin-bottom: 24px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    box-shadow: 0 16px 40px -15px rgba(15, 23, 42, 0.05), 0 0 0 1px rgba(255, 255, 255, 0.9) inset !important;
    overflow: hidden;
}

.user-dash-welcome-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.09) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.welcome-copy-side {
    position: relative;
    z-index: 2;
    flex: 1;
}

.welcome-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 20px;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid rgba(167, 243, 208, 0.85);
    margin-bottom: 12px;
}

.welcome-heading {
    font-size: 23px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.4px;
    margin: 0 0 10px 0;
    line-height: 1.35;
}

.welcome-heading .gradient-text {
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcome-subtext {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.8;
    margin: 0 0 18px 0;
    max-width: 680px;
}

.welcome-actions-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.welcome-btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: none;
}

.welcome-btn-pill.primary {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
}

.welcome-btn-pill.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
}

.welcome-btn-pill.gold {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
}

.welcome-btn-pill.gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}

.welcome-btn-pill.outline {
    background: #ffffff;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.welcome-btn-pill.outline:hover {
    border-color: #94a3b8;
    background: #f8fafc;
    transform: translateY(-2px);
}

.welcome-avatar-side {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.welcome-user-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 20px;
    padding: 18px 22px;
    text-align: center;
    box-shadow: 0 10px 25px -8px rgba(15, 23, 42, 0.08);
    min-width: 180px;
}

/* 2. 4-Card Luxury Bento Stats Grid */
.stats-grid-lux {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 1100px) {
    .stats-grid-lux {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .stats-grid-lux {
        grid-template-columns: 1fr;
    }
}

.panel-stat-card-lux {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 255, 0.92));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(226, 232, 240, 0.88);
    border-radius: 22px;
    padding: 22px 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 148px;
    box-shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.05), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel-stat-card-lux:hover {
    transform: translateY(-3px);
    border-color: #c7d2fe;
    box-shadow: 0 16px 36px -10px rgba(79, 70, 229, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.95) inset;
}

.stat-lux-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.stat-lux-header h4 {
    font-size: 13px;
    font-weight: 800;
    color: #64748b;
    margin: 0;
}

.stat-lux-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-lux-value {
    font-size: 25px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.4px;
    line-height: 1.2;
    margin-bottom: 6px;
}

.stat-lux-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    color: #94a3b8;
    border-top: 1px dashed rgba(226, 232, 240, 0.8);
    padding-top: 8px;
    margin-top: 4px;
}

/* 3. Fast Access AI & Subscriptions Hub */
.dash-quick-hub {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 255, 0.92));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(226, 232, 240, 0.88);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 12px 32px -12px rgba(15, 23, 42, 0.05);
}

.quick-hub-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.quick-hub-title {
    font-size: 14.5px;
    font-weight: 900;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.quick-hub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

@media (max-width: 500px) {
    .quick-hub-grid {
        grid-template-columns: 1fr;
    }
}

.quick-hub-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
}

.quick-hub-card:hover {
    transform: translateY(-2px);
    border-color: #818cf8;
    box-shadow: 0 8px 20px -6px rgba(79, 70, 229, 0.15);
}

.quick-hub-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.quick-hub-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.quick-hub-name {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

.quick-hub-meta {
    font-size: 11px;
    color: #10b981;
    font-weight: 700;
}

/* 4. Luxury Stars & Premium Tab Elements */
/* 4. Luxury Stars & Premium Tab Elements (Light Mode Luxury Gradient) */
.stars-hero-lux {
    background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 45%, #fffbeb 100%) !important;
    border: 1.5px solid rgba(99, 102, 241, 0.22) !important;
    border-radius: 26px !important;
    padding: 28px 32px !important;
    margin-bottom: 24px !important;
    color: #0f172a !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 36px -12px rgba(79, 70, 229, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.9) inset !important;
}

.stars-hero-lux::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -30px;
    width: 270px;
    height: 270px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.22) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.stars-hero-lux::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -30px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.18) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

/* Preset Stars Luxury Package Card */
.stars-pkg-btn-lux {
    position: relative;
    cursor: pointer;
    border-radius: 18px !important;
    padding: 18px 12px !important;
    text-align: center;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.stars-pkg-btn-lux:hover {
    transform: translateY(-3px);
    border-color: #f59e0b;
    box-shadow: 0 12px 28px -6px rgba(245, 158, 11, 0.22);
}

.stars-pkg-btn-lux.active {
    border-color: #f59e0b !important;
    background: linear-gradient(145deg, #fffbeb, #fef3c7) !important;
    box-shadow: 0 14px 32px -6px rgba(245, 158, 11, 0.32), 0 0 0 1.5px #f59e0b inset !important;
    transform: translateY(-3px) !important;
}

.stars-card-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    font-size: 9.5px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 8px;
    line-height: 1.3;
}

.stars-card-badge.gold {
    background: #f59e0b;
    color: #ffffff;
}

.stars-card-badge.blue {
    background: #0284c7;
    color: #ffffff;
}

.stars-card-badge.emerald {
    background: #10b981;
    color: #ffffff;
}

.stars-card-badge.purple {
    background: #7c3aed;
    color: #ffffff;
}

.stars-pkg-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #fffbeb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 20px;
    transition: transform 0.2s;
}

.stars-pkg-btn-lux:hover .stars-pkg-icon-wrap,
.stars-pkg-btn-lux.active .stars-pkg-icon-wrap {
    transform: scale(1.15) rotate(6deg);
}

.stars-pkg-amount {
    font-size: 16px;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 4px;
    line-height: 1.2;
}

.stars-pkg-amount .stars-unit {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
}

.stars-pkg-price {
    font-size: 13.5px;
    font-weight: 900;
    color: #059669;
    margin-bottom: 2px;
}

.stars-pkg-price .stars-toman {
    font-size: 10.5px;
    font-weight: 700;
}

.stars-pkg-usd {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
}

/* Telegram Premium Luxury Card */
.prem-plan-card-lux {
    position: relative;
    cursor: pointer;
    border-radius: 24px;
    padding: 26px 24px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.prem-plan-card-lux:hover {
    transform: translateY(-4px);
    border-color: #38bdf8;
    box-shadow: 0 16px 36px -8px rgba(14, 165, 233, 0.22);
}

.prem-plan-card-lux.active {
    border-color: #0284c7 !important;
    background: linear-gradient(145deg, #f0f9ff, #e0f2fe) !important;
    box-shadow: 0 18px 40px -8px rgba(2, 132, 199, 0.28), 0 0 0 1.5px #0284c7 inset !important;
    transform: translateY(-4px) !important;
}

.prem-plan-card-lux.featured-prem {
    border-color: #7dd3fc;
    background: linear-gradient(145deg, #f8fafc, #f0f9ff);
}

.prem-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
}

.prem-card-badge.popular {
    background: #0284c7;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.prem-card-badge.best-value {
    background: #10b981;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.prem-card-badge.starter {
    background: #e2e8f0;
    color: #475569;
}

.prem-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    margin-top: 10px;
}

.prem-icon-bubble {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.12), rgba(14, 165, 233, 0.2));
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.prem-card-title {
    font-size: 16px;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 2px 0;
}

.prem-card-sub {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 700;
}

.prem-card-price-box {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(248, 250, 252, 0.85);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.prem-price-tomans {
    font-size: 22px;
    font-weight: 900;
    color: #0284c7;
    line-height: 1.2;
}

.prem-toman-unit {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
}

.prem-price-usd {
    font-size: 12px;
    color: #64748b;
    font-weight: 700;
    margin-top: 2px;
}

.prem-feature-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.prem-feature-checklist li {
    font-size: 12px;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 7px;
    line-height: 1.4;
}

.prem-check {
    color: #10b981;
    font-weight: 900;
    font-size: 13px;
}

.prem-card-footer {
    border-top: 1px dashed rgba(226, 232, 240, 0.9);
    padding-top: 10px;
    font-size: 11.5px;
    color: #059669;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Warranty Modal Tier Card Explicit Fix (No Squeezing / No Text Clipping) */
.warranty-tier-card {
    position: relative !important;
    overflow: visible !important;
    flex-shrink: 0 !important;
    height: auto !important;
    min-height: fit-content !important;
    box-sizing: border-box !important;
}

.warranty-tier-card .tier-desc {
    overflow: visible !important;
    white-space: normal !important;
    line-height: 1.8 !important;
}

/* ========================================================
   LIVE CHAT ASSISTANT WIDGET (LUXURY INTERACTIVE UI)
   ======================================================== */
.dash-live-widget {
    background: #ffffff;
    border: 1.5px solid rgba(226, 232, 240, 0.95);
    border-radius: 24px;
    padding: 20px 22px;
    box-shadow: 0 12px 32px -12px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 410px;
    position: relative;
    overflow: hidden;
}

.dash-live-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 12px;
}

.dash-live-agent-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dash-live-avatar-wrap {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e0e7ff, #ede9fe);
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 1px solid #c7d2fe;
}

.dash-status-dot-pulse {
    position: absolute;
    bottom: -2px;
    left: -2px;
    width: 10px;
    height: 10px;
    background: #10b981;
    border: 2px solid #ffffff;
    border-radius: 50%;
    animation: statusPulse 2s infinite ease-in-out;
}

@keyframes statusPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.25); opacity: 0.7; }
}

.dash-live-agent-title {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.dash-live-agent-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10.5px;
    color: #059669;
    font-weight: 700;
    margin-top: 3px;
}

.live-pulse-indicator {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
}

.dash-live-window-pills {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dash-live-badge-speed {
    font-size: 10.5px;
    font-weight: 800;
    color: #4338ca;
    background: #eef2ff;
    padding: 3px 8px;
    border-radius: 8px;
    border: 1px solid #c7d2fe;
}

.dash-live-dots {
    display: flex;
    gap: 4px;
}

.dash-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* Chat Stream */
.dash-bubbles-stream {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 160px;
    max-height: 175px;
    overflow-y: auto;
    padding-right: 4px;
    margin-bottom: 10px;
    scroll-behavior: smooth;
}

.dash-bubbles-stream::-webkit-scrollbar {
    width: 4px;
}

.dash-bubbles-stream::-webkit-scrollbar-track {
    background: transparent;
}

.dash-bubbles-stream::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.chat-msg-row {
    display: flex;
    flex-direction: column;
    animation: chatMsgFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes chatMsgFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-msg-row.user {
    align-items: flex-end;
}

.chat-msg-row.bot {
    align-items: flex-start;
}

.d-bubble-user {
    background: #f1f5f9;
    color: #1e293b;
    padding: 8px 12px;
    border-radius: 14px 14px 4px 14px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    max-width: 88%;
    border: 1px solid #e2e8f0;
}

.d-bubble-ai-gradient {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #ffffff;
    padding: 9px 13px;
    border-radius: 14px 14px 14px 4px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
    max-width: 90%;
    box-shadow: 0 4px 14px -3px rgba(79, 70, 229, 0.35);
}

.d-bubble-ai-tag {
    font-size: 10px;
    font-weight: 800;
    color: #c7d2fe;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.d-subtext {
    font-size: 10px;
    color: #94a3b8;
    margin-top: 3px;
    font-weight: 600;
}

.d-subtext-ai {
    color: #6366f1;
    font-weight: 800;
}

/* Typing Indicator */
.d-bubble-typing {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px 14px 14px 4px;
    padding: 7px 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: #6366f1;
    border-radius: 50%;
    animation: typingBounce 1.2s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
    40% { transform: translateY(-4px); opacity: 1; }
}

.typing-text {
    font-size: 10.5px;
    color: #64748b;
    font-weight: 700;
    margin-right: 4px;
}

/* Quick Question Chips */
.dash-chat-quick-chips {
    margin-bottom: 10px;
}

.quick-chip-label {
    font-size: 10.5px;
    font-weight: 800;
    color: #64748b;
    margin-bottom: 5px;
    display: block;
}

.quick-chips-scroll {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.quick-chips-scroll::-webkit-scrollbar {
    height: 3px;
}

.quick-chip-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.quick-chip-btn:hover {
    background: #eef2ff;
    border-color: #a5b4fc;
    color: #4338ca;
    transform: translateY(-1px);
}

/* Chat Input Bar */
.dash-chat-input-bar {
    margin-bottom: 10px;
}

.dash-chat-input {
    flex: 1;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #0f172a;
    outline: none;
    transition: all 0.2s;
}

.dash-chat-input:focus {
    border-color: #6366f1;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.dash-chat-send-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.dash-chat-send-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* Footer Controls */
.dash-live-footer {
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.dash-live-footer-info {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #059669;
    font-weight: 700;
}

.footer-check-icon {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #d1fae5;
    color: #059669;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 900;
}
