/* ========== 重置 & 基础 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: "Inter", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1a1a2e;
    background: #f9faff;
    -webkit-font-smoothing: antialiased;
}
a {
    color: inherit;
    text-decoration: none;
}
ul {
    list-style: none;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== 导航 ========== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.nav-logo {
    font-size: 20px;
    font-weight: 700;
    color: #1e1b4b;
}
.logo-icon { margin-right: 4px; }
.logo-accent { color: #7c3aed; }
.nav-links {
    display: flex;
    gap: 24px;
    font-size: 14px;
    font-weight: 500;
}
.nav-links a {
    color: #4b5563;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
    color: #7c3aed;
    border-bottom-color: #7c3aed;
}
.btn-nav {
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: 0.2s;
    white-space: nowrap;
}
.btn-nav:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
}
/* 移动端菜单按钮 */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #1e1b4b;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    margin: 5px 0;
    border-radius: 2px;
    transition: 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== Hero ========== */
.hero {
    padding: 60px 0 80px;
    background: linear-gradient(170deg, #f0edff 0%, #ffffff 70%);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}
.hero-tag {
    display: inline-block;
    background: rgba(124,58,237,0.12);
    color: #7c3aed;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 16px;
}
.hero h1 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.1;
    color: #1e1b4b;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-desc {
    font-size: 17px;
    color: #4b5563;
    max-width: 480px;
    margin: 20px 0 28px;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.btn-primary {
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.2s;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124,58,237,0.3);
}
.btn-outline {
    border: 1px solid #cbd5e1;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    color: #1e1b4b;
    transition: 0.2s;
}
.btn-outline:hover {
    border-color: #7c3aed;
    background: rgba(124,58,237,0.04);
}
.hero-metrics {
    display: flex;
    gap: 28px;
    margin-top: 32px;
    font-size: 14px;
    color: #4b5563;
}
.hero-metrics strong {
    color: #1e1b4b;
    font-size: 18px;
    display: block;
}
/* 仪表盘卡片 */
.hero-dashboard {
    display: flex;
    justify-content: center;
}
.dashboard-card {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 24px;
    padding: 32px 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
    box-shadow: 0 16px 48px rgba(124,58,237,0.10);
    width: 100%;
    max-width: 360px;
}
.dash-item {
    text-align: center;
}
.dash-label {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}
.dash-value {
    font-size: 28px;
    font-weight: 800;
    color: #1e1b4b;
    line-height: 1.2;
}
.dash-value span {
    font-size: 16px;
    font-weight: 400;
    color: #6b7280;
    margin-left: 2px;
}

/* ========== 通用区块 ========== */
.section {
    padding: 72px 0;
}
.section-alt {
    background: #f3f4f6;
}
.section-dark {
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    color: #fff;
}
.section-dark .section-header p { color: #c7d2fe; }
.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1e1b4b;
}
.section-dark .section-header h2 { color: #fff; }
.section-header p {
    color: #6b7280;
    font-size: 16px;
}

/* ========== 技术规格卡片 ========== */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.spec-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    transition: 0.25s;
    text-align: center;
}
.spec-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(124,58,237,0.10);
}
.spec-icon {
    font-size: 36px;
    margin-bottom: 12px;
}
.spec-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e1b4b;
    margin-bottom: 8px;
}
.spec-card p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
}
.spec-tag {
    display: inline-block;
    margin-top: 12px;
    background: #ede9fe;
    color: #7c3aed;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
}

/* ========== 速度测试 ========== */
.benchmark {
    max-width: 700px;
    margin: 0 auto;
}
.bench-item {
    margin-bottom: 20px;
}
.bench-label {
    display: block;
    font-weight: 600;
    color: #1e1b4b;
    margin-bottom: 6px;
}
.bench-bar {
    background: #e5e7eb;
    border-radius: 12px;
    height: 28px;
    overflow: hidden;
}
.bench-fill {
    height: 100%;
    background: linear-gradient(90deg, #7c3aed, #4f46e5);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 12px;
    border-radius: 12px;
}
.bench-note {
    text-align: center;
    font-size: 13px;
    color: #6b7280;
    margin-top: 16px;
}

/* ========== 架构图 ========== */
.arch-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    background: #f3f4f6;
    padding: 32px 20px;
    border-radius: 24px;
}
.arch-node {
    background: #fff;
    padding: 12px 24px;
    border-radius: 40px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.arch-arrow {
    color: #7c3aed;
    font-weight: 500;
    font-size: 14px;
}

/* ========== 合规 ========== */
.compliance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.compliance-item {
    display: flex;
    gap: 16px;
    background: rgba(255,255,255,0.06);
    padding: 20px 24px;
    border-radius: 16px;
    align-items: flex-start;
}
.compliance-icon {
    font-size: 24px;
    color: #a78bfa;
}
.compliance-item h4 {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
}
.compliance-item p {
    font-size: 14px;
    color: #c7d2fe;
}

/* ========== 价格简约版 ========== */
.pricing-simple {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}
.pricing-col {
    background: #fff;
    border-radius: 20px;
    padding: 28px 20px;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: 0.25s;
}
.pricing-col.featured {
    border-color: #7c3aed;
    background: #f5f3ff;
    position: relative;
}
.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #7c3aed;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
}
.pricing-col h3 { font-size: 20px; font-weight: 700; color: #1e1b4b; }
.price {
    font-size: 32px;
    font-weight: 800;
    color: #7c3aed;
    margin: 12px 0;
}
.pricing-col ul {
    margin: 16px 0 24px;
    font-size: 14px;
    color: #4b5563;
}
.pricing-col ul li { padding: 4px 0; }
.btn-outline-sm {
    border: 1px solid #cbd5e1;
    padding: 8px 24px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
}
.btn-primary-sm {
    background: #7c3aed;
    color: #fff;
    padding: 8px 24px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
}
.btn-primary-sm:hover { background: #6d28d9; }

/* ========== 用户评价 ========== */
.review-strip {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 700px;
    margin: 0 auto 24px;
}
.review-strip blockquote {
    background: #f3f4f6;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 15px;
    color: #1e1b4b;
    border-left: 4px solid #7c3aed;
}
.review-aggregate {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #1e1b4b;
}
.review-aggregate span:last-child {
    font-weight: 400;
    color: #6b7280;
    font-size: 15px;
    margin-left: 12px;
}

/* ========== 步骤解答模块 ========== */
.steps-guide {
    background: #fff;
}
.steps-intro {
    max-width: 760px;
    margin: -16px auto 40px;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
}
.steps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1080px;
    margin: 0 auto;
}
.step-card {
    background: linear-gradient(180deg, #fafaff 0%, #fff 100%);
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 24px 24px 20px;
    transition: 0.25s;
    position: relative;
    overflow: hidden;
}
.step-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #7c3aed, #4f46e5);
}
.step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(124,58,237,0.10);
    border-color: #c4b5fd;
}
.step-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.step-num {
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
}
.step-title {
    font-size: 17px;
    font-weight: 700;
    color: #1e1b4b;
    line-height: 1.4;
}
.step-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.step-list li {
    position: relative;
    padding: 8px 0 8px 26px;
    font-size: 14.5px;
    color: #374151;
    line-height: 1.7;
    border-bottom: 1px dashed #e5e7eb;
}
.step-list li:last-child { border-bottom: none; }
.step-list li::before {
    content: attr(data-step);
    position: absolute;
    left: 0;
    top: 8px;
    color: #7c3aed;
    font-weight: 700;
    font-size: 13px;
}

/* ========== CTA ========== */
.cta-bar {
    padding: 60px 0;
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    text-align: center;
    color: #fff;
}
.cta-bar h2 { font-size: 32px; font-weight: 700; }
.cta-bar p { opacity: 0.8; margin: 8px 0 24px; }
.btn-white {
    background: #fff;
    color: #1e1b4b;
    padding: 12px 36px;
    border-radius: 40px;
    font-weight: 700;
    display: inline-block;
    transition: 0.2s;
}
.btn-white:hover { transform: scale(1.03); }

/* ========== 页脚 ========== */
.footer {
    background: #0f0a2a;
    color: #c7d2fe;
    padding: 56px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
    gap: 32px;
}
.footer-logo {
    display: inline-block;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.footer-logo .logo-icon { color: #a78bfa; }
.footer-tagline {
    font-size: 14px;
    color: #c7d2fe;
    opacity: 0.75;
    line-height: 1.6;
    max-width: 280px;
    margin-bottom: 18px;
}
.footer-social {
    display: flex;
    gap: 10px;
}
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    transition: 0.2s;
}
.footer-social a:hover {
    background: #7c3aed;
    color: #fff;
    transform: translateY(-2px);
}
.footer-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}
.footer-list li { padding: 5px 0; }
.footer-list a {
    font-size: 14px;
    color: #c7d2fe;
    opacity: 0.75;
    transition: 0.2s;
}
.footer-list a:hover { opacity: 1; color: #a78bfa; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 40px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: #c7d2fe;
    opacity: 0.6;
}
.footer-bottom-links { display: flex; gap: 10px; align-items: center; }
.footer-bottom-links a { transition: 0.2s; }
.footer-bottom-links a:hover { color: #a78bfa; }
.footer-bottom-links span { opacity: 0.5; }

/* ========== 响应式 ========== */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-metrics { justify-content: center; }
    .dashboard-card { max-width: 100%; }
    .spec-grid, .compliance-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; row-gap: 36px; }
    .footer-grid .footer-col:nth-child(4),
    .footer-grid .footer-col:nth-child(5) { grid-column: span 1; }
    .why-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 768px) {
    .steps-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr !important; }
    .nav-toggle { display: block; }
    .nav-links {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        gap: 0;
        padding: 8px 0;
        border-bottom: 1px solid rgba(0,0,0,0.04);
        box-shadow: 0 8px 20px rgba(0,0,0,0.06);
        display: none;
    }
    .nav-links.open { display: flex; }
    .nav-links a {
        padding: 12px 24px;
        border-bottom: none;
    }
    .nav-links a.active,
    .nav-links a:hover {
        background: rgba(124,58,237,0.06);
        border-bottom: none;
    }
    .btn-nav { display: none; }
    .hero h1 { font-size: 32px; }
    .spec-grid, .compliance-grid, .pricing-simple { grid-template-columns: 1fr; }
    .arch-diagram { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}