/* =========================================================
   WorkDu Homepage v4 — Full Redesign
   Blue/white theme, modern cards, dynamic stats, responsive
   Scoped to body.homepage via .wd-v4-* namespace
   ========================================================= */

/* ---- CSS Variables ---- */
:root {
    --wd-blue:    #2563eb;
    --wd-blue-d:  #1d4ed8;
    --wd-blue-l:  #3b82f6;
    --wd-blue-xl: #dbeafe;
    --wd-dark:    #0f172a;
    --wd-gray-9:  #111827;
    --wd-gray-7:  #374151;
    --wd-gray-5:  #6b7280;
    --wd-gray-4:  #9ca3af;
    --wd-gray-2:  #e5e7eb;
    --wd-gray-1:  #f3f4f6;
    --wd-white:   #ffffff;
    --wd-green:   #059669;
    --wd-radius:  16px;
    --wd-shadow:  0 4px 24px rgba(0,0,0,0.06);
    --wd-shadow-lg: 0 12px 40px rgba(0,0,0,0.10);
}

/* ---- Section Base ---- */
.wd-v4-section {
    padding: 72px 0;
    position: relative;
}
.wd-v4-section--gray {
    background: #f8fafc;
}
.wd-v4-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 12px;
}
.wd-v4-section-head h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--wd-dark);
    margin: 0;
}
.wd-v4-section-head .wd-v4-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--wd-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.wd-v4-section-head .wd-v4-link:hover {
    color: var(--wd-blue-d);
    text-decoration: none;
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.wd-v4-hero {
    position: relative;
    background-color: #dbeafe;
    background-image: var(--wd-v4-hero-banner, url(../assets/images/blue-banner.png));
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    min-height: 560px;
    padding-top: 0;
}
.wd-v4-hero__bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(240,245,255,0.76) 0%, rgba(224,236,255,0.64) 40%, rgba(200,220,250,0.56) 100%);
    pointer-events: none;
}
.wd-v4-hero__wrap {
    display: flex;
    align-items: center;
    max-width: 1320px;
    margin: 0 auto;
    padding: 56px 24px 0;
    gap: 40px;
    position: relative;
    z-index: 2;
}
.wd-v4-hero__left {
    flex: 0 0 50%;
    max-width: 50%;
    text-align: left;
    padding-left: 40px;
}
.wd-v4-hero__right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 420px;
}

/* Badge */
.wd-v4-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(37,99,235,0.08);
    border: 1px solid rgba(37,99,235,0.15);
    border-radius: 24px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--wd-blue);
    margin-bottom: 20px;
}
.wd-v4-hero__badge svg {
    width: 16px;
    height: 16px;
}

/* Title */
.wd-v4-hero__title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--wd-dark);
    margin-bottom: 18px;
    letter-spacing: -0.5px;
    text-align: left;
    max-width: 550px;
}
.wd-v4-hero__title em {
    font-style: normal;
    display: block;
    background: linear-gradient(135deg, var(--wd-blue) 0%, #4f46e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.wd-v4-hero__sub {
    font-size: 16px;
    color: var(--wd-gray-5);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 520px;
    text-align: left;
}

/* Search Bar */
.wd-v4-search {
    display: flex;
    align-items: center;
    background: var(--wd-white);
    border-radius: 56px;
    padding: 6px 6px 6px 20px;
    box-shadow: 0 8px 32px rgba(37,99,235,0.10), 0 2px 6px rgba(0,0,0,0.04);
    border: 1px solid rgba(37,99,235,0.08);
    max-width: 560px;
    height: 58px;
    transition: box-shadow 0.3s, transform 0.25s;
}
.wd-v4-search:focus-within {
    box-shadow: 0 12px 40px rgba(37,99,235,0.18);
    transform: translateY(-2px);
}
.wd-v4-search__field {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    gap: 8px;
}
.wd-v4-search__field .icon-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    pointer-events: none;
}
.wd-v4-search__field .icon-badge svg {
    opacity: 0.4;
    color: var(--wd-gray-5);
    width: 18px;
    height: 18px;
}
.wd-v4-search__field input {
    border: none !important;
    background: transparent !important;
    font-size: 14px;
    color: var(--wd-dark);
    outline: none;
    width: 100%;
    padding: 0;
    height: 100%;
}
.wd-v4-search__field input::placeholder {
    color: var(--wd-gray-4);
}
.wd-v4-search__div {
    width: 1px;
    height: 26px;
    background: var(--wd-gray-2);
    flex-shrink: 0;
    margin: 0 10px;
}
.wd-v4-search__btn {
    flex-shrink: 0;
    height: 46px;
    padding: 0 26px;
    border-radius: 46px;
    border: none;
    background: var(--wd-blue);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    white-space: nowrap;
}
.wd-v4-search__btn:hover {
    background: var(--wd-blue-d);
    box-shadow: 0 4px 16px rgba(37,99,235,0.35);
}

/* Popular Tags */
.wd-v4-popular {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 18px;
}
.wd-v4-popular__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--wd-gray-7);
}
.wd-v4-popular a {
    font-size: 12px;
    color: var(--wd-gray-7);
    background: rgba(255,255,255,0.75);
    border: 1px solid var(--wd-gray-2);
    padding: 5px 14px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s;
}
.wd-v4-popular a:hover {
    background: var(--wd-blue);
    color: #fff;
    border-color: var(--wd-blue);
    text-decoration: none;
}

/* Hero Right — People Image */
.wd-v4-hero__img {
    max-width: 120%;
    max-height: 680px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: bottom center;
    position: relative;
    bottom: 0;
    z-index: 1;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.12));
    align-self: flex-end;
    margin-bottom: -4px; /* slight overlap with stats bar */
}

/* Floating Cards */
.wd-v4-float {
    position: absolute;
    background: var(--wd-white);
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    animation: wdFloat 3s ease-in-out infinite;
    white-space: nowrap;
}
.wd-v4-float--score {
    top: 10%;
    left: 0;
    right: auto;
    animation-delay: 0s;
}
.wd-v4-float--jobs {
    top: 3%;
    right: 0;
    left: auto;
    animation-delay: 1.5s;
}
.wd-v4-float--ats {
    bottom: 22%;
    right: 0;
    left: auto;
    animation-delay: 0.8s;
}
.wd-v4-float--interview {
    bottom: 12%;
    right: 0;
    animation-delay: 2s;
}
.wd-v4-float__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.wd-v4-float__icon--blue {
    background: rgba(37,99,235,0.1);
    color: var(--wd-blue);
}
.wd-v4-float__icon--green {
    background: rgba(5,150,105,0.1);
    color: var(--wd-green);
}
.wd-v4-float__icon--purple {
    background: rgba(124,58,237,0.1);
    color: #7c3aed;
}
.wd-v4-float__text strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    color: var(--wd-dark);
}
.wd-v4-float__text small {
    font-size: 11px;
    color: var(--wd-gray-5);
}

@keyframes wdFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* =========================================================
   STATS STRIP
   ========================================================= */
.wd-v4-stats {
    position: relative;
    z-index: 20;
    margin-top: -48px;
    padding: 0 24px;
    margin-bottom: 24px;
}
.wd-v4-stats__inner {
    max-width: 1320px;
    margin: 0 auto;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
    padding: 28px 32px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.wd-v4-stats__left {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
}
.wd-v4-stats__item {
    text-align: center;
    padding: 8px 24px;
    flex: 1;
    min-width: 120px;
}
.wd-v4-stats__item + .wd-v4-stats__item {
    border-left: 1px solid var(--wd-gray-2);
}
.wd-v4-stats__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--wd-blue-xl);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    color: var(--wd-blue);
}
.wd-v4-stats__num {
    font-size: 26px;
    font-weight: 800;
    color: var(--wd-dark);
    line-height: 1.1;
}
.wd-v4-stats__label {
    font-size: 12px;
    color: var(--wd-gray-5);
    font-weight: 500;
    margin-top: 2px;
}
.wd-v4-stats__right {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-left: 24px;
    border-left: 1px solid var(--wd-gray-2);
}
.wd-v4-stats__trust {
    font-size: 12px;
    color: var(--wd-gray-5);
    max-width: 140px;
    line-height: 1.4;
}
.wd-v4-stats__logos {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.wd-v4-stats__logos img {
    height: 24px;
    width: auto;
    opacity: 0.55;
    filter: grayscale(100%);
    transition: all 0.3s;
}
.wd-v4-stats__logos img:hover {
    opacity: 1;
    filter: none;
}

/* =========================================================
   TOP COMPANIES CAROUSEL
   ========================================================= */
.wd-v4-companies {
    padding: 48px 0;
}
.wd-v4-companies__grid {
    display: flex;
    align-items: center;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 8px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.wd-v4-companies__grid::-webkit-scrollbar {
    display: none;
}
.wd-v4-companies__card {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--wd-white);
    border: 1px solid var(--wd-gray-2);
    border-radius: 14px;
    padding: 14px 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s;
    min-width: 200px;
}
.wd-v4-companies__card:hover {
    border-color: var(--wd-blue);
    box-shadow: var(--wd-shadow);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}
.wd-v4-companies__card-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--wd-dark);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
}
.wd-v4-companies__card-jobs {
    font-size: 11px;
    color: var(--wd-gray-5);
}
.wd-v4-companies__nav {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--wd-gray-2);
    background: var(--wd-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
    color: var(--wd-gray-5);
}
.wd-v4-companies__nav:hover {
    background: var(--wd-blue);
    border-color: var(--wd-blue);
    color: #fff;
}
.wd-v4-companies__row {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* =========================================================
   FEATURED JOBS + AI RESUME BUILDER
   ========================================================= */
.wd-v4-jobs__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 340px;
    gap: 20px;
    align-items: start;
}
.wd-v4-job-card {
    background: var(--wd-white);
    border: 1px solid var(--wd-gray-2);
    border-radius: var(--wd-radius);
    padding: 24px;
    transition: all 0.25s;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.wd-v4-job-card:hover {
    border-color: var(--wd-blue);
    box-shadow: var(--wd-shadow);
    transform: translateY(-3px);
}
.wd-v4-job-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 14px;
}
.wd-v4-job-card__co {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}
.wd-v4-job-card__co-avatar {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--wd-gray-2);
    background: var(--wd-white);
    border-radius: 12px;
    padding: 1px;
    overflow: hidden;
}
.wd-v4-job-card__co-avatar > div {
    width: 100% !important;
    height: 100% !important;
    border-radius: 10px !important;
}
.wd-v4-job-card__co-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    background: var(--wd-white) !important;
}
.wd-v4-job-card__co-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--wd-gray-7);
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wd-v4-job-card__bookmark {
    background: none;
    border: none;
    color: var(--wd-gray-4);
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}
.wd-v4-job-card__bookmark:hover,
.wd-v4-job-card__bookmark.active {
    color: var(--wd-blue);
}
.wd-v4-job-card__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--wd-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}
.wd-v4-job-card__title a {
    color: inherit;
    text-decoration: none;
}
.wd-v4-job-card__title a:hover {
    color: var(--wd-blue);
}
.wd-v4-job-card__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--wd-gray-5);
    margin-bottom: 16px;
}
.wd-v4-job-card__meta svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
.wd-v4-job-card__tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}
.wd-v4-job-card__tag--remote {
    background: rgba(37,99,235,0.08);
    color: var(--wd-blue);
}
.wd-v4-job-card__tag--hybrid {
    background: rgba(124,58,237,0.08);
    color: #7c3aed;
}
.wd-v4-job-card__tag--onsite {
    background: rgba(5,150,105,0.08);
    color: var(--wd-green);
}
.wd-v4-job-card__bottom {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 14px;
    border-top: 1px solid var(--wd-gray-1);
}
.wd-v4-job-card__chip {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--wd-gray-1);
    color: var(--wd-gray-7);
    font-weight: 500;
}
.wd-v4-job-card__apply {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    border-radius: 10px;
    background: var(--wd-blue);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 14px;
}
.wd-v4-job-card__apply:hover {
    background: var(--wd-blue-d);
    color: #fff;
    text-decoration: none;
}

/* AI Resume Builder Card */
.wd-v4-ai-card {
    background: linear-gradient(135deg, #eff6ff 0%, #e0ecff 100%);
    border: 1px solid rgba(37,99,235,0.12);
    border-radius: var(--wd-radius);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.wd-v4-ai-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--wd-blue);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    width: fit-content;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.wd-v4-ai-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--wd-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}
.wd-v4-ai-card p {
    font-size: 14px;
    color: var(--wd-gray-5);
    line-height: 1.6;
    margin-bottom: 20px;
}
.wd-v4-ai-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}
.wd-v4-ai-card__features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--wd-gray-7);
    margin-bottom: 10px;
}
.wd-v4-ai-card__features li svg {
    width: 16px;
    height: 16px;
    color: var(--wd-blue);
    flex-shrink: 0;
}
.wd-v4-ai-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 24px;
    background: var(--wd-blue);
    color: #fff;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: auto;
    width: fit-content;
}
.wd-v4-ai-card__btn:hover {
    background: var(--wd-blue-d);
    color: #fff;
    text-decoration: none;
}

/* =========================================================
   QUICK ACTIONS STRIP
   ========================================================= */
.wd-v4-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 48px 0;
}
.wd-v4-action {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: var(--wd-white);
    border: 1px solid var(--wd-gray-2);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s;
}
.wd-v4-action:hover {
    border-color: var(--wd-blue);
    box-shadow: var(--wd-shadow);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}
.wd-v4-action__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.wd-v4-action__icon--blue { background: var(--wd-blue-xl); color: var(--wd-blue); }
.wd-v4-action__icon--purple { background: rgba(124,58,237,0.08); color: #7c3aed; }
.wd-v4-action__icon--green { background: rgba(5,150,105,0.08); color: var(--wd-green); }
.wd-v4-action__icon--orange { background: rgba(234,88,12,0.08); color: #ea580c; }
.wd-v4-action__text h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--wd-dark);
    margin: 0 0 3px;
}
.wd-v4-action__text p {
    font-size: 12px;
    color: var(--wd-gray-5);
    margin: 0;
    line-height: 1.4;
}
.wd-v4-action__arrow {
    margin-left: auto;
    color: var(--wd-gray-4);
    flex-shrink: 0;
}

/* =========================================================
   TOP CATEGORIES + HIRING CTA
   ========================================================= */
.wd-v4-cats__grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: start;
}
.wd-v4-cats__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.wd-v4-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--wd-white);
    border: 1px solid var(--wd-gray-2);
    border-radius: 14px;
    padding: 24px 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s;
}
.wd-v4-cat-card:hover {
    border-color: var(--wd-blue);
    box-shadow: var(--wd-shadow);
    transform: translateY(-3px);
    text-decoration: none;
    color: inherit;
}
.wd-v4-cat-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--wd-blue-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: var(--wd-blue);
    transition: all 0.3s;
}
.wd-v4-cat-card:hover .wd-v4-cat-card__icon {
    background: var(--wd-blue);
    color: #fff;
}
.wd-v4-cat-card h5 {
    font-size: 13px;
    font-weight: 700;
    color: var(--wd-dark);
    margin: 0 0 4px;
    line-height: 1.3;
}
.wd-v4-cat-card p {
    font-size: 11px;
    color: var(--wd-gray-5);
    margin: 0;
}

/* Hiring CTA */
.wd-v4-hiring-cta {
    background: linear-gradient(135deg, var(--wd-blue) 0%, #1e40af 100%);
    border-radius: var(--wd-radius);
    padding: 36px 28px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.wd-v4-hiring-cta::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}
.wd-v4-hiring-cta h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}
.wd-v4-hiring-cta p {
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.6;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}
.wd-v4-hiring-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: var(--wd-blue);
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
    width: fit-content;
    position: relative;
    z-index: 1;
}
.wd-v4-hiring-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    color: var(--wd-blue);
    text-decoration: none;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.wd-v4-testimonials__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.wd-v4-testimonials__head h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--wd-dark);
    margin: 0;
}
.wd-v4-testimonials__rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--wd-dark);
}
.wd-v4-testimonials__rating svg {
    width: 16px;
    height: 16px;
    fill: #FBBF24;
}
.wd-v4-testimonials__rating span {
    font-size: 12px;
    color: var(--wd-gray-5);
    font-weight: 400;
}
.wd-v4-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.wd-v4-testi-card {
    background: var(--wd-white);
    border: 1px solid var(--wd-gray-2);
    border-radius: 14px;
    padding: 24px;
}
.wd-v4-testi-card__author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.wd-v4-testi-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--wd-blue-xl);
}
.wd-v4-testi-card__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--wd-dark);
    margin: 0;
}
.wd-v4-testi-card__role {
    font-size: 12px;
    color: var(--wd-gray-5);
}
.wd-v4-testi-card__text {
    font-size: 13px;
    color: var(--wd-gray-7);
    line-height: 1.65;
    margin-bottom: 14px;
}
.wd-v4-testi-card__stars {
    display: flex;
    gap: 2px;
}
.wd-v4-testi-card__stars svg {
    width: 16px;
    height: 16px;
    fill: #FBBF24;
}

/* =========================================================
   BLOG / CAREER INSIGHTS
   ========================================================= */
.wd-v4-blog__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.wd-v4-blog-card {
    display: flex;
    gap: 16px;
    background: var(--wd-white);
    border: 1px solid var(--wd-gray-2);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s;
}
.wd-v4-blog-card:hover {
    border-color: var(--wd-blue);
    box-shadow: var(--wd-shadow);
    text-decoration: none;
    color: inherit;
}
.wd-v4-blog-card__img {
    width: 180px;
    height: 140px;
    object-fit: cover;
    flex-shrink: 0;
}
.wd-v4-blog-card__body {
    padding: 16px 16px 16px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.wd-v4-blog-card__cat {
    font-size: 11px;
    font-weight: 600;
    color: var(--wd-blue);
    background: var(--wd-blue-xl);
    padding: 3px 10px;
    border-radius: 6px;
    width: fit-content;
    margin-bottom: 8px;
}
.wd-v4-blog-card__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--wd-dark);
    margin: 0 0 8px;
    line-height: 1.4;
}
.wd-v4-blog-card__date {
    font-size: 12px;
    color: var(--wd-gray-5);
}

/* =========================================================
   APP DOWNLOAD
   ========================================================= */
.wd-v4-app {
    background: linear-gradient(135deg, #1e3a5f 0%, #1e40af 30%, #2563eb 70%, #3b82f6 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.wd-v4-app::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}
.wd-v4-app::after {
    content: '';
    position: absolute;
    bottom: -40%; left: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    pointer-events: none;
}
.wd-v4-app__wrap {
    display: flex;
    align-items: center;
    gap: 56px;
    position: relative;
    z-index: 1;
}
.wd-v4-app__left {
    flex: 1;
}
.wd-v4-app__title {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 12px;
}
.wd-v4-app__subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 28px;
    line-height: 1.6;
}
.wd-v4-app__features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}
.wd-v4-app__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    margin-bottom: 12px;
}
.wd-v4-app__features li svg {
    width: 20px;
    height: 20px;
    color: #34d399;
    flex-shrink: 0;
}
.wd-v4-app__stat-row {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.wd-v4-app__stat {
    text-align: left;
}
.wd-v4-app__stat-num {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.wd-v4-app__stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
}
.wd-v4-app__buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.wd-v4-app__btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: 14px;
    padding: 14px 24px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}
.wd-v4-app__btn:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.45);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    color: #fff;
    text-decoration: none;
}
.wd-v4-app__btn-text small {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.65);
    display: block;
    margin-bottom: 3px;
}
.wd-v4-app__btn-text span {
    font-size: 17px;
    font-weight: 700;
}
.wd-v4-app__right-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}
.wd-v4-app__badge-row {
    display: flex;
    gap: 16px;
}
.wd-v4-app__badge-card {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 20px 24px;
    text-align: center;
    min-width: 120px;
    backdrop-filter: blur(4px);
}
.wd-v4-app__badge-card-icon {
    font-size: 32px;
    margin-bottom: 8px;
}
.wd-v4-app__badge-card-num {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}
.wd-v4-app__badge-card-label {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    margin-top: 2px;
}
.wd-v4-app__phone {
    width: 220px;
    height: 430px;
    background: #0f172a;
    border-radius: 32px;
    padding: 12px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.35), inset 0 0 0 2px rgba(255,255,255,0.1);
    position: relative;
}
.wd-v4-app__phone::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #1e293b;
    border-radius: 3px;
    z-index: 2;
}
.wd-v4-app__phone-screen {
    background: #fff;
    border-radius: 22px;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}
.wd-v4-app__phone-screen img {
    max-width: 70%;
    height: auto;
    margin-bottom: 12px;
}

/* =========================================================
   SUBSCRIBE STRIP
   ========================================================= */
.wd-v4-subscribe {
    background: var(--wd-gray-1);
    padding: 40px 0;
}
.wd-v4-subscribe__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.wd-v4-subscribe__text h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--wd-dark);
    margin: 0 0 4px;
}
.wd-v4-subscribe__text p {
    font-size: 13px;
    color: var(--wd-gray-5);
    margin: 0;
}
.wd-v4-subscribe__form {
    display: flex;
    gap: 10px;
    min-width: 320px;
}
.wd-v4-subscribe__form input {
    flex: 1;
    padding: 12px 18px;
    border-radius: 10px;
    border: 1px solid var(--wd-gray-2);
    background: var(--wd-white);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}
.wd-v4-subscribe__form input:focus {
    border-color: var(--wd-blue);
}
.wd-v4-subscribe__form button {
    padding: 12px 24px;
    border-radius: 10px;
    background: var(--wd-blue);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.wd-v4-subscribe__form button:hover {
    background: var(--wd-blue-d);
}

/* =========================================================
   ANIMATED COUNTER
   ========================================================= */
.wd-v4-counter {
    display: inline;
    transition: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1199.98px) {
    .wd-v4-hero__title { font-size: 40px; text-align: left; max-width: 480px; }
    .wd-v4-hero__left { text-align: left; padding-left: 30px; }
    .wd-v4-hero__sub { max-width: 450px; }
    .wd-v4-hero__wrap { padding: 40px 24px 0; gap: 24px; }
    .wd-v4-hero__img { max-height: 600px; max-width: 115%; margin-bottom: -4px; }
    .wd-v4-float--score { top: 10%; left: 0; right: auto; }
    .wd-v4-float--jobs { top: 3%; right: 0; left: auto; }
    .wd-v4-float--ats { bottom: 22%; right: 0; left: auto; }
    .wd-v4-jobs__grid { grid-template-columns: repeat(2, 1fr); }
    .wd-v4-cats__grid { grid-template-columns: 1fr 300px; }
    .wd-v4-cats__list { grid-template-columns: repeat(3, 1fr); }
    .wd-v4-actions { grid-template-columns: repeat(2, 1fr); }


@media (max-width: 991.98px) {
    .wd-v4-hero {
        min-height: auto;
        padding-top: 0;
    }
    .wd-v4-hero__wrap {
        flex-direction: column;
        padding: 24px 16px 0;
    }
    .wd-v4-hero__left {
        flex: none;
        max-width: 100%;
        text-align: center;
        padding-left: 0;
    }
    .wd-v4-hero__title { font-size: 34px; max-width: 100%; text-align: center; }
    .wd-v4-hero__sub { max-width: 100%; text-align: center; margin: 0 auto 28px; }
    .wd-v4-search { margin: 0 auto; }
    .wd-v4-popular { justify-content: center; }
    .wd-v4-hero__right { display: none; }
    .wd-v4-hero__title { font-size: 34px; }

    .wd-v4-stats__inner { flex-direction: column; padding: 24px 20px; }
    .wd-v4-stats__left { width: 100%; flex-wrap: wrap; }
    .wd-v4-stats__item + .wd-v4-stats__item { border-left: none; border-top: 1px solid var(--wd-gray-2); padding-top: 12px; }
    .wd-v4-stats__left { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .wd-v4-stats__item + .wd-v4-stats__item { border-top: none; }
    .wd-v4-stats__right { border-left: none; border-top: 1px solid var(--wd-gray-2); padding: 16px 0 0; width: 100%; justify-content: center; flex-wrap: wrap; }

    .wd-v4-jobs__grid { grid-template-columns: 1fr 1fr; }
    .wd-v4-cats__grid { grid-template-columns: 1fr; }
    .wd-v4-cats__list { grid-template-columns: repeat(3, 1fr); }
    .wd-v4-testimonials__grid { grid-template-columns: 1fr 1fr; }
    .wd-v4-blog__grid { grid-template-columns: 1fr; }
    .wd-v4-app__wrap { flex-direction: column; text-align: center; }
    .wd-v4-app__right-visual { display: none; }
    .wd-v4-app__buttons { justify-content: center; }
    .wd-v4-app__features { display: inline-block; text-align: left; }
    .wd-v4-app__stat-row { justify-content: center; }
    .wd-v4-app { padding: 60px 0; }
}

@media (max-width: 767.98px) {
    .wd-v4-hero__title { font-size: 28px; }
    .wd-v4-hero__wrap { padding: 24px 16px 48px; }
    .wd-v4-search {
        flex-direction: column;
        height: auto;
        border-radius: 16px;
        padding: 10px;
        gap: 6px;
    }
    .wd-v4-search__div { display: none; }
    .wd-v4-search__field { width: 100%; padding: 10px 12px; }
    .wd-v4-search__btn { width: 100%; border-radius: 12px; height: 46px; }

    .wd-v4-stats { margin-top: -32px; }
    .wd-v4-stats__num { font-size: 22px; }

    .wd-v4-section { padding: 48px 0; }
    .wd-v4-section-head h2 { font-size: 22px; }

    .wd-v4-jobs__grid { grid-template-columns: 1fr; }
    .wd-v4-actions { grid-template-columns: 1fr; gap: 12px; }
    .wd-v4-cats__list { grid-template-columns: repeat(2, 1fr); }
    .wd-v4-testimonials__grid { grid-template-columns: 1fr; }
    .wd-v4-app__title { font-size: 24px; }
    .wd-v4-app__stat-num { font-size: 22px; }
    .wd-v4-app { padding: 48px 0; }
}

@media (max-width: 575.98px) {
    .wd-v4-hero__title { font-size: 24px; }
    .wd-v4-hero__badge { font-size: 12px; }
    .wd-v4-cats__list { grid-template-columns: 1fr 1fr; gap: 10px; }
    .wd-v4-cat-card { padding: 18px 12px; }
    .wd-v4-cat-card h5 { font-size: 12px; }
    .wd-v4-blog-card { flex-direction: column; }
    .wd-v4-blog-card__img { width: 100%; height: 160px; }
    .wd-v4-blog-card__body { padding: 16px; }
}

@media (max-width: 375px) {
    .wd-v4-hero__title { font-size: 22px; }
    .wd-v4-stats__inner { padding: 16px 12px; }
    .wd-v4-stats__num { font-size: 20px; }
    .wd-v4-section-head h2 { font-size: 20px; }
}

@media (max-width: 320px) {
    .wd-v4-hero__title { font-size: 20px; }
    .wd-v4-hero__sub { font-size: 13px; }
    .wd-v4-section { padding: 32px 0; }
}

/* ---- White-space fix: no body padding on homepage ---- */
body.homepage {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
body.homepage .site-header,
body.homepage header {
    margin-bottom: 0 !important;
}
body.homepage header.homepage-header .n-header,
body.homepage header.homepage-header .n-header--top,
body.homepage header.homepage-header .n-header--bottom {
    margin-top: 0 !important;
}
body.homepage header.homepage-header .n-header--top {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}
body.homepage header.homepage-header .n-header--bottom {
    padding-top: 0 !important;
}
/* ---- Hide old v3 hero/section/stats elements on homepage ---- */
body.homepage .wdu-hero { display: none !important; }
body.homepage .wdu-stats-overlap { display: none !important; }
body.homepage .wdu-stats-bar { display: none !important; }
body.homepage .wdu-section { display: none !important; }
body.homepage .wdu-section--alt { display: none !important; }
body.homepage .wdu-category-section { display: none !important; }
body.homepage .featurejob-area { display: none !important; }
body.homepage .wdu-top-companies-section { display: none !important; }
body.homepage .wdu-app-download { display: none !important; }
body.homepage .testimoinals-area { display: none !important; }
body.homepage .wdu-cta { display: none !important; }
