/* ============ 素材雷达官网 · 深空雷达主题 ============ */
:root {
  --bg: #070b12;
  --bg-2: #0b111b;
  --panel: rgba(18, 26, 40, .72);
  --line: rgba(78, 161, 255, .14);
  --line-2: rgba(78, 161, 255, .28);
  --text: #dbe4ee;
  --dim: #7d8b9c;
  --accent: #4ea1ff;
  --accent-2: #7cc0ff;
  --gold: #e8c069;
  --radius: 14px;
  --font: 'Microsoft YaHei UI', 'PingFang SC', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
/* 背景氛围: 顶部蓝晕 + 网格 */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 480px at 75% -10%, rgba(78,161,255,.16), transparent 60%),
    radial-gradient(700px 400px at 8% 12%, rgba(124,192,255,.06), transparent 60%),
    var(--bg);
}
body::after {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(78,161,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78,161,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 40%, transparent 100%);
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px clamp(20px, 6vw, 72px);
  background: rgba(7, 11, 18, .78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; letter-spacing: 2px; }
.logo { color: var(--accent); }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; color: var(--dim); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--accent-2); }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 10px; border: 1px solid var(--line-2);
  font-weight: 600; cursor: pointer; transition: all .2s ease;
  padding: 12px 26px; font-size: 15px; color: var(--text);
}
.btn-primary {
  background: linear-gradient(135deg, #3d8ff0, #4ea1ff 55%, #7cc0ff);
  border: none; color: #fff;
  box-shadow: 0 4px 24px rgba(78,161,255,.35), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(78,161,255,.5); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); }
.btn-sm { padding: 7px 18px; font-size: 13px; }
.btn-lg { padding: 15px 34px; font-size: 16px; }
.btn-xl { padding: 18px 44px; font-size: 18px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 9vh, 110px) clamp(20px, 6vw, 72px) 0; }
.hero-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }
.eyebrow {
  font-size: 12px; letter-spacing: 6px; color: var(--accent);
  margin-bottom: 18px; font-weight: 600;
}
h1 {
  font-size: clamp(38px, 5.2vw, 64px); line-height: 1.18;
  font-weight: 800; letter-spacing: 1px;
}
h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #4ea1ff 20%, #7cc0ff 50%, #e8c069 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { margin: 26px 0 34px; color: var(--dim); font-size: 17px; max-width: 34em; }
.lede b { color: var(--text); }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; color: var(--dim); font-size: 13px; }
.hero-meta b { color: var(--gold); font-weight: 600; }

/* 雷达动画 */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.radar {
  position: relative; width: min(400px, 82vw); aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(78,161,255,.10), transparent 70%);
  border: 1px solid var(--line-2);
}
.ring { position: absolute; border-radius: 50%; border: 1px solid var(--line); }
.ring.r1 { inset: 12.5%; } .ring.r2 { inset: 25%; }
.ring.r3 { inset: 37.5%; } .ring.r4 { inset: 43.75%; border-style: dashed; opacity: .5; }
.cross { position: absolute; background: var(--line); }
.cross.h { left: 3%; right: 3%; top: 50%; height: 1px; }
.cross.v { top: 3%; bottom: 3%; left: 50%; width: 1px; }
.sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(78,161,255,.45), rgba(78,161,255,.08) 70deg, transparent 110deg);
  animation: sweep 4.5s linear infinite;
  mask-image: repeating-radial-gradient(circle, #000 0 100%);
}
@keyframes sweep { to { transform: rotate(360deg); } }
.radar-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; font-size: 22px; color: #fff;
  background: linear-gradient(135deg, #3d8ff0, #4ea1ff);
  box-shadow: 0 0 40px rgba(78,161,255,.6);
}
.blip { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.blip::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--gold); animation: ping 2.4s ease-out infinite; }
.blip.b1 { top: 26%; left: 63%; }
.blip.b2 { top: 58%; left: 30%; animation-delay: .5s; }
.blip.b3 { top: 40%; left: 78%; }
@keyframes ping { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

.float-chip {
  position: absolute; padding: 9px 16px; border-radius: 10px;
  background: var(--panel); border: 1px solid var(--line-2);
  backdrop-filter: blur(10px); font-size: 13px; white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  animation: float 6s ease-in-out infinite;
}
.chip-search { top: 6%; left: -4%; }
.chip-hit { bottom: 16%; right: -6%; color: var(--gold); animation-delay: 1.2s; }
.chip-privacy { bottom: -2%; left: 8%; animation-delay: 2.4s; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (max-width: 980px) { .chip-search { left: 0; } .chip-hit { right: 0; } }

/* 跑马灯 */
.marquee {
  margin-top: 70px; padding: 14px 0; overflow: hidden; white-space: nowrap;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  color: var(--dim); font-size: 13px; letter-spacing: 3px;
  display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
}
.marquee i { color: var(--accent); font-style: normal; }

/* ---------- 通用 Section ---------- */
.section { max-width: 1180px; margin: 0 auto; padding: clamp(64px, 10vh, 120px) clamp(20px, 6vw, 72px) 0; }
.sec-title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: 1px; margin-bottom: 10px; }
.sec-title .dim { color: var(--dim); font-weight: 400; }
.sec-sub { color: var(--dim); margin-bottom: 42px; }

/* 滚动浮现 */
.reveal { opacity: 0; transform: translateY(26px); transition: all .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 痛点 ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
@media (max-width: 860px) { .pain-grid { grid-template-columns: 1fr; } }
.pain-card {
  padding: 28px 26px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line);
  transition: border-color .25s, transform .25s;
}
.pain-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.pain-ico { font-size: 26px; margin-bottom: 14px; }
.pain-card h3 { font-size: 17px; margin-bottom: 8px; }
.pain-card p { color: var(--dim); font-size: 14px; }
.pain-punch {
  margin-top: 40px; text-align: center; font-size: clamp(17px, 2.2vw, 21px);
  color: var(--accent-2); letter-spacing: 1px;
}

/* ---------- 功能 ---------- */
.feat-grid {
  display: grid; gap: 18px; margin-top: 42px;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(210px, auto);
}
.feat-card {
  padding: 26px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.feat-card:hover {
  border-color: var(--line-2); transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(0,0,0,.35);
}
.feat-card h3 { font-size: 17px; }
.feat-card p { color: var(--dim); font-size: 14px; }
.feat-card p b { color: var(--text); }
.f-wide { grid-column: span 2; }
.f-full { grid-column: 1 / -1; }
@media (max-width: 1020px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } .f-wide { grid-column: span 2; } }
@media (max-width: 640px) { .feat-grid { grid-template-columns: 1fr; } .f-wide, .f-full { grid-column: auto; } }
.feat-ico { font-size: 26px; }
.feat-demo { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.feat-demo .q {
  padding: 9px 14px; border-radius: 9px; font-size: 14px;
  background: rgba(78,161,255,.1); border: 1px solid var(--line); color: var(--accent-2);
}
.hits { display: flex; gap: 8px; }
.hit {
  flex: 1; height: 40px; border-radius: 8px; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; color: #fff;
  background: linear-gradient(180deg, rgba(78,161,255,.85), rgba(61,120,200,.85));
  position: relative; overflow: hidden;
}
.hit::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: var(--sim); background: rgba(7,11,18,.75); }
.hit { color: var(--dim); }
.cap { font-size: 12px; color: var(--dim); }
.cap.center { text-align: center; margin-top: 14px; }
.dl-progress { height: 7px; border-radius: 4px; background: #0c0f13; overflow: hidden; margin-top: auto; }
.dl-progress i { display: block; height: 100%; background: linear-gradient(90deg, #4ea1ff, #7cc0ff); border-radius: 4px; animation: grow 2.6s ease-in-out infinite alternate; }
@keyframes grow { from { width: 38%; } to { width: 92%; } }

/* ---------- 界面示意 ---------- */
.app-window {
  margin-top: 42px; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line-2); background: #0d1420;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(78,161,255,.06);
}
.app-titlebar {
  display: flex; align-items: center; gap: 7px; padding: 11px 16px;
  background: #0a0f18; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--dim);
}
.app-titlebar span { width: 11px; height: 11px; border-radius: 50%; background: #2a3546; }
.app-titlebar span:nth-child(1) { background: #e0555555; }
.app-titlebar span:nth-child(2) { background: #e8c06955; }
.app-titlebar span:nth-child(3) { background: #35c46a55; }
.app-titlebar b { margin-left: 12px; letter-spacing: 1px; }
.app-body { padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.app-searchbar {
  display: flex; align-items: center; gap: 12px; padding: 13px 18px;
  background: #131c2a; border: 1px solid var(--accent); border-radius: 10px;
}
.app-query { font-size: 15px; }
.app-btn {
  margin-left: auto; padding: 7px 22px; border-radius: 8px; font-size: 13px; font-weight: 600;
  background: linear-gradient(135deg, #3d8ff0, #4ea1ff); color: #fff;
}
.app-results { display: flex; flex-direction: column; gap: 12px; }
.app-card {
  display: flex; gap: 14px; padding: 13px; border-radius: 12px;
  background: #101827; border: 1px solid var(--line);
}
.app-card.dimmed { opacity: .7; }
.app-thumbs { display: flex; gap: 6px; }
.app-thumbs figure { position: relative; width: 64px; height: 36px; }
.app-thumbs img {
  width: 64px; height: 36px; border-radius: 4px; display: block;
  object-fit: cover; object-position: center top; /* 竖屏帧截上半张 (人物脸部) */
}
.app-thumbs figcaption {
  position: absolute; right: 3px; bottom: 3px; font-size: 9px; line-height: 1;
  background: rgba(0,0,0,.65); padding: 2px 4px; border-radius: 3px; color: #cfd8e3;
}
.app-meta { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.app-meta b { font-size: 13px; display: flex; align-items: center; gap: 8px; min-width: 0; }
.app-meta small { color: var(--dim); font-weight: 400; font-size: 11px; }
.app-score {
  margin-left: auto; flex-shrink: 0; font-size: 10px; color: var(--accent-2);
  background: rgba(78,161,255,.12); padding: 2px 8px; border-radius: 9px;
}
.app-meta code { font-size: 11px; color: #9fb2c6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-meta code span { color: #6b7f95; margin-right: 6px; font-family: Consolas, monospace; }
.app-pathrow { display: flex; align-items: center; gap: 6px; min-width: 0; }
.app-pathrow small {
  flex: 1; min-width: 0; font-size: 11px; color: var(--dim); word-break: break-all;
}
.app-pathrow i {
  flex-shrink: 0; font-style: normal; font-size: 10px; color: var(--dim);
  border: 1px solid var(--line); border-radius: 5px; padding: 2px 7px; white-space: nowrap;
}

/* ---------- 定价 ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 42px; align-items: stretch; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: 34px 28px; border-radius: 18px; text-align: center;
  background: var(--panel); border: 1px solid var(--line);
  transition: transform .25s, border-color .25s;
}
.plan:hover { transform: translateY(-6px); border-color: var(--line-2); }
.plan.hot {
  border-color: rgba(232,192,105,.5);
  background: linear-gradient(180deg, rgba(232,192,105,.07), var(--panel) 45%);
  box-shadow: 0 20px 60px rgba(232,192,105,.08);
}
.plan .badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 4px 16px; border-radius: 20px; font-size: 12px; font-weight: 700;
  background: linear-gradient(135deg, #e8c069, #f5d98f); color: #1c1607;
}
.plan h3 { font-size: 18px; }
.price { font-size: 44px; font-weight: 800; letter-spacing: -1px; }
.price small { font-size: 13px; color: var(--dim); font-weight: 400; margin-left: 4px; }
.plan.hot .price { color: var(--gold); }
.plan ul { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--dim); flex: 1; }
.plan ul b { color: var(--text); }
.plan .btn { width: 100%; }
.pricing-note { text-align: center; color: var(--dim); font-size: 13px; margin-top: 26px; }

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--line); border-radius: 12px; background: var(--panel);
  padding: 0 22px; transition: border-color .25s;
}
.faq details + details { margin-top: 12px; }
.faq details[open] { border-color: var(--line-2); }
.faq summary {
  cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 15px; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 20px; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--dim); font-size: 14px; }

/* ---------- 产品矩阵 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 42px; }
@media (max-width: 860px) { .product-grid { grid-template-columns: 1fr; } }
.product-card {
  position: relative; padding: 30px 26px; border-radius: var(--radius);
  border: 1px dashed var(--line-2); text-align: center;
  display: flex; flex-direction: column; gap: 8px; align-items: center;
}
.product-card.shipped { border: 1px solid var(--line-2); background: var(--panel); }
.p-ico { font-size: 34px; color: var(--accent); }
.product-card h3 { font-size: 16px; }
.product-card p { color: var(--dim); font-size: 13px; }
.p-status {
  position: absolute; top: 14px; right: 14px; font-size: 11px;
  padding: 2px 10px; border-radius: 10px; color: var(--accent-2);
  background: rgba(78,161,255,.12);
}
.p-status.soon { color: var(--dim); background: rgba(125,139,156,.12); }

/* ---------- 下载 ---------- */
.download { padding-bottom: 40px; }
.dl-box {
  margin-top: 20px; text-align: center; padding: clamp(40px, 7vw, 70px) 28px;
  border-radius: 22px; position: relative; overflow: hidden;
  background:
    radial-gradient(600px 300px at 50% -20%, rgba(78,161,255,.18), transparent 70%),
    var(--panel);
  border: 1px solid var(--line-2);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.dl-box h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
.dl-box > p { color: var(--dim); }
.dl-contact {
  margin-top: 26px; display: flex; align-items: center; gap: 16px; text-align: left;
  padding: 14px 20px; border-radius: 14px; border: 1px solid var(--line); background: rgba(7,11,18,.5);
}
.dl-contact img { width: 96px; height: 96px; border-radius: 10px; background: #fff; padding: 4px; }
.dl-contact b { font-size: 14px; }
.dl-contact p { color: var(--dim); font-size: 13px; }

/* ---------- 页脚 ---------- */
.footer {
  max-width: 1180px; margin: 60px auto 0; padding: 30px clamp(20px, 6vw, 72px) 40px;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
}
.foot-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }
.foot-row.dim { color: var(--dim); font-size: 12px; }

/* 页脚内链 */
.foot-row a { color: var(--dim); transition: color .2s; }
.foot-row a:hover { color: var(--accent-2); }
