/* ── Landing page ── */
.hero-landing {
    background: linear-gradient(135deg, #0f1923 0%, #1a2d45 60%, #0f2744 100%);
    position: relative;
    overflow: hidden;
}
.hero-landing::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(13,110,253,.18) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(253,193,7,.08) 0%, transparent 50%);
    pointer-events: none;
}
.hero-landing .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50px;
    padding: .3rem .9rem;
    font-size: .8rem;
    color: rgba(255,255,255,.85);
    backdrop-filter: blur(4px);
    margin-bottom: 1.25rem;
}
.hero-landing .hero-search-box {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(8px);
}
.stat-block {
    padding: 1.5rem 1rem;
    transition: background .2s;
}
.stat-block:hover {
    background: rgba(13,110,253,.04);
    border-radius: 12px;
}
.stat-block .stat-num {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: #0d6efd;
}
.stat-block .stat-label {
    font-size: .8rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-top: .25rem;
}
.category-grid .cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    padding: 1.25rem .75rem;
    border: 1.5px solid #e9ecef;
    border-radius: 14px;
    text-decoration: none;
    color: #212529;
    background: #fff;
    transition: border-color .2s, box-shadow .2s, transform .15s;
}
.category-grid .cat-card:hover {
    border-color: #0d6efd;
    box-shadow: 0 4px 18px rgba(13,110,253,.12);
    transform: translateY(-2px);
    color: #0d6efd;
}
.category-grid .cat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}
.cat-card .cat-label {
    font-size: .8rem;
    font-weight: 600;
    text-align: center;
}
.steps-section .step-item {
    position: relative;
}
.steps-section .step-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 1;
}
.steps-section .step-connector {
    position: absolute;
    top: 26px;
    left: calc(50% + 28px);
    right: calc(-50% + 28px);
    height: 2px;
    background: linear-gradient(90deg, #0d6efd 0%, #dee2e6 100%);
}
.trust-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.trust-feature .tf-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}
.cta-split {
    background: linear-gradient(135deg, #0f1923 0%, #1a2d45 100%);
    position: relative;
    overflow: hidden;
}
.cta-split::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(13,110,253,.12);
    pointer-events: none;
}

/* Worker card */
.worker-card {
    transition: transform .15s ease, box-shadow .15s ease;
}
.worker-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.1) !important;
}
.boosted-card {
    border-width: 2px !important;
}
.worker-avatar {
    object-fit: cover;
    flex-shrink: 0;
}

/* Text clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Purple badge (boost bypass) */
.bg-purple {
    background-color: #7c3aed;
}

/* Sticky filter sidebar */
@media (min-width: 992px) {
    .filter-sidebar-sticky {
        position: sticky;
        top: 80px;
    }
}

/* Star rating interactive */
.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    gap: .25rem;
}
.star-rating-input input[type="radio"] {
    display: none;
}
.star-rating-input label {
    cursor: pointer;
    font-size: 1.5rem;
    color: #dee2e6;
    transition: color .1s;
}
.star-rating-input input[type="radio"]:checked ~ label,
.star-rating-input label:hover,
.star-rating-input label:hover ~ label {
    color: #ffc107;
}

/* Admin sidebar responsive */
@media (max-width: 767px) {
    .admin-sidebar {
        display: none !important;
    }
}

/* Object-fit utilities (Bootstrap 5.3 has these but keep for older) */
.object-fit-cover {
    object-fit: cover;
}

/* Smooth tab transitions */
.tab-pane.fade {
    transition: opacity .15s linear;
}

/* Ensure min-w-0 truncation works inside flex */
.min-w-0 {
    min-width: 0;
}
