/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
    text-decoration: none;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 17px;
}

.btn-xl {
    padding: 20px 52px;
    font-size: 18px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 50px rgba(124, 58, 237, 0.5);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-luxury {
    background: linear-gradient(135deg, #0f172a, #020617);
    color: #fff;
    position: relative;
    z-index: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-luxury::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(90deg, #6366f1, #d946ef, #3b82f6);
    background-size: 200% 100%;
    animation: border-beam 4s linear infinite;
    z-index: -1;
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

@keyframes border-beam {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    box-shadow: var(--shadow-accent);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 101, 132, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #00d9a5, #00b4d8);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.btn-success:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 8px 20px rgba(0, 217, 165, 0.3);
}

.btn-warning {
    background: linear-gradient(135deg, #ffb547, #ff9f43);
    color: #000;
    font-weight: 700;
}

.btn-warning:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 8px 20px rgba(255, 181, 71, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border);
    /* backdrop-filter disabled for performance */
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary-light);
    background: rgba(108, 99, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-light);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-danger {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.btn-danger:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 71, 87, 0.3);
}

.btn-glass {
    background: var(--bg-glass);
    /* backdrop-filter disabled for performance */
    border-color: var(--border);
    color: var(--text-primary);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ===== CARDS ===== */
.card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 32px;
    /* backdrop-filter disabled for performance */
    
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 70%);
    pointer-events: none;
}

.card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7);
}

.card-luxury, .job-card-luxury, .match-card-luxury {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
    /* backdrop-filter disabled for performance */
    
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.8),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.job-card-luxury:hover, .match-card-luxury:hover {
    transform: translateY(-10px) scale(1.02);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.9);
    animation: slow-float-drift 8s ease-in-out infinite;
}



.card-sm {
    padding: 20px;
    border-radius: var(--radius);
}

.card-lg {
    padding: 40px;
    border-radius: var(--radius-xl);
}

.card-premium {
    background: linear-gradient(145deg, rgba(25, 31, 53, 0.9), rgba(45, 55, 85, 0.95));
    border: 1px solid rgba(255, 215, 0, 0.3);
    position: relative;
}

.card-premium::after {
    content: '';
    position: absolute;
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    z-index: -1;
    pointer-events: none;
}

.card-premium:hover {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.5);
}

/* ===== SERVICE CARD ===== */
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.05), transparent);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-primary);
}

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

.service-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.service-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ===== VENDOR CARD ===== */
.vendor-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.vendor-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-primary);
}

.vendor-card-header {
    height: 120px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    position: relative;
}

.vendor-card-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid var(--bg-dark);
    position: absolute;
    bottom: -36px;
    left: 24px;
    background: var(--bg-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    overflow: hidden;
}

.vendor-card-body {
    padding: 48px 24px 24px;
}

.vendor-card-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.vendor-card-company {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.vendor-card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--warning);
    margin-bottom: 16px;
}

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

/* ===== TAGS / BADGES ===== */
.tag {
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
    background: rgba(108, 99, 255, 0.15);
    color: var(--primary-light);
    border: 1px solid rgba(108, 99, 255, 0.2);
}

.tag-success {
    background: rgba(0, 217, 165, 0.15);
    color: var(--success);
    border-color: rgba(0, 217, 165, 0.2);
}

.tag-warning {
    background: rgba(255, 181, 71, 0.15);
    color: var(--warning);
    border-color: rgba(255, 181, 71, 0.2);
}

.tag-danger {
    background: rgba(255, 71, 87, 0.15);
    color: var(--danger);
    border-color: rgba(255, 71, 87, 0.2);
}

.tag-accent {
    background: rgba(255, 101, 132, 0.15);
    color: var(--accent);
    border-color: rgba(255, 101, 132, 0.2);
}

.tag-info {
    background: rgba(84, 160, 255, 0.15);
    color: var(--info);
    border-color: rgba(84, 160, 255, 0.2);
}

.tag-premium {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
    font-weight: 800;
    letter-spacing: 0.5px;
}

.tag-new {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: glow-pulse 3s infinite;
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 5px rgba(59, 130, 246, 0.3); }
    50% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.6); }
}

.tag-location {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tag-budget {
    background: rgba(0, 217, 165, 0.1);
    color: var(--success);
    border: 1px solid rgba(0, 217, 165, 0.15);
}

.tag-sm {
    padding: 2px 8px;
    font-size: 10px;
}

.job-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.badge-premium-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* ===== BADGE (status indicator) ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
}

/* PREMIUM URGENT BADGE (Animated) */
.badge-urgent-luxury {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: linear-gradient(135deg, #FF4757 0%, #FF6B81 50%, #FF4757 100%);
    background-size: 200% auto;
    color: #fff;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
    position: relative;
    overflow: hidden;
    animation: 
        luxury-urgent-shimmer 2s linear infinite,
        luxury-urgent-pulse 1.5s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: default;
    white-space: nowrap;
}

.badge-urgent-luxury i, .badge-urgent-luxury span {
    animation: luxury-urgent-float 3s ease-in-out infinite;
}

@keyframes luxury-urgent-shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes luxury-urgent-pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4), 0 0 0 0px rgba(255, 71, 87, 0.4); }
    50% { box-shadow: 0 8px 25px rgba(255, 71, 87, 0.6), 0 0 0 10px rgba(255, 71, 87, 0); }
}

@keyframes luxury-urgent-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

.shimmer-urgent {
    background: linear-gradient(90deg, #FF4757, #FF6B81, #FF4757);
    background-size: 200% auto;
    animation: luxury-urgent-shimmer 2s linear infinite;
    color: white !important;
}

.shim-urgent {
    position: relative;
    overflow: hidden;
}

.shim-urgent::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: scan 1.5s infinite linear;
}

.badge::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.badge-active {
    background: rgba(0, 217, 165, 0.15);
    color: var(--success);
}

.badge-active::before {
    background: var(--success);
    box-shadow: 0 0 6px var(--success);
    animation: pulse-dot 2s infinite;
}

.badge-pending {
    background: rgba(255, 181, 71, 0.15);
    color: var(--warning);
}

.badge-pending::before {
    background: var(--warning);
}

.badge-closed {
    background: rgba(255, 71, 87, 0.15);
    color: var(--danger);
}

.badge-closed::before {
    background: var(--danger);
}

.badge-verified {
    background: rgba(84, 160, 255, 0.15);
    color: var(--info);
}

.badge-verified::before {
    background: var(--info);
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 16px;
    transition: var(--transition);
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-control:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control-icon {
    position: relative;
}

.form-control-icon .form-control {
    padding-left: 46px;
}

.form-control-icon .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 16px;
    pointer-events: none;
}

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

select.form-control {
    cursor: pointer;
}

select.form-control option {
    background: #1a1f35;
    color: var(--text-primary);
}

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

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    /* backdrop-filter disabled for performance */
    z-index: 9999;
    display: grid;
    place-items: center; /* Perfect centering */
    padding: 40px 20px;
    overflow-y: auto; /* Enable scroll if content is taller than screen */
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: #131829;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    max-width: 540px;
    width: 100%;
    margin: auto; /* Critical for flex scrolling */
    transform: translateY(20px) scale(0.97);
    transition: var(--transition);
    position: relative;
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: rgba(255, 71, 87, 0.2);
    color: var(--danger);
}

.modal h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.modal p.subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 28px;
}

/* ===== STEPS WIZARD ===== */
.steps-progress {
    display: flex;
    align-items: center;
    margin-bottom: 48px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.step-item.active:not(:last-child)::after,
.step-item.completed:not(:last-child)::after {
    background: linear-gradient(90deg, var(--primary), var(--border));
}

.step-item.completed:not(:last-child)::after {
    background: var(--primary);
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    z-index: 1;
    transition: var(--transition);
}

.step-item.active .step-num {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.5);
}

.step-item.completed .step-num {
    background: var(--success);
    border-color: var(--success);
}

.step-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 8px;
    text-align: center;
    font-weight: 500;
}

.step-item.active .step-label {
    color: var(--primary-light);
}

.step-item.completed .step-label {
    color: var(--success);
}

.step-panel {
    display: none;
}

.step-panel.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

/* ===== STATS CARD ===== */
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}



.card-luxury {
    background: rgba(255, 255, 255, 0.03);
    /* backdrop-filter disabled for performance */
    
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-luxury {
    background: rgba(2, 2, 7, 0.7);
    /* backdrop-filter disabled for performance */
    
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.4) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-info .value {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-info .label {
    font-size: 13px;
    color: var(--text-secondary);
}

.stat-info .change {
    font-size: 12px;
    margin-top: 4px;
    font-weight: 600;
}

.change-up {
    color: var(--success);
}

.change-down {
    color: var(--danger);
}

/* ===== DATA TABLE ===== */
.data-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    padding: 14px 20px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
}

.data-table td {
    padding: 16px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    vertical-align: middle;
}

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

.data-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
}

/* ===== AVATAR ===== */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    overflow: hidden;
}

.avatar-sm {
    width: 32px;
    height: 32px;
    font-size: 13px;
}

.avatar-lg {
    width: 56px;
    height: 56px;
    font-size: 22px;
}

.avatar-xl {
    width: 80px;
    height: 80px;
    font-size: 32px;
}

/* ===== SEARCH ===== */
.search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 12px 20px;
    transition: var(--transition);
}

.search-bar:focus-within {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.search-bar input {
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 16px;
    flex: 1;
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

.search-icon {
    color: var(--text-muted);
    font-size: 18px;
}

/* ===== ALERT / TOAST ===== */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    border: 1px solid;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.alert-success {
    background: rgba(0, 217, 165, 0.1);
    border-color: rgba(0, 217, 165, 0.2);
    color: var(--success);
}

.alert-warning {
    background: rgba(255, 181, 71, 0.1);
    border-color: rgba(255, 181, 71, 0.2);
    color: var(--warning);
}

.alert-danger {
    background: rgba(255, 71, 87, 0.1);
    border-color: rgba(255, 71, 87, 0.2);
    color: var(--danger);
}

.alert-info {
    background: rgba(84, 160, 255, 0.1);
    border-color: rgba(84, 160, 255, 0.2);
    color: var(--info);
}

/* ===== YES/NO OPTION BUTTONS ===== */
.option-btn-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0;
}

.option-btn {
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border);
    background: var(--bg-card);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.option-btn-icon {
    font-size: 36px;
}

.option-btn-label {
    font-size: 16px;
    font-weight: 700;
}

.option-btn-desc {
    font-size: 12px;
    color: var(--text-muted);
}

.option-btn.yes:hover,
.option-btn.yes.selected {
    border-color: var(--success);
    background: rgba(0, 217, 165, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 217, 165, 0.2);
}

.option-btn.yes .option-btn-label {
    color: var(--success);
}

.option-btn.no:hover,
.option-btn.no.selected {
    border-color: var(--danger);
    background: rgba(255, 71, 87, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 71, 87, 0.2);
}

.option-btn.no .option-btn-label {
    color: var(--danger);
}

/* ===== TOOLTIP ===== */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #1a1f35;
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 12px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: var(--transition-fast);
}

[data-tooltip]:hover::after {
    opacity: 1;
}

/* ===== DIVIDER ===== */
.divider {
    border: none;
    height: 1px;
    background: var(--border);
    margin: 24px 0;
}

.divider-text {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-muted);
    font-size: 13px;
    margin: 24px 0;
}

.divider-text::before,
.divider-text::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ===== PAYMENT QR ===== */
.qr-container {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    display: inline-block;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.qr-container img {
    width: 200px;
    height: 200px;
}

.upi-apps {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 24px;
}

.upi-app-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.upi-app-btn:hover {
    border-color: var(--primary);
    background: rgba(108, 99, 255, 0.1);
    transform: translateY(-2px);
}

/* ===== LOADING SHIMMER ===== */
.shimmer {
    background: linear-gradient(90deg, var(--bg-card) 25%, rgba(255, 255, 255, 0.06) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius);
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ===== STAR RATING ===== */
.stars {
    color: var(--warning);
    letter-spacing: 2px;
}

.stars .empty {
    color: var(--border);
}

/* ===== PRICE DISPLAY ===== */
.price {
    font-size: 24px;
    font-weight: 800;
    color: var(--success);
}

.price-sm {
    font-size: 18px;
}

.price sup {
    font-size: 14px;
    font-weight: 600;
}

/* ===== FEATURE LIST ===== */
.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.feature-list li::before {
    content: '✓';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 217, 165, 0.15);
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}
/* ===== MOBILE BOTTOM NAV ===== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 22, 0.95);
    /* backdrop-filter disabled for performance */
    
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
}
.mobile-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 65px;
}
.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    gap: 6px;
    flex: 1;
    height: 100%;
    transition: var(--transition);
}
.mobile-nav-item.active {
    color: var(--primary);
}
.mobile-nav-item i {
    font-size: 22px;
    font-style: normal;
    transition: transform 0.3s ease;
}
.mobile-nav-item:active i {
    transform: scale(0.9);
}
@media (max-width: 768px) {
    .mobile-bottom-nav { display: block; }
    body { padding-bottom: 80px !important; }
}


/* ===== SPLASH PRELOADER ===== */
.hm-preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s;
}
.hm-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}
.hm-preloader .preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    animation: popIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.hm-preloader .nav-logo-icon {
    width: 80px;
    height: 80px;
    font-size: 40px;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}
.hm-preloader h2 {
    font-size: 28px;
    margin: 0;
}
@keyframes popIn {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}


/* ===== HERO STATS ===== */
.hero-stats-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
    animation: fadeIn 1s ease forwards;
}
.hero-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    /* backdrop-filter disabled for performance */
    
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.hero-stat-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.hero-stat-card .stat-icon {
    font-size: 36px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}
.hero-stat-card .stat-info h3 {
    font-size: 28px;
    font-weight: 900;
    margin: 0 0 5px 0;
    color: #fff;
    background: linear-gradient(135deg, #fff, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-stat-card .stat-info p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
@media (max-width: 768px) {
    .hero-stats-wrapper {
        grid-template-columns: 1fr;
    }
}


/* ===== VENDOR ONBOARDING ===== */
.vendor-onboarding-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.vo-left {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
}

.vo-character {
    position: absolute;
    left: -40px;
    bottom: 40px;
    width: 250px;
    z-index: 10;
    animation: float 6s ease-in-out infinite;
}

.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    background: #111;
    border-radius: 40px;
    border: 12px solid #222;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6), inset 0 0 10px rgba(255,255,255,0.1);
    overflow: hidden;
    z-index: 5;
    transform: rotate(5deg);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.phone-mockup:hover {
    transform: rotate(0deg);
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #222;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    position: relative;
    background: var(--bg-card);
}

.phone-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-content-overlay {
    position: absolute;
    top: 50px;
    left: 20px;
    right: 20px;
    background: rgba(0,0,0,0.8);
    /* backdrop-filter disabled for performance */
    
    padding: 20px;
    border-radius: 15px;
    border: 1px solid var(--accent);
    text-align: center;
    animation: pulse 2s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 rgba(245,158,11,0); }
    100% { transform: scale(1.02); box-shadow: 0 0 20px rgba(245,158,11,0.2); }
}

.phone-content-overlay h3 {
    color: var(--accent);
    font-size: 16px;
    margin: 0;
    font-weight: 800;
}

.vo-right {
    padding: 20px 0;
}

.vo-steps {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.vo-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s;
}

.vo-step:hover {
    background: rgba(255,255,255,0.05);
    transform: translateX(10px);
    border-color: rgba(245,158,11,0.2);
}

.vo-step-num {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: var(--accent);
    color: #000;
    font-size: 20px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(245,158,11,0.3);
}

.vo-step-content h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: #fff;
}

.vo-step-content p {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.vo-actions {
    margin-top: 40px;
    display: flex;
    gap: 20px;
}

@media (max-width: 992px) {
    .vendor-onboarding-grid {
        grid-template-columns: 1fr;
    }
    
    .vo-left {
        height: 500px;
        margin-bottom: 40px;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
        transform: rotate(0);
    }
    
    .vo-character {
        width: 150px;
        left: 0;
        bottom: 0;
    }
    
    .vo-actions {
        flex-direction: column;
    }
}
\n
/* ===== FIX MOBILE RESPONSIVENESS ===== */
@media (max-width: 1024px) {
    /* Hero Section Fixes */
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    .hero-title {
        font-size: 32px;
        line-height: 1.2;
    }
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }
    .hero-search-wrapper {
        padding: 12px;
        margin: 0 auto 30px;
        border-radius: var(--radius-lg);
    }
    .search-row {
        flex-direction: column;
        padding: 10px;
        gap: 10px;
    }
    .search-row input {
        width: 100%;
        padding: 8px 0;
        text-align: center;
        font-size: 14px;
    }
    .search-row button {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }
    .location-selectors {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .location-selectors select, .location-selectors input {
        width: 100%;
        margin-bottom: 0;
        height: 42px !important;
        font-size: 14px;
    }
    .hero-stats {
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }
    .hero-stat {
        width: 100%;
        background: rgba(255,255,255,0.03);
        padding: 15px;
        border-radius: var(--radius);
        border: 1px solid rgba(255,255,255,0.05);
    }
    .hero-stat .num {
        font-size: 24px;
    }
    
    /* Marketplace Search Bar Fixes */
    .filter-group {
        width: 100%;
        margin-bottom: 15px;
    }
    .search-filters {
        flex-direction: column;
    }
    
    /* Vendor Onboarding Fixes */
    .vendor-onboarding-grid {
        gap: 30px;
    }
    .vo-left {
        height: 400px;
    }
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
    .vo-character {
        width: 120px;
        left: -10px;
    }
}
\n
/* ===== AWESOME MOBILE TOP MENU ===== */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-height, 72px);
        left: 0;
        right: 0;
        background: rgba(10, 14, 26, 0.98);
        /* backdrop-filter disabled for performance */
        
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 20px 40px rgba(0,0,0,0.5);
        z-index: 999;
        animation: slideDownNav 0.3s forwards;
    }
    
    .nav-links.mobile-active {
        display: flex !important;
    }
    
    @keyframes slideDownNav {
        from { opacity: 0; transform: translateY(-20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .nav-links a {
        font-size: 18px;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ===== FIX BOTTOM NAV ACCOUNT OVERFLOW ===== */
.mobile-nav-items {
    padding: 0 5px;
}
.mobile-nav-item {
    font-size: 10px !important;
    gap: 4px !important;
    min-width: 0;
    overflow: hidden;
}
.mobile-nav-item i {
    font-size: 20px !important;
}

/* ===== UNIVERSAL MOBILE SIDEBAR MENU ===== */
.nav-sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 280px;
    height: 100vh;
    background: var(--bg-card, #0f172a);
    box-shadow: -5px 0 25px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    padding: 80px 24px 24px;
    z-index: 99999;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--border, rgba(255,255,255,0.1));
}
.nav-sidebar.open {
    right: 0;
}
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    /* backdrop-filter disabled for performance */
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.mobile-overlay.open {
    opacity: 1;
    visibility: visible;
}
.close-menu-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-primary, #fff);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    transition: all 0.2s ease;
}
.close-menu-btn:active {
    transform: scale(0.9);
    background: rgba(255,255,255,0.1);
}
.sidebar-links a {
    color: var(--text-primary, #fff);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 0;
    display: block;
    transition: color 0.2s;
}
.sidebar-links a.active, .sidebar-links a:hover {
    color: var(--primary, #3b82f6);
}
.sidebar-actions .btn {
    width: 100%;
}
.nav-sidebar .nav-toggle {
    display: none !important;
}

