/* OKSSL 引导页 - 共享基础样式（各风格通过 theme.css 覆盖变量与局部装饰） */
:root {
  --bg: #f7f9fc;
  --bg-alt: #eef3fa;
  --surface: #ffffff;
  --surface-2: #f2f6fc;
  --text: #16213a;
  --text-soft: #465370;
  --muted: #7c8aa5;
  --line: #e1e8f2;
  --primary: #2563eb;
  --primary-dark: #1746b8;
  --accent: #06b6d4;
  --accent-soft: rgba(37, 99, 235, .09);
  --glow: rgba(37, 99, 235, .25);
  --radius: 18px;
  --radius-sm: 10px;
  --font-head: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --shadow: 0 18px 50px rgba(20, 45, 90, .09);
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; margin: 0 0 14px; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 14px; color: var(--text-soft); }
strong { color: var(--text); }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.wrap-narrow { width: min(900px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 96px 0; position: relative; }
.section-tight { padding: 66px 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-kicker, .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 16px;
}
.section-kicker::before, .eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-sub { font-size: 1.05rem; color: var(--text-soft); max-width: 640px; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1.2; white-space: nowrap;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 26px var(--glow); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 14px 32px var(--glow); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 10px 26px var(--glow); }
.btn-outline { border-color: var(--line); background: var(--surface); color: var(--text); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-sm { padding: 9px 16px; font-size: .85rem; }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  height: var(--header-h); position: sticky; top: 0; z-index: 80;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.35rem; letter-spacing: -.04em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--primary); color: #fff;
  display: grid; place-items: center; font-size: 1rem; font-weight: 900;
  box-shadow: 0 6px 18px var(--glow);
}
.brand small { font-size: .62rem; font-weight: 700; letter-spacing: .18em; color: var(--muted); display: block; line-height: 1; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: .92rem; font-weight: 600; color: var(--text-soft); }
.nav-links a { transition: color .2s; position: relative; }
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 1.2rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 92px 0 82px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero-lead { font-size: 1.12rem; max-width: 570px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-note { font-size: .82rem; color: var(--muted); }
.hero-visual { position: relative; }
.hero-art {
  position: relative; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px; overflow: hidden;
}
.hero-art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 10%, var(--glow), transparent 58%); pointer-events: none; }
.art-top { display: flex; align-items: center; gap: 7px; margin-bottom: 18px; }
.art-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.art-bar { height: 12px; border-radius: 6px; background: var(--surface-2); }
.art-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.art-row:last-child { border-bottom: 0; }
.art-icon { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; background: var(--accent-soft); color: var(--primary); display: grid; place-items: center; font-weight: 800; }
.art-lines { flex: 1; }
.art-lines .art-bar + .art-bar { width: 62%; margin-top: 7px; height: 8px; }
.art-pill { font-size: .72rem; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--primary); white-space: nowrap; }
.art-shield {
  position: absolute; right: -18px; bottom: -22px; width: 132px; height: 132px; border-radius: 50%;
  background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 3.4rem;
  box-shadow: 0 18px 40px var(--glow); border: 8px solid var(--surface); z-index: 2;
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 54px; }
.stat { border-left: 2px solid var(--primary); padding-left: 18px; }
.stat b { display: block; font-size: 1.7rem; line-height: 1.2; font-family: var(--font-head); }
.stat span { font-size: .82rem; color: var(--muted); }

/* ---------- Marquee / brands ---------- */
.brand-strip { padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.brand-strip-label { text-align: center; font-size: .76rem; letter-spacing: .18em; color: var(--muted); font-weight: 700; margin-bottom: 18px; text-transform: uppercase; }
.brand-track { display: flex; gap: 56px; justify-content: center; flex-wrap: wrap; align-items: center; }
.brand-item { font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; color: var(--text-soft); opacity: .75; letter-spacing: -.03em; white-space: nowrap; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: 0 8px 30px rgba(20, 45, 90, .035); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 35%, var(--line)); }
.card-icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--primary); font-size: 1.3rem; margin-bottom: 18px; font-weight: 800;
}
.card h3 { margin-bottom: 9px; }
.card p { font-size: .92rem; margin-bottom: 0; }
.card-list { list-style: none; padding: 0; margin: 18px 0 0; font-size: .88rem; color: var(--text-soft); }
.card-list li { padding: 6px 0 6px 20px; position: relative; }
.card-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 900; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--primary); font-size: .72rem; font-weight: 800; margin-bottom: 12px; }

/* ---------- Product cards ---------- */
.product-card { position: relative; display: flex; flex-direction: column; }
.product-card.featured { border: 2px solid var(--primary); box-shadow: var(--shadow); }
.product-card .ribbon { position: absolute; top: 14px; right: 14px; font-size: .7rem; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: var(--primary); color: #fff; }
.product-card .badge-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.product-card .badge-row span { font-size: .69rem; font-weight: 800; padding: 3px 8px; border-radius: 6px; background: var(--surface-2); color: var(--text-soft); }
.product-card h3 { font-size: 1.35rem; }
.product-card .desc { font-size: .86rem; min-height: 68px; }
.product-card .meta { font-size: .8rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 14px; margin-top: 6px; }
.product-card .btn { margin-top: auto; width: 100%; }
.price-line { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 18px; }
.price-line b { font-size: 1.9rem; font-family: var(--font-head); }
.price-line span { font-size: .8rem; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 28px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step-num {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--primary); color: #fff; font-weight: 900; font-family: var(--font-head); margin-bottom: 16px;
}
.step h3 { font-size: 1.05rem; }
.step p { font-size: .86rem; margin: 0; }

/* ---------- Split / code ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-list { list-style: none; padding: 0; margin: 22px 0 0; }
.feature-list li { display: flex; gap: 12px; padding: 10px 0; font-size: .93rem; color: var(--text-soft); }
.feature-list li i { font-style: normal; color: var(--primary); font-weight: 900; }
.code-block {
  background: #0d1526; color: #b8d4ff; border-radius: var(--radius); padding: 26px;
  font-family: Consolas, "SFMono-Regular", Menlo, monospace; font-size: .83rem; line-height: 1.85;
  box-shadow: var(--shadow); overflow-x: auto; border: 1px solid rgba(255,255,255,.08);
}
.code-block .c { color: #5f789e; }
.code-block .k { color: #7ee0c0; }
.code-block .s { color: #ffc98b; }
.code-head { display: flex; align-items: center; gap: 7px; margin-bottom: 16px; }
.code-head i { width: 9px; height: 9px; border-radius: 50%; background: #ff6b6b; }
.code-head i:nth-child(2) { background: #ffd166; }
.code-head i:nth-child(3) { background: #4ade80; }
.code-head span { margin-left: auto; color: #5f789e; font-size: .72rem; }

/* ---------- Security ---------- */
.threat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.threat { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.threat b { display: block; margin-bottom: 6px; }
.threat p { font-size: .86rem; margin: 0; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.checklist li { position: relative; padding-left: 30px; font-size: .92rem; color: var(--text-soft); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%;
  background: var(--accent-soft); color: var(--primary); display: grid; place-items: center; font-size: .72rem; font-weight: 900;
}

/* ---------- Testimonials / scenarios ---------- */
.scenario { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.scenario .who { font-size: .8rem; color: var(--primary); font-weight: 800; letter-spacing: .06em; }
.scenario p { font-size: .92rem; font-style: italic; margin: 14px 0 18px; }
.scenario .who-row { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted); }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--primary); display: grid; place-items: center; font-weight: 800; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; border: 0; background: none; color: var(--text);
  padding: 22px 44px 22px 0; font-weight: 700; font-size: 1rem; position: relative; font-family: var(--font-head);
}
.faq-q::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--primary); font-weight: 400; }
.faq-item.open .faq-q::after { content: "−"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 44px 22px 0; margin: 0; font-size: .92rem; }

/* ---------- CTA / Footer ---------- */
.cta-band { padding: 64px 0; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { margin-bottom: 26px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.site-footer { background: #0d1526; color: #b6c2d9; padding: 70px 0 26px; font-size: .88rem; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; }
.site-footer p { color: #8d9cb8; font-size: .86rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.site-footer .brand { color: #fff; }
.site-footer a:not(.btn) { color: #a9b7d0; display: block; padding: 5px 0; transition: color .2s; }
.site-footer a:not(.btn):hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: #73839f; font-size: .8rem; }
.footer-contact { line-height: 1.9; }
.footer-contact span { color: #fff; font-weight: 700; }

/* ---------- Floating service ---------- */
.float-service { position: fixed; right: 22px; bottom: 24px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.float-panel {
  width: 268px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 20px 60px rgba(10,25,60,.2); padding: 18px; opacity: 0; transform: translateY(12px) scale(.97);
  pointer-events: none; transition: .25s ease;
}
.float-service.open .float-panel { opacity: 1; transform: none; pointer-events: auto; }
.float-panel h4 { font-size: .98rem; margin-bottom: 6px; }
.float-panel p { font-size: .78rem; margin-bottom: 12px; }
.float-panel .btn { width: 100%; margin-top: 8px; }
.float-contact-line { font-size: .78rem; color: var(--muted); margin-top: 12px; text-align: center; }
.float-btn {
  width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--primary); color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 30px var(--glow); font-size: 1.5rem;
  transition: transform .2s ease;
}
.float-btn:hover { transform: scale(1.06); }

/* ---------- Misc ---------- */
.note { font-size: .78rem; color: var(--muted); }
.divider { height: 1px; background: var(--line); margin: 42px 0; }
.badge-soft { display: inline-block; padding: 6px 13px; border-radius: 999px; background: var(--accent-soft); color: var(--primary); font-weight: 700; font-size: .8rem; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.anchor-offset { scroll-margin-top: calc(var(--header-h) + 20px); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 640px; }
th, td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--surface-2); font-family: var(--font-head); font-size: .82rem; letter-spacing: .04em; }
td { color: var(--text-soft); }
tr:last-child td { border-bottom: 0; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-btn { border: 1px solid var(--line); background: var(--surface); color: var(--text-soft); padding: 8px 16px; border-radius: 999px; font-size: .84rem; font-weight: 700; }
.filter-btn.active, .filter-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.filter-item.hidden { display: none; }

@media (max-width: 980px) {
  .hero-inner, .split { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { max-width: 560px; }
  .grid-4, .steps, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .threat-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 18px 20px; gap: 4px; box-shadow: var(--shadow); }
  .nav-links.show { display: flex; }
  .nav-links a { padding: 10px 0; }
  .nav-toggle { display: grid; place-items: center; }
}

@media (max-width: 640px) {
  .section { padding: 66px 0; }
  .grid-2, .grid-3, .grid-4, .steps, .threat-grid, .stats, .checklist, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 62px 0 56px; }
  .stats { gap: 14px; }
  .stat { padding-left: 12px; }
  .nav-actions .btn-outline { display: none; }
  .art-shield { width: 96px; height: 96px; font-size: 2.4rem; }
  .float-service { right: 14px; bottom: 14px; }
  .float-panel { width: min(268px, calc(100vw - 30px)); }
}

/* ---------- 资质与服务保障模块（各风格在 theme.css 中重新排版） ---------- */
.assurance-section { padding: 90px 0; }
.assurance-kicker { display: inline-block; font-size: .76rem; letter-spacing: .16em; font-weight: 800; color: var(--primary); margin-bottom: 14px; text-transform: uppercase; }
.assurance-head h2 { margin-bottom: 14px; }
.assurance-head p { max-width: 780px; }
.assurance-item h3 { margin-bottom: 8px; }
.assurance-item p { font-size: .86rem; margin: 0; }
.assurance-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.assurance-cta { display: flex; flex-wrap: wrap; gap: 12px; }
