/* ============================================================
   智酷工具箱官网 · 设计系统（round110）
   参考 wztool.cn 的版式语言：白色吸顶导航 / 浅蓝渐变英雄区 /
   卡片化功能区块 / 轮播演示 / 口碑区 / 深色页脚。
   所有页面共用这一份，别再往页面里抄一份颜色字面量。
   ============================================================ */

:root {
    --ink: #111319;
    --ink-2: #3c4350;
    --muted: #6b7280;
    --muted-2: #8b93a1;
    --line: #e8ebf0;
    --line-strong: #d8dde6;
    --brand: #0071e3;
    --brand-2: #3b95ff;
    --brand-ink: #0059b8;
    --brand-soft: #eaf3ff;
    --bg: #ffffff;
    --bg-soft: #f6f8fc;
    --bg-hero: #f2f7ff;
    --ok: #1d7a3d;
    --ok-soft: #e8f8ee;
    --warn: #b25000;
    --warn-soft: #fff4e6;
    --danger: #c7362d;
    --radius-lg: 20px;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(17, 19, 25, .05);
    --shadow: 0 12px 32px rgba(17, 19, 25, .07);
    --shadow-lg: 0 28px 60px rgba(11, 42, 90, .12);
    --maxw: 1180px;
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
            "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; }

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

/* ---------------- 顶部导航 ---------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid var(--line);
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
    height: 68px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.2px;
    color: var(--ink);
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
}

.nav-menu a {
    font-size: 15px;
    color: var(--ink-2);
    transition: color .18s;
}

.nav-menu a:hover,
.nav-menu a.is-active { color: var(--brand); }

.nav-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.nav-text-link {
    font-size: 15px;
    color: var(--ink-2);
    padding: 8px 6px;
}
.nav-text-link:hover { color: var(--brand); }

.nav-burger {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.nav-burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    position: relative;
}
.nav-burger span::before,
.nav-burger span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: var(--ink);
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }

/* ---------------- 按钮 ---------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .16s, box-shadow .16s, background .16s, color .16s;
    white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 113, 227, .24);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(0, 113, 227, .32); }

.btn-soft {
    background: var(--brand-soft);
    color: var(--brand-ink);
}
.btn-soft:hover { background: #dfeeff; }

.btn-ghost {
    background: #fff;
    border-color: var(--line-strong);
    color: var(--ink);
}
.btn-ghost:hover { border-color: #b9c6d8; }

.btn-lg { height: 52px; padding: 0 30px; font-size: 16px; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled,
.btn.is-disabled { opacity: .55; cursor: not-allowed; box-shadow: none; transform: none; }

/* ---------------- 区块骨架 ---------------- */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }

.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-ink);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .2px;
}

.h1 {
    font-size: 52px;
    line-height: 1.12;
    letter-spacing: -1.6px;
    font-weight: 700;
}

.h2 {
    font-size: 34px;
    line-height: 1.25;
    letter-spacing: -.8px;
    font-weight: 700;
}

.h3 { font-size: 20px; font-weight: 650; letter-spacing: -.2px; }

.lead {
    margin-top: 14px;
    font-size: 17px;
    color: var(--muted);
    line-height: 1.7;
}

/* ---------------- 卡片 ---------------- */
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.card-title {
    font-size: 18px;
    font-weight: 650;
    letter-spacing: -.2px;
    margin-bottom: 18px;
}

/* ---------------- 页脚 ---------------- */
.site-footer {
    background: #0d1424;
    color: #c7d0e0;
    padding: 64px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
}

.footer-about { font-size: 14px; line-height: 1.9; color: #8f9bb0; max-width: 320px; }

.footer-col h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: .2px;
}

.footer-col ul { list-style: none; display: grid; gap: 10px; }

.footer-col a { font-size: 14px; color: #8f9bb0; transition: color .16s; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #7c879b;
}

/* ---------------- 通用小组件 ---------------- */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
}
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-muted { background: #f0f2f6; color: var(--muted); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }

.hint { font-size: 13px; color: var(--muted-2); line-height: 1.7; }
.hint-warn { color: var(--warn); }

.divider { height: 1px; background: var(--line); border: 0; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 960px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 860px) {
    .nav { gap: 16px; height: 62px; }
    .nav-menu {
        position: absolute;
        top: 62px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 12px 24px 20px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
    }
    .nav-menu.is-open { display: flex; }
    .nav-menu li { width: 100%; }
    .nav-menu a { display: block; padding: 10px 0; font-size: 16px; }
    .nav-actions { gap: 8px; order: 2; margin-left: auto; }
    .nav-actions .nav-text-link { display: none; }
    .nav-actions .btn { height: 38px; padding: 0 16px; font-size: 14px; }
    .nav-burger { display: inline-flex; order: 3; margin-left: 0; }
    .section { padding: 64px 0; }
    .h1 { font-size: 36px; letter-spacing: -1px; }
    .h2 { font-size: 26px; }
    .lead { font-size: 16px; }
    .card { padding: 22px; }
}

@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
    .h1 { font-size: 31px; }
}
