/* ============================================================
   AI 可见度检测 · 独立投放落地页（亮色清爽派 LIGHT-CLEAN-V3）
   主色跟随后台主题色 --brand（代理商白标）
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --brand: #13C2C2;
  --brand-2: #6366f1;
  --bg: #f6f8fc;
  --bg-2: #eef2f9;
  --card: #ffffff;
  --panel: #f4f6fb;
  --line: #e7ecf4;
  --line-soft: #eef2f8;
  --ink: #161a23;
  --ink-soft: #5a6377;
  --ink-dim: #939bad;
  --radius: 18px;
  --maxw: 1120px;
  --shadow-sm: 0 2px 8px rgba(22, 26, 35, 0.04);
  --shadow: 0 18px 44px -22px rgba(22, 26, 35, 0.18);
  --shadow-lg: 0 30px 70px -30px rgba(22, 26, 35, 0.28);
  --font-display: 'Sora', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }

.grad {
  background: linear-gradient(100deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===================== 顶部导航 ===================== */
.topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--line);
}
.topnav .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.topnav .logo { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.topnav .nav-links a { color: var(--ink-soft); font-size: 14px; font-weight: 600; transition: color .2s; }
.topnav .nav-links a:hover { color: var(--ink); }

/* ===================== 背景氛围（清爽：柔和光晕） ===================== */
.bg-fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-fx .glow { position: absolute; border-radius: 50%; filter: blur(110px); }
.bg-fx .glow-1 { top: -200px; left: -140px; width: 560px; height: 560px; background: radial-gradient(circle, var(--brand), transparent 70%); opacity: .12; }
.bg-fx .glow-2 { top: -60px; right: -180px; width: 600px; height: 600px; background: radial-gradient(circle, var(--brand-2), transparent 70%); opacity: .10; }
.bg-fx .grid { display: none; }

/* ===================== HERO ===================== */
.hero { position: relative; z-index: 1; padding: 132px 0 72px; }
.hero .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero .container { grid-template-columns: 1fr; gap: 36px; } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--card); font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(19,194,194,.45); } 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.hero h1 { font-family: var(--font-display); font-size: clamp(34px, 4.4vw, 56px); line-height: 1.1; font-weight: 800; letter-spacing: -0.025em; margin: 0 0 20px; }
.hero h1 em { font-style: normal; }
.hero .sub { font-size: clamp(15px, 1.5vw, 18px); color: var(--ink-soft); max-width: 30em; margin: 0 0 28px; }
.hero-points { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 14px 24px; }
.hero-points li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-soft); }
.hero-points .ck { width: 20px; height: 20px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(19,194,194,.12); color: var(--brand); font-size: 12px; font-weight: 800; }

.reveal { opacity: 0; transform: translateY(16px); animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .15s; } .d3 { animation-delay: .25s; } .d4 { animation-delay: .35s; } .d5 { animation-delay: .45s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ===================== 检测表单卡 ===================== */
.detect-box {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-lg);
}
.detect-box .form-head { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-bottom: 4px; }
.detect-box .form-sub { font-size: 13px; color: var(--ink-dim); margin-bottom: 18px; }
.detect-box label { display: block; font-size: 12.5px; color: var(--ink-soft); font-weight: 600; margin: 14px 0 7px; }
.detect-box input, .detect-box select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px;
  background: #fbfcfe; color: var(--ink); font-size: 14px; font-family: inherit; transition: border-color .2s, box-shadow .2s; outline: none;
}
.detect-box input::placeholder { color: var(--ink-dim); }
.detect-box select option { background: #fff; color: var(--ink); }
.detect-box input:focus, .detect-box select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(19,194,194,.16); background: #fff; }
.detect-box .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .detect-box .row { grid-template-columns: 1fr; } }
.detect-platform-row { display: flex; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.detect-platform-label { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-soft); margin: 0; cursor: pointer; }
.detect-platform-label input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--brand); margin: 0; }
.detect-platform-row select { width: auto; flex: 1; min-width: 140px; padding: 9px 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; border-radius: 12px; font-family: inherit; font-weight: 700; font-size: 15px; cursor: pointer; transition: transform .15s, box-shadow .25s, opacity .2s; }
.btn-primary { width: 100%; margin-top: 20px; padding: 15px 20px; color: #fff; background: linear-gradient(100deg, var(--brand), var(--brand-2)); box-shadow: 0 14px 30px -12px rgba(99,102,241,.5); }
.btn-primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(99,102,241,.6); }
.btn-primary:disabled { opacity: .7; cursor: progress; transform: none; }
.btn-ghost { background: var(--card); color: var(--ink); border: 1px solid var(--line); padding: 12px 20px; box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--brand); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.detect-footnote { text-align: center; font-size: 12px; color: var(--ink-dim); margin: 14px 0 0; }

.detect-notice { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.55; }
.detect-notice a { color: var(--brand-2); font-weight: 700; }
.detect-notice-info { background: #eef0ff; color: #4338ca; }
.detect-notice-warn { background: #fff7e8; color: #92400e; border: 1px solid #fde6b8; }
.detect-notice-error { background: #fef0f0; color: #b91c1c; border: 1px solid #fbd2d2; }

/* ===================== 通用区块 ===================== */
.section { position: relative; z-index: 1; padding: 76px 0; }
.section.alt { background: var(--bg-2); }
.section-title { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; text-align: center; margin: 0 0 12px; }
.section-sub { text-align: center; color: var(--ink-soft); max-width: 36em; margin: 0 auto 44px; font-size: 15px; }

.trust { position: relative; z-index: 1; padding: 30px 0; background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trust-item { text-align: center; }
.trust-item .num { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.trust-item .lbl { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
@media (max-width: 600px) { .trust .container { grid-template-columns: 1fr; gap: 14px; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step .idx { font-family: var(--font-display); font-size: 13px; font-weight: 800; color: var(--brand); letter-spacing: .08em; }
.step h3 { font-family: var(--font-display); font-size: 18px; margin: 10px 0 8px; font-weight: 700; }
.step p { color: var(--ink-soft); font-size: 14px; margin: 0; }

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 800px) { .feat-grid { grid-template-columns: 1fr; } }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat .ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 21px; background: linear-gradient(135deg, rgba(19,194,194,.14), rgba(99,102,241,.14)); margin-bottom: 14px; }
.feat h3 { font-family: var(--font-display); font-size: 16px; margin: 0 0 7px; font-weight: 700; }
.feat p { color: var(--ink-soft); font-size: 14px; margin: 0; }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 800px) { .quotes { grid-template-columns: 1fr; } }
.quote { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.quote p { font-size: 14.5px; color: var(--ink); margin: 0 0 16px; }
.quote .who { display: flex; align-items: center; gap: 11px; }
.quote .av { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-2)); display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 15px; }
.quote .who .nm { font-weight: 700; font-size: 14px; }
.quote .who .ti { font-size: 12px; color: var(--ink-dim); }

.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: var(--card); margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-q { padding: 18px 20px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 15px; }
.faq-q .pl { color: var(--brand); font-size: 20px; transition: transform .25s; flex: none; }
.faq-item.open .faq-q .pl { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 20px 18px; color: var(--ink-soft); font-size: 14px; }

.cta-final { position: relative; z-index: 1; padding: 80px 0; text-align: center; }
.cta-card { max-width: 820px; margin: 0 auto; border: 1px solid var(--line); border-radius: 24px; padding: 48px 32px; background: linear-gradient(180deg, #ffffff, #f3f6fc); box-shadow: var(--shadow); }
.cta-card h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin: 0 0 12px; }
.cta-card p { color: var(--ink-soft); margin: 0 0 26px; }
.cta-card .btn-primary { width: auto; display: inline-flex; padding: 15px 36px; }

.foot { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 28px 0; background: var(--card); }
.foot .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--ink-dim); font-size: 13px; }

/* ===================== 检测结果区（JS 注入） ===================== */
#detectResult { scroll-margin-top: 80px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 700px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card.kpi { padding: 22px; text-align: center; }
.card.kpi .num { font-family: var(--font-display); font-size: 34px; font-weight: 800; line-height: 1; }
.card.kpi .lbl { font-size: 13px; color: var(--ink-soft); margin-top: 8px; }
.card-head { padding: 18px 20px 0; }
.card-head h3 { font-family: var(--font-display); font-size: 17px; margin: 0; }
.card-body { padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; }
.engine-row { display: grid; grid-template-columns: 120px 90px 60px; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.engine-row .ans { grid-column: 1 / -1; color: var(--ink-dim); font-size: 13px; line-height: 1.5; }
@media (max-width: 600px) { .engine-row { grid-template-columns: 1fr 1fr; } }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; text-align: center; }
.tag.t-green { background: #e7f7ee; color: #15803d; }
.tag.t-amber { background: #fef3e2; color: #b45309; }
.tag.t-red { background: #fdeaea; color: #b91c1c; }
.tip-box { padding: 16px; border-top: 1px dashed var(--line); color: var(--ink-soft); font-size: 14px; }
.step-actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }

/* ===================== 留资弹窗（JS 注入） ===================== */
.modal-bg { position: fixed; inset: 0; z-index: 100; background: rgba(22,26,35,.45); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-bg.on { display: flex; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal { position: relative; width: 100%; max-width: 400px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 30px 28px; box-shadow: var(--shadow-lg); }
.modal h3 { font-family: var(--font-display); font-size: 20px; margin: 0 0 18px; }
.modal label { display: block; font-size: 12.5px; color: var(--ink-soft); font-weight: 600; margin: 12px 0 6px; }
.modal input { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 11px; background: #fbfcfe; color: var(--ink); font-size: 14px; font-family: inherit; outline: none; }
.modal input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(19,194,194,.16); background: #fff; }
.modal .close { position: absolute; top: 14px; right: 16px; background: none; border: none; color: var(--ink-dim); font-size: 26px; line-height: 1; cursor: pointer; }
.modal .close:hover { color: var(--ink); }

.loading { width: 15px; height: 15px; border: 2px solid rgba(255,255,255,.55); border-top-color: #fff; border-radius: 50%; display: inline-block; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
