/* ==========================================================================
   Persian RTL Loan Marketplace - Ultra-Modern Luxury Fintech UI Design System
   طراحی اختصاصی و بازطراحی فوق‌العاده مدرن مطابق تصویر مرجع فین‌تک دارک نئون-بنفش
   ========================================================================== */

@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

:root {
    /* Main Background & Surface Colors */
    --bg-main: #090B14;
    --bg-darker: #06070D;
    --bg-card: rgba(18, 22, 38, 0.75);
    --bg-card-hover: rgba(28, 34, 58, 0.85);
    --bg-card-solid: #111528;
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-heavy: rgba(14, 18, 33, 0.92);

    /* Neon Gradients & Brand Palette */
    --neon-purple: #8B5CF6;
    --neon-violet: #A855F7;
    --neon-fuchsia: #D946EF;
    --neon-indigo: #6366F1;
    --neon-cyan: #06B6D4;
    --neon-blue: #3B82F6;
    --neon-pink: #EC4899;
    --neon-orange: #F59E0B;
    --neon-emerald: #10B981;

    /* Gradient Definitions */
    --grad-primary: linear-gradient(135deg, #8B5CF6 0%, #6366F1 50%, #4F46E5 100%);
    --grad-accent: linear-gradient(135deg, #A855F7 0%, #EC4899 100%);
    --grad-cyan: linear-gradient(135deg, #06B6D4 0%, #3B82F6 100%);
    --grad-orange: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    --grad-hero: linear-gradient(180deg, #0d1021 0%, #090B14 100%);
    --grad-glow-purple: radial-gradient(circle at 50% 30%, rgba(139, 92, 246, 0.18) 0%, rgba(99, 102, 241, 0.05) 50%, transparent 80%);

    /* Glow Effects */
    --glow-purple: 0 0 25px rgba(139, 92, 246, 0.45);
    --glow-cyan: 0 0 25px rgba(6, 182, 212, 0.45);
    --glow-pink: 0 0 25px rgba(236, 72, 153, 0.45);
    --glow-subtle: 0 10px 30px -10px rgba(139, 92, 246, 0.3);

    /* Borders & Outlines */
    --border-glass: 1px solid rgba(255, 255, 255, 0.08);
    --border-glow: 1px solid rgba(139, 92, 246, 0.35);
    --border-glow-hover: 1px solid rgba(168, 85, 247, 0.65);

    /* Typography Colors */
    --text-primary: #F8FAFC;
    --text-secondary: #CBD5E1;
    --text-muted: #94A3B8;
    --text-dim: #64748B;

    /* Radii */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 9999px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    direction: rtl;
    text-align: right;
    line-height: 1.75;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background-image: 
        radial-gradient(at 15% 10%, rgba(139, 92, 246, 0.12) 0px, transparent 50%),
        radial-gradient(at 85% 20%, rgba(6, 182, 212, 0.10) 0px, transparent 50%),
        radial-gradient(at 50% 80%, rgba(236, 72, 153, 0.08) 0px, transparent 50%);
    background-attachment: fixed;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: #2D3748;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-purple);
}

a {
    color: var(--neon-cyan);
    text-decoration: none;
    transition: all 0.25s ease;
}
a:hover {
    color: #38BDF8;
}

/* ==========================================================================
   1. Global Header & Floating Navbar (Matching Reference Image)
   ========================================================================== */
.navbar-floating-container {
    padding: 24px 0 0;
    position: relative;
    z-index: 1050;
}

.navbar-floating-container .container {
    max-width: 1420px;
}

.navbar-frosted-pill {
    background: rgba(14, 18, 33, 0.94);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(139, 92, 246, 0.35);
    border-radius: 60px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 30px rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    flex-wrap: nowrap;
    gap: 12px;
    min-height: 72px;
}

.brand-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff !important;
    font-weight: 900;
    font-size: 1.45rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.brand-icon-spiral {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--grad-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.35rem;
    box-shadow: var(--glow-purple);
    flex-shrink: 0;
}

.nav-links-frosted {
    display: flex;
    align-items: center;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.nav-links-frosted a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.96rem;
    font-weight: 700;
    transition: all 0.25s ease;
    padding: 9px 14px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.nav-links-frosted a:hover,
.nav-links-frosted a.active {
    color: #ffffff;
    background: rgba(139, 92, 246, 0.28);
    box-shadow: 0 0 18px rgba(139, 92, 246, 0.35);
}

.navbar-actions-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 1399px) and (min-width: 992px) {
    .navbar-frosted-pill {
        padding: 10px 18px;
        min-height: 66px;
    }
    .brand-logo-wrap {
        font-size: 1.3rem;
    }
    .brand-icon-spiral {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .nav-links-frosted {
        gap: 2px;
    }
    .nav-links-frosted a {
        padding: 7px 10px;
        font-size: 0.88rem;
    }
    .btn-neon-purple {
        padding: 8px 16px !important;
        font-size: 0.88rem !important;
    }
    .btn-neon-outline {
        padding: 7px 14px !important;
        font-size: 0.88rem !important;
    }
}

/* Header Buttons */
.btn-neon-purple {
    background: var(--grad-primary);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--glow-purple);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.btn-neon-purple:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.7);
    color: #ffffff;
}

.btn-neon-outline {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary) !important;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-neon-outline:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: var(--neon-purple);
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

/* ==========================================================================
   2. Cosmic Hero Section
   ========================================================================== */
.hero-cosmic-bg {
    position: relative;
    padding: 70px 0 50px;
    overflow: hidden;
}

.hero-title-main {
    font-size: 3.2rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.35;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 30%, #C084FC 80%, #60A5FA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle-lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.85;
    margin-bottom: 35px;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.4);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    color: #C084FC;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Hero Showcase Card & Platform */
/* Hero Showcase Card & Platform */
.hero-platform-card {
    background: linear-gradient(145deg, rgba(24, 29, 52, 0.85) 0%, rgba(13, 16, 31, 0.98) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.35);
    border-radius: var(--radius-lg);
    padding: 26px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 35px rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.hero-platform-card:hover {
    border-color: rgba(168, 85, 247, 0.6);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.8), 0 0 45px rgba(139, 92, 246, 0.35);
}

/* Hero VIP Slider Styles */
.hero-slider-wrap {
    position: relative;
    overflow: hidden;
}

.hero-slide-item {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
    transform: translateX(12px);
}

.hero-slide-item.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.hero-slider-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.badge-vip-hero {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #fef08a 0%, #f59e0b 100%);
    color: #78350f;
    font-weight: 800;
    font-size: 0.82rem;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.4);
}

.hero-slider-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.25s ease;
}

.hero-nav-btn:hover {
    background: var(--neon-purple);
    border-color: var(--neon-purple);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.4);
}

.hero-slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 15px;
}

.hero-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-slider-dot.active {
    width: 24px;
    background: var(--neon-purple);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.hero-slide-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    margin-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-slide-footer-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hero-glow-circle {
    position: absolute;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.35) 0%, transparent 70%);
    top: -50px;
    left: -50px;
    z-index: 0;
    pointer-events: none;
}

/* ==========================================================================
   3. Floating Search & Filter Bar
   ========================================================================== */
.floating-search-box {
    background: rgba(18, 23, 42, 0.85);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-pill);
    padding: 12px 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(139, 92, 246, 0.15);
    margin-top: -30px;
    position: relative;
    z-index: 100;
}

@media (max-width: 991px) {
    .floating-search-box {
        border-radius: var(--radius-lg);
        margin-top: 20px;
    }
}

.search-field-control {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: var(--radius-pill);
    padding: 12px 18px;
    transition: all 0.25s ease;
    width: 100%;
}

.search-field-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--neon-purple);
    color: #ffffff;
    outline: none;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.search-field-control option {
    background: #0f172a;
    color: #ffffff;
}

/* ==========================================================================
   4. Category Badges & Navigation Grid (100% Mobile Responsive)
   ========================================================================== */
.cat-pill-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 10px;
    border-radius: var(--radius-pill);
    background: rgba(18, 23, 42, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    white-space: nowrap;
    width: 100%;
    transition: all 0.3s ease;
}

.cat-pill-card i {
    font-size: 1.15rem;
}

.cat-pill-card:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: var(--neon-purple);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.2);
}

.cat-pill-card.active {
    background: var(--grad-primary);
    border-color: transparent;
    color: #ffffff;
    box-shadow: var(--glow-purple);
}

.cat-pill-card.cat-personal i { color: var(--neon-purple); }
.cat-pill-card.cat-business i { color: var(--neon-orange); }
.cat-pill-card.cat-marriage i { color: var(--neon-pink); }
.cat-pill-card.cat-housing i { color: var(--neon-cyan); }
.cat-pill-card.cat-car i { color: var(--neon-blue); }

@media (max-width: 768px) {
    .cat-pill-card {
        padding: 10px 6px;
        font-size: 0.82rem;
        gap: 6px;
    }
    .cat-pill-card i {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .cat-pill-card {
        padding: 9px 4px;
        font-size: 0.76rem;
        gap: 5px;
    }
    .cat-pill-card i {
        font-size: 0.92rem;
    }
}

.cat-pill-btn:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: var(--neon-purple);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.2);
}

.cat-pill-btn.active {
    background: var(--grad-primary);
    border-color: transparent;
    color: #ffffff;
    box-shadow: var(--glow-purple);
}

.cat-pill-btn.cat-personal i { color: var(--neon-purple); }
.cat-pill-btn.cat-business i { color: var(--neon-orange); }
.cat-pill-btn.cat-marriage i { color: var(--neon-pink); }
.cat-pill-btn.cat-housing i { color: var(--neon-cyan); }
.cat-pill-btn.cat-car i { color: var(--neon-blue); }

.cat-count-badge {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    font-weight: 700;
}

/* ==========================================================================
   5. Dynamic Loan Cards (Fintech Glass Style)
   ========================================================================== */
.loan-card-fintech {
    background: linear-gradient(160deg, rgba(20, 25, 46, 0.75) 0%, rgba(11, 14, 27, 0.9) 100%);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(139, 92, 246, 0.18);
    border-radius: var(--radius-lg);
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.loan-card-fintech::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: var(--grad-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.loan-card-fintech:hover {
    transform: translateY(-6px);
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 25px rgba(139, 92, 246, 0.25);
}

.loan-card-fintech:hover::before {
    opacity: 1;
}

.loan-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: nowrap;
}

.btn-card-fav {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.btn-card-fav:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
    transform: scale(1.1);
}

.btn-card-fav.active, .btn-card-fav .bi-heart-fill {
    color: #ef4444 !important;
}

.home-loan-card-col {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.home-loan-card-col.card-hidden {
    display: none !important;
}

.home-loan-card-col.card-animating {
    opacity: 0;
    transform: scale(0.95);
}

.bank-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    color: #f1f5f9;
    white-space: nowrap;
    overflow: hidden;
    max-width: 58%;
    flex-shrink: 1;
}

.bank-tag-pill span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bank-tag-pill i {
    flex-shrink: 0;
    font-size: 0.95rem;
}

.card-top-badges {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    white-space: nowrap;
}

.badge-vip-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #000000;
    font-weight: 800;
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.35);
    white-space: nowrap;
}

.loan-card-title {
    font-size: 1.18rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.5;
}

.loan-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-bottom: 18px;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.metric-val {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.metric-val.val-cyan {
    color: var(--neon-cyan);
}
.metric-val.val-purple {
    color: #C084FC;
}

.loan-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.loan-price-wrap {
    display: flex;
    flex-direction: column;
}

.loan-price-label {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.loan-price-amount {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
}

.btn-card-details {
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 50%, #3b82f6 100%);
    border: 1px solid rgba(216, 180, 254, 0.35);
    color: #ffffff !important;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 18px rgba(124, 58, 237, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-card-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-card-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.6), 0 0 20px rgba(59, 130, 246, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff !important;
}

.btn-card-details:hover::before {
    left: 100%;
}

.btn-card-details i {
    transition: transform 0.25s ease;
    font-size: 0.95rem;
}

.btn-card-details:hover i {
    transform: translateX(-4px);
}

/* ==========================================================================
   6. Process Section ("چطور وام بگیریم؟")
   ========================================================================== */
.section-title-wrap {
    text-align: center;
    margin-bottom: 26px;
}

.section-title {
    font-size: 2.1rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffffff 40%, #C084FC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto;
}

.process-card {
    background: linear-gradient(160deg, rgba(20, 25, 46, 0.7) 0%, rgba(11, 14, 27, 0.85) 100%);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(139, 92, 246, 0.18);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    height: 100%;
    transition: all 0.3s ease;
}

.process-card:hover {
    transform: translateY(-6px);
    border-color: rgba(168, 85, 247, 0.45);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(139, 92, 246, 0.2);
}

.process-step-num {
    position: absolute;
    top: -15px;
    right: 50%;
    transform: translateX(50%);
    width: 32px;
    height: 32px;
    background: var(--grad-primary);
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.88rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow-purple);
}

.process-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 22px;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #C084FC;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto 20px;
    transition: all 0.3s ease;
}

.process-card:hover .process-icon-wrap {
    background: var(--grad-primary);
    color: #ffffff;
    box-shadow: var(--glow-purple);
    transform: scale(1.08);
}

.process-title {
    font-size: 1.22rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.process-text {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   7. Security & Trust Section
   ========================================================================== */
.security-box-wrap {
    background: linear-gradient(135deg, rgba(22, 27, 50, 0.8) 0%, rgba(13, 16, 31, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: var(--radius-xl);
    padding: 45px 35px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(139, 92, 246, 0.15);
    margin: 60px 0;
}

.security-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 15px;
    border-radius: var(--radius-md);
    transition: all 0.25s ease;
}

.security-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.security-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.35);
    color: var(--neon-cyan);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.security-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}

.security-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* ==========================================================================
   8. Complete Luxury Footer
   ========================================================================== */
.footer-lux {
    background: #06070D;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    padding: 45px 0 25px;
    position: relative;
    margin-top: 25px;
}

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

.footer-brand-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 2px;
    background: var(--grad-primary);
    border-radius: var(--radius-pill);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.92rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

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

.footer-newsletter-box {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.footer-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: var(--radius-pill);
    padding: 10px 18px;
    font-size: 0.9rem;
    flex-grow: 1;
}

.footer-input:focus {
    outline: none;
    border-color: var(--neon-purple);
    background: rgba(255, 255, 255, 0.08);
}

.social-icons-wrap {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.25s ease;
}

.social-icon-btn:hover {
    background: var(--grad-primary);
    color: #ffffff;
    border-color: transparent;
    box-shadow: var(--glow-purple);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 25px;
    margin-top: 45px;
    color: var(--text-dim);
    font-size: 0.88rem;
}

/* ==========================================================================
   9. Forms, Modals & Components
   ========================================================================== */
.form-label-lux {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-control-lux {
    background: rgba(20, 25, 45, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: var(--radius-md);
    padding: 12px 18px;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.form-control-lux:focus {
    background: rgba(26, 32, 58, 0.9);
    border-color: var(--neon-purple);
    color: #ffffff;
    outline: none;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.form-select-lux {
    background-color: rgba(20, 25, 45, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: var(--radius-md);
    padding: 12px 18px;
    font-size: 0.95rem;
}
.form-select-lux option {
    background-color: #0f172a;
    color: #ffffff;
}

.badge-status {
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
}
.badge-status-approved {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34D399;
}
.badge-status-pending {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #FBBF24;
}
.badge-status-sold {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #F87171;
}

/* Empty State Design */
.empty-state-fintech {
    text-align: center;
    padding: 60px 20px;
    background: rgba(18, 23, 42, 0.5);
    border: 1px dashed rgba(139, 92, 246, 0.25);
    border-radius: var(--radius-lg);
    margin: 30px 0;
}
.empty-state-icon {
    font-size: 3.5rem;
    color: #64748B;
    margin-bottom: 16px;
}
.empty-state-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}
.empty-state-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* ==========================================================================
   10. Auth Box (Login & Register - Dark Neon Fintech Glass)
   ========================================================================== */
.auth-box-lux {
    max-width: 480px;
    margin: 40px auto;
    background: linear-gradient(150deg, rgba(22, 27, 50, 0.85) 0%, rgba(13, 16, 31, 0.98) 100%);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(139, 92, 246, 0.28);
    border-radius: var(--radius-xl);
    padding: 40px 35px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(139, 92, 246, 0.2);
    position: relative;
}

.auth-header-title {
    font-size: 1.55rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 6px;
}

.auth-header-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.auth-box-lux .form-control {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: var(--radius-md);
    padding: 12px 16px;
}

.auth-box-lux .form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--neon-purple);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.35);
}

.auth-box-lux .input-group-text {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

/* ==========================================================================
   Comprehensive Public Website Responsive System
   ========================================================================== */
@media (max-width: 991.98px) {
    .navbar-floating-container {
        padding: 12px 0 0;
    }

    .navbar-frosted-pill {
        padding: 8px 14px;
        border-radius: var(--radius-lg);
    }

    .hero-title-main {
        font-size: 1.85rem !important;
        line-height: 1.35;
    }

    .hero-subtitle-lead {
        font-size: 0.95rem !important;
    }

    .floating-search-box {
        padding: 16px !important;
        margin-top: -20px !important;
        border-radius: 18px !important;
    }

    .categories-bar-wrap {
        display: flex !important;
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .categories-bar-wrap::-webkit-scrollbar {
        display: none;
    }

    .cat-pill-btn {
        white-space: nowrap !important;
        font-size: 0.82rem !important;
        padding: 7px 14px !important;
    }

    .loan-card-fintech {
        padding: 18px;
    }

    .loan-metrics-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .metric-item {
        padding: 8px 10px;
    }

    .pricing-plan-card {
        margin-bottom: 20px;
    }

    .hero-platform-card {
        padding: 20px 18px;
    }

    .footer-lux {
        padding: 40px 0 20px;
        margin-top: 50px;
    }
}

@media (max-width: 576px) {
    .hero-title-main {
        font-size: 1.55rem !important;
    }

    .hero-platform-card {
        padding: 16px 14px;
        border-radius: var(--radius-lg);
    }

    .hero-slider-header {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .badge-vip-hero {
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    .hero-slide-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding-top: 12px;
    }

    .hero-slide-footer-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .hero-slide-footer-meta .bank-tag-pill {
        max-width: 60%;
    }

    .hero-slide-footer .btn-card-details {
        width: 100%;
        padding: 10px 16px;
        font-size: 0.9rem;
        justify-content: center;
        display: flex;
    }

    .brand-logo-wrap {
        font-size: 1.1rem;
    }

    .brand-icon-spiral {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .auth-box-lux {
        padding: 24px 18px;
        margin: 20px auto;
        border-radius: 20px;
    }

    .auth-header-title {
        font-size: 1.3rem;
    }

    .btn-neon-purple, .btn-neon-outline {
        font-size: 0.84rem;
        padding: 8px 16px;
    }

    .loan-card-title {
        font-size: 1rem;
    }

    .loan-price-wrap {
        font-size: 0.9rem;
    }

    .loan-card-footer {
        flex-wrap: wrap;
        gap: 10px;
    }

    .loan-card-footer .btn-card-details {
        font-size: 0.84rem;
        padding: 7px 14px;
    }

    .empty-state-fintech {
        padding: 35px 15px;
    }

    .empty-state-icon {
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   10. Advertisements Box Above Footer (باکس تبلیغات بالای فوتر)
   ========================================================================== */
.ads-above-footer-section {
    position: relative;
    z-index: 10;
    margin-top: 25px;
    margin-bottom: 0;
}

.ads-above-footer-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.92) 0%, rgba(22, 30, 52, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 16px 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.ads-above-footer-card:hover {
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45), 0 0 20px rgba(99, 102, 241, 0.15);
}

.ads-badge-label {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(168, 85, 247, 0.25) 100%);
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: #c084fc;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
}

.ads-banners-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.ad-banner-link {
    display: inline-block;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 0;
}

.ad-banner-link:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.3);
}

.ad-banner-img {
    max-width: 100%;
    width: 468px;
    height: 60px;
    object-fit: fill;
    display: block;
}

@media (max-width: 992px) {
    .ads-banners-row {
        gap: 12px;
    }
    .ad-banner-img {
        width: 100%;
        max-width: 468px;
        height: auto;
    }
}

/* ==========================================================================
   11. Loan Marketplace Responsive & Mobile Fixes (بازارچه وام‌ها - نسخه موبایل)
   ========================================================================== */
.btn-filter-toggle-mobile {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: #ffffff;
    font-size: 0.92rem;
    transition: all 0.25s ease;
}

.btn-filter-toggle-mobile:hover, .btn-filter-toggle-mobile:focus {
    background: linear-gradient(135deg, rgba(49, 16, 75, 0.95) 0%, rgba(30, 27, 75, 0.98) 100%);
    color: #ffffff;
    border-color: rgba(168, 85, 247, 0.7);
}

.btn-filter-toggle-mobile .bi-chevron-down {
    transition: transform 0.3s ease;
}

.btn-filter-toggle-mobile[aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg);
}

@media (max-width: 991.98px) {
    .loans-header-responsive {
        background: rgba(15, 23, 42, 0.6);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: var(--radius-lg);
        padding: 16px;
    }

    .fs-3-mobile {
        font-size: 1.25rem !important;
    }

    .sort-wrap-mobile {
        width: 100%;
    }

    .sort-wrap-mobile select {
        font-size: 0.85rem !important;
        padding: 8px 12px !important;
    }

    .loan-card-fintech {
        padding: 16px;
        border-radius: 16px;
    }

    .loan-card-title {
        font-size: 1.05rem;
        margin-bottom: 12px;
    }

    .loan-card-top {
        margin-bottom: 12px;
    }

    .bank-tag-pill {
        max-width: 52%;
        font-size: 0.78rem;
        padding: 4px 10px;
    }

    .loan-metrics-grid {
        padding: 10px;
        gap: 8px;
        margin-bottom: 14px;
    }

    .metric-label {
        font-size: 0.72rem;
    }

    .metric-val {
        font-size: 0.88rem;
    }

    .loan-card-footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding-top: 12px;
    }

    .loan-price-amount {
        font-size: 1rem;
    }

    .btn-card-details {
        font-size: 0.82rem;
        padding: 7px 14px;
        white-space: nowrap;
    }

    .pagination-responsive {
        flex-wrap: wrap;
        justify-content: center;
    }

    .pagination-responsive .page-link {
        width: 38px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.85rem;
        padding: 0 !important;
    }
}

@media (max-width: 575.98px) {
    .loan-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .loan-price-wrap {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        background: rgba(255, 255, 255, 0.03);
        padding: 6px 12px;
        border-radius: 8px;
    }

    .loan-card-footer .btn-card-details {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 9px 16px;
        font-size: 0.88rem;
    }
}

