:root {
    --bg: #ffffff;
    --surface: #f6f9ff;
    --panel: #ffffff;
    --text: #0f172a;
    --muted: #475569;
    --primary: #2563ff;
    --primary-2: #1d4ed8;
    --accent: #06b6d4;
    --line: #e5e7eb;
    --shadow: 0 8px 24px rgba(2, 6, 23, .06);
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif
}

img,
svg {
    max-width: 100%;
    display: block
}

a {
    color: var(--primary);
    text-decoration: none
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px
}

/* 顶部导航（右侧排列不换行） */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line)
}

.nav {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    height: 64px;
    gap: 16px
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: .3px;
    color: #0b1220 !important;
    white-space: nowrap
}

.logo-mark {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 4px 12px rgba(37, 99, 255, .35)
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-left: auto;
    white-space: nowrap
}

.nav-links a:not(.btn) {
    color: #334155
}

.nav-links a:not(.btn):hover {
    color: #0b1220
}

.nav-cta {
    margin-left: 8px
}

/* 高对比按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1.5px solid transparent;
    transition: .2s all;
    font-weight: 700;
    letter-spacing: .2px;
    line-height: 1
}

.btn.btn-primary {
    color: #fff !important;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    box-shadow: 0 10px 24px rgba(37, 99, 255, .28)
}

.btn.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(37, 99, 255, .32)
}

.btn-ghost {
    background: transparent;
    color: var(--primary);
    border-color: rgba(37, 99, 255, .55)
}

.btn-ghost:hover {
    background: #eef2ff;
    border-color: rgba(37, 99, 255, .8)
}

.btn-large {
    padding: 14px 20px
}

/* 移动端菜单按钮 */
.nav-toggle {
    display: none;
    background: none;
    border: 0;
    width: 36px;
    height: 36px;
    position: relative
}

.nav-toggle span {
    position: absolute;
    left: 8px;
    right: 8px;
    height: 2px;
    background: #334155;
    transition: .2s
}

.nav-toggle span:nth-child(1) {
    top: 10px
}

.nav-toggle span:nth-child(2) {
    top: 17px
}

.nav-toggle span:nth-child(3) {
    top: 24px
}

/* Hero：降低高度，弱化网格，底部分隔渐隐 */
.hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 48px;
    background: linear-gradient(180deg, #f7faff 0%, #ffffff 65%);
}

.bg-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: .45;
    background:
        linear-gradient(#e9eeff 1px, transparent 1px) 0 0/24px 24px,
        linear-gradient(90deg, #e9eeff 1px, transparent 1px) 0 0/24px 24px;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 55%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 55%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

.bg-glow {
    position: absolute;
    filter: blur(40px);
    z-index: 0
}

.glow-1 {
    width: 480px;
    height: 480px;
    opacity: .42;
    background: radial-gradient(closest-side, rgba(37, 99, 255, .34), transparent);
    top: -110px;
    right: -140px
}

.glow-2 {
    width: 360px;
    height: 360px;
    opacity: .34;
    background: radial-gradient(closest-side, rgba(6, 182, 212, .28), transparent);
    bottom: -110px;
    left: -140px
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 32px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    border-bottom: 1px solid #e5e7eb;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 44px;
    align-items: center;
    min-height: 420px
}

.hero-text h1 {
    font-size: 42px;
    line-height: 1.15;
    margin: 0 0 6px;
    color: #0b1220
}

.tagline {
    color: #475569;
    margin: 6px 0 12px;
    font-size: 16px
}

.lead {
    color: #475569;
    font-size: 18px;
    margin: 0 0 18px
}

.hero-cta {
    display: flex;
    gap: 12px;
    margin-bottom: 10px
}

.highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: #334155;
    padding: 0;
    margin: 10px 0 0;
    list-style: none
}

.highlights li {
    padding-left: 22px;
    position: relative
}

.highlights li:before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    position: absolute;
    left: 0;
    top: 7px
}

.hero-visual {
    display: flex;
    justify-content: center
}

.glass-card {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .75));
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 20px;
    box-shadow: var(--shadow);
    max-width: 420px
}

.grid-mini {
    position: absolute;
    inset: 10px;
    background:
        linear-gradient(#e2e8f0 1px, transparent 1px) 0 0/ 16px 16px,
        linear-gradient(90deg, #e2e8f0 1px, transparent 1px) 0 0/ 16px 16px;
    opacity: .4;
    border-radius: 12px;
    pointer-events: none
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 6px 10px;
    background: #eef2ff;
    color: #1e40af;
    font-weight: 600;
    border: 1px solid #dbeafe
}

.chip .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #22d3ee, #2563ff)
}

.kpi {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 14px
}

.kpi-label {
    display: block;
    color: #64748b;
    font-size: 12px
}

.kpi-value {
    display: block;
    font-weight: 800;
    font-size: 20px;
    color: #0b1220
}

/* 通用区块 */
.section {
    padding: 72px 0
}

.section.muted {
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.section-title {
    font-size: 28px;
    margin: 0 0 24px;
    color: #0b1220
}

/* 信赖客户（与 Hero 分离、白底） */
.trust {
    position: relative;
    padding: 56px 0 64px;
    background: #ffffff;
    border-top: 1px solid var(--line)
}

.trust-title {
    text-align: center;
    color: #0b1220;
    font-weight: 800;
    letter-spacing: .2px;
    margin: 0
}

.trust-title::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    border-radius: 3px;
    margin: 12px auto 0;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    opacity: .9
}

.trust-subtitle {
    text-align: center;
    color: #64748b;
    margin: 10px 0 14px;
    font-size: 14px
}

.logos {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: center;
    margin-top: 12px
}

.logo-item {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #1e40af;
    font-weight: 700;
    background: linear-gradient(135deg, #eef2ff, #e6ecff);
    border: 1px solid #ccd7ff;
    box-shadow: 0 6px 14px rgba(2, 6, 23, .05);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease
}

.logo-item:hover {
    transform: translateY(-2px);
    border-color: #2563ff;
    box-shadow: 0 10px 20px rgba(37, 99, 255, .16)
}

/* 服务卡片 */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow)
}

.card .icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #eef2ff, #dbeafe);
    color: #1d4ed8;
    margin-bottom: 10px
}

.card h3 {
    margin: 0 0 8px;
    color: #0b1220
}

.card p {
    color: #475569;
    margin: 0 0 8px
}

.card .list {
    margin: 8px 0 0;
    padding-left: 18px;
    color: #334155
}

.card .list li {
    margin: 6px 0
}

/* 案例 */
.cases .case {
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow)
}

.case-media {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
    transition: transform .45s ease
}

.cases .case:hover .case-media {
    transform: scale(1.02)
}

.case-body {
    padding: 14px;
    border-top: 1px solid var(--line);
    background: #fff
}

/* 方法论与标签 */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px
}

.step {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
    color: #334155;
    box-shadow: var(--shadow)
}

.step-num {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #fff;
    border-radius: 999px;
    padding: 4px 10px;
    margin-right: 8px;
    font-weight: 800
}

.pillars {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.pill {
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    padding: 8px 12px;
    color: #334155;
    background: #fff
}

/* CTA */
.cta {
    padding: 64px 0;
    background:
        radial-gradient(600px 300px at 15% 0%, rgba(6, 182, 212, .16), transparent 60%),
        radial-gradient(900px 400px at 85% 0%, rgba(37, 99, 255, .16), transparent 60%)
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.cta-left p {
    color: #475569;
    margin: 10px 0 0
}

/* 关于与数据 */
.about {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 20px
}

.about-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow)
}

.stats {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap
}

.stats strong {
    font-size: 24px;
    color: #0b1220
}

/* 联系我们与表单 */
.contact {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
}

.contact-form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow)
}

.contact-form label {
    display: block;
    font-size: 14px;
    color: #334155;
    margin-bottom: 10px
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-top: 6px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 11px;
    color: #0f172a
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid rgba(37, 99, 255, .35);
    border-color: #93c5fd
}

.form-note {
    color: #64748b;
    font-size: 12px;
    margin-top: 8px
}

/* 页脚 */
.site-footer {
    padding: 28px 0;
    border-top: 1px solid var(--line);
    background: #f8fafc
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px
}

.footer-links {
    display: flex;
    gap: 14px
}

.footer-links a {
    color: #334155
}

.footer-links a:hover {
    color: #0b1220
}

/* 响应式 */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        min-height: unset
    }

    .grid-3 {
        grid-template-columns: 1fr 1fr
    }

    .steps {
        grid-template-columns: 1fr 1fr
    }

    .about {
        grid-template-columns: 1fr
    }

    .contact {
        grid-template-columns: 1fr
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start
    }

    .logos {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width: 720px) {
    .nav-links {
        display: none;
        position: absolute;
        right: 16px;
        top: 64px;
        flex-direction: column;
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 12px;
        width: min(260px, 90vw);
        box-shadow: 0 10px 30px rgba(2, 6, 23, .08)
    }

    .nav-links.open {
        display: flex
    }

    .nav-toggle {
        display: block
    }

    .grid-3 {
        grid-template-columns: 1fr
    }

    .steps {
        grid-template-columns: 1fr
    }

    .logos {
        grid-template-columns: 1fr
    }

    .hero-text h1 {
        font-size: 34px
    }
}

/* 业务主题色与卡片 */
.theme-consulting {
    --t1: #06b6d4;
    --t2: #22d3ee;
}

.theme-domino {
    --t1: #4f46e5;
    --t2: #2563ff;
}

.theme-ai {
    --t1: #7c3aed;
    --t2: #ec4899;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 6px 10px;
    background: linear-gradient(135deg, var(--t1), var(--t2));
    color: #fff;
    font-weight: 700
}

.feature-card {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    background: #fff;
    box-shadow: var(--shadow)
}

.feature-card .title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: #0b1220
}

.feature-kpis {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 10px
}

.kpi-chip {
    background: #f1f5ff;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    padding: 6px 10px;
    color: #1e40af;
    font-weight: 700
}

.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 12px
}

.process .step {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px
}

.badge {
    display: inline-block;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    padding: 6px 10px;
    color: #334155;
    background: #fff
}

@media (max-width:1024px) {
    .process {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:720px) {
    .process {
        grid-template-columns: 1fr
    }
}

/* 当前导航高亮 */
.nav-links a {
    position: relative
}

.nav-links a.active:not(.btn) {
    color: #0b1220;
    font-weight: 800;
}

@media (min-width:721px) {
    .nav-links a.active:not(.btn)::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -8px;
        height: 2px;
        background: linear-gradient(90deg, var(--accent), var(--primary));
        border-radius: 2px;
    }
}