/* 极易工具箱官网 — 深色主题共享样式(零外部依赖) */
:root {
  --bg: #0a0d13;
  --bg-soft: #10141c;
  --card: #131822;
  --border: #232b3a;
  --text: #e8ebf1;
  --text-dim: #9aa3b2;
  --brand: #f43f5e;
  --brand-soft: rgba(244, 63, 94, .12);
  --radius: 18px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
    "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* 顶部导航 */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10, 13, 19, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav .wrap { display: flex; align-items: center; gap: 10px; height: 60px; }
.nav img { width: 30px; height: 30px; border-radius: 8px; }
.nav .name { font-weight: 700; font-size: 16px; }
.nav .spacer { flex: 1; }
.nav a.btn-small {
  background: var(--brand); color: #fff; font-size: 13px;
  padding: 7px 16px; border-radius: 999px; font-weight: 600;
}

/* 首屏 */
.hero { padding: 84px 0 72px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; left: 50%; top: -180px;
  width: 640px; height: 420px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(244, 63, 94, .22), transparent);
  pointer-events: none;
}
.hero img.logo { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 20px; }
.hero h1 { font-size: clamp(34px, 7vw, 56px); font-weight: 800; letter-spacing: .5px; }
.hero h1 .accent { color: var(--brand); }
.hero .slogan { color: var(--text-dim); font-size: clamp(15px, 3vw, 19px); margin: 14px auto 34px; max-width: 560px; }
.hero .dl { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid var(--border); transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff;
  box-shadow: 0 8px 30px rgba(244, 63, 94, .35); }
.btn-ghost { background: var(--bg-soft); color: var(--text); }
.btn .sub { display: block; font-size: 11px; font-weight: 400; opacity: .75; }
.hero .shot {
  margin: 56px auto 0; width: min(300px, 72vw);
  border-radius: 28px; border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 8px #161b25;
}

/* 版块通用 */
section { padding: 72px 0; }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head .kicker { color: var(--brand); font-size: 13px; font-weight: 700; letter-spacing: 2px; }
.sec-head h2 { font-size: clamp(24px, 5vw, 36px); font-weight: 800; margin-top: 8px; }
.sec-head p { color: var(--text-dim); margin-top: 10px; font-size: 15px; }

/* AI 特色版块 */
.ai { background: linear-gradient(180deg, var(--bg) 0%, #120e16 50%, var(--bg) 100%); }
.ai-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.ai-points { display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }
.ai-point { display: flex; gap: 14px; }
.ai-point .dot {
  flex: none; width: 34px; height: 34px; border-radius: 10px;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-size: 16px;
}
.ai-point b { display: block; font-size: 15px; }
.ai-point span { color: var(--text-dim); font-size: 13.5px; }
.ai-shot { width: min(280px, 70vw); margin: 0 auto; border-radius: 24px;
  border: 1px solid var(--border); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
@media (min-width: 860px) {
  .ai-grid { grid-template-columns: 1.15fr .85fr; }
}

/* 功能矩阵 */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 860px) { .feat-grid { grid-template-columns: repeat(4, 1fr); } }
.feat {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 18px;
  transition: border-color .2s, transform .2s;
}
.feat:hover { border-color: var(--brand); transform: translateY(-3px); }
.feat .ic { font-size: 22px; }
.feat b { display: block; margin: 10px 0 4px; font-size: 15px; }
.feat span { color: var(--text-dim); font-size: 12.5px; line-height: 1.6; display: block; }

/* 截图展示 */
.shots { display: grid; grid-template-columns: repeat(8, minmax(150px, 1fr));
  gap: 14px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
.shots::-webkit-scrollbar { height: 6px; }
.shots::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.shots figure { scroll-snap-align: start; }
.shots img { border-radius: 16px; border: 1px solid var(--border); }
.shots figcaption { text-align: center; color: var(--text-dim); font-size: 12px; margin-top: 8px; }

/* 定价 */
.price-grid { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 900px; margin: 0 auto; }
@media (min-width: 800px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.price {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px; position: relative;
}
.price.hot { border-color: var(--brand); box-shadow: 0 12px 44px rgba(244, 63, 94, .18); }
.price .tag {
  position: absolute; top: -11px; right: 18px; background: var(--brand);
  color: #fff; font-size: 11px; font-weight: 700; padding: 3px 12px; border-radius: 999px;
}
.price h3 { font-size: 16px; }
.price .amount { font-size: 34px; font-weight: 800; margin: 12px 0 2px; }
.price .amount small { font-size: 14px; font-weight: 500; color: var(--text-dim); }
.price ul { list-style: none; margin-top: 16px; }
.price li { font-size: 13.5px; color: var(--text-dim); padding: 5px 0 5px 22px; position: relative; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.price li.no::before { content: "—"; color: #525b6b; }
.price li.no { color: #525b6b; }

/* 页脚 */
footer { border-top: 1px solid var(--border); padding: 40px 0 48px;
  color: var(--text-dim); font-size: 13px; text-align: center; }
footer .links { display: flex; gap: 22px; justify-content: center; margin-bottom: 14px; }
footer .links a:hover { color: var(--brand); }

/* 文档页(隐私政策/用户协议) */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 20px 72px; }
.doc h1 { font-size: clamp(24px, 5vw, 32px); font-weight: 800; }
.doc .date { color: var(--text-dim); font-size: 13px; margin: 8px 0 32px; }
.doc h2 { font-size: 17px; margin: 30px 0 8px; }
.doc h2::before { content: ""; display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; background: var(--brand); margin-right: 9px; vertical-align: 2px; }
.doc p, .doc li { font-size: 14.5px; color: #c3c9d4; line-height: 1.9; }
.doc ul, .doc ol { padding-left: 22px; }
.doc a { color: var(--brand); }

/* 公司首页:产品矩阵 */
.prod-grid { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 820px; margin: 0 auto; }
@media (min-width: 760px) { .prod-grid { grid-template-columns: 1fr 1fr; } }
.prod-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: border-color .2s, transform .2s;
}
.prod-card:hover { border-color: var(--brand); transform: translateY(-3px); }
.prod-card img { flex: none; width: 56px; height: 56px; border-radius: 14px; }
.prod-card b { display: block; font-size: 17px; margin-bottom: 4px; }
.prod-card span { color: var(--text-dim); font-size: 13.5px; line-height: 1.7; display: block; }
.prod-card em { display: inline-block; margin-top: 10px; color: var(--brand);
  font-size: 13px; font-style: normal; font-weight: 600; }
.prod-card.dashed {
  border-style: dashed; background: transparent; align-items: center;
  cursor: default;
}
.prod-card.dashed:hover { border-color: var(--border); transform: none; }
.prod-card .plus {
  flex: none; width: 56px; height: 56px; border-radius: 14px;
  border: 1px dashed var(--border); color: var(--text-dim);
  display: grid; place-items: center; font-size: 26px; font-weight: 300;
}

/* 公司首页:关于 */
.about { max-width: 680px; margin: 0 auto; text-align: center; }
.about p { color: #c3c9d4; font-size: 15px; margin-bottom: 12px; }
