/* ==========================================
   阿奇 AI 服务站 — 全站共享样式
   ========================================== */
:root {
  --ink: #12212e;
  --ink-soft: #4a5c6b;
  --ink-mute: #7c8b98;
  --paper: #ffffff;
  --bg: #f7f9fb;
  --bg-warm: #fbf8f4;
  --line: #e3e9ee;
  --accent: #e8752b;
  --accent-deep: #c75c16;
  --accent-soft: #fdf0e6;
  --blue: #1e3a57;
  --blue-soft: #eef3f8;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 14px 40px -22px rgba(18, 33, 46, .4);
  --shadow-lg: 0 26px 70px -34px rgba(18, 33, 46, .5);
  --sans: "Noto Sans SC", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Noto Serif SC", Georgia, serif;
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-deep); text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 700; }
.wrap { width: min(var(--max), 90vw); margin: 0 auto; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  width: min(1240px, 94vw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 14px 0;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.15rem; color: var(--ink);
  letter-spacing: .01em;
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: .9rem; flex: none;
}
.brand small { font-weight: 400; font-size: .72rem; color: var(--ink-mute); letter-spacing: .16em; display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: var(--ink-soft); font-size: .92rem; font-weight: 500;
  padding: 8px 14px; border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: var(--blue-soft); }
.nav-links a.active { color: var(--accent-deep); background: var(--accent-soft); }
.nav-cta {
  background: var(--ink) !important; color: #fff !important;
  padding: 10px 20px !important; border-radius: 999px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--accent-deep) !important; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px; border-radius: 999px;
  font-family: var(--sans); font-size: 1rem; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}
.btn svg { width: 19px; height: 19px; }
.btn-primary { background: var(--accent-deep); color: #fff; box-shadow: 0 14px 32px -18px rgba(199,92,22,.7); }
.btn-primary:hover { transform: translateY(-2px); background: var(--accent); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); background: var(--blue); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent-deep); }

/* ---------- 通用 section ---------- */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: .76rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent-deep); font-weight: 700; margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 16px; }
.lead { color: var(--ink-soft); font-size: 1.05rem; margin: 0; }

/* ---------- 卡片 ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 28px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent-deep);
  margin-bottom: 20px;
}
.card-icon svg { width: 27px; height: 27px; }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .95rem; margin: 0 0 18px; }
.card-link { font-size: .9rem; font-weight: 600; color: var(--accent-deep); display: inline-flex; align-items: center; gap: 6px; }
.card-link svg { width: 15px; height: 15px; transition: transform .2s; }
.card:hover .card-link svg { transform: translateX(4px); }

/* ---------- 页头 banner（内页） ---------- */
.page-head {
  background: linear-gradient(160deg, var(--blue) 0%, #16304a 100%);
  color: #fff; padding: clamp(56px, 8vw, 92px) 0 clamp(48px, 6vw, 72px);
  position: relative; overflow: hidden;
}
.page-head::after {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,117,43,.35), transparent 70%);
}
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin-bottom: 16px; }
.page-head p { color: rgba(255,255,255,.82); font-size: 1.05rem; max-width: 620px; margin: 0; }
.page-head .eyebrow { color: #f2a868; }
.crumbs { font-size: .84rem; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.crumbs a { color: rgba(255,255,255,.85); }
.crumbs span { margin: 0 8px; opacity: .5; }

/* ---------- 页脚 ---------- */
.footer {
  background: var(--ink); color: rgba(255,255,255,.72);
  padding: 56px 0 32px; margin-top: 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; letter-spacing: .05em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: rgba(255,255,255,.68); font-size: .9rem; }
.footer ul a:hover { color: var(--accent); }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: .9rem; color: rgba(255,255,255,.6); max-width: 300px; margin: 0; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 26px; font-size: .84rem; color: rgba(255,255,255,.45);
}

/* ---------- 占位标记 ---------- */
.todo {
  display: inline-block; font-size: .7rem; letter-spacing: .1em;
  background: #fff3cd; color: #8a6d1d; border: 1px dashed #d9b73c;
  padding: 2px 8px; border-radius: 4px; font-weight: 600; vertical-align: middle;
}
.empty-note {
  text-align: center; padding: 60px 24px; border: 1.5px dashed var(--line);
  border-radius: var(--radius); background: var(--bg-warm); color: var(--ink-mute);
}
.empty-note strong { color: var(--ink-soft); display: block; margin-bottom: 8px; font-size: 1.05rem; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .btn { padding: 13px 22px; font-size: .95rem; }
}

/* ===== 能力页专用 ===== */
.cap-hero-icon {
  width: 64px; height: 64px; border-radius: 18px;
  background: rgba(255,255,255,.12); color: #f2a868;
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.cap-hero-icon svg { width: 34px; height: 34px; }

.deliver-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.deliver-item {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 26px;
}
.deliver-item .di-icon { color: var(--accent-deep); margin-bottom: 16px; }
.deliver-item .di-icon svg { width: 26px; height: 26px; }
.deliver-item h3 { font-size: 1.08rem; margin-bottom: 8px; }
.deliver-item p { color: var(--ink-soft); font-size: .92rem; margin: 0; }

/* 流程 */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.flow-step { position: relative; padding: 0 20px 0 0; }
.flow-step::before {
  content: ""; position: absolute; top: 19px; left: 44px; right: 0; height: 2px;
  background: var(--line);
}
.flow-step:last-child::before { display: none; }
.flow-dot {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .92rem; margin-bottom: 18px;
  position: relative; z-index: 1;
}
.flow-step h4 { font-size: 1.02rem; margin-bottom: 8px; }
.flow-step p { color: var(--ink-soft); font-size: .89rem; margin: 0; padding-right: 10px; }

/* 规格表 */
.spec-table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.spec-table th, .spec-table td { padding: 16px 22px; text-align: left; font-size: .94rem; border-bottom: 1px solid var(--line); }
.spec-table th { background: var(--blue-soft); color: var(--blue); font-weight: 600; width: 30%; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table td { color: var(--ink-soft); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q { font-weight: 600; font-size: 1.02rem; margin-bottom: 8px; display: flex; gap: 10px; }
.faq-q span { color: var(--accent); font-weight: 900; }
.faq-a { color: var(--ink-soft); font-size: .95rem; margin: 0; padding-left: 26px; }

/* CTA 块 */
.cap-cta {
  background: linear-gradient(150deg, var(--blue), #16304a);
  border-radius: 22px; padding: clamp(36px, 5vw, 56px);
  color: #fff; text-align: center; margin-top: 8px;
}
.cap-cta h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 14px; }
.cap-cta p { color: rgba(255,255,255,.78); margin: 0 0 28px; }
.cap-cta .todo { background: rgba(255,255,255,.14); color: #ffd9b8; border-color: rgba(255,217,184,.4); }

@media (max-width: 900px) {
  .deliver-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .flow-step::before { display: none; }
}
@media (max-width: 560px) {
  .flow { grid-template-columns: 1fr; }
}
