/* ===================================
   VietAZ – Front Page
   Production-Grade UI | Modern Minimal Community
   Design System v1.0 | Arizona Desert Palette
   =================================== */

/* ============================
   1. HERO – Desert-tone Gradient
   ============================ */

.vx-hero--gradient {
    width: 100%;
    background: transparent;
    padding: 80px 0 72px;
    position: relative;
    overflow: hidden;
}

.vx-hero--gradient::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top center, rgba(var(--vz-sky-200-rgb), 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.vx-hero-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 56px;
    position: relative;
    z-index: 1;
}

/* LEFT */

.vx-hero-left {
    flex: 1;
    max-width: 540px;
}

.vx-hero-eyebrow {
    font-size: 13px;
    color: var(--vz-sky-700);
    text-transform: uppercase;
    margin-bottom: 16px;
    letter-spacing: 0.08em;
    font-weight: 600;
    display: inline-block;
    padding: 6px 16px;
    background: var(--vz-sky-100);
    border-radius: 999px;
}

.vx-hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--vz-navy-800);
    letter-spacing: -0.02em;
}

.vx-hero-subtitle {
    font-size: 18px;
    color: var(--vx-text-soft);
    margin-bottom: 28px;
    line-height: 1.7;
    max-width: 520px;
}

.vx-hero-highlights {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vx-hero-highlights li {
    font-size: 16px;
    color: var(--vx-text);
    padding-left: 28px;
    position: relative;
    line-height: 1.6;
}

.vx-hero-highlights li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vz-sky-600);
    font-weight: 700;
    font-size: 14px;
    background: var(--vz-sky-100);
    border-radius: 50%;
}

/* RIGHT – Search Box */

.vx-hero-searchbox {
    flex: 1;
    max-width: 560px;
    background: #ffffff;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 16px 48px rgba(var(--vz-sky-200-rgb), 0.3),
                0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--vz-sky-100);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tabs */

.vx-hero-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.vx-hero-tab {
    flex: 1;
    padding: 12px 20px;
    border-radius: 12px;
    background: var(--vz-sand-100);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--vx-text);
    transition: all 0.18s ease;
    position: relative;
}

.vx-hero-tab:hover {
    background: var(--vz-sky-50);
    border-color: var(--vz-sky-200);
}

.vx-hero-tab:focus {
    outline: none;
    border-color: var(--vz-sky-500);
    box-shadow: 0 0 0 3px rgba(var(--vz-sky-200-rgb), 0.3);
}

.vx-hero-tab.active {
    background: linear-gradient(135deg, var(--vz-sky-500), var(--vz-sky-700));
    color: #fff;
    border-color: var(--vz-sky-600);
    box-shadow: 0 8px 20px rgba(var(--vz-sky-200-rgb), 0.4);
}

.vx-hero-tab:active {
    transform: scale(0.98);
}

/* Hero forms */

.vx-hero-form {
    display: none;
}

.vx-hero-form.is-active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.vx-hero-form .vx-input,
.vx-hero-form .vx-select {
    margin-bottom: 16px;
    border-radius: 12px;
    font-size: 15px;
    border: 2px solid var(--vz-sky-200);
    transition: all 0.18s ease;
}

.vx-hero-form .vx-input:focus,
.vx-hero-form .vx-select:focus {
    outline: none;
    border-color: var(--vz-sky-500);
    box-shadow: 0 0 0 3px rgba(var(--vz-sky-200-rgb), 0.3);
}

.vx-hero-form .vx-btn {
    width: 100%;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--vz-sky-500), var(--vz-sky-700));
    box-shadow: 0 10px 25px rgba(var(--vz-sky-200-rgb), 0.35);
    transition: all 0.18s ease;
}

.vx-hero-form .vx-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(var(--vz-sky-200-rgb), 0.45);
}

.vx-hero-form .vx-btn:focus {
    outline: 2px solid var(--vz-sky-500);
    outline-offset: 2px;
}

.vx-hero-form .vx-btn:active {
    transform: translateY(0);
}

/* Tip */

.vx-hero-tip {
    margin-top: 12px;
    font-size: 13px;
    color: var(--vx-text-soft);
    text-align: center;
}

/* Hero – mobile */

@media (max-width: 900px) {
    .vx-hero--gradient {
        padding: 40px 0;
    }

    .vx-hero-wrap {
        flex-direction: column;
        padding: 0 22px;
    }

    .vx-hero-title {
        font-size: 32px;
    }

    .vx-hero-searchbox {
        width: 100%;
        max-width: 100%;
    }
}

/* ============================
   1B. STATS IN HERO – Premium Compact
   ============================ */

.vx-hero-stats {
    margin-top: 40px;
}

.vx-hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 1000px;
    margin: 0 auto;
}

.vx-hero-stat {
    position: relative;
    text-align: center;
    padding: 14px 16px;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.85) 100%
    );
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 4px 16px rgba(var(--vz-sky-200-rgb), 0.12),
        0 1px 3px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.vx-hero-stat::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        var(--vz-sky-400) 0%,
        var(--vz-sky-500) 50%,
        var(--vz-sunset-400) 100%
    );
    opacity: 0;
    transition: opacity 0.25s ease;
}

.vx-hero-stat:hover::before {
    opacity: 1;
}

.vx-hero-stat:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 12px 32px rgba(var(--vz-sky-200-rgb), 0.2),
        0 4px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.95) 100%
    );
    border-color: rgba(var(--vz-sky-200-rgb), 0.8);
}

.vx-hero-stat__icon {
    font-size: 22px;
    margin-bottom: 6px;
    line-height: 1;
    opacity: 0.85;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    transition: all 0.25s ease;
}

.vx-hero-stat:hover .vx-hero-stat__icon {
    transform: scale(1.1);
    opacity: 1;
}

.vx-hero-stat__number {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg,
        var(--vz-sky-600) 0%,
        var(--vz-sky-700) 50%,
        var(--vz-sunset-500) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.vx-hero-stat__label {
    font-size: 11px;
    color: var(--vx-text-soft);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.01em;
    opacity: 0.8;
}

@media (max-width: 900px) {
    .vx-hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .vx-hero-stat {
        padding: 16px 14px;
    }
}

/* ============================
   2. STATS SECTION
   ============================ */

.vx-home-stats {
    padding: 48px 0 32px;
    background: transparent;
}

.vx-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.vx-stat-card {
    text-align: center;
    padding: 20px 16px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid var(--vz-sky-100);
    box-shadow: 0 2px 8px rgba(var(--vz-sky-200-rgb), 0.08);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.vx-stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--vz-sky-500), var(--vz-sunset-500));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.vx-stat-card:hover::before {
    transform: scaleX(1);
}

.vx-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(var(--vz-sky-200-rgb), 0.15);
    border-color: var(--vz-sky-200);
}

.vx-stat-card__icon {
    font-size: 28px;
    margin-bottom: 8px;
    line-height: 1;
    opacity: 0.8;
}

.vx-stat-card__number {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--vz-sky-600), var(--vz-sunset-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
    line-height: 1.1;
}

.vx-stat-card__label {
    font-size: 13px;
    color: var(--vx-text-soft);
    font-weight: 500;
    line-height: 1.4;
}

@media (max-width: 960px) {
    .vx-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .vx-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .vx-stat-card {
        padding: 24px 16px;
    }

    .vx-stat-card__number {
        font-size: 32px;
    }
}

/* ============================
   2B. RECENTLY VIEWED
   ============================ */

.vx-home-recent {
    padding: 40px 0;
    background: transparent;
}

.vx-mini-list--horizontal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

.vx-mini-card--compact {
    background: #ffffff;
    padding: 16px;
    border-radius: 12px;
    border: 2px solid var(--vz-sky-100);
    box-shadow: 0 2px 8px rgba(var(--vz-sky-200-rgb), 0.1);
    transition: all 0.2s ease;
}

.vx-mini-card--compact:hover {
    transform: translateY(-4px);
    border-color: var(--vz-sky-300);
    box-shadow: 0 8px 24px rgba(var(--vz-sky-200-rgb), 0.15);
    padding-left: 16px;
}

.vx-mini-card--compact .vx-mini-card__title {
    font-size: 14px;
    margin: 0 0 6px;
}

.vx-mini-card--compact .vx-mini-card__title a {
    font-weight: 600;
}

.vx-badge.vx-badge--xs {
    padding: 2px 8px;
    font-size: 11px;
}

@media (max-width: 960px) {
    .vx-mini-list--horizontal {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .vx-mini-list--horizontal {
        grid-template-columns: 1fr;
    }
}

/* ============================
   3. HOME SECTIONS – GLOBAL
   ============================ */

.vx-home-section {
    padding: 56px 0;
}

/* Section header */

.vx-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 32px;
}

.vx-section__title {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 8px;
    color: var(--vz-navy-800);
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.vx-section__subtitle {
    font-size: 16px;
    color: var(--vx-text-soft);
    margin: 0;
    line-height: 1.6;
}

.vx-section__cta {
    font-size: 15px;
    font-weight: 600;
    color: var(--vz-sky-600);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.vx-section__cta:hover {
    color: var(--vz-sky-700);
    transform: translateX(4px);
}

.vx-section__cta:focus {
    outline: 2px solid var(--vz-sky-500);
    outline-offset: 2px;
    border-radius: 4px;
}

@media (max-width: 720px) {
    .vx-section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .vx-section__title {
        font-size: 24px;
    }
}

/* ============================
   4. MINI LISTS – JOBS / ADVERTS
   ============================ */

.vx-home-lists {
    padding-top: 48px;
    padding-bottom: 48px;
    background: transparent;
}

.vx-home-lists-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
}

.vx-home-list__header {
    margin-bottom: 20px;
}

/* Mini list – Clean & Modern */

.vx-mini-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--vz-sky-100);
    box-shadow: 0 4px 16px rgba(var(--vz-sky-200-rgb), 0.12);
}

.vx-mini-card {
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--vz-sky-100);
    border-bottom: none;
    box-shadow: none;
    padding: 16px 10px;
    background: transparent;
    transition: all 0.18s ease;
}

.vx-mini-card:first-child {
    border-top: none;
}

.vx-mini-card:hover {
    background: rgba(var(--vz-sky-100-rgb), 0.3);
    padding-left: 14px;
    border-left: 3px solid var(--vz-sky-500);
}

.vx-mini-card:focus-within {
    background: rgba(var(--vz-sky-100-rgb), 0.5);
    border-left: 3px solid var(--vz-sky-600);
    padding-left: 14px;
}

.vx-mini-card__title {
    font-size: 15px;
    margin: 0 0 8px;
    line-height: 1.5;
}

.vx-mini-card__title a {
    color: var(--vz-navy-800);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.18s ease;
}

.vx-mini-card__title a:hover {
    color: var(--vz-sky-600);
}

.vx-mini-card__title a:focus {
    outline: 2px solid var(--vz-sky-500);
    outline-offset: 2px;
    border-radius: 2px;
}

.vx-mini-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: var(--vx-text-soft);
}

.vx-mini-dot {
    font-size: 10px;
    opacity: 0.5;
}

.vx-mini-date {
    opacity: 0.8;
}

/* Badge mini */

.vx-badge.vx-badge--soft,
.vx-badge.vx-badge--soft-advert {
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}

@media (max-width: 900px) {
    .vx-home-lists-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ============================
   5. DANH MỤC NỔI BẬT
   ============================ */

.vx-home-cats {
    padding: 56px 0;
    background: transparent;
}

.vx-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.vx-cat-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: 0 4px 16px rgba(var(--vz-sky-200-rgb), 0.12);
    text-decoration: none;
    color: var(--vx-text);
    border: 2px solid var(--vz-sky-100);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.vx-cat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--vz-sky-500), var(--vz-sunset-500));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.vx-cat-card:hover::before {
    transform: scaleX(1);
}

.vx-cat-card:focus {
    outline: none;
    border-color: var(--vz-sky-500);
    box-shadow: 0 0 0 3px rgba(var(--vz-sky-200-rgb), 0.3);
}

.vx-cat-card__icon {
    font-size: 32px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.vx-cat-card:hover .vx-cat-card__icon {
    transform: scale(1.15) rotate(-8deg);
}

.vx-cat-card__title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.4;
    color: var(--vz-navy-800);
}

.vx-cat-card__sub {
    font-size: 14px;
    color: var(--vx-text-soft);
    margin: 0;
    line-height: 1.5;
}

.vx-cat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(var(--vz-sky-200-rgb), 0.25);
    border-color: var(--vz-sky-300);
}

.vx-cat-card:active {
    transform: translateY(-4px);
}

@media (max-width: 960px) {
    .vx-cat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

/* ============================
   6. GRID – FEATURED JOBS / ADVERTS
   ============================ */

.vx-home-featured-jobs,
.vx-home-adverts-grid {
    padding: 56px 0;
}

.vx-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.vx-grid--jobs,
.vx-grid--adverts {
    margin-top: 12px;
}

/* Card – Modern Premium Style */

.vx-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    border: 2px solid var(--vz-sky-100);
    box-shadow: 0 4px 16px rgba(var(--vz-sky-200-rgb), 0.12);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.vx-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--vz-sky-500), var(--vz-sunset-500));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.vx-card:hover::after {
    transform: scaleX(1);
}

.vx-card:hover {
    transform: translateY(-6px);
    border-color: var(--vz-sky-300);
    box-shadow: 0 20px 48px rgba(var(--vz-sky-200-rgb), 0.25);
}

.vx-card:focus-within {
    border-color: var(--vz-sky-500);
    box-shadow: 0 0 0 3px rgba(var(--vz-sky-200-rgb), 0.3);
}

.vx-card__title {
    font-size: 17px;
    margin: 0 0 12px;
    line-height: 1.45;
}

.vx-card__title a {
    color: var(--vz-navy-800);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.18s ease;
}

.vx-card__title a:hover {
    color: var(--vz-sky-600);
}

.vx-card__title a:focus {
    outline: 2px solid var(--vz-sky-500);
    outline-offset: 2px;
    border-radius: 2px;
}

.vx-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--vx-text-soft);
    margin-bottom: 8px;
}

.vx-card__loc {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.vx-card__loc::before {
    content: "📍";
    font-size: 13px;
}

.vx-card__salary,
.vx-card__price {
    font-weight: 700;
    color: var(--vz-sky-700);
    background: rgba(var(--vz-sky-100-rgb), 0.6);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 13px;
    border: 1px solid var(--vz-sky-200);
}

.vx-card__date {
    font-size: 13px;
    color: var(--vx-text-soft);
    opacity: 0.8;
}

/* Responsive grid */

@media (max-width: 960px) {
    .vx-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .vx-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ============================
   7. GÓC CỘNG ĐỒNG
   ============================ */

.vx-home-community {
    padding: 56px 0;
    background: transparent;
}

.vx-community-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.vx-community-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    border: 2px solid var(--vz-sky-100);
    box-shadow: 0 4px 16px rgba(var(--vz-sky-200-rgb), 0.1);
    transition: all 0.2s ease;
}

.vx-community-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(var(--vz-sky-200-rgb), 0.2);
    border-color: var(--vz-sky-300);
}

.vx-community-card:focus-within {
    border-color: var(--vz-sky-500);
    box-shadow: 0 0 0 3px rgba(var(--vz-sky-200-rgb), 0.3);
}

.vx-community-card__title {
    font-size: 17px;
    margin: 0 0 10px;
    line-height: 1.5;
}

.vx-community-card__title a {
    color: var(--vz-navy-800);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.18s ease;
}

.vx-community-card__title a:hover {
    color: var(--vz-sky-600);
}

.vx-community-card__title a:focus {
    outline: 2px solid var(--vz-sky-500);
    outline-offset: 2px;
    border-radius: 2px;
}

.vx-community-card__meta {
    font-size: 13px;
    color: var(--vx-text-soft);
}

@media (max-width: 960px) {
    .vx-community-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .vx-community-list {
        grid-template-columns: 1fr;
    }
}

/* ============================
   8. CTA ĐĂNG TIN
   ============================ */

.vx-home-cta {
    padding: 56px 0;
}

.vx-cta-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    border-radius: 24px;
    padding: 48px 56px;
    background: linear-gradient(135deg,
        rgba(var(--vz-sky-100-rgb), 0.5) 0%,
        rgba(var(--vz-sunset-100-rgb), 0.3) 100%
    );
    border: 2px solid var(--vz-sky-200);
    box-shadow: 0 20px 60px rgba(var(--vz-sky-200-rgb), 0.2);
    position: relative;
    overflow: hidden;
}

.vx-cta-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--vz-sky-200-rgb), 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.vx-cta-card__title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 10px;
    color: var(--vz-navy-800);
    line-height: 1.3;
}

.vx-cta-card__text {
    font-size: 16px;
    color: var(--vx-text-soft);
    margin: 0;
    line-height: 1.7;
    max-width: 640px;
}

.vx-cta-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.vx-cta-card__actions .vx-btn {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--vz-sky-500), var(--vz-sky-700));
    box-shadow: 0 12px 28px rgba(var(--vz-sky-200-rgb), 0.35);
    transition: all 0.18s ease;
}

.vx-cta-card__actions .vx-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(var(--vz-sky-200-rgb), 0.45);
}

.vx-cta-card__actions .vx-btn:focus {
    outline: 2px solid var(--vz-sky-500);
    outline-offset: 2px;
}

@media (max-width: 720px) {
    .vx-cta-card {
        align-items: flex-start;
        padding: 32px 24px;
    }

    .vx-cta-card__title {
        font-size: 22px;
    }
}

/* ============================
   9. ACCESSIBILITY & MOTION
   ============================ */

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .vx-hero-tab,
    .vx-cat-card,
    .vx-card,
    .vx-community-card {
        border-width: 3px;
    }
}

/* Skip to Main Content (Screen Reader) */
.vx-skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--vz-sky-600);
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 0 0 4px 0;
    font-weight: 600;
    z-index: 9999;
}

.vx-skip-link:focus {
    top: 0;
    outline: 2px solid var(--vz-navy-800);
    outline-offset: 2px;
}

/* Focus Visible Polyfill */
.vx-hero-tab:focus-visible,
.vx-cat-card:focus-visible,
.vx-card:focus-visible,
.vx-btn:focus-visible {
    outline: 3px solid var(--vz-sky-500);
    outline-offset: 3px;
}

/* Loading State */
.vx-grid.is-loading,
.vx-mini-list.is-loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Smooth Scroll */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* ============================
   10. MOBILE MINI – Tối ưu dưới 640px
   ============================ */
@media (max-width: 640px) {

    /* HERO mini */
    .vx-hero--gradient {
        padding: 32px 0 28px;
    }

    .vx-hero-wrap {
        flex-direction: column;
        padding: 0 16px;
        gap: 24px;
    }

    .vx-hero-left {
        max-width: 100%;
    }

    .vx-hero-eyebrow {
        font-size: 11px;
        padding: 4px 10px;
        margin-bottom: 10px;
    }

    .vx-hero-title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .vx-hero-subtitle {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .vx-hero-highlights li {
        font-size: 14px;
        line-height: 1.5;
    }

    .vx-hero-searchbox {
        max-width: 100%;
        padding: 18px 16px;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(var(--vz-sky-200-rgb), 0.25);
    }

    .vx-hero-tabs {
        gap: 8px;
        margin-bottom: 14px;
    }

    .vx-hero-tab {
        padding: 9px 12px;
        font-size: 14px;
        border-radius: 999px;
    }

    .vx-hero-form .vx-input,
    .vx-hero-form .vx-select {
        margin-bottom: 10px;
        font-size: 14px;
        border-width: 1.5px;
        border-radius: 10px;
    }

    .vx-hero-form .vx-btn {
        padding: 11px 18px;
        font-size: 15px;
        border-radius: 11px;
        box-shadow: 0 8px 22px rgba(var(--vz-sky-200-rgb), 0.35);
    }

    .vx-hero-tip {
        font-size: 12px;
        margin-top: 8px;
    }

    /* HERO STATS mini */
    .vx-hero-stats {
        margin-top: 28px;
    }

    .vx-hero-stats-grid {
        gap: 8px;
    }

    .vx-hero-stat {
        padding: 12px 8px;
        border-radius: 12px;
    }

    .vx-hero-stat__icon {
        font-size: 18px;
        margin-bottom: 4px;
    }

    .vx-hero-stat__number {
        font-size: 20px;
    }

    .vx-hero-stat__label {
        font-size: 10px;
    }

    /* HOME SECTIONS mini */
    .vx-home-section {
        padding: 40px 0;
    }

    .vx-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 20px;
    }

    .vx-section__title {
        font-size: 22px;
    }

    .vx-section__subtitle {
        font-size: 14px;
    }

    .vx-section__cta {
        font-size: 14px;
    }

    /* LIST JOBS / ADVERTS mini */
    .vx-home-lists {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .vx-home-lists-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .vx-mini-list {
        padding: 14px 14px;
        border-radius: 14px;
        box-shadow: 0 2px 10px rgba(var(--vz-sky-200-rgb), 0.16);
    }

    .vx-mini-card {
        padding: 10px 4px;
    }

    .vx-mini-card__title {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .vx-mini-card__meta {
        font-size: 11.5px;
        gap: 6px;
    }

    /* CATEGORIES mini */
    .vx-home-cats {
        padding: 40px 0 32px;
    }

    .vx-cat-card {
        padding: 18px 16px;
        border-radius: 14px;
    }

    .vx-cat-card__icon {
        font-size: 26px;
    }

    .vx-cat-card__title {
        font-size: 15px;
    }

    .vx-cat-card__sub {
        font-size: 13px;
    }

    /* CTA mini */
    .vx-home-cta {
        padding: 40px 0 56px;
    }

    .vx-cta-card {
        padding: 28px 20px;
        border-radius: 20px;
        gap: 20px;
    }

    .vx-cta-card__title {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .vx-cta-card__text {
        font-size: 14px;
    }

    .vx-cta-card__actions .vx-btn {
        padding: 11px 22px;
        font-size: 15px;
    }
}
/* Stats ngay dưới hero – đẩy sát hero trên desktop, nới ra trên mobile */
.vx-home-stats--hero {
    padding-top: 0;
    margin-top: -56px;      /* kéo lên nhẹ trên desktop */
    position: relative;
    z-index: 10;
}

/* Mobile: bớt kéo lên cho thoáng giữa box tìm kiếm và stats */
@media (max-width: 768px) {
    .vx-home-stats--hero {
        margin-top: -24px;   /* nếu vẫn thấy dính thì đổi thành 0 hoặc -10 */
    }
}
