@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    /* PhonePe Signature Brand Palette */
    --primary: #5F259F;
    --primary-hover: #4D1C85;
    --primary-dark: #3E1470;
    --primary-light: #7A36C7;
    --primary-soft: #F4EFFB;
    --primary-glow: rgba(95, 37, 159, 0.28);
    
    /* PhonePe UPI Green & Accent */
    --accent: #00B386;
    --accent-dark: #008767;
    --accent-light: #10B981;
    --accent-soft: #E6F7F3;
    
    --dark: #121826;
    --dark-surface: #1E293B;
    --secondary: #F8FAFC;
    --text-main: #1E293B;
    --text-muted: #5A6578;
    --text-white: #FFFFFF;
    
    --danger: #EF4444;
    --danger-bg: #FEF2F2;
    --success: #00B386;
    --success-bg: #E6F7F3;
    --warning: #F59E0B;
    --warning-bg: #FFFBEB;
    --info: #3B82F6;
    --info-bg: #EFF6FF;
    
    --border: #E5DCF2;
    --border-light: #F1EDF9;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 14px rgba(95, 37, 159, 0.08);
    --shadow-lg: 0 10px 25px rgba(95, 37, 159, 0.12);
    --shadow-xl: 0 20px 35px -5px rgba(95, 37, 159, 0.18);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 26px;
    --radius-pill: 9999px;
    --transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Glassmorphism System */
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-bg-strong: rgba(255, 255, 255, 0.82);
    --glass-bg-dark: rgba(18, 24, 38, 0.72);
    --glass-border: rgba(255, 255, 255, 0.35);
    --glass-border-subtle: rgba(255, 255, 255, 0.18);
    --glass-blur: blur(20px);
    --glass-blur-heavy: blur(32px);
    --glass-shadow: 0 8px 32px rgba(95, 37, 159, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    --glass-shadow-hover: 0 16px 48px rgba(95, 37, 159, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Global Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
    height: auto;
}

*:focus, *:focus-visible, button:focus, input:focus, select:focus, textarea:focus, a:focus {
    outline: none !important;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background-color: #F8FAFC;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--dark);
}

/* Money & Coins Particle Background + Aurora Effect */
#particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at 50% 0%, rgba(95, 37, 159, 0.08) 0%, rgba(248, 250, 252, 0) 65%);
}

/* Aurora Floating Orbs (Hidden Gem Background Decorations) */
.aurora-orb {
    position: absolute !important;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none !important;
    z-index: 0 !important;
    animation: auroraFloat 12s ease-in-out infinite;
}

.aurora-orb--purple {
    background: radial-gradient(circle, #7C3AED 0%, #5F259F 50%, transparent 70%);
    width: 400px;
    height: 400px;
}

.aurora-orb--green {
    background: radial-gradient(circle, #10B981 0%, #059669 50%, transparent 70%);
    width: 320px;
    height: 320px;
    animation-delay: -4s;
    animation-duration: 15s;
}

.aurora-orb--blue {
    background: radial-gradient(circle, #3B82F6 0%, #2563EB 50%, transparent 70%);
    width: 280px;
    height: 280px;
    animation-delay: -7s;
    animation-duration: 18s;
}

@keyframes auroraFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -20px) scale(1.05); }
    50% { transform: translate(-20px, 15px) scale(0.95); }
    75% { transform: translate(15px, 25px) scale(1.03); }
}

/* Staggered Reveal Animation for Cards */
@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(32px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.reveal-up {
    animation: revealUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.reveal-up:nth-child(1) { animation-delay: 0.05s; }
.reveal-up:nth-child(2) { animation-delay: 0.12s; }
.reveal-up:nth-child(3) { animation-delay: 0.19s; }
.reveal-up:nth-child(4) { animation-delay: 0.26s; }
.reveal-up:nth-child(5) { animation-delay: 0.33s; }
.reveal-up:nth-child(6) { animation-delay: 0.40s; }

/* Shimmer Loading Effect (Hidden Gem) */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.shimmer-text {
    background: linear-gradient(90deg, var(--primary) 0%, #C084FC 25%, var(--primary) 50%, #C084FC 75%, var(--primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
}

/* Magnetic Hover Effect (Hidden Gem) */
.magnetic-hover {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.magnetic-hover:hover {
    transform: translateY(-4px) scale(1.02);
}

/* Glow Pulse (Hidden Gem for live indicators) */
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 210, 160, 0.5); }
    50% { box-shadow: 0 0 0 8px rgba(0, 210, 160, 0); }
}

.glow-pulse {
    animation: glowPulse 2s ease-in-out infinite;
}

/* Gradient Border Animation (Hidden Gem) */
@keyframes borderGlow {
    0% { border-color: rgba(95, 37, 159, 0.3); }
    33% { border-color: rgba(0, 179, 134, 0.3); }
    66% { border-color: rgba(59, 130, 246, 0.3); }
    100% { border-color: rgba(95, 37, 159, 0.3); }
}

.animated-border {
    animation: borderGlow 6s ease-in-out infinite;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* Typography Helpers */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.font-mono { font-family: 'JetBrains Mono', monospace; }

/* PhonePe Iconic Buttons - Pill Shape by Default */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: var(--radius-pill);
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.94rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1.5px solid transparent;
    user-select: none;
    white-space: nowrap;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

/* Subtle inner highlight on all buttons */
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover::before {
    opacity: 1;
}

/* ==========================================================================
   TACTILE 3D BUTTON SUITE
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: var(--radius-pill);
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-weight: 750;
    font-size: 0.94rem;
    cursor: pointer;
    transition: transform 0.12s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.12s cubic-bezier(0.2, 0, 0.2, 1), background 0.2s ease, border-color 0.2s ease;
    user-select: none;
    white-space: nowrap;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}

/* Subtle 3D Top Specular Highlight Glaze */
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.05) 45%, rgba(0, 0, 0, 0.08) 100%);
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.btn:hover::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.1) 45%, rgba(0, 0, 0, 0.05) 100%);
}

/* 3D Primary Button (PhonePe Purple Extruded Ledge) */
.btn-primary {
    background: linear-gradient(180deg, #7432C2 0%, #5F259F 55%, #4C1985 100%);
    color: #FFFFFF !important;
    border: none;
    box-shadow: 0 4px 0 #310D5B, 0 8px 18px rgba(95, 37, 159, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(180deg, #7E3BCF 0%, #6627AC 55%, #521C8F 100%);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #310D5B, 0 14px 26px rgba(95, 37, 159, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-primary:active {
    transform: translateY(3px) !important;
    box-shadow: 0 1px 0 #310D5B, 0 3px 8px rgba(95, 37, 159, 0.25), inset 0 2px 3px rgba(0, 0, 0, 0.25) !important;
}

/* 3D Outline Primary Button */
.btn-outline-primary {
    background: linear-gradient(180deg, #FFFFFF 0%, #FAF6FE 100%);
    color: #5F259F !important;
    border: 1.5px solid #5F259F;
    box-shadow: 0 3.5px 0 rgba(95, 37, 159, 0.25), 0 6px 14px rgba(95, 37, 159, 0.08), inset 0 1px 0 #FFFFFF;
}

.btn-outline-primary:hover {
    background: linear-gradient(180deg, #FFFFFF 0%, #F3ECF9 100%);
    color: #4D1C85 !important;
    transform: translateY(-2px);
    box-shadow: 0 5.5px 0 rgba(95, 37, 159, 0.35), 0 10px 20px rgba(95, 37, 159, 0.14), inset 0 1px 0 #FFFFFF;
}

.btn-outline-primary:active {
    transform: translateY(2.5px) !important;
    box-shadow: 0 1px 0 rgba(95, 37, 159, 0.25), inset 0 1px 3px rgba(95, 37, 159, 0.15) !important;
}

/* 3D Green Accent / Success Button */
.btn-accent, .btn-success {
    background: linear-gradient(180deg, #10B981 0%, #059669 55%, #047857 100%);
    color: #FFFFFF !important;
    border: none;
    box-shadow: 0 4px 0 #034D38, 0 8px 18px rgba(16, 185, 129, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-accent:hover, .btn-success:hover {
    background: linear-gradient(180deg, #34D399 0%, #10B981 55%, #059669 100%);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #034D38, 0 14px 26px rgba(16, 185, 129, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-accent:active, .btn-success:active {
    transform: translateY(3px) !important;
    box-shadow: 0 1px 0 #034D38, 0 3px 8px rgba(16, 185, 129, 0.25), inset 0 2px 3px rgba(0, 0, 0, 0.25) !important;
}

/* 3D Glass Light Button */
.btn-light {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 60%, #EEF2F6 100%);
    color: #431475 !important;
    border: 1px solid #CBD5E1;
    box-shadow: 0 3.5px 0 #CBD5E1, 0 6px 14px rgba(0, 0, 0, 0.06), inset 0 1px 0 #FFFFFF;
}

.btn-light:hover {
    background: #FFFFFF;
    color: #350A5F !important;
    transform: translateY(-2px);
    border-color: #94A3B8;
    box-shadow: 0 5.5px 0 #94A3B8, 0 10px 20px rgba(0, 0, 0, 0.09), inset 0 1px 0 #FFFFFF;
}

.btn-light:active {
    transform: translateY(2.5px) !important;
    box-shadow: 0 1px 0 #CBD5E1, 0 2px 4px rgba(0, 0, 0, 0.05), inset 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

/* 3D Danger Button */
.btn-danger {
    background: linear-gradient(180deg, #F87171 0%, #EF4444 55%, #DC2626 100%);
    color: #FFFFFF !important;
    border: none;
    box-shadow: 0 4px 0 #7F1D1D, 0 8px 18px rgba(239, 68, 68, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-danger:hover {
    background: linear-gradient(180deg, #EF4444 0%, #DC2626 100%);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #7F1D1D, 0 14px 26px rgba(239, 68, 68, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-danger:active {
    transform: translateY(3px) !important;
    box-shadow: 0 1px 0 #7F1D1D, 0 3px 8px rgba(239, 68, 68, 0.25), inset 0 2px 3px rgba(0, 0, 0, 0.25) !important;
}

/* 3D Outline Light (for Dark Banners) */
.btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3), 0 6px 16px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #FFFFFF;
    color: var(--text-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 0 rgba(0, 0, 0, 0.4), 0 10px 22px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-outline-light:active {
    transform: translateY(2px) !important;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.3) !important;
}

/* 3D Small & Large Buttons */
.btn-sm {
    padding: 6px 16px;
    font-size: 0.82rem;
    box-shadow: 0 2.5px 0 rgba(0, 0, 0, 0.18), 0 4px 10px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-sm.btn-primary {
    box-shadow: 0 2.5px 0 #310D5B, 0 5px 12px rgba(95, 37, 159, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-sm.btn-light {
    box-shadow: 0 2px 0 #CBD5E1, 0 4px 10px rgba(0, 0, 0, 0.05), inset 0 1px 0 #FFFFFF;
}

.btn-sm:hover {
    transform: translateY(-1.5px);
}

.btn-sm:active {
    transform: translateY(2px) !important;
    box-shadow: 0 0.5px 0 rgba(0, 0, 0, 0.2) !important;
}

.btn-lg {
    padding: 14px 34px;
    font-size: 1.05rem;
}

.btn-pill {
    border-radius: var(--radius-pill);
}

.btn-block {
    width: 100%;
}

/* Public Header & Nav (Tactile 3D Upgraded) */
.public-header {
    background: linear-gradient(135deg, #260847 0%, #431475 55%, #5F259F 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #140324;
    box-shadow: 0 4px 0 #18052E, 0 12px 28px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    width: 100%;
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 20px;
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
}
.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    outline: none !important;
}
.brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.4), 0 6px 14px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    display: block;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.brand-link:hover .brand-logo {
    transform: translateY(-1.5px);
    box-shadow: 0 4.5px 0 rgba(0, 0, 0, 0.45), 0 8px 18px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.brand-link:active .brand-logo {
    transform: translateY(1.5px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}
.brand-info {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.brand-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}
.brand-subtitle {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #00D2A0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Centralized Segmented 3D Pill Nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(18, 4, 34, 0.6);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    padding: 4px 6px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.14);
}
.nav-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 9999px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.18s ease, color 0.18s ease;
    white-space: nowrap;
    outline: none !important;
}
.nav-item .nav-icon {
    opacity: 0.75;
    transition: opacity 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}
.nav-item:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
}
.nav-item:hover .nav-icon {
    opacity: 1;
    transform: translateY(-1px);
}
.nav-item.active {
    background: #FFFFFF;
    color: #3C1266 !important;
    font-weight: 750;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 3px 0 #D5C7E8, 0 6px 14px rgba(0, 0, 0, 0.25), inset 0 1px 0 #FFFFFF;
    transform: translateY(-1px);
}
.nav-item.active .nav-icon {
    opacity: 1;
    color: #3C1266;
}
.nav-item:active {
    transform: translateY(1.5px) !important;
    box-shadow: 0 0.5px 0 #D5C7E8 !important;
}

/* Auth Buttons (Tactile 3D) */
.auth-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.btn-ghost-white {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    padding: 7px 18px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3), 0 4px 10px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.18s ease, border-color 0.18s ease;
    white-space: nowrap;
    outline: none !important;
}
.btn-ghost-white:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #FFFFFF;
    color: #FFFFFF;
    transform: translateY(-1.5px);
    box-shadow: 0 4.5px 0 rgba(0, 0, 0, 0.35), 0 8px 16px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-ghost-white:active {
    transform: translateY(2px) !important;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.3) !important;
}
.btn-cta-green {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(180deg, #00F5BA 0%, #00D2A0 100%);
    color: #063A2F;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 8px 20px;
    border-radius: 9999px;
    font-weight: 800;
    font-size: 0.88rem;
    text-decoration: none;
    box-shadow: 0 3.5px 0 #037A5C, 0 6px 16px rgba(0, 210, 160, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.65);
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.18s ease;
    white-space: nowrap;
    outline: none !important;
}
.btn-cta-green:hover {
    background: linear-gradient(180deg, #1DF5C2 0%, #00DEAB 100%);
    color: #063A2F;
    transform: translateY(-2px);
    box-shadow: 0 5.5px 0 #037A5C, 0 10px 22px rgba(0, 210, 160, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}
.btn-cta-green:active {
    transform: translateY(2.5px) !important;
    box-shadow: 0 1px 0 #037A5C !important;
}

/* Mobile Hamburger Button (Tactile 3D) */
.nav-hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: #FFFFFF;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.18s ease;
    outline: none !important;
}
.nav-hamburger:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.nav-hamburger:active {
    transform: translateY(2px) !important;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.35) !important;
}

.mobile-nav-auth {
    display: none;
}

/* Responsive Rules (Tactile 3D Mobile Drawer) */
@media (max-width: 992px) {
    .main-nav {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 16px;
        right: 16px;
        background: rgba(28, 8, 54, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border: 1.5px solid rgba(255, 255, 255, 0.22);
        border-radius: 20px;
        padding: 14px;
        box-shadow: 0 4px 0 #120324, 0 24px 50px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2);
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        z-index: 1001;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .main-nav.is-open {
        display: flex !important;
        animation: navSlideDown 0.22s ease-out forwards;
    }
    @keyframes navSlideDown {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .main-nav .nav-item {
        padding: 12px 16px;
        border-radius: 12px;
        font-size: 0.95rem;
    }
    .main-nav .nav-item.active {
        background: #FFFFFF;
        color: #3C1266 !important;
    }
    .desktop-auth-btn {
        display: none !important;
    }
    .nav-hamburger {
        display: inline-flex !important;
    }
    .mobile-nav-auth {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-top: 10px;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* =========================================
   DASHBOARD APP LAYOUT & SIDEBAR (ENHANCED)
========================================= */

.dashboard-body {
    min-height: 100vh;
    background-color: #F8FAFC;
    overflow-x: hidden;
}

.dash-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

/* --- SIDEBAR (Tactile 3D Upgraded) --- */
.dash-sidebar {
    width: 260px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #18072E 0%, #100420 100%);
    color: #FFFFFF;
    border-right: 2px solid #0D021A;
    box-shadow: 3px 0 0 #20093E, 8px 0 28px rgba(0, 0, 0, 0.35);
    transition: width 0.28s cubic-bezier(0.4, 0, 0.2, 1), transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-header {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    border-bottom: 2px solid #0E021B;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #FFFFFF;
    overflow: hidden;
    outline: none !important;
}

.sidebar-brand img,
.sidebar-brand-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.4), 0 6px 14px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.sidebar-brand:hover img {
    transform: translateY(-1.5px);
    box-shadow: 0 4.5px 0 rgba(0, 0, 0, 0.45), 0 8px 18px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.sidebar-brand-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 3px 0 #046346, 0 6px 14px rgba(16, 185, 129, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.sidebar-brand-text {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.sidebar-brand-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.1;
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

.sidebar-brand-sub {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #A7F3D0;
    font-weight: 700;
}

.sidebar-toggle-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.85);
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.18s ease;
    outline: none !important;
}

.sidebar-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.sidebar-toggle-btn:active {
    transform: translateY(1.5px) !important;
    box-shadow: 0 0.5px 0 rgba(0, 0, 0, 0.35) !important;
}

.sidebar-scrollable {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 14px 12px;
}

.sidebar-scrollable::-webkit-scrollbar {
    width: 4px;
}
.sidebar-scrollable::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-group {
    margin-bottom: 18px;
}

.sidebar-group-title {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.42);
    padding: 6px 12px;
    margin-bottom: 4px;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.18s ease, color 0.18s ease;
    position: relative;
    white-space: nowrap;
    margin-bottom: 3px;
    outline: none !important;
}

.sidebar-link:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transform: translateX(3px) translateY(-1px);
}

.sidebar-link:active {
    transform: translateX(3px) translateY(1.5px) !important;
    box-shadow: 0 0.5px 0 rgba(0, 0, 0, 0.25) !important;
}

.sidebar-link.active {
    color: #FFFFFF;
    background: linear-gradient(180deg, #6C2CB5 0%, #501B8D 100%);
    border: 1px solid rgba(167, 139, 250, 0.5);
    box-shadow: 0 3px 0 #280949, 0 6px 18px rgba(95, 37, 159, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    font-weight: 750;
    transform: translateY(-1px);
}

.sidebar-link.active:active {
    transform: translateY(1.5px) !important;
    box-shadow: 0 1px 0 #280949 !important;
}

.sidebar-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 4px;
    background: #00B386;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 0 8px #00B386;
}

.sidebar-icon {
    min-width: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.sidebar-link:hover .sidebar-icon {
    transform: scale(1.1);
}

.sidebar-label {
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.admin-group {
    background: rgba(245, 158, 11, 0.06);
    border: 1.5px solid rgba(245, 158, 11, 0.32);
    box-shadow: 0 2.5px 0 rgba(180, 83, 9, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 7px 6px;
    margin-top: 10px;
    margin-bottom: 14px;
    transition: all 0.2s ease;
}

.admin-group:hover {
    border-color: rgba(245, 158, 11, 0.55);
    background: rgba(245, 158, 11, 0.09);
    box-shadow: 0 3.5px 0 rgba(180, 83, 9, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.admin-group-header {
    width: 100%;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 10px;
    cursor: pointer;
    color: #F59E0B;
    transition: var(--transition);
    user-select: none;
    outline: none !important;
}

.admin-group-header:hover {
    background: rgba(245, 158, 11, 0.12);
}

.admin-group-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #F59E0B;
}

.admin-toggle-chevron {
    color: #F59E0B;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-group.is-collapsed .admin-toggle-chevron {
    transform: rotate(-90deg);
}

.admin-group.is-expanded .admin-toggle-chevron {
    transform: rotate(0deg);
}

.admin-sublinks {
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
    transition: max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, margin 0.25s ease;
}

.admin-group.is-collapsed .admin-sublinks {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    margin-top: 0;
}

.admin-group.is-expanded .admin-sublinks {
    max-height: 450px;
    opacity: 1;
    pointer-events: auto;
    margin-top: 4px;
}

.text-warning {
    color: #F59E0B !important;
}

.sidebar-footer-card {
    padding: 12px;
    border-top: 2px solid #0E021B;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.sidebar-plan-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 11px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.45), 0 1px 0 rgba(255, 255, 255, 0.12);
}

.plan-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.plan-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.plan-status {
    font-size: 0.7rem;
    color: #00B386;
    font-weight: 600;
}

.btn-sidebar-upgrade {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 9px;
    background: linear-gradient(180deg, #7A35C7 0%, #5F259F 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 0 #310D5B, 0 4px 10px rgba(95, 37, 159, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.18s ease;
    text-decoration: none;
    outline: none !important;
}

.btn-sidebar-upgrade:hover {
    background: linear-gradient(180deg, #8B43DA 0%, #6929B0 100%);
    transform: translateY(-1.5px);
    box-shadow: 0 4.5px 0 #310D5B, 0 6px 14px rgba(95, 37, 159, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-sidebar-upgrade:active {
    transform: translateY(2px) !important;
    box-shadow: 0 1px 0 #310D5B !important;
}

/* --- COLLAPSED SIDEBAR (DESKTOP) --- */
.dash-layout.sidebar-collapsed .dash-sidebar {
    width: 78px;
}

.dash-layout.sidebar-collapsed .dash-main-container {
    margin-left: 78px;
    width: calc(100% - 78px);
}

.dash-layout.sidebar-collapsed .sidebar-brand-text,
.dash-layout.sidebar-collapsed .sidebar-label,
.dash-layout.sidebar-collapsed .sidebar-group-title,
.dash-layout.sidebar-collapsed .sidebar-plan-box .plan-info {
    display: none !important;
}

.dash-layout.sidebar-collapsed .sidebar-header {
    justify-content: center;
    padding: 0 10px;
    position: relative;
}

.dash-layout.sidebar-collapsed .sidebar-brand {
    justify-content: center;
}

.dash-layout.sidebar-collapsed .sidebar-toggle-btn {
    position: absolute;
    right: -14px;
    top: 21px;
    background: #5F259F;
    border: 2px solid #18072E;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 100;
    transform: rotate(180deg);
}

.dash-layout.sidebar-collapsed .sidebar-link {
    justify-content: center;
    padding: 12px 0;
}

.dash-layout.sidebar-collapsed .sidebar-link.active::before {
    left: 2px;
}

.dash-layout.sidebar-collapsed .admin-group {
    padding: 6px 2px;
}

.dash-layout.sidebar-collapsed .admin-group-header {
    justify-content: center;
    padding: 6px 0;
}

.dash-layout.sidebar-collapsed .admin-group-title span,
.dash-layout.sidebar-collapsed .admin-toggle-chevron {
    display: none !important;
}

.dash-layout.sidebar-collapsed .sidebar-plan-box {
    justify-content: center;
    padding: 8px;
}

/* Collapsed Sidebar Tooltips */
.dash-layout.sidebar-collapsed .sidebar-link[data-title] {
    position: relative;
}

.dash-layout.sidebar-collapsed .sidebar-link[data-title]:hover::after {
    content: attr(data-title);
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: #0F172A;
    color: #FFFFFF;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    z-index: 2000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
    animation: tooltipFade 0.18s ease-out;
}

@keyframes tooltipFade {
    from { opacity: 0; transform: translateY(-50%) translateX(-4px); }
    to { opacity: 1; transform: translateY(-50%) translateX(0); }
}

/* --- MAIN CONTAINER & TOPBAR --- */
.dash-main-container {
    margin-left: 260px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #F8FAFC;
    transition: margin-left 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    width: calc(100% - 260px);
}

.dash-topbar {
    height: 70px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    box-shadow: 0 3px 0 #E2E8F0, 0 10px 24px rgba(15, 23, 42, 0.04), inset 0 -1px 0 rgba(255, 255, 255, 0.8);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-btn {
    background: #FFFFFF;
    border: 1.5px solid #CBD5E1;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2.5px 0 #CBD5E1, 0 3px 8px rgba(0, 0, 0, 0.04), inset 0 1px 0 #FFFFFF;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.18s ease;
    outline: none !important;
}

.topbar-btn:hover {
    background: #FAF7FD;
    color: var(--primary);
    border-color: #94A3B8;
    transform: translateY(-1.5px);
    box-shadow: 0 4px 0 #94A3B8, 0 6px 14px rgba(0, 0, 0, 0.08);
}

.topbar-btn:active {
    transform: translateY(1.5px) !important;
    box-shadow: 0 0.5px 0 #CBD5E1 !important;
}

.mobile-menu-btn {
    display: none;
}

.topbar-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.94rem;
    font-weight: 600;
}

.breadcrumb-root {
    color: var(--text-muted);
}

.breadcrumb-separator {
    color: #CBD5E1;
    font-size: 0.85rem;
}

.breadcrumb-current {
    color: var(--dark);
    font-weight: 700;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-quick-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 9999px;
    background: #F1F5F9;
    border: 1.5px solid #CBD5E1;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2.5px 0 #CBD5E1, inset 0 1px 0 #FFFFFF;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.18s ease;
    outline: none !important;
}

.topbar-quick-link:hover {
    background: #E2E8F0;
    color: var(--primary);
    transform: translateY(-1.5px);
    box-shadow: 0 4px 0 #94A3B8, 0 4px 10px rgba(0, 0, 0, 0.06);
}

.topbar-quick-link:active {
    transform: translateY(1.5px) !important;
    box-shadow: 0 0.5px 0 #CBD5E1 !important;
}

/* User Profile Dropdown (Tactile 3D) */
.user-profile-dropdown {
    position: relative;
}

.user-profile-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 14px 5px 6px;
    border-radius: 9999px;
    background: #FFFFFF;
    border: 1.5px solid #CBD5E1;
    cursor: pointer;
    box-shadow: 0 2.5px 0 #CBD5E1, 0 3px 8px rgba(15, 23, 42, 0.04), inset 0 1px 0 #FFFFFF;
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.18s ease, background 0.18s ease;
    outline: none !important;
}

.user-profile-trigger:hover {
    border-color: #94A3B8;
    transform: translateY(-1.5px);
    box-shadow: 0 4px 0 #94A3B8, 0 6px 14px rgba(15, 23, 42, 0.08);
}

.user-profile-trigger:active {
    transform: translateY(2px) !important;
    box-shadow: 0 0.5px 0 #CBD5E1 !important;
}

.user-avatar-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7E3FF2, #5F259F);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 2px 0 #39116B, 0 3px 8px rgba(95, 37, 159, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.user-meta-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.user-meta-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.15;
}

.user-meta-badges {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.badge-role-admin {
    background: #FEF3C7;
    color: #92400E;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 1.5px 6px;
    border-radius: 5px;
    letter-spacing: 0.06em;
    border: 1px solid rgba(180, 83, 9, 0.2);
    box-shadow: 0 1.5px 0 rgba(180, 83, 9, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.badge-user-plan {
    background: #ECFDF5;
    color: #059669;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1.5px 6px;
    border-radius: 5px;
    border: 1px solid rgba(5, 150, 105, 0.2);
    box-shadow: 0 1.5px 0 rgba(5, 150, 105, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.dropdown-chevron {
    color: #94A3B8;
    transition: transform 0.2s ease;
}

.user-profile-dropdown.show .dropdown-chevron {
    transform: rotate(180deg);
}

/* 3D Elevated Floating Profile Dropdown Menu */
.profile-dropdown-menu,
.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 295px;
    background: #FFFFFF;
    border-radius: 20px;
    border: 1.5px solid rgba(95, 37, 159, 0.16);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 16px 32px -4px rgba(38, 8, 71, 0.16), 0 32px 64px -8px rgba(38, 8, 71, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    padding: 12px;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.96);
    transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.user-profile-dropdown.show .profile-dropdown-menu,
.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.dropdown-user-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 10px 14px;
    border-bottom: 1.5px solid #F1EDF9;
    margin-bottom: 6px;
}

.user-avatar-large {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7E3FF2, #5F259F);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 3px 0 #3b1266, 0 6px 14px rgba(95, 37, 159, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.dropdown-user-details {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.dropdown-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-email {
    font-size: 0.78rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 190px;
}

.dropdown-plan-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-dark);
    margin-top: 3px;
    background: #E6F7F3;
    padding: 2px 8px;
    border-radius: 9999px;
    box-shadow: 0 1.5px 0 #A7F3D0, inset 0 1px 0 #FFFFFF;
}

.dropdown-divider {
    height: 1px;
    background: #E5DCF2;
    margin: 6px 0;
}

.dropdown-section-title {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94A3B8;
    padding: 6px 10px 2px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 12px;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}

.dropdown-item:hover {
    background: #FAF7FD;
    color: var(--primary);
    border-color: rgba(95, 37, 159, 0.14);
    transform: translateX(4px);
    box-shadow: 0 3px 0 rgba(95, 37, 159, 0.15), 0 4px 10px rgba(95, 37, 159, 0.06);
}

.dropdown-item.admin-item {
    color: #92400E;
}

.dropdown-item.admin-item:hover {
    background: #FFFBEB;
    color: #B45309;
    border-color: #FDE68A;
    box-shadow: 0 3px 0 #FDE68A, 0 4px 10px rgba(245, 158, 11, 0.1);
}

.dropdown-item.logout-item {
    color: var(--danger);
}

.dropdown-item.logout-item:hover {
    background: #FEF2F2;
    color: #DC2626;
    border-color: #FECACA;
    box-shadow: 0 3px 0 #FECACA, 0 4px 10px rgba(239, 68, 68, 0.1);
}

.dropdown-item-icon {
    min-width: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- PAGE BODY & FOOTER --- */
.dash-page-body {
    flex: 1;
    padding: 32px 0 60px;
}

.dash-inner-container {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 32px;
}

.dash-footer-bar {
    background: #FFFFFF;
    border-top: 1px solid #E2E8F0;
    padding: 20px 0;
    margin-top: auto;
}

.dash-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.86rem;
    color: #64748B;
}

.dash-footer-links {
    display: flex;
    gap: 20px;
}

.dash-footer-links a {
    color: #64748B;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.dash-footer-links a:hover {
    color: var(--primary);
}

/* Main Content Area */
.public-main {
    flex: 1;
    padding: 40px 0 80px;
}

.public-main.has-hero,
.public-main:has(.hero-section) {
    padding-top: 0 !important;
}

/* ==========================================================================
   3D EXTRUDED CARDS
   ========================================================================== */
.card {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    box-shadow: 0 3px 0 #E5DCF2, 0 10px 28px -4px rgba(95, 37, 159, 0.08), 0 24px 48px -8px rgba(95, 37, 159, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    padding: 28px;
    border: 1.5px solid #E6DFF2;
    margin-bottom: 24px;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 50%);
    pointer-events: none;
    z-index: 0;
}

.card > * {
    position: relative;
    z-index: 1;
}

.card:hover {
    box-shadow: 0 5px 0 #D1C2EB, 0 16px 36px -4px rgba(95, 37, 159, 0.14), 0 36px 70px -10px rgba(95, 37, 159, 0.20), inset 0 1px 0 #FFFFFF;
    border-color: #D1C2EB;
    transform: translateY(-3px);
}

/* Glass Card Variant for stronger frosted effect */
.card-glass {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: var(--glass-blur-heavy) !important;
    -webkit-backdrop-filter: var(--glass-blur-heavy) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 4px 0 #E2D7F3, 0 16px 36px rgba(95, 37, 159, 0.10), inset 0 1px 0 #FFFFFF !important;
}

.card-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 22px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Stats Widgets Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

/* 3D Stat Cards */
.stat-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1.5px solid #E6DFF2;
    box-shadow: 0 3.5px 0 #E2D7F3, 0 8px 22px rgba(95, 37, 159, 0.09), inset 0 1px 0 #FFFFFF;
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
    overflow: hidden;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 7.5px 0 #D0BDEB, 0 16px 34px rgba(95, 37, 159, 0.16), inset 0 1px 0 #FFFFFF;
    border-color: #D0BDEB;
}

.stat-card::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--primary);
    border-radius: 4px 0 0 4px;
}

.stat-card.emerald::after { background: var(--accent); }
.stat-card.amber::after { background: var(--warning); }
.stat-card.blue::after { background: var(--info); }

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #FAF7FD 0%, #EDE4F8 100%);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1.5px solid #DFCFF4;
    box-shadow: 0 3px 0 #DFCFF4, 0 6px 14px rgba(95, 37, 159, 0.12), inset 0 1px 0 #FFFFFF;
    transition: transform 0.25s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.08) rotate(3deg);
}

.stat-icon.emerald { 
    background: linear-gradient(135deg, #F0FDF4 0%, #D1FAE5 100%); 
    color: var(--accent); 
    border-color: #A7F3D0;
    box-shadow: 0 3px 0 #A7F3D0, 0 6px 14px rgba(16, 185, 129, 0.12), inset 0 1px 0 #FFFFFF;
}
.stat-icon.amber { 
    background: linear-gradient(135deg, #FFFDF5 0%, #FEF3C7 100%); 
    color: var(--warning); 
    border-color: #FDE68A;
    box-shadow: 0 3px 0 #FDE68A, 0 6px 14px rgba(245, 158, 11, 0.12), inset 0 1px 0 #FFFFFF;
}
.stat-icon.blue { 
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%); 
    color: var(--info); 
    border-color: #BAE6FD;
    box-shadow: 0 3px 0 #BAE6FD, 0 6px 14px rgba(59, 130, 246, 0.12), inset 0 1px 0 #FFFFFF;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-top: 4px;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

/* 3D Sunken Form Controls */
.form-control,
select.form-control,
textarea.form-control,
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="search"] {
    width: 100%;
    padding: 12px 18px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    background: #FFFFFF;
    border: 1.5px solid #D5CEE5;
    border-radius: var(--radius-md);
    box-shadow: inset 0 2px 4px rgba(18, 24, 38, 0.07), inset 0 1px 2px rgba(95, 37, 159, 0.05), 0 1px 0 rgba(255, 255, 255, 0.95);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-control:hover,
select.form-control:hover,
textarea.form-control:hover {
    border-color: #BCAEDB;
    box-shadow: inset 0 2px 4px rgba(18, 24, 38, 0.09), inset 0 1px 2px rgba(95, 37, 159, 0.08), 0 1px 0 #FFFFFF;
}

/* 3D Focus Well (NO FOCUS RING - Strictly User Rule Compliant) */
.form-control:focus,
select.form-control:focus,
textarea.form-control:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="search"]:focus {
    outline: none !important;
    border-color: #7E3FF2 !important;
    background: #FFFFFF !important;
    box-shadow: inset 0 2px 4px rgba(95, 37, 159, 0.06), 0 0 0 2px rgba(126, 63, 242, 0.22), 0 6px 18px rgba(126, 63, 242, 0.14) !important;
    transform: translateY(-1px);
}

select.form-control {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235F259F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 42px;
}

textarea.form-control {
    resize: vertical;
    min-height: 90px;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group .form-control {
    padding-right: 48px;
}

.input-suffix-btn {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease;
}

.input-suffix-btn:active {
    transform: scale(0.9);
}

/* 3D Alerts */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-weight: 600;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.06), 0 6px 16px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.alert-icon {
    flex-shrink: 0;
}

.alert-success { background: #E6F7F3; color: #008767; border: 1.5px solid #A7F3D0; box-shadow: 0 3px 0 #A7F3D0, inset 0 1px 0 #FFFFFF; }
.alert-danger { background: var(--danger-bg); color: #991B1B; border: 1.5px solid #FECACA; box-shadow: 0 3px 0 #FECACA, inset 0 1px 0 #FFFFFF; }
.alert-warning { background: var(--warning-bg); color: #92400E; border: 1.5px solid #FDE68A; box-shadow: 0 3px 0 #FDE68A, inset 0 1px 0 #FFFFFF; }
.alert-info { background: var(--info-bg); color: #1E40AF; border: 1.5px solid #BFDBFE; box-shadow: 0 3px 0 #BFDBFE, inset 0 1px 0 #FFFFFF; }

/* 3D Modern Tables */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1.5px solid #E5DCF2;
    background: white;
    box-shadow: 0 4px 0 #E2D7F3, 0 12px 28px rgba(95, 37, 159, 0.08), inset 0 1px 0 #FFFFFF;
}

.table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.92rem;
}

.table th {
    background: #F8FAFC;
    color: var(--dark);
    font-weight: 750;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 14px 18px;
    border-bottom: 1.5px solid var(--border);
}

.table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-main);
    vertical-align: middle;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.table tbody tr:hover {
    background-color: #FAF5FF;
}

/* 3D Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 9999px;
    font-size: 0.76rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 8px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.status-success, .status-active { background: #E6F7F3; color: #008767; border: 1px solid #A7F3D0; box-shadow: 0 2px 0 #A7F3D0, inset 0 1px 0 #FFFFFF; }
.status-pending { background: #FFFBEB; color: #B45309; border: 1px solid #FDE68A; box-shadow: 0 2px 0 #FDE68A, inset 0 1px 0 #FFFFFF; }
.status-failed, .status-banned { background: #FEF2F2; color: #DC2626; border: 1px solid #FECACA; box-shadow: 0 2px 0 #FECACA, inset 0 1px 0 #FFFFFF; }
.status-inactive { background: #F1F5F9; color: #64748B; border: 1px solid #E2E8F0; box-shadow: 0 2px 0 #E2E8F0, inset 0 1px 0 #FFFFFF; }

.plan-badge {
    background: linear-gradient(180deg, #7E3FF2 0%, #5F259F 100%);
    color: white;
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 0 #3b1266, 0 4px 8px rgba(95, 37, 159, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Hero Section - Enhanced with depth layers */
.hero-section {
    background: linear-gradient(135deg, #1A0533 0%, #350A5F 25%, #5F259F 55%, #6E2EB5 80%, #4A1E7A 100%);
    color: white;
    padding: 90px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Hero mesh gradient overlay */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 20% 30%, rgba(16, 185, 129, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 500px 500px at 75% 60%, rgba(59, 130, 246, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 400px 300px at 50% 90%, rgba(167, 139, 250, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-section > *:not(.aurora-orb) {
    position: relative;
    z-index: 1;
}

/* Subtle noise texture overlay */
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    font-weight: 700;
    color: #A7F3D0;
    margin-bottom: 24px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255,255,255,0.15);
    animation: revealUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
}

.hero-title span {
    background: linear-gradient(135deg, #34D399, #10B981, #A7F3D0);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 6s linear infinite;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 720px;
    margin: 0 auto 36px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.12);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Feature Grid - Glassmorphism */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin: 60px 0;
}

.feature-card {
    background: var(--glass-bg-strong);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-xl);
    padding: 36px 30px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(95, 37, 159, 0.06) 0%, transparent 70%);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--glass-shadow-hover);
    border-color: rgba(95, 37, 159, 0.2);
}

.feature-card:hover::before {
    transform: scale(1.5);
    opacity: 1.5;
}

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(243, 232, 255, 0.9), rgba(237, 233, 254, 0.9));
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    box-shadow: 0 4px 12px rgba(95, 37, 159, 0.1);
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 6px 18px rgba(95, 37, 159, 0.2);
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.65;
}

/* Pricing Grid - Glassmorphism */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.pricing-card {
    background: var(--glass-bg-strong);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-xl);
    padding: 38px 32px;
    border: 1.5px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    text-align: center;
    position: relative;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--glass-shadow-hover);
    border-color: rgba(95, 37, 159, 0.2);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(95, 37, 159, 0.22), inset 0 1px 0 rgba(255,255,255,0.4);
    background: rgba(255, 255, 255, 0.92);
}

.pricing-card.featured::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(95, 37, 159, 0.15), rgba(16, 185, 129, 0.1), rgba(95, 37, 159, 0.15));
    z-index: -1;
    animation: borderGlow 6s ease-in-out infinite;
}

.pricing-card.featured .pricing-ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #7A36C7, #5F259F);
    color: white;
    padding: 5px 20px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(95, 37, 159, 0.4);
}

.pricing-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.pricing-price {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    margin: 16px 0;
    line-height: 1;
}

.pricing-validity {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.pricing-features {
    text-align: left;
    margin: 20px 0 32px;
    flex: 1;
}

.pricing-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.93rem;
    color: var(--text-main);
    margin-bottom: 12px;
}

.pricing-feature-icon {
    color: var(--accent);
    flex-shrink: 0;
}

/* Footer - Enhanced glassmorphism dark variant */
.public-footer, .dash-footer {
    background: linear-gradient(180deg, #0B0314 0%, #0F0720 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(95, 37, 159, 0.15);
    position: relative;
    overflow: hidden;
}

/* Subtle gradient orb in footer */
.public-footer::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 240px;
    background: radial-gradient(ellipse, rgba(95, 37, 159, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
}

.footer-col h4 {
    color: white;
    font-size: 1.05rem;
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 2px 0;
}

.footer-links a:hover {
    color: #A7F3D0;
    transform: translateX(4px);
    gap: 4px;
}

.footer-links a:hover::before {
    content: '→';
    font-size: 0.75rem;
    opacity: 0.6;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    position: relative;
}

/* Payment Checkout Experience (pay.php) */
.checkout-card {
    max-width: 520px;
    margin: 40px auto;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    overflow: hidden;
}

.checkout-header {
    background: linear-gradient(135deg, #3C1266 0%, #5F259F 100%);
    color: white;
    padding: 28px 24px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.checkout-body {
    padding: 32px 28px;
}

.qr-box {
    background: #FAF7FD;
    border: 2px dashed #C4B5FD;
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.qr-canvas-container {
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: var(--radius-sm);
    padding: 10px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.upi-app-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.upi-app-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 700;
    border: 1.5px solid var(--border);
    background: #FFFFFF;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
}

.upi-app-btn:hover {
    background: #F4EFFB;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(95, 37, 159, 0.15);
}

.upi-app-btn.phonepe {
    background: #F4EFFB;
    border-color: #5F259F;
    color: #5F259F;
}

.timer-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #FEF3C7;
    color: #92400E;
    border-radius: 9999px;
    font-size: 0.84rem;
    font-weight: 700;
}

/* Code Snippets & Tabs */
.code-block-container {
    background: #0F172A;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: 16px 0;
    border: 1px solid #334155;
}

.code-header {
    background: #1E293B;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: #94A3B8;
}

.code-content {
    padding: 16px;
    color: #E2E8F0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.88rem;
    overflow-x: auto;
    white-space: pre;
}

/* Responsive Embedded Video Container (16:9) */
.video-responsive-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border);
    margin: 14px 0 6px;
    background: #0F172A;
}

.video-responsive-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast-item {
    background: #0F172A;
    color: white;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toastSlide 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-left: 4px solid var(--accent);
}

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

/* Responsive Profile & Security Styling (Desktop, Tablet, Mobile) */
.profile-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 24px;
    align-items: start;
}

.profile-card {
    padding: 32px;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
    background: #FFFFFF;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.profile-card:hover {
    box-shadow: var(--shadow-lg);
}

.profile-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.profile-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.form-row-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 14px;
}

.kyc-badge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.btn-toggle-pw {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    min-width: 40px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: var(--transition);
}

.btn-toggle-pw:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

.btn-toggle-pw:active {
    transform: translateY(-50%) scale(0.92);
}

/* Tablet Optimizations (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .profile-grid-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .profile-card {
        padding: 26px;
    }
    .dash-inner-container {
        padding: 0 20px;
    }
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .desktop-only {
        display: none !important;
    }
    .mobile-menu-btn {
        display: inline-flex !important;
    }
    .desktop-collapse-btn {
        display: none !important;
    }
    .dash-sidebar {
        transform: translateX(-100%);
        width: 270px !important;
    }
    .dash-layout.sidebar-open .dash-sidebar {
        transform: translateX(0);
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    }
    .dash-main-container {
        margin-left: 0 !important;
        width: 100% !important;
    }
    .sidebar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.6);
        backdrop-filter: blur(4px);
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        transition: all 0.25s ease;
    }
    .dash-layout.sidebar-open .sidebar-backdrop {
        opacity: 1;
        visibility: visible;
    }
    .dash-topbar {
        padding: 0 16px;
    }
    .dash-inner-container {
        padding: 0 16px;
    }
}

@media (max-width: 992px) {
    .main-nav {
        display: none !important;
    }
    .mobile-menu-toggle {
        display: inline-flex !important;
    }
    .auth-nav .btn-header-login,
    .auth-nav .btn-header-signup {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .profile-dropdown-menu {
        width: 280px;
        right: 0;
    }
    .profile-grid-layout {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    .profile-card {
        padding: 20px 16px;
        border-radius: var(--radius-md);
    }
    .form-row-grid {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }
    .kyc-badge-grid {
        grid-template-columns: 1fr !important;
    }
    .profile-card-header {
        gap: 10px;
        margin-bottom: 18px;
        padding-bottom: 12px;
    }
    .profile-card-icon {
        width: 38px;
        height: 38px;
    }
    .form-group {
        margin-bottom: 16px;
    }
    .form-control {
        font-size: 0.95rem;
        padding: 10px 14px;
    }
}

@media (max-width: 480px) {
    .public-header .container {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .brand-name {
        font-size: 1.15rem;
    }
    .brand-tag {
        font-size: 0.6rem;
    }
    .brand-logo-img {
        width: 32px;
        height: 32px;
    }
    .btn-header-dash span {
        display: none;
    }
    .btn-header-dash {
        padding: 8px 12px;
    }
    .profile-dropdown-menu {
        width: calc(100vw - 32px);
        right: -8px;
    }
    .topbar-breadcrumb .breadcrumb-root,
    .topbar-breadcrumb .breadcrumb-separator {
        display: none;
    }
    .dash-footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .dash-footer-links {
        justify-content: center;
    }
    .profile-card {
        padding: 18px 14px;
    }
    .dash-page-body {
        padding: 12px 0 24px;
    }
    .dash-inner-container {
        padding: 0 12px;
    }
}

/* =========================================
   GLASSMORPHISM HIDDEN GEM UTILITIES
========================================= */

/* Contact Page Responsive Grid */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Section Divider with gradient (Hidden Gem) */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(95, 37, 159, 0.15) 30%, rgba(0, 179, 134, 0.15) 50%, rgba(95, 37, 159, 0.15) 70%, transparent 100%);
    margin: 0;
    border: none;
}

/* Subtle Text Gradient Utility */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #7C3AED 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glass Badge Utility */
.glass-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(243, 232, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(95, 37, 159, 0.1);
    border-radius: 9999px;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--primary);
}

/* Frosted glass overlay for images */
.glass-overlay {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 32px rgba(95, 37, 159, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Dark glass overlay */
.glass-overlay-dark {
    background: rgba(18, 24, 38, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Mobile Performance: Reduce aurora/animation complexity */
@media (max-width: 768px) {
    .aurora-orb {
        display: none;
    }
    .reveal-up {
        animation: none !important;
        opacity: 1 !important;
    }
    .shimmer-text {
        animation: none !important;
        background: var(--primary) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
    }
}

/* Prefers reduced motion: Respect accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .aurora-orb {
        display: none;
    }
    .glow-pulse {
        animation: none !important;
        box-shadow: 0 0 6px #00D2A0 !important;
    }
}

/* ==========================================================================
   BUTTON LOADING SPINNERS & MICRO-INTERACTIONS
   ========================================================================== */
.btn.is-loading,
button.is-loading,
input[type="submit"].is-loading {
    position: relative !important;
    pointer-events: none !important;
    opacity: 0.85 !important;
    cursor: wait !important;
}

.btn-spinner {
    display: inline-block;
    width: 13px;
    height: 13px;
    border: 2px solid currentColor;
    border-right-color: transparent !important;
    border-radius: 50%;
    animation: btnSpinAnim 0.65s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
    flex-shrink: 0;
}

@keyframes btnSpinAnim {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   DOCUMENTATION CHAPTERS & TACTILE 3D SIDEBAR NAVIGATION
   ========================================================================== */
.docs-layout {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 32px;
    align-items: start;
}

@media (max-width: 992px) {
    .docs-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.docs-sidebar {
    position: sticky;
    top: 90px;
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 20px;
    padding: 18px 14px;
    box-shadow: 0 4px 0 #E2E8F0, 0 16px 32px rgba(15, 23, 42, 0.05), inset 0 1px 0 #FFFFFF;
    z-index: 100;
}

.docs-chapter-title {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #5F259F;
    padding: 6px 12px;
    background: #FAF5FF;
    border-radius: 8px;
    border: 1px solid #E9D5FF;
    box-shadow: 0 1.5px 0 #E9D5FF;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.docs-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.docs-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 12px;
    color: #475569;
    font-size: 0.88rem;
    font-weight: 650;
    text-decoration: none;
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    box-shadow: 0 2px 0 #CBD5E1, inset 0 1px 0 #FFFFFF;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    outline: none !important;
}

.docs-nav-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    color: #5F259F;
    box-shadow: 0 1.5px 0 #CBD5E1;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.docs-nav-icon svg {
    width: 15px;
    height: 15px;
}

.docs-nav-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.docs-nav-link:hover {
    color: #5F259F;
    background: #FAF5FF;
    border-color: #C084FC;
    transform: translateX(4px) translateY(-1.5px);
    box-shadow: 0 3.5px 0 #C084FC, 0 6px 14px rgba(95, 37, 159, 0.1);
}

.docs-nav-link:hover .docs-nav-icon {
    background: #5F259F;
    color: #FFFFFF;
    border-color: #5F259F;
    box-shadow: 0 2px 0 #39116B;
}

.docs-nav-link:active {
    transform: translateX(4px) translateY(1.5px) !important;
    box-shadow: 0 0.5px 0 #CBD5E1 !important;
}

.docs-nav-link.active {
    color: #FFFFFF !important;
    background: linear-gradient(135deg, #7A35C7 0%, #5F259F 100%) !important;
    border-color: #4C1D95 !important;
    font-weight: 750 !important;
    box-shadow: 0 3.5px 0 #310D5B, 0 8px 22px rgba(95, 37, 159, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
    transform: translateY(-1px);
}

.docs-nav-link.active .docs-nav-icon {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #FFFFFF !important;
    box-shadow: 0 1.5px 0 rgba(0, 0, 0, 0.2) !important;
}

/* Documentation Micro-Chips & Badges */
.doc-badge-required {
    background: #FEF2F2 !important;
    color: #DC2626 !important;
    border: 1px solid #FECACA !important;
    box-shadow: 0 1.5px 0 rgba(220, 38, 38, 0.25) !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    padding: 3px 10px !important;
    border-radius: 6px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    display: inline-block !important;
}

.doc-badge-optional {
    background: #F1F5F9 !important;
    color: #64748B !important;
    border: 1px solid #CBD5E1 !important;
    box-shadow: 0 1.5px 0 rgba(100, 116, 139, 0.2) !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    padding: 3px 10px !important;
    border-radius: 6px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    display: inline-block !important;
}

.doc-code-pill {
    background: #F4EFFB !important;
    border: 1px solid #DDD0F3 !important;
    color: #5B21B6 !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-weight: 800 !important;
    font-size: 0.85rem !important;
    padding: 3px 9px !important;
    border-radius: 7px !important;
    box-shadow: 0 1.5px 0 #DDD0F3 !important;
    display: inline-block !important;
}

.doc-info-widget {
    background: #FAF7FD;
    border: 1.5px solid #E5DCF2;
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 3px 0 #E5DCF2, 0 6px 16px rgba(95, 37, 159, 0.04), inset 0 1px 0 #FFFFFF;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.doc-info-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 4.5px 0 #D5C7E8, 0 8px 20px rgba(95, 37, 159, 0.08);
}

/* Code Snippet Tabs (Tactile 3D) */
.code-tabs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0F172A;
    border: 1px solid #334155;
    border-bottom: none;
    border-radius: 16px 16px 0 0;
    padding: 10px 16px;
    flex-wrap: wrap;
    gap: 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.lang-tab-btn {
    border-radius: 8px !important;
    font-size: 0.8rem !important;
    font-weight: 750 !important;
    padding: 6px 14px !important;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease !important;
    outline: none !important;
}

.lang-tab-btn.btn-light {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #CBD5E1 !important;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.lang-tab-btn.btn-light:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    color: #FFFFFF !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.5) !important;
}

.lang-tab-btn.btn-primary {
    background: linear-gradient(135deg, #7A35C7, #5F259F) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #FFFFFF !important;
    box-shadow: 0 2.5px 0 #310D5B, inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
    transform: translateY(-1px);
}

.lang-tab-btn:active {
    transform: translateY(1.5px) !important;
    box-shadow: 0 0.5px 0 rgba(0, 0, 0, 0.3) !important;
}

/* Guide Tab Buttons (Dashboard Merchants & Steps) */
.guide-tab-btn {
    border-radius: 10px !important;
    font-size: 0.82rem !important;
    font-weight: 750 !important;
    padding: 8px 16px !important;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease !important;
    outline: none !important;
}

.guide-tab-btn.btn-light {
    background: #FFFFFF !important;
    border: 1.5px solid #CBD5E1 !important;
    color: #475569 !important;
    box-shadow: 0 2.5px 0 #CBD5E1, inset 0 1px 0 #FFFFFF !important;
}

.guide-tab-btn.btn-light:hover {
    background: #FAF7FD !important;
    color: var(--primary) !important;
    border-color: #94A3B8 !important;
    transform: translateY(-1.5px) !important;
    box-shadow: 0 4px 0 #94A3B8 !important;
}

.guide-tab-btn.btn-primary {
    background: linear-gradient(135deg, #7A35C7, #5F259F) !important;
    border: 1.5px solid #4C1D95 !important;
    color: #FFFFFF !important;
    box-shadow: 0 3px 0 #310D5B, inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
    transform: translateY(-1px) !important;
}

.guide-tab-btn:active {
    transform: translateY(1.5px) !important;
    box-shadow: 0 0.5px 0 #CBD5E1 !important;
}

/* Step-by-Step Guide Items (Tactile 3D) */
.payment-step-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-main);
    background: #FFFFFF;
    border: 1px solid #E5DCF2;
    box-shadow: 0 2px 0 #E5DCF2;
    border-radius: 12px;
    padding: 10px 14px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.payment-step-item:hover {
    transform: translateX(3px);
    box-shadow: 0 3px 0 #D5C7E8;
    border-color: #D5C7E8;
}

.payment-step-num {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7A35C7, #5F259F);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 0 #310D5B, inset 0 1px 0 rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
    margin-top: 1px;
}

