/* =========================================================
   基础变量与重置
   ========================================================= */
:root {
    --primary: #6366f1;
    --primary-2: #8b5cf6;
    --primary-soft: #eef2ff;

    --ai: #6366f1;
    --ai-2: #8b5cf6;
    --game: #f43f5e;
    --game-2: #fb7185;
    --retail: #10b981;
    --retail-2: #34d399;

    --bg: #f8fafc;
    --surface: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 26px;

    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
    --shadow: 0 10px 30px -12px rgba(15, 23, 42, .16);
    --shadow-lg: 0 24px 60px -24px rgba(15, 23, 42, .28);

    --container: 1160px;
    --nav-h: 72px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
        "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, p {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================================
   通用按钮
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease,
        background .2s ease, border-color .2s ease, color .2s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    box-shadow: 0 10px 24px -8px rgba(99, 102, 241, .55);
}

.btn-primary:hover {
    box-shadow: 0 16px 32px -10px rgba(99, 102, 241, .7);
}

.btn-ghost {
    color: var(--text);
    background: rgba(255, 255, 255, .7);
    border-color: var(--border);
    backdrop-filter: blur(6px);
}

.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-light {
    color: #0f172a;
    background: #fff;
    box-shadow: 0 10px 26px -12px rgba(0, 0, 0, .5);
}

.btn-light:hover {
    background: #f1f5ff;
}

/* =========================================================
   导航栏
   ========================================================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .78);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, .8);
}

.nav-inner {
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: .02em;
    color: var(--text);
}

.logo-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    box-shadow: 0 8px 18px -8px rgba(99, 102, 241, .8);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
    transition: color .2s ease;
    position: relative;
}

.nav-links a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
    transition: width .25s ease;
}

.nav-links a:not(.nav-cta):hover {
    color: var(--text);
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 20px;
    border-radius: 999px;
    color: #fff !important;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    box-shadow: 0 8px 20px -8px rgba(99, 102, 241, .65);
    transition: transform .2s ease, box-shadow .2s ease;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px -8px rgba(99, 102, 241, .8);
}

/* =========================================================
   首屏 Hero
   ========================================================= */
.hero {
    position: relative;
    padding: 96px 0 80px;
    overflow: hidden;
    background:
        radial-gradient(900px 480px at 12% -10%, rgba(99, 102, 241, .16), transparent 60%),
        radial-gradient(800px 420px at 90% 0%, rgba(139, 92, 246, .14), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, .035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-soft);
    border: 1px solid rgba(99, 102, 241, .18);
}

.hero h1 {
    margin-top: 26px;
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.02em;
}

.grad {
    background: linear-gradient(120deg, var(--primary) 0%, var(--primary-2) 50%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    max-width: 760px;
    margin: 24px auto 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.9;
}

.hero-actions {
    margin-top: 36px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-stats {
    margin-top: 64px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 28px 16px;
    background: rgba(255, 255, 255, .7);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.hero-stats > div {
    position: relative;
    padding: 0 8px;
}

.hero-stats > div + div::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 42px;
    background: var(--border);
}

.stat-num {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    margin-top: 6px;
    font-size: 13px;
    color: var(--muted);
}

/* =========================================================
   区块通用
   ========================================================= */
.section {
    padding: 96px 0;
}

.section-alt {
    background: linear-gradient(180deg, #ffffff 0%, #f4f6ff 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-head {
    max-width: 720px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-soft);
}

.section-head h2,
.talent h2 {
    margin-top: 16px;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -.01em;
}

.section-head p {
    margin-top: 16px;
    color: var(--muted);
    font-size: 16px;
}

/* =========================================================
   三大业务板块
   ========================================================= */
.biz-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.biz-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 34px 30px 30px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.biz-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    opacity: .9;
    transition: height .28s ease;
}

.biz-card.ai::before { background: linear-gradient(90deg, var(--ai), var(--ai-2)); }
.biz-card.game::before { background: linear-gradient(90deg, var(--game), var(--game-2)); }
.biz-card.retail::before { background: linear-gradient(90deg, var(--retail), var(--retail-2)); }

.biz-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.biz-card:hover::before {
    height: 6px;
}

.biz-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    border-radius: 16px;
    margin-bottom: 20px;
    transition: transform .3s ease;
}

.biz-card:hover .biz-icon {
    transform: scale(1.06) rotate(-3deg);
}

.biz-card.ai .biz-icon { background: rgba(99, 102, 241, .12); }
.biz-card.game .biz-icon { background: rgba(244, 63, 94, .12); }
.biz-card.retail .biz-icon { background: rgba(16, 185, 129, .12); }

.biz-card h3 {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: .01em;
}

.biz-card p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.85;
    flex: 1;
}

.biz-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.biz-tags span {
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    background: #f1f5f9;
    border: 1px solid var(--border);
}

.biz-card.ai .biz-tags span { color: #4f46e5; background: rgba(99, 102, 241, .08); border-color: rgba(99, 102, 241, .18); }
.biz-card.game .biz-tags span { color: #e11d48; background: rgba(244, 63, 94, .08); border-color: rgba(244, 63, 94, .18); }
.biz-card.retail .biz-tags span { color: #059669; background: rgba(16, 185, 129, .08); border-color: rgba(16, 185, 129, .2); }

.biz-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

.biz-card.game .biz-link { color: #e11d48; }
.biz-card.retail .biz-link { color: #059669; }

.biz-link .arrow {
    transition: transform .25s ease;
}

.biz-card:hover .biz-link .arrow {
    transform: translateX(5px);
}

/* =========================================================
   人才培养
   ========================================================= */
.talent {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 64px;
    align-items: center;
}

.talent-intro {
    margin-top: 18px;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.9;
}

.talent-list {
    margin-top: 30px;
    display: grid;
    gap: 18px;
}

.talent-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.talent-list .check {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    margin-top: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    box-shadow: 0 6px 14px -6px rgba(99, 102, 241, .7);
}

.talent-list strong {
    display: block;
    font-size: 15.5px;
    margin-bottom: 2px;
}

.talent-list span:not(.check) {
    display: block;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.talent-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.talent-card {
    padding: 24px 22px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}

.talent-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.talent-card.feature {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #111827, #312e81);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 20px 44px -20px rgba(49, 46, 129, .7);
}

.talent-card.feature h4 {
    font-size: 17px;
    margin-bottom: 8px;
}

.talent-card.feature p {
    color: rgba(255, 255, 255, .75);
    font-size: 14px;
    line-height: 1.8;
}

.talent-card .big {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.talent-card .sub {
    margin-top: 6px;
    font-size: 13px;
    color: var(--muted);
}

/* =========================================================
   城市运营合伙人
   ========================================================= */
.partner {
    position: relative;
    padding: 72px 56px;
    border-radius: 32px;
    color: #fff;
    background:
        radial-gradient(600px 300px at 85% 0%, rgba(139, 92, 246, .35), transparent 70%),
        radial-gradient(500px 260px at 0% 100%, rgba(99, 102, 241, .3), transparent 70%),
        linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    box-shadow: 0 40px 80px -40px rgba(15, 23, 42, .75);
    overflow: hidden;
}

.partner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 60% 70% at 70% 10%, #000 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 70% at 70% 10%, #000 20%, transparent 70%);
    pointer-events: none;
}

.partner > * {
    position: relative;
    z-index: 1;
}

.partner h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -.01em;
}

.partner-desc {
    max-width: 700px;
    margin-top: 16px;
    color: rgba(255, 255, 255, .72);
    font-size: 15.5px;
    line-height: 1.9;
}

.partner-grid {
    margin-top: 42px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.partner-item {
    padding: 24px 22px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(6px);
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.partner-item:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(139, 92, 246, .5);
    transform: translateY(-4px);
}

.partner-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.partner-item p {
    color: rgba(255, 255, 255, .66);
    font-size: 13.5px;
    line-height: 1.8;
}

.partner .btn-light {
    margin-top: 40px;
}

/* =========================================================
   页脚
   ========================================================= */
.footer {
    background: #0b1020;
    color: rgba(255, 255, 255, .72);
    padding: 64px 0 32px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 56px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-brand {
    max-width: 360px;
}

.footer-brand .logo {
    color: #fff;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.85;
    color: rgba(255, 255, 255, .55);
}

.footer-links {
    display: flex;
    gap: 72px;
    flex-wrap: wrap;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col h5 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .45);
    margin-bottom: 6px;
}

.footer-col a {
    font-size: 14px;
    color: rgba(255, 255, 255, .72);
    transition: color .2s ease;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    padding-top: 26px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, .4);
}

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1024px) {
    .biz-grid {
        grid-template-columns: 1fr 1fr;
    }

    .biz-card:last-child {
        grid-column: 1 / -1;
    }

    .talent {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-h: 64px;
    }

    .section {
        padding: 72px 0;
    }

    .hero {
        padding: 72px 0 64px;
    }

    .nav-links {
        gap: 18px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .nav-cta {
        padding: 9px 16px;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 24px 16px;
        padding: 24px 16px;
    }

    .hero-stats > div + div::before {
        display: none;
    }

    .hero-stats > div:nth-child(even) {
        border-left: 1px solid var(--border);
    }

    .biz-grid {
        grid-template-columns: 1fr;
    }

    .biz-card:last-child {
        grid-column: auto;
    }

    .partner {
        padding: 48px 28px;
        border-radius: 24px;
    }

    .partner-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        gap: 40px;
    }
}

@media (max-width: 560px) {
    .container {
        padding: 0 18px;
    }

    .nav-links a:not(.nav-cta) {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .talent-visual {
        grid-template-columns: 1fr;
    }

    .talent-card.feature {
        grid-column: auto;
    }

    .footer-links {
        flex-direction: column;
        gap: 28px;
    }
}

/* 尊重系统减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}