*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --green: #00C65E;
    --green-dark: #00a84e;
    --green-light: #e6f9f0;
    --text: #1a1a2e;
    --text-secondary: #555;
    --text-muted: #888;
    --bg: #fff;
    --bg-gray: #f7f8fa;
    --border: #e8e8e8;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);
    --shadow: 0 4px 20px rgba(0, 0, 0, .08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, .12);
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: .25s cubic-bezier(.4, 0, .2, 1);
    --max-width: 1200px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

img {
    display: block;
    object-fit: cover;
    border-radius: var(--radius);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input {
    font-family: inherit;
    border: none;
    outline: none;
    font-size: 1rem;
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, .92);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    flex-shrink: 0;
}

.logo svg {
    flex-shrink: 0;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.nav-link {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: .95rem;
    color: var(--text-secondary);
    transition: all var(--transition);
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: var(--green);
    background: var(--green-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-divider {
    width: 1px;
    height: 20px;
    background: var(--border);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: .9rem;
    font-weight: 500;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-text {
    color: var(--text-secondary);
}

.btn-text:hover {
    color: var(--green);
}

.btn-primary {
    background: var(--green);
    color: #fff;
}

.btn-primary:hover {
    background: var(--green-dark);
    box-shadow: 0 4px 14px rgba(0, 198, 94, .35);
}

.btn-outline {
    border: 1.5px solid var(--border);
    color: var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--green);
    color: var(--green);
}

.btn-lg {
    padding: 14px 36px;
    border-radius: 28px;
    font-size: 1rem;
    font-weight: 600;
}

.btn-outline-light {
    border: 1.5px solid rgba(255, 255, 255, .5);
    color: #fff;
}

.btn-outline-light:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .1);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}

.hero {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 24px 80px;
    display: flex;
    align-items: center;
    gap: 60px;
    min-height: 520px;
}

.hero-content {
    flex: 1;
    max-width: 520px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -.02em;
    background: linear-gradient(135deg, #1a1a2e 0%, #333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.search-box {
    background: var(--bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 24px;
}

.search-tabs {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.search-tab {
    font-size: .9rem;
    color: var(--text-muted);
    cursor: pointer;
    padding-bottom: 8px;
    border-bottom: 2px solid transparent;
    transition: all var(--transition);
    font-weight: 500;
}

.search-tab.active {
    color: var(--green);
    border-bottom-color: var(--green);
}

.search-tab:hover {
    color: var(--green);
}

.search-bar {
    display: flex;
    gap: 12px;
}

.search-input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--border);
    border-radius: 28px;
    font-size: .95rem;
    transition: border-color var(--transition);
    background: var(--bg-gray);
}

.search-input:focus {
    border-color: var(--green);
    background: var(--bg);
}

.search-btn {
    padding: 14px 32px;
    background: var(--green);
    color: #fff;
    border-radius: 28px;
    font-size: .95rem;
    font-weight: 600;
    transition: all var(--transition);
    white-space: nowrap;
}

.search-btn:hover {
    background: var(--green-dark);
    box-shadow: 0 6px 20px rgba(0, 198, 94, .4);
}

.search-hot {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
    font-size: .85rem;
    color: var(--text-muted);
}

.search-hot a {
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: 12px;
    background: var(--bg-gray);
    transition: all var(--transition);
}

.search-hot a:hover {
    color: var(--green);
    background: var(--green-light);
}

.hero-visual {
    flex: 1;
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-illustration {
    position: relative;
    width: 320px;
    height: 320px;
}

.circle-bg {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #e6f9f0 0%, #d0f5e3 50%, #b8f0d0 100%);
    animation: pulse-bg 4s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }
}

.chat-bubble {
    position: absolute;
    padding: 12px 18px;
    border-radius: 18px;
    font-size: .85rem;
    box-shadow: var(--shadow-sm);
    animation: float 5s ease-in-out infinite;
    max-width: 200px;
}

.bubble-left {
    background: #fff;
    left: -30px;
    top: 60px;
    border-bottom-left-radius: 4px;
    animation-delay: 0s;
}

.bubble-right {
    background: var(--green);
    color: #fff;
    right: -40px;
    top: 130px;
    border-bottom-right-radius: 4px;
    animation-delay: 1.2s;
}

.bubble-left.small {
    left: -10px;
    top: 180px;
    animation-delay: 2.4s;
    padding: 10px 16px;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

.hero-card {
    position: absolute;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: -10px;
    right: -20px;
    animation-delay: .5s;
}

.card-2 {
    bottom: 40px;
    left: -40px;
    animation-delay: 1.8s;
}

.card-3 {
    bottom: -10px;
    right: 10px;
    animation-delay: 3s;
}

.mini-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #6c5ce7;
    flex-shrink: 0;
}

.mini-avatar.green {
    background: #00b894;
}

.mini-avatar.orange {
    background: #fdcb6e;
}

.mini-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mini-line {
    width: 60px;
    height: 6px;
    border-radius: 3px;
    background: #e0e0e0;
}

.mini-line.short {
    width: 36px;
}

.stats {
    background: var(--bg-gray);
    padding: 50px 24px;
}

.stats-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 24px;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 140px;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--green);
    letter-spacing: -.01em;
}

.stat-label {
    display: block;
    font-size: .9rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.categories {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 70px 24px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: -.01em;
}

.section-desc {
    text-align: center;
    color: var(--text-muted);
    margin-top: 10px;
    margin-bottom: 40px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 28px 20px;
    border-radius: var(--radius-lg);
    background: var(--bg-gray);
    transition: all var(--transition);
    cursor: pointer;
}

.category-card:hover {
    background: var(--green-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.category-icon {
    font-size: 2.2rem;
}

.category-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
}

.category-count {
    font-size: .8rem;
    color: var(--text-muted);
}

.featured {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px 70px;
}

.featured-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.view-all {
    color: var(--green);
    font-weight: 500;
    font-size: .95rem;
    margin-top: 8px;
    transition: color var(--transition);
}

.view-all:hover {
    color: var(--green-dark);
}

.job-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.job-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
    transition: all var(--transition);
    cursor: pointer;
}

.job-card:hover {
    border-color: var(--green);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.job-card-top {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.company-logo {
    border-radius: var(--radius);
    flex-shrink: 0;
    width: 48px;
    height: 48px;
}

.job-info {
    flex: 1;
    min-width: 0;
}

.job-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.job-company {
    font-size: .85rem;
    color: var(--text-muted);
}

.job-salary {
    font-size: 1.15rem;
    font-weight: 700;
    color: #f56a00;
    white-space: nowrap;
    flex-shrink: 0;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.job-tags span {
    padding: 4px 12px;
    font-size: .8rem;
    background: var(--bg-gray);
    border-radius: 12px;
    color: var(--text-secondary);
}

.job-card-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    font-size: .82rem;
    color: var(--text-muted);
}

.companies {
    background: var(--bg-gray);
    padding: 70px 24px;
}

.company-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
}

.company-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 28px 16px;
    background: #fff;
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.company-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.company-card img {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
}

.company-name {
    font-weight: 600;
    font-size: .95rem;
}

.company-jobs {
    font-size: .78rem;
    color: var(--text-muted);
}

.cta {
    background: linear-gradient(135deg, #00C65E 0%, #00a84e 100%);
    padding: 70px 24px;
    text-align: center;
    color: #fff;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.cta-content p {
    font-size: 1.05rem;
    opacity: .9;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer {
    background: #1a1a2e;
    color: #ccc;
    padding: 50px 24px 30px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin-bottom: 36px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-col a {
    display: block;
    color: #aaa;
    font-size: .88rem;
    padding: 5px 0;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--green);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 20px;
    text-align: center;
    font-size: .8rem;
    color: #777;
    line-height: 2;
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        padding: 40px 20px 50px;
        gap: 40px;
        min-height: auto;
    }
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-visual {
        min-height: 300px;
        width: 100%;
    }
    .hero-illustration {
        width: 260px;
        height: 260px;
    }
    .bubble-left {
        left: -50px;
        top: 40px;
    }
    .bubble-right {
        right: -60px;
        top: 110px;
    }
    .bubble-left.small {
        left: -30px;
        top: 160px;
    }
    .chat-bubble {
        font-size: .75rem;
        padding: 10px 14px;
        max-width: 150px;
    }
    .hero-card {
        display: none;
    }
    .header-actions {
        gap: 8px;
    }
    .btn {
        padding: 7px 14px;
        font-size: .82rem;
    }
    .nav {
        gap: 4px;
    }
    .nav-link {
        padding: 6px 12px;
        font-size: .85rem;
    }
}

@media (max-width: 640px) {
    .header-inner {
        height: 56px;
        gap: 16px;
    }
    .nav {
        display: none;
    }
    .header-actions .btn-text,
    .header-actions .btn-outline {
        display: none;
    }
    .header-divider {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    .hero-title {
        font-size: 1.8rem;
    }
    .search-bar {
        flex-direction: column;
    }
    .search-btn {
        width: 100%;
    }
    .hero-visual {
        min-height: 240px;
    }
    .hero-illustration {
        width: 200px;
        height: 200px;
    }
    .bubble-left {
        left: -40px;
        top: 20px;
        font-size: .7rem;
        padding: 8px 10px;
        max-width: 110px;
    }
    .bubble-right {
        right: -50px;
        top: 80px;
        font-size: .7rem;
        padding: 8px 10px;
        max-width: 110px;
    }
    .bubble-left.small {
        left: -20px;
        top: 120px;
        font-size: .68rem;
        padding: 7px 9px;
        max-width: 100px;
    }
    .stats-inner {
        gap: 16px;
    }
    .stat-number {
        font-size: 1.5rem;
    }
    .stat-item {
        min-width: 100px;
    }
    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    .category-card {
        padding: 20px 14px;
    }
    .job-card {
        padding: 16px;
    }
    .job-card-top {
        flex-wrap: wrap;
    }
    .job-salary {
        width: 100%;
        text-align: right;
        font-size: 1rem;
    }
    .company-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 12px;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .cta-content h2 {
        font-size: 1.5rem;
    }
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}