/* Modern Freelancer Marketplace Layout - Signature Purple Theme */
body.page-freelancer {
    background: #ffffff !important;
    color: #10243d;
    --fl-primary: #7c3aed;
    --fl-primary-strong: #6d28d9;
    --fl-primary-deep: #5b21b6;
    --fl-soft: #f4edff;
    --fl-soft-strong: #ede4ff;
    --fl-border: #e9ddfb;
    --fl-text: #101828;
    --fl-muted: #64748b;
}

.fl-home-wrapper {
    background: #ffffff;
    width: 100%;
}

/* Hero Section */
.fl-hero-modern {
    background: linear-gradient(180deg, #faf5ff 0%, #ffffff 100%);
    border-bottom: 1px solid #f3e8ff;
    padding: clamp(36px, 6vw, 68px) 0 clamp(32px, 5vw, 56px);
    position: relative;
    overflow: hidden;
}

.fl-hero-modern::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, rgba(124, 58, 237, 0) 70%);
    pointer-events: none;
}

.fl-hero-modern::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -60px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.06) 0%, rgba(168, 85, 247, 0) 70%);
    pointer-events: none;
}

.fl-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.fl-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f4edff;
    color: #7c3aed;
    border: 1px solid rgba(124, 58, 237, 0.22);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 18px;
}

.fl-hero-pill svg {
    width: 15px;
    height: 15px;
    fill: #7c3aed;
}

.fl-hero-modern h1 {
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    font-weight: 800;
    line-height: 1.18;
    color: #10243d;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
}

.fl-hero-modern h1 span.highlight {
    color: #7c3aed;
    position: relative;
    display: inline-block;
}

.fl-hero-modern p.fl-hero-sub {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    line-height: 1.65;
    color: #5f738a;
    max-width: 740px;
    margin: 0 auto 32px;
}

/* Modern Unified Search Console */
.fl-search-box {
    background: #ffffff;
    border: 1px solid #e9ddfb;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 18px 45px -8px rgba(91, 33, 182, 0.12), 0 4px 12px rgba(91, 33, 182, 0.04);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    text-align: left;
    margin-bottom: 20px;
}

.fl-search-field-wrap {
    flex: 2.2;
    min-width: 0;
    position: relative;
    display: flex;
    align-items: center;
}

.fl-search-icon {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    color: #a78bfa;
    pointer-events: none;
}

.fl-search-input-field {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 13px 14px 13px 40px;
    font-size: 14px;
    color: #10243d;
    background: #faf5ff;
    transition: all 0.2s ease;
    font-family: inherit;
}

.fl-search-input-field:focus {
    outline: none;
    border-color: #7c3aed;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.fl-search-select-wrap {
    flex: 1.2;
    min-width: 0;
    position: relative;
    display: flex;
    align-items: center;
}

.fl-select-icon {
    position: absolute;
    left: 12px;
    width: 16px;
    height: 16px;
    color: #a78bfa;
    pointer-events: none;
}

.fl-search-select-field {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 13px 12px 13px 36px;
    font-size: 13px;
    color: #10243d;
    background: #faf5ff;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%237c3aed' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
}

.fl-search-select-field:focus {
    outline: none;
    border-color: #7c3aed;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.fl-search-submit-btn {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 13px 26px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
    font-family: inherit;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.28);
}

.fl-search-submit-btn:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #4c1d95 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.38);
}

.fl-search-submit-btn svg {
    width: 16px;
    height: 16px;
}

/* Autocomplete Dropdown */
#flAutocomplete {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 9999;
    background: #ffffff;
    border: 1px solid #e9ddfb;
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(91, 33, 182, 0.16);
    max-height: 420px;
    overflow-y: auto;
    font-size: 13px;
    color: #10243d;
    display: none;
    text-align: left;
}

/* Trending Keywords */
.fl-trending-searches {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
    margin-top: 14px;
}

.fl-trending-label {
    font-weight: 600;
    color: #10243d;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.fl-trending-pill {
    background: #ffffff;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.18s ease;
}

.fl-trending-pill:hover {
    background: #f4edff;
    color: #7c3aed;
    border-color: #7c3aed;
    transform: translateY(-1px);
}

/* Mobile Search Trigger Button */
.fl-mobile-search-trigger {
    display: none;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.28);
}

.fl-mobile-search-trigger svg {
    width: 18px;
    height: 18px;
}

/* Trust Strip */
.fl-trust-strip {
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    padding: 24px 0;
}

.fl-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.fl-trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
}

.fl-trust-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #f4edff;
    color: #7c3aed;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fl-trust-icon-box svg {
    width: 22px;
    height: 22px;
}

.fl-trust-text h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #10243d;
}

.fl-trust-text p {
    margin: 2px 0 0;
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}

/* Section Header Styles */
.fl-section {
    padding: 56px 0;
}

.fl-section-head {
    text-align: center;
    margin-bottom: 38px;
}

.fl-section-pill {
    display: inline-block;
    background: #f4edff;
    color: #7c3aed;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.fl-section-head h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 700;
    color: #10243d;
    margin: 0 0 10px;
    letter-spacing: -0.3px;
}

.fl-section-head p {
    color: #64748b;
    font-size: 15px;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Popular Skills / Category Grid (Minimal Display) */
.fl-cat-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 16px;
}

.fl-cat-card-modern {
    background: #ffffff;
    border: 1px solid #e5edf6;
    border-radius: 14px;
    padding: 24px 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #10243d;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.fl-cat-card-modern:hover {
    border-color: #7c3aed;
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(124, 58, 237, 0.1);
}

.fl-cat-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #f4edff;
    color: #7c3aed;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: all 0.2s ease;
}

.fl-cat-card-modern:hover .fl-cat-icon-wrap {
    background: #7c3aed;
    color: #ffffff;
}

.fl-cat-icon-wrap svg {
    width: 26px;
    height: 26px;
}

.fl-cat-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    line-height: 1.35;
}

.fl-cat-action {
    font-size: 11px;
    font-weight: 600;
    color: #7c3aed;
    margin-top: 8px;
    opacity: 0;
    transform: translateY(4px);
    transition: all 0.2s ease;
}

.fl-cat-card-modern:hover .fl-cat-action {
    opacity: 1;
    transform: translateY(0);
}

/* See More Categories Button */
.fl-cat-more-wrap {
    text-align: center;
    margin-top: 32px;
}

.fl-see-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #ffffff;
    color: #7c3aed;
    border: 1.5px solid #7c3aed;
    border-radius: 30px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.12);
}

.fl-see-more-btn:hover {
    background: #7c3aed;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.28);
}

.fl-see-more-btn svg {
    width: 17px;
    height: 17px;
}

.fl-see-more-btn .fl-chevron-icon {
    width: 15px;
    height: 15px;
    transition: transform 0.2s ease;
}

.fl-see-more-btn:hover .fl-chevron-icon {
    transform: translateX(3px);
}

/* Category Modal Backdrop & Popup */
.fl-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 24, 40, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.fl-modal-backdrop.open {
    display: flex;
}

.fl-modal-container {
    background: #ffffff;
    width: 100%;
    max-width: 860px;
    max-height: 85vh;
    border-radius: 20px;
    box-shadow: 0 25px 60px -12px rgba(91, 33, 182, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: flModalFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes flModalFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.fl-modal-header {
    padding: 22px 26px 16px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fl-modal-header h3 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 800;
    color: #10243d;
}

.fl-modal-header p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.fl-modal-close-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #64748b;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s ease;
}

.fl-modal-close-btn:hover {
    background: #f4edff;
    color: #7c3aed;
    border-color: #7c3aed;
}

.fl-modal-search-wrap {
    padding: 14px 26px;
    background: #fcfaff;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.fl-modal-search-icon {
    position: absolute;
    left: 40px;
    width: 17px;
    height: 17px;
    color: #7c3aed;
    pointer-events: none;
}

.fl-modal-search-field {
    flex: 1;
    width: 100%;
    border: 1.5px solid #e9ddfb;
    border-radius: 12px;
    padding: 12px 14px 12px 38px;
    font-size: 14px;
    color: #10243d;
    background: #ffffff;
    font-family: inherit;
    transition: all 0.2s ease;
}

.fl-modal-search-field:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.fl-modal-count-pill {
    font-size: 12px;
    font-weight: 700;
    color: #7c3aed;
    background: #f4edff;
    padding: 6px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.fl-modal-body {
    padding: 22px 26px;
    overflow-y: auto;
    max-height: calc(85vh - 165px);
}

.fl-modal-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.fl-modal-cat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid #e5edf6;
    border-radius: 12px;
    text-decoration: none;
    color: #10243d;
    transition: all 0.18s ease;
}

.fl-modal-cat-card:hover {
    border-color: #7c3aed;
    background: #faf5ff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.1);
}

.fl-modal-cat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f4edff;
    color: #7c3aed;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.18s ease;
}

.fl-modal-cat-card:hover .fl-modal-cat-icon {
    background: #7c3aed;
    color: #ffffff;
}

.fl-modal-cat-icon svg {
    width: 18px;
    height: 18px;
}

.fl-modal-cat-label {
    flex: 1;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
    color: #10243d;
}

.fl-modal-cat-arrow {
    width: 15px;
    height: 15px;
    color: #cbd5e1;
    flex-shrink: 0;
    transition: all 0.18s ease;
}

.fl-modal-cat-card:hover .fl-modal-cat-arrow {
    color: #7c3aed;
    transform: translateX(3px);
}

/* Service / Project Cards */
.fl-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 22px;
}

.fl-service-card {
    background: #ffffff;
    border: 1px solid #e5edf6;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.22s ease;
    box-shadow: 0 2px 8px rgba(16, 36, 61, 0.03);
}

.fl-service-card:hover {
    border-color: #7c3aed;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(124, 58, 237, 0.12);
}

.fl-service-thumb {
    position: relative;
    width: 100%;
    height: 185px;
    overflow: hidden;
    background: #e2e8f0;
}

.fl-service-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    display: block;
}

.fl-service-card:hover .fl-service-thumb img {
    transform: scale(1.04);
}

.fl-service-price-pill {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(16, 36, 61, 0.88);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 8px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.fl-service-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.fl-service-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.fl-author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #7c3aed;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.fl-author-details {
    min-width: 0;
    flex: 1;
}

.fl-author-name {
    font-size: 13px;
    font-weight: 600;
    color: #10243d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fl-service-location {
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 3px;
}

.fl-service-location svg {
    width: 11px;
    height: 11px;
}

.fl-service-title {
    font-size: 16px;
    font-weight: 700;
    color: #10243d;
    margin: 0 0 8px;
    line-height: 1.35;
}

.fl-service-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.18s ease;
}

.fl-service-title a:hover {
    color: #7c3aed;
}

.fl-service-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
    margin: 0 0 16px;
    flex: 1;
}

.fl-service-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #64748b;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.fl-service-hires-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #7c3aed;
    font-weight: 600;
    font-size: 12px;
}

.fl-service-btn {
    margin-top: 14px;
    background: #7c3aed;
    color: #ffffff;
    text-align: center;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: block;
}

.fl-service-btn:hover {
    background: #6d28d9;
    color: #ffffff;
}

/* Top Freelancer Profile Cards */
.fl-talent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

.fl-talent-card {
    background: #ffffff;
    border: 1px solid #e5edf6;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.22s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.fl-talent-card:hover {
    border-color: #7c3aed;
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(124, 58, 237, 0.1);
}

.fl-talent-top {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.fl-talent-avatar-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f4edff;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: #7c3aed;
    overflow: hidden;
}

.fl-talent-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fl-talent-verified {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 18px;
    height: 18px;
    background: #7c3aed;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

.fl-talent-verified svg {
    width: 10px;
    height: 10px;
    fill: #ffffff;
}

.fl-talent-info {
    flex: 1;
    min-width: 0;
}

.fl-talent-info h4 {
    margin: 0 0 3px;
    font-size: 16px;
    font-weight: 700;
    color: #10243d;
}

.fl-talent-info .fl-title {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fl-talent-rate {
    font-size: 17px;
    font-weight: 700;
    color: #7c3aed;
    margin-bottom: 12px;
}

.fl-talent-rate small {
    font-size: 12px;
    font-weight: 400;
    color: #64748b;
}

.fl-talent-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.fl-talent-stats span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.fl-talent-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
    flex: 1;
}

.fl-talent-skills .skill-badge {
    background: #f4edff;
    color: #7c3aed;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 6px;
}

.fl-talent-btn {
    background: #7c3aed;
    color: #ffffff;
    text-align: center;
    padding: 11px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: auto;
    display: block;
}

.fl-talent-btn:hover {
    background: #6d28d9;
    color: #ffffff;
}

/* How It Works - 4 Steps */
.fl-steps-container {
    background: #faf5ff;
    border-radius: 20px;
    padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 40px);
    border: 1px solid #f3e8ff;
}

.fl-steps-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.fl-step-card-modern {
    background: #ffffff;
    border: 1px solid #e5edf6;
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
    position: relative;
    transition: transform 0.2s ease;
}

.fl-step-card-modern:hover {
    transform: translateY(-3px);
}

.fl-step-badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #f4edff;
    color: #7c3aed;
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.fl-step-card-modern h4 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #10243d;
}

.fl-step-card-modern p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
}

/* Value Props Grid */
.fl-value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.fl-value-card {
    background: #ffffff;
    border: 1px solid #e5edf6;
    border-radius: 14px;
    padding: 28px 22px;
    text-align: center;
    transition: all 0.2s ease;
}

.fl-value-card:hover {
    border-color: #7c3aed;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.1);
}

.fl-value-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #f4edff;
    color: #7c3aed;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.fl-value-icon svg {
    width: 26px;
    height: 26px;
}

.fl-value-card h4 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #10243d;
}

.fl-value-card p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
}

/* Dual Conversion CTA */
.fl-dual-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 40px 0;
}

.fl-cta-box {
    border-radius: 18px;
    padding: clamp(28px, 4vw, 42px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease;
}

.fl-cta-box:hover {
    transform: translateY(-2px);
}

.fl-cta-box.client-box {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    color: #ffffff;
    box-shadow: 0 16px 36px -8px rgba(124, 58, 237, 0.35);
}

.fl-cta-box.client-box h3 {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
}

.fl-cta-box.client-box p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 24px;
}

.fl-cta-box.client-box .fl-cta-btn {
    background: #ffffff;
    color: #7c3aed;
    font-weight: 700;
}

.fl-cta-box.client-box .fl-cta-btn:hover {
    background: #f4edff;
}

.fl-cta-box.freelancer-box {
    background: #ffffff;
    border: 2px solid #7c3aed;
    color: #10243d;
    box-shadow: 0 16px 36px -8px rgba(91, 33, 182, 0.08);
}

.fl-cta-box.freelancer-box h3 {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 800;
    color: #10243d;
}

.fl-cta-box.freelancer-box p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 24px;
}

.fl-cta-box.freelancer-box .fl-cta-btn {
    background: #7c3aed;
    color: #ffffff;
    font-weight: 700;
}

.fl-cta-box.freelancer-box .fl-cta-btn:hover {
    background: #6d28d9;
}

.fl-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 10px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    align-self: flex-start;
}

/* FAQ Accordion */
.fl-faq-item {
    border: 1px solid #e5edf6;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    background: #ffffff;
    transition: border-color 0.2s ease;
}

.fl-faq-item.is-open {
    border-color: #7c3aed;
}

.fl-faq-q {
    width: 100%;
    text-align: left;
    padding: 18px 22px;
    background: #ffffff;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: #10243d;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}

.fl-faq-icon {
    font-size: 20px;
    color: #7c3aed;
    font-weight: 700;
    line-height: 1;
}

.fl-faq-a {
    display: none;
    padding: 0 22px 18px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
}

/* Breadcrumb & Empty State */
.fl-search-breadcrumb {
    background: #faf5ff;
    border: 1px solid #e9ddfb;
    border-radius: 12px;
    padding: 14px 20px;
    margin: 24px 0;
    font-size: 14px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.fl-search-breadcrumb strong {
    color: #10243d;
    font-weight: 700;
}

.fl-empty {
    text-align: center;
    padding: 60px 24px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e5edf6;
    margin: 24px 0;
}

.fl-empty h3 {
    font-size: 20px;
    color: #10243d;
    margin: 0 0 8px;
}

.fl-empty p {
    color: #64748b;
    margin: 0 0 20px;
}

/* Responsive Adaptations */
@media (max-width: 960px) {
    .fl-search-box {
        flex-wrap: wrap;
    }
    .fl-search-field-wrap {
        flex: 1 1 100%;
    }
    .fl-search-select-wrap {
        flex: 1 1 calc(50% - 6px);
    }
    .fl-search-submit-btn {
        flex: 1 1 100%;
    }
    .fl-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .fl-steps-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
    .fl-value-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .fl-dual-cta {
        grid-template-columns: 1fr;
    }
    .fl-modal-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .fl-search-box {
        display: none;
    }
    .fl-mobile-search-trigger {
        display: flex;
    }
    .fl-trust-grid {
        grid-template-columns: 1fr;
    }
    .fl-steps-grid-modern {
        grid-template-columns: 1fr;
    }
    .fl-value-grid {
        grid-template-columns: 1fr;
    }
    .fl-cat-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
    .fl-services-grid,
    .fl-talent-grid {
        grid-template-columns: 1fr;
    }
    .fl-modal-categories-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Filter Modal */
.jl-filter-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 24, 40, 0.65);
    backdrop-filter: blur(4px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.jl-filter-modal.open {
    display: flex;
}

.jl-filter-modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    border-radius: 16px;
    padding: 24px;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.jl-filter-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jl-filter-modal h3 {
    margin: 0 0 18px;
    font-size: 1.2rem;
    color: #10243d;
}

.jl-filter-modal .jl-search-field,
.jl-filter-modal .jl-search-select,
.jl-filter-modal .jl-search-input {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    margin-bottom: 12px;
    background: #f8fafc;
    font-family: inherit;
    box-sizing: border-box;
}

.jl-filter-modal .jl-search-btn {
    width: 100%;
    background: #7c3aed;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}
