/* ============================================================
   睿搜科技 · 官网视觉系统
   约束：正文全部为静态 HTML 文本，动画只作用于 aria-hidden 装饰层；
        无外部字体/图片/JS 依赖，AI 爬虫不执行 JS 也能读到完整内容。
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--brand-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .55em; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(38px, 4.8vw, 64px); line-height: 1.13; letter-spacing: -.035em; }
h2 { font-size: clamp(27px, 3vw, 40px); }
h3 { font-size: 18px; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.4em; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 3px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--surface); padding: 10px 16px; z-index: 99; }
.skip:focus { left: 12px; top: 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 页头 ---------- */
.site-header { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.nav { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
.brand::before { content: ""; width: 36px; height: 36px; flex: 0 0 36px; background: url("../svg/wordmark.svg") center / contain no-repeat; }
.brand strong { font-size: 19px; font-weight: 750; letter-spacing: -.02em; }
.brand span { font-size: 11px; line-height: 1; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); padding: 5px 9px; border-radius: 20px; white-space: nowrap; }
.nav-links { display: flex; gap: 30px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--ink-2); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--brand-deep); text-decoration: none; }
/* 注意：.nav-links a 特异性高于 .nav-cta，必须写成 .nav-links a.nav-cta */
.nav-links a.nav-cta { background: var(--ink); color: #fff; padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; box-shadow: 0 6px 18px rgba(12, 24, 48, .16); }
.nav-links a.nav-cta:hover { background: var(--brand-deep); color: #fff; text-decoration: none; transform: translateY(-1px); }
.mobile-menu { display: none; }
.mobile-menu summary { list-style: none; cursor: pointer; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 14px; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu[open] .mobile-links { display: flex; flex-direction: column; gap: 4px; position: absolute; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px 28px 20px; box-shadow: var(--shadow-sm); }
.mobile-links a { padding: 8px 0; color: var(--ink); font-size: 14px; }

/* ---------- 首屏 ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #F4F8FF;
  background:
    radial-gradient(900px 480px at 80% 8%, rgba(47, 107, 255, .26), transparent 62%),
    radial-gradient(680px 420px at 4% 96%, rgba(79, 227, 193, .10), transparent 68%),
    linear-gradient(155deg, #070E20 0%, #0A1731 52%, #0C2340 100%);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 3;
  background: linear-gradient(90deg, var(--mint), rgba(47, 107, 255, .85) 42%, rgba(47, 107, 255, 0) 88%); }
/* 装饰层永远在文字下层 */
.hero-grid, .fx-layer { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-grid { width: 100%; height: 100%; opacity: .8; }
.fx-layer { z-index: 1; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, 420px); gap: 52px; align-items: center; max-width: var(--max); margin: 0 auto; padding: 104px 28px 92px; }
.kicker { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mint); margin: 0 0 24px; display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.hero h1 { color: #FFFFFF; margin-bottom: 24px; font-size: clamp(34px, 3.8vw, 54px); }
.hero h1 em { font-style: normal; color: var(--mint); white-space: nowrap; }
.hero .lead { color: #B9CCE5; font-size: 16px; line-height: 1.9; max-width: 34em; margin-bottom: 34px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 9px; font-size: 15px; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary { background: var(--mint); color: #052B2A; box-shadow: 0 10px 30px rgba(79, 227, 193, .22); }
.btn-primary:hover { background: #7CEEDA; color: #052B2A; }
.btn-ghost { border-color: rgba(170, 191, 217, .38); color: #E3EDFA; background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: var(--mint); color: #fff; }
.btn-blue { background: var(--brand); color: #fff; box-shadow: 0 10px 26px rgba(47, 107, 255, .22); }
.btn-blue:hover { background: var(--brand-deep); color: #fff; }
.btn-outline { border-color: var(--line-strong); color: var(--brand-deep); background: var(--surface); }
.btn-outline:hover { border-color: var(--brand); background: var(--brand-soft); }
.hero .entity { color: #93AECB; font-size: 13px; line-height: 1.8; max-width: 42em; border-left: 2px solid rgba(79, 227, 193, .55); padding-left: 16px; margin: 42px 0 0; }
.fx-scan { position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--mint), transparent); opacity: .22; animation: jwScan 7s linear infinite; }
.fx-dot { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 14px 3px rgba(79, 227, 193, .45); animation: jwPulse 3s ease-in-out infinite; }
.fx-line { animation: jwLine 8s ease-in-out infinite; }
.fx-glow { animation: jwGlow 3.4s ease-in-out infinite; }
@keyframes jwPulse { 0%, 100% { opacity: .25; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.35); } }
@keyframes jwScan { 0% { top: -2%; } 100% { top: 102%; } }
@keyframes jwLine { 0%, 8% { opacity: 0; transform: translateY(6px); } 22%, 100% { opacity: 1; transform: none; } }
@keyframes jwGlow { 0%, 100% { opacity: .6; } 50% { opacity: 1; } }

/* 首屏右侧：一次生成式回答的示意窗口（aria-hidden，不承载官网事实） */
.answer-card { background: linear-gradient(160deg, rgba(19, 42, 76, .95), rgba(9, 24, 47, .96)); border: 1px solid rgba(96, 148, 210, .30); border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .05); overflow: hidden; }
.ac-bar { display: flex; align-items: center; gap: 10px; padding: 13px 17px; border-bottom: 1px solid rgba(96, 148, 210, .22); background: rgba(255, 255, 255, .025); }
.ac-dots { display: inline-flex; gap: 5px; }
.ac-dots i { width: 7px; height: 7px; border-radius: 50%; background: #3E608C; }
.ac-dots i:first-child { background: #4FE3C1; }
.ac-title { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: #8FB0D4; }
.ac-live { margin-left: auto; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; color: var(--mint); border: 1px solid rgba(79, 227, 193, .35); border-radius: 20px; padding: 2px 8px; }
.ac-q { margin: 0; padding: 18px 20px 14px; font-size: 13px; font-weight: 600; color: #DCE9F9; border-bottom: 1px dashed rgba(96, 148, 210, .22); }
.ac-q::before { content: "Q "; font-family: var(--mono); color: var(--mint); }
.ac-body { padding: 18px 20px 8px; }
.ac-body p { font-size: 12px; line-height: 1.9; color: #A9C2DF; margin: 0 0 12px; }
.ac-body .brand-hit { display: inline-block; background: rgba(79, 227, 193, .14); border: 1px solid rgba(79, 227, 193, .38); color: #7BF0D5; font-size: 12px; font-weight: 600; padding: 1px 7px; border-radius: 4px; margin: 0 3px; }
.ac-caret { display: inline-block; width: 6px; height: 13px; background: var(--mint); vertical-align: -2px; animation: jwCaret 1.1s steps(1) infinite; }
@keyframes jwCaret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.ac-src { display: flex; align-items: center; gap: 9px; margin: 6px 20px 20px; padding: 11px 13px; border-radius: 8px; background: rgba(79, 227, 193, .07); border: 1px solid rgba(79, 227, 193, .22); font-size: 11px; color: #8FB0D4; }
.ac-src b { color: #CDE4F8; font-weight: 600; font-family: var(--mono); }
.ac-src .ac-tick { margin-left: auto; color: var(--mint); }

/* 首屏下方平台带：把深蓝与浅色正文自然接起来 */
.signal-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.signal-inner { max-width: var(--max); margin: 0 auto; padding: 22px 28px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.signal-inner > span { font-size: 13px; font-weight: 600; color: var(--ink-2); letter-spacing: .01em; white-space: nowrap; }
.signal-list { display: flex; gap: 10px; flex-wrap: wrap; }
.signal-list b { font-size: 12.5px; font-weight: 600; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 5px 12px; }

/* ---------- 章节 ---------- */
.section { padding: 104px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 50em; margin-bottom: 44px; }
.section-head .kicker { color: var(--brand-deep); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; font-weight: 600; margin-bottom: 18px; }
.section-head .kicker::before { width: 18px; height: 2px; border-radius: 2px; }
.section-head > p { color: var(--ink-2); font-size: 15px; }
.section-head h1, .section-head h2 { margin-bottom: .4em; }
.section-head h1 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.22; letter-spacing: -.03em; }
.section h2 { text-wrap: balance; }
.lead-box { background: var(--brand-soft); border: 1px solid #D8E6FF; border-left: 3px solid var(--brand); padding: 22px 26px; border-radius: 0 var(--r) var(--r) 0; margin-bottom: 34px; font-size: 16px; }
.lead-box p:last-child { margin-bottom: 0; }

/* ---------- 卡片 / 网格 ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px 26px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; overflow: hidden; }
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--brand), var(--mint)); opacity: 0; transition: opacity .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: #CFDDF2; }
.card:hover::before { opacity: 1; }
.card h3 { margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--ink-2); font-size: 14px; line-height: 1.8; }
.card .num { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--brand-deep); display: block; margin-bottom: 16px; letter-spacing: .08em; }
.metric { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow-sm); }
.metric b { display: block; font-size: 21px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 10px; color: var(--ink); }
.metric b::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 2px; background: var(--mint); margin-right: 10px; vertical-align: 3px; }
.metric span { font-size: 14px; color: var(--ink-2); line-height: 1.8; display: block; }
.note { font-size: 13px; color: var(--ink-2); background: var(--brand-soft); border: 1px solid #D8E6FF; border-radius: var(--r-sm); padding: 13px 18px; }

/* ---------- 五步流程：横向时间轴 ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
.step { position: relative; background: transparent; border: 0; border-top: 2px solid var(--line-strong); border-radius: 0; padding: 34px 20px 0 0; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -15px; width: 28px; height: 28px; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--brand); border-radius: 50%; font-family: var(--mono); font-size: 10px; font-weight: 700; color: var(--brand-deep); }
.step b { display: block; font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step p { margin: 0; font-size: 13px; line-height: 1.8; color: var(--ink-2); }
.section-alt .step::before { background: var(--surface); }

/* ---------- 表格 ---------- */
table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--surface); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); }
caption { text-align: left; font-size: 13px; color: var(--ink-2); padding-bottom: 14px; }
th, td { border: 0; border-bottom: 1px solid var(--line); padding: 15px 18px; text-align: left; vertical-align: top; }
thead th { background: #F0F5FD; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--ink-2); border-bottom: 1px solid var(--line-strong); }
tbody th { font-weight: 600; color: var(--ink); background: #FCFDFF; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td, tbody tr:hover th { background: var(--brand-soft); }
td { color: var(--ink-2); }
.table-wrap { overflow-x: auto; }

/* ---------- FAQ ---------- */
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 12px; padding: 0 22px; box-shadow: var(--shadow-sm); }
.faq-item[open] { border-color: #C9DAF8; }
.faq-item summary { cursor: pointer; padding: 19px 0; font-weight: 650; font-size: 15px; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--brand); font-weight: 400; font-size: 20px; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .a { padding: 0 0 20px; color: var(--ink-2); font-size: 14px; line-height: 1.9; }

/* ---------- 套餐 ---------- */
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 32px 26px; position: relative; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.price-card.featured { background: linear-gradient(165deg, #102A50, #07162D); border: 1px solid #2A568C; box-shadow: 0 22px 54px rgba(7, 22, 45, .28); color: #fff; }
.price-card .tag { position: absolute; top: -13px; right: 22px; left: auto; background: var(--mint); color: #05302B; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 4px 12px; border-radius: 20px; }
.price-card h3 { font-size: 14px; font-weight: 600; color: var(--ink-2); letter-spacing: .04em; }
.price-card.featured h3 { color: #9FC0E6; }
.price-card .price { font-size: clamp(26px, 2.6vw, 34px); font-weight: 750; letter-spacing: -.04em; margin: 14px 0 4px; line-height: 1.15; }
.price-card .per { font-size: 12px; color: var(--ink-3); }
.price-card.featured .per { color: #8FB0D4; }
.price-card ul { font-size: 13px; color: var(--ink-2); padding-left: 1.2em; margin: 22px 0 0; }
.price-card ul li { margin-bottom: 7px; }
.price-card.featured ul { color: #C6DAF2; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; gap: 18px; max-width: 620px; }
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
input[type=text], input[type=tel], input[type=email], textarea { width: 100%; padding: 12px 15px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); font: inherit; font-size: 14px; background: var(--surface); color: var(--ink); }
input:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(47, 107, 255, .12); }
textarea { min-height: 108px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); font-weight: 400; }
.check input { margin-top: 5px; }
.hp { position: absolute; left: -9999px; }
.form-ok { display: none; background: var(--cyan-soft); color: #075F55; border: 1px solid #B9EBDD; border-radius: var(--r-sm); padding: 14px 18px; margin-top: 16px; }
.form-ok.show { display: block; }

/* ---------- 行动带 ---------- */
.cta-band { position: relative; overflow: hidden; color: #F4F8FF; padding: 88px 0;
  background: radial-gradient(700px 320px at 82% 20%, rgba(47, 107, 255, .30), transparent 65%), linear-gradient(140deg, #08152C, #0B2344); }
.cta-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--mint), rgba(47, 107, 255, .7), transparent); }
.cta-band .wrap { position: relative; }
.cta-band h2 { color: #fff; max-width: 20em; }
.cta-band p { color: #AFC6E2; max-width: 44em; margin-bottom: 30px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #060D1C; color: #8CA4C2; font-size: 13px; padding: 68px 0 30px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-bottom: 44px; }
.site-footer h3 { color: #EDF4FF; font-size: 15px; margin-bottom: 16px; }
.site-footer p { line-height: 1.9; }
.site-footer a { color: #8CA4C2; }
.site-footer a:hover { color: var(--mint); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.footer-bottom { border-top: 1px solid #182B47; padding-top: 22px; font-size: 12px; line-height: 2; color: #7790AF; }
.footer-bottom a { color: #C3D7EE; }
.beian { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 10px; }

/* ---------- Cookie ---------- */
.cookie-bar { display: none; position: fixed; right: 20px; bottom: 20px; z-index: 40; width: min(380px, calc(100vw - 40px)); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md); padding: 20px; font-size: 13px; }
.cookie-bar.show { display: block; }
.cookie-bar .wrap { display: block; padding: 0; max-width: none; margin: 0; }
.cookie-bar span { display: block; color: var(--ink-2); line-height: 1.8; margin-bottom: 14px; }
.cookie-bar button { font: inherit; font-size: 12px; padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); cursor: pointer; margin-right: 8px; }
.cookie-bar button.primary { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- 响应式 ---------- */
@media (max-width: 1023px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; padding: 72px 28px 68px; }
  .answer-card { max-width: 480px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 80px 0; }
}
@media (max-width: 767px) {
  .nav-links { display: none; }
  .mobile-menu { display: block; margin-left: auto; position: relative; }
  .brand span { display: none; }
  .brand strong { font-size: 17px; }
  .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .steps { gap: 0; }
  .step { border-top: 0; border-left: 2px solid var(--line-strong); padding: 0 0 26px 26px; }
  .step::before { left: -15px; top: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .hero h1 { font-size: clamp(32px, 9vw, 44px); }
  .signal-inner { gap: 14px; }
  .wrap { padding: 0 20px; }
  .hero-inner, .signal-inner { padding-left: 20px; padding-right: 20px; }
  .cookie-bar { right: 12px; bottom: 12px; width: calc(100vw - 24px); padding: 15px 16px; }
  .cookie-bar span { font-size: 12px; line-height: 1.7; margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fx-scan, .fx-dot, .fx-line, .fx-glow, .ac-caret { animation: none !important; }
  .btn, .card, .price-card { transition: none !important; }
}
