/* ============ 基础 ============ */
:root {
    --c1: #6366f1;
    --c2: #8b5cf6;
    --c3: #ec4899;
    --c4: #06b6d4;
    --c5: #f59e0b;
    --ink: #0b1020;
    --ink-2: #1e1b4b;
    --body: #f8fafc;
    --txt: #1e293b;
    --txt-2: #475569;
    --txt-3: #94a3b8;
    --line: #e5e7eb;
    --card: #ffffff;
    --radius: 14px;
    --shadow: 0 10px 30px -12px rgba(16, 24, 40, .18);
    --shadow-lg: 0 30px 60px -20px rgba(99, 102, 241, .35);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
    color: var(--txt);
    background: var(--body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none
}

img,
svg {
    display: block;
    max-width: 100%
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px
}

/* ============ 按钮 ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all .25s cubic-bezier(.4, 0, .2, 1);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 15px;
    border-radius: 12px
}

.btn-primary {
    background: linear-gradient(135deg, var(--c1), var(--c2));
    color: #fff;
    box-shadow: 0 8px 20px -8px rgba(99, 102, 241, .6)
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -10px rgba(139, 92, 246, .7)
}

.btn-ghost {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    border-color: rgba(255, 255, 255, .25);
    backdrop-filter: blur(8px)
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .18)
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .5)
}

.btn-outline:hover {
    background: rgba(255, 255, 255, .12);
    border-color: #fff
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .4)
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, .12)
}

/* ============ Header ============ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all .3s ease;
}

.site-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(15, 23, 42, .06), 0 8px 24px -16px rgba(15, 23, 42, .2);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px
}

.brand-name {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.5px;
    color: #fff;
    transition: color .3s
}

.site-header.scrolled .brand-name {
    color: var(--ink)
}

.main-nav {
    display: flex;
    gap: 8px
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, .85);
    padding: 8px 14px;
    border-radius: 8px;
    transition: all .2s;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, .12)
}

.site-header.scrolled .nav-link {
    color: var(--txt-2)
}

.site-header.scrolled .nav-link:hover {
    color: var(--c1);
    background: rgba(99, 102, 241, .08)
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px
}

.site-header.scrolled .btn-ghost {
    color: var(--txt);
    border-color: var(--line);
    background: #fff
}

.site-header.scrolled .btn-ghost:hover {
    background: #f3f4f6
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all .3s
}

.site-header.scrolled .nav-toggle span {
    background: var(--ink)
}

/* ============ Hero ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #0b1020 0%, #1e1b4b 45%, #312e81 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .55;
    animation: float 14s ease-in-out infinite
}

.hero-glow-1 {
    width: 520px;
    height: 520px;
    background: #6366f1;
    top: -120px;
    left: -80px
}

.hero-glow-2 {
    width: 480px;
    height: 480px;
    background: #ec4899;
    bottom: -140px;
    right: -60px;
    animation-delay: -5s
}

.hero-glow-3 {
    width: 360px;
    height: 360px;
    background: #06b6d4;
    top: 40%;
    left: 55%;
    animation-delay: -9s
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1)
    }

    50% {
        transform: translate(40px, -30px) scale(1.12)
    }
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 60px;
    align-items: center;
    z-index: 2
}

.hero-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: #c7d2fe;
    background: rgba(99, 102, 241, .15);
    border: 1px solid rgba(99, 102, 241, .3);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 56px;
    line-height: 1.12;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1.5px;
    margin-bottom: 24px
}

.grad-text {
    background: linear-gradient(135deg, #a5b4fc, #c4b5fd, #f9a8d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.hero-desc {
    font-size: 17px;
    color: #cbd5e1;
    max-width: 520px;
    margin-bottom: 36px
}

.hero-cta {
    display: flex;
    gap: 14px;
    margin-bottom: 48px
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 20px
}

.meta-item {
    display: flex;
    flex-direction: column
}

.meta-item strong {
    font-size: 26px;
    font-weight: 800;
    color: #fff
}

.meta-item span {
    font-size: 13px;
    color: #94a3b8
}

.meta-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, .15)
}

/* Hero 视觉卡片 */
.hero-visual {
    position: relative
}

.hero-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    padding: 18px;
    backdrop-filter: blur(20px);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
    animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-10px)
    }
}

.hero-card-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%
}

.dot-r {
    background: #f87171
}

.dot-y {
    background: #fbbf24
}

.dot-g {
    background: #34d399
}

.hero-card-title {
    margin-left: 10px;
    font-size: 13px;
    color: #cbd5e1;
    font-weight: 500
}

.hero-chart {
    width: 100%;
    height: 260px
}

.hero-card-foot {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .1)
}

.kpi {
    display: flex;
    flex-direction: column;
    gap: 2px
}

.kpi-label {
    font-size: 11px;
    color: #94a3b8
}

.kpi-val {
    font-size: 18px;
    font-weight: 700;
    color: #fff
}

.hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    line-height: 0
}

.hero-wave svg {
    width: 100%;
    height: 90px
}

/* ============ 信任条 ============ */
.trust {
    padding: 48px 0;
    background: #fff
}

.trust-label {
    text-align: center;
    color: var(--txt-3);
    font-size: 13px;
    margin-bottom: 20px;
    letter-spacing: 1px
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px
}

.trust-tag {
    font-size: 13px;
    color: var(--txt-2);
    padding: 7px 16px;
    border-radius: 999px;
    background: #f1f5f9;
    border: 1px solid var(--line);
    transition: all .25s;
}

.trust-tag:hover {
    color: var(--c1);
    border-color: rgba(99, 102, 241, .3);
    background: rgba(99, 102, 241, .06);
    transform: translateY(-2px)
}

/* ============ 通用 section ============ */
.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px
}

.section-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--c1);
    margin-bottom: 14px
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--ink);
    margin-bottom: 14px
}

.section-sub {
    font-size: 16px;
    color: var(--txt-3)
}

/* ============ 功能特性 ============ */
.features {
    padding: 100px 0;
    background: #fff
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px
}

.feature-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: all .35s cubic-bezier(.4, 0, .2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .35s;
    background: linear-gradient(135deg, var(--c1), var(--c2));
    border-radius: var(--radius);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent
}

.feature-card:hover::before {
    opacity: .04
}

.feature-card>* {
    position: relative
}

.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 18px;
    background: linear-gradient(135deg, var(--c1), var(--c2));
    box-shadow: 0 8px 18px -8px var(--c2);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px
}

.feature-card p {
    font-size: 14px;
    color: var(--txt-3);
    line-height: 1.7
}

/* ============ 使用流程 ============ */
.workflow {
    position: relative;
    padding: 110px 0;
    background: linear-gradient(180deg, #fff, #f5f7fb);
    overflow: hidden
}

.workflow-bg {
    position: absolute;
    inset: 0;
    pointer-events: none
}

.wf-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .35
}

.wf-glow-a {
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, #6366f1, transparent 70%);
    top: -120px;
    left: 8%
}

.wf-glow-b {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, #ec4899, transparent 70%);
    bottom: -140px;
    right: 10%
}

.wf-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(99, 102, 241, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(99, 102, 241, .05) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%)
}

.steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step
}

.step {
    position: relative;
    padding: 34px 26px 30px;
    background: rgba(255, 255, 255, .65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 18px;
    box-shadow: 0 8px 24px -16px rgba(16, 24, 40, .25);
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, border-color .35s
}

.step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(90deg, var(--c1), var(--c2), var(--c3));
    opacity: .85
}

.step:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, .45);
    box-shadow: 0 24px 50px -24px rgba(99, 102, 241, .45)
}

.step:hover .step-badge {
    transform: scale(1.08) rotate(-4deg)
}

.step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px
}

.step-badge {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--c1), var(--c2) 55%, var(--c3));
    border-radius: 16px;
    box-shadow: 0 10px 22px -8px rgba(99, 102, 241, .6), inset 0 1px 0 rgba(255, 255, 255, .4);
    transition: transform .35s cubic-bezier(.2, .8, .2, 1)
}

.step-num {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--c1), var(--c3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.step h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px
}

.step p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--txt-2);
    margin-bottom: 16px
}

.step-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .3px;
    color: var(--c1);
    background: linear-gradient(135deg, rgba(99, 102, 241, .1), rgba(236, 72, 153, .1));
    border: 1px solid rgba(99, 102, 241, .18);
    padding: 6px 12px;
    border-radius: 20px
}

.step:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -18px;
    top: 60px;
    width: 30px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--c2) 0 6px, transparent 6px 12px);
    opacity: .6
}

/* ============ 定价 ============ */
.pricing {
    padding: 100px 0;
    background: #fff
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1080px;
    margin: 0 auto
}

.pricing-skeleton {
    display: contents
}

.price-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 36px 30px;
    position: relative;
    transition: all .35s;
    overflow: hidden;
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg)
}

.price-card.recommended {
    border-color: transparent;
    background: linear-gradient(160deg, #0b1020, #1e1b4b);
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.price-card.recommended .price-name,
.price-card.recommended .price-amount,
.price-card.recommended .price-desc {
    color: #fff
}

.price-card.recommended .price-period {
    color: #cbd5e1
}

.price-card.recommended .price-feature {
    color: #e2e8f0
}

.price-card.recommended .price-feature::before {
    background: linear-gradient(135deg, #a5b4fc, #f9a8d4)
}

.price-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--c1), var(--c3));
}

.price-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px
}

.price-amount {
    font-size: 44px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -1px;
    line-height: 1
}

.price-amount .price-cur {
    font-size: 20px;
    font-weight: 600;
    vertical-align: top;
    margin-right: 2px
}

.price-period {
    font-size: 13px;
    color: var(--txt-3);
    margin-top: 6px;
    margin-bottom: 22px
}

.price-desc {
    font-size: 14px;
    color: var(--txt-3);
    margin-bottom: 24px;
    min-height: 40px
}

.price-features {
    list-style: none;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 11px
}

.price-feature {
    position: relative;
    padding-left: 26px;
    font-size: 14px;
    color: var(--txt-2)
}

.price-feature::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c1), var(--c2));
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'><path d='M5 13l4 4L19 7'/></svg>") center/12px no-repeat;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'><path d='M5 13l4 4L19 7'/></svg>") center/12px no-repeat;
}

.price-card .btn {
    width: 100%
}

.price-card.recommended .btn-primary {
    background: linear-gradient(135deg, var(--c1), var(--c3))
}

.price-card:not(.recommended) .btn-primary {
    background: var(--ink)
}

.price-card:not(.recommended) .btn-primary:hover {
    background: #1e293b
}

.price-card.ghost {
    background: #f8fafc;
    border-color: #eef2f7;
    animation: pulse 1.6s ease-in-out infinite
}

@keyframes pulse {

    0%,
    100% {
        opacity: .6
    }

    50% {
        opacity: 1
    }
}

/* ============ CTA ============ */
.cta-band {
    padding: 80px 0;
    background: linear-gradient(135deg, #0b1020, #312e81 60%, #5b21b6)
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap
}

.cta-text h2 {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.5px;
    margin-bottom: 10px
}

.cta-text p {
    font-size: 16px;
    color: #cbd5e1;
    max-width: 520px
}

.cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap
}

/* ============ Footer ============ */
.site-footer {
    background: #0b1020;
    color: #94a3b8;
    padding: 60px 0 0
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 48px;
    padding-bottom: 40px
}

.footer-brand .brand-name {
    color: #fff
}

.footer-slogan {
    font-size: 14px;
    color: #64748b;
    margin-top: 12px;
    max-width: 280px
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px
}

.footer-col a {
    display: block;
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 10px;
    transition: color .2s
}

.footer-col a:hover {
    color: #fff
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .06);
    padding: 20px 0
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #64748b
}

.footer-links a {
    color: #94a3b8;
    margin: 0 4px
}

.footer-links a:hover {
    color: #fff
}

/* ============ 滚动渐显 ============ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s cubic-bezier(.4, 0, .2, 1), transform .7s cubic-bezier(.4, 0, .2, 1)
}

.reveal.in {
    opacity: 1;
    transform: none
}

/* ============ 响应式 ============ */
@media (max-width:1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .hero-visual {
        order: -1;
        max-width: 520px
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .steps {
        grid-template-columns: repeat(2, 1fr)
    }

    .step:nth-child(2)::after {
        display: none
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 460px
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px
    }
}

@media (max-width:680px) {
    .container {
        padding: 0 20px
    }

    .main-nav {
        display: none
    }

    .nav-toggle {
        display: flex
    }

    .site-header.menu-open .main-nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 16px 20px;
        gap: 4px;
        box-shadow: 0 12px 30px -16px rgba(0, 0, 0, .3);
    }

    .site-header.menu-open .nav-link {
        color: var(--txt-2)
    }

    .hero-title {
        font-size: 38px
    }

    .section-title {
        font-size: 28px
    }

    .feature-grid {
        grid-template-columns: 1fr
    }

    .steps {
        grid-template-columns: 1fr
    }

    .step::after {
        display: none !important
    }

    .hero-meta {
        flex-wrap: wrap;
        gap: 14px
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start
    }

    .footer-cols {
        grid-template-columns: repeat(2, 1fr)
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 8px
    }
}