/* ═══════════════════════════════════════════════════════════════════════
   DARKPENTRA PREMIUM UI — v3.1
   World-class visual polish for $100/mo SaaS level
   ═══════════════════════════════════════════════════════════════════════ */

/* ────────────────────────────────────────────────────────────────────
   1. GLOBAL ENHANCEMENTS
   ──────────────────────────────────────────────────────────────────── */

/* Smooth scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.3);
    border-radius: 4px;
    transition: background 0.2s;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.5);
}

/* Custom selection color */
::selection {
    background: rgba(139, 92, 246, 0.3);
    color: #fff;
}
::-moz-selection {
    background: rgba(139, 92, 246, 0.3);
    color: #fff;
}

/* All transitions */
* {
    transition-property: background, border, color, opacity, transform, box-shadow;
    transition-duration: 0.2s;
    transition-timing-function: ease;
}

/* Focus states with purple glow */
input:focus,
textarea:focus,
select:focus,
button:focus {
    outline: none;
    border-color: #8B5CF6 !important;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

/* ────────────────────────────────────────────────────────────────────
   2. ANIMATED GRADIENT MESH BACKGROUND (Hero)
   ──────────────────────────────────────────────────────────────────── */

.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(139,92,246,0.15) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 70%, rgba(6,182,212,0.12) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(139,92,246,0.08) 0%, transparent 50%);
    animation: meshFloat 20s ease-in-out infinite;
    z-index: 0;
}

@keyframes meshFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(3%, -3%) rotate(2deg); }
    66% { transform: translate(-3%, 3%) rotate(-2deg); }
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, transparent 0%, rgba(139,92,246,0.03) 50%, transparent 100%);
    animation: meshShimmer 8s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes meshShimmer {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

/* Ensure content is above animated background */
.hero-content,
.hero-stats {
    position: relative;
    z-index: 1;
}

/* ────────────────────────────────────────────────────────────────────
   3. SCROLL-TRIGGERED FADE-IN ANIMATIONS
   ──────────────────────────────────────────────────────────────────── */

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for grids */
.fade-in:nth-child(1) { transition-delay: 0.05s; }
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.15s; }
.fade-in:nth-child(4) { transition-delay: 0.2s; }
.fade-in:nth-child(5) { transition-delay: 0.25s; }
.fade-in:nth-child(6) { transition-delay: 0.3s; }

/* ────────────────────────────────────────────────────────────────────
   4. PREMIUM GLASSMORPHISM CARDS
   ──────────────────────────────────────────────────────────────────── */

.card,
.feature-card,
.price-card,
.testimonial,
.stat-card,
.agent-card {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.15);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card:hover,
.feature-card:hover,
.price-card:hover,
.testimonial:hover,
.agent-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-4px);
    box-shadow: 
        0 8px 32px rgba(139, 92, 246, 0.15),
        0 0 0 1px rgba(139, 92, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Enhanced stat cards with gradient borders */
.stat-card {
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(139,92,246,0.3), rgba(6,182,212,0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.stat-card:hover::before {
    opacity: 1;
}

/* ────────────────────────────────────────────────────────────────────
   5. STATS COUNTER ANIMATION
   ──────────────────────────────────────────────────────────────────── */

.stat h3 {
    font-variant-numeric: tabular-nums;
    transition: transform 0.2s;
}

.stat h3.counting {
    animation: countPulse 0.1s ease;
}

@keyframes countPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ────────────────────────────────────────────────────────────────────
   6. BUTTON ENHANCEMENTS
   ──────────────────────────────────────────────────────────────────── */

.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: linear-gradient(135deg, #8B5CF6 0%, #06B6D4 100%);
    box-shadow: 
        0 4px 12px rgba(139, 92, 246, 0.3),
        0 0 0 1px rgba(139, 92, 246, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px rgba(139, 92, 246, 0.4),
        0 0 0 1px rgba(139, 92, 246, 0.2);
}

.btn-outline {
    border: 1px solid rgba(139, 92, 246, 0.3);
    background: rgba(139, 92, 246, 0.05);
}

.btn-outline:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-1px);
}

/* ────────────────────────────────────────────────────────────────────
   7. TYPOGRAPHY HIERARCHY
   ──────────────────────────────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #8B5CF6 50%, #06B6D4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
    background-size: 200% 200%;
}

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

.section-title h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
}

/* ────────────────────────────────────────────────────────────────────
   8. TRUSTED BY LOGOS SECTION
   ──────────────────────────────────────────────────────────────────── */

.trusted-by {
    padding: 40px 0;
    opacity: 0.6;
}

.trusted-by h3 {
    text-align: center;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted, #64748B);
    margin-bottom: 24px;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.logo-placeholder {
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-placeholder:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(139, 92, 246, 0.2);
}

/* ────────────────────────────────────────────────────────────────────
   9. VIDEO DEMO SECTION
   ──────────────────────────────────────────────────────────────────── */

.demo-section {
    max-width: 1000px;
    margin: 0 auto;
}

.demo-video-placeholder {
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(139,92,246,0.1) 0%, rgba(6,182,212,0.1) 100%);
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.demo-video-placeholder:hover {
    border-color: rgba(139, 92, 246, 0.4);
    transform: scale(1.02);
}

.demo-video-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            rgba(139,92,246,0.03) 0px,
            rgba(139,92,246,0.03) 10px,
            transparent 10px,
            transparent 20px
        );
    animation: demoShimmer 20s linear infinite;
}

@keyframes demoShimmer {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(20px) translateY(20px); }
}

.play-button {
    position: relative;
    z-index: 1;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8B5CF6, #06B6D4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.4);
    transition: all 0.3s;
}

.demo-video-placeholder:hover .play-button {
    transform: scale(1.1);
    box-shadow: 0 12px 48px rgba(139, 92, 246, 0.6);
}

/* ────────────────────────────────────────────────────────────────────
   10. TESTIMONIAL ENHANCEMENTS
   ──────────────────────────────────────────────────────────────────── */

.testimonial {
    position: relative;
}

.testimonial .stars {
    color: #F59E0B;
    font-size: 1rem;
    margin-bottom: 12px;
    display: flex;
    gap: 2px;
}

.testimonial-avatar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.avatar-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B5CF6, #06B6D4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial .author {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary, #F1F5F9);
}

.testimonial .role {
    font-size: 0.8rem;
    color: var(--text-muted, #64748B);
}

/* ────────────────────────────────────────────────────────────────────
   11. PRICING CARD ENHANCEMENTS
   ──────────────────────────────────────────────────────────────────── */

.price-card.popular {
    transform: scale(1.05);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 
        0 12px 48px rgba(139, 92, 246, 0.25),
        0 0 0 1px rgba(139, 92, 246, 0.2);
}

.price-card.popular::after {
    content: 'MOST POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #8B5CF6, #06B6D4);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 20px;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #8B5CF6, #06B6D4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ────────────────────────────────────────────────────────────────────
   12. FOOTER ENHANCEMENTS
   ──────────────────────────────────────────────────────────────────── */

footer {
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(139, 92, 246, 0.3) 50%, 
        transparent 100%);
}

.footer-badges {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-secondary, #94A3B8);
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--green, #10B981);
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--green, #10B981);
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted, #64748B);
    transition: all 0.2s;
}

.social-link:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    color: #8B5CF6;
    transform: translateY(-2px);
}

/* Newsletter signup */
.newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    max-width: 400px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary, #F1F5F9);
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: var(--text-muted, #64748B);
}

.newsletter-form button {
    padding: 10px 20px;
    background: linear-gradient(135deg, #8B5CF6, #06B6D4);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.newsletter-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

/* ────────────────────────────────────────────────────────────────────
   13. DASHBOARD ENHANCEMENTS
   ──────────────────────────────────────────────────────────────────── */

/* Animated gauge for Market Mood */
.market-mood-gauge {
    position: relative;
    width: 200px;
    height: 100px;
    margin: 20px auto;
}

.gauge-bg {
    width: 200px;
    height: 100px;
    border-radius: 100px 100px 0 0;
    background: conic-gradient(
        from 180deg at 50% 100%,
        #EF4444 0deg,
        #F59E0B 90deg,
        #10B981 180deg
    );
    position: relative;
}

.gauge-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 70px;
    background: var(--bg-card, rgba(17, 24, 39, 0.7));
    border-radius: 70px 70px 0 0;
}

.gauge-needle {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 4px;
    height: 80px;
    background: linear-gradient(to top, #fff, rgba(255,255,255,0.5));
    border-radius: 2px;
    transform-origin: bottom center;
    transform: rotate(-90deg);
    transition: transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.gauge-needle::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.gauge-label {
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary, #F1F5F9);
}

/* Color-coded agent cards */
.agent-card.bullish {
    border-left: 3px solid var(--green, #10B981);
}

.agent-card.bearish {
    border-left: 3px solid var(--red, #EF4444);
}

.agent-card.neutral {
    border-left: 3px solid var(--yellow, #F59E0B);
}

.agent-signal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.agent-signal.buy {
    background: rgba(16, 185, 129, 0.15);
    color: var(--green, #10B981);
}

.agent-signal.sell {
    background: rgba(239, 68, 68, 0.15);
    color: var(--red, #EF4444);
}

.agent-signal.hold {
    background: rgba(245, 158, 11, 0.15);
    color: var(--yellow, #F59E0B);
}

/* Sparkline mini-charts */
.sparkline {
    display: inline-block;
    width: 80px;
    height: 24px;
    margin-left: 8px;
}

.sparkline svg {
    width: 100%;
    height: 100%;
}

/* Heatmap color gradient */
.heatmap-cell {
    transition: all 0.3s;
}

.heatmap-cell.positive-strong {
    background: rgba(16, 185, 129, 0.3);
    color: #10B981;
}

.heatmap-cell.positive-weak {
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
}

.heatmap-cell.neutral {
    background: rgba(245, 158, 11, 0.15);
    color: #F59E0B;
}

.heatmap-cell.negative-weak {
    background: rgba(239, 68, 68, 0.15);
    color: #EF4444;
}

.heatmap-cell.negative-strong {
    background: rgba(239, 68, 68, 0.3);
    color: #EF4444;
}

/* Notification bell with badge */
.notif-bell {
    position: relative;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
}

.notif-bell:hover {
    background: rgba(139, 92, 246, 0.1);
}

.notif-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    background: var(--red, #EF4444);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    border: 2px solid var(--bg-secondary, #111128);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Smooth number transitions */
.number-transition {
    display: inline-block;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.number-transition.changed {
    animation: numberBounce 0.5s ease;
}

@keyframes numberBounce {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    75% { transform: scale(0.95); }
}

/* ────────────────────────────────────────────────────────────────────
   14. LOADING SKELETON SHIMMER
   ──────────────────────────────────────────────────────────────────── */

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.skeleton {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.03) 0px,
        rgba(255, 255, 255, 0.08) 40px,
        rgba(255, 255, 255, 0.03) 80px
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite linear;
    border-radius: 8px;
}

.skeleton-text {
    height: 14px;
    margin-bottom: 8px;
}

.skeleton-title {
    height: 24px;
    width: 60%;
    margin-bottom: 12px;
}

.skeleton-card {
    height: 120px;
}

/* ────────────────────────────────────────────────────────────────────
   15. TOAST NOTIFICATION SLIDE-IN
   ──────────────────────────────────────────────────────────────────── */

.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    padding: 16px 20px;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 320px;
    animation: toastSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.toast.toast-success {
    border-color: rgba(16, 185, 129, 0.3);
}

.toast.toast-error {
    border-color: rgba(239, 68, 68, 0.3);
}

.toast.toast-warning {
    border-color: rgba(245, 158, 11, 0.3);
}

.toast-icon {
    font-size: 1.2rem;
}

.toast-message {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-primary, #F1F5F9);
}

/* ────────────────────────────────────────────────────────────────────
   16. PRO BADGE & PROFESSIONAL TOUCHES
   ──────────────────────────────────────────────────────────────────── */

.pro-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    background: linear-gradient(135deg, #8B5CF6, #06B6D4);
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    vertical-align: middle;
    margin-left: 8px;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.version-number {
    font-size: 0.7rem;
    color: var(--text-muted, #64748B);
    font-weight: 600;
}

.built-with-ai {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--purple-light, #A78BFA);
}

.cmd-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-muted, #64748B);
}

.cmd-key {
    display: inline-block;
    padding: 2px 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.7rem;
    font-weight: 700;
}

/* ────────────────────────────────────────────────────────────────────
   17. SMOOTH PAGE TRANSITIONS
   ──────────────────────────────────────────────────────────────────── */

.page-transition {
    animation: pageSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ────────────────────────────────────────────────────────────────────
   18. RESPONSIVE ENHANCEMENTS
   ──────────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .price-card.popular {
        transform: scale(1);
    }
    
    .logos-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    
    .market-mood-gauge {
        width: 160px;
        height: 80px;
    }
    
    .gauge-bg {
        width: 160px;
        height: 80px;
    }
    
    .gauge-bg::after {
        width: 110px;
        height: 55px;
    }
    
    .gauge-needle {
        height: 60px;
    }
    
    .toast {
        min-width: 280px;
    }
}

/* ────────────────────────────────────────────────────────────────────
   19. PRINT OPTIMIZATION
   ──────────────────────────────────────────────────────────────────── */

@media print {
    .nav,
    .notif-bell,
    .btn,
    .hamburger,
    .toast-container {
        display: none !important;
    }
    
    .card,
    .feature-card,
    .price-card,
    .testimonial {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   END OF PREMIUM UI STYLES
   ═══════════════════════════════════════════════════════════════════════ */
