/* ============================================================
   店小富 · 建站下单（浅色服务版）
   ============================================================ */
:root {
  --bg: #f4f7fc;
  --surface: #ffffff;
  --ink: #0f1729;
  --ink-2: #3b4761;
  --muted: #6d7893;
  --line: #e7ecf5;
  --line-2: #d5ddec;
  --brand: #2f5cf6;
  --accent: #2f5cf6;
  --blue-line: #e0e8fb;
  --surface-2: #f7f9fc;
  --accent-dark: #1f43c8;
  --accent-soft: #eef2ff;
  --accent-tint: #f5f8ff;
  --amber: #f59e0b;
  --amber-soft: #fff4e0;
  --amber-ink: #a35a00;
  --green: #10b981;
  --radius: 20px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow-md: 0 1px 2px rgba(16, 24, 40, 0.04), 0 14px 34px -26px rgba(16, 24, 40, 0.28);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* 页面为纯浅色设计：Bootstrap 6 的令牌用 light-dark() 跟随系统，这里固定为浅色 */
:root { color-scheme: light !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--blue-line); color: var(--ink); }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; color: inherit; }

/* ---------- 容器：Bootstrap 6 原生 .2xl:container（1536px 起 1440px） ---------- */



/* ---------- 头部 ---------- */
.hero {
  padding: 52px 0 34px;
  background:
    radial-gradient(60% 120% at 85% 0%, #e6eeff 0%, rgba(230, 238, 255, 0) 62%),
    var(--bg);
}

.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero p {
  margin: 0;
  max-width: 34em;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink-2);
}





/* ---------- 步骤卡 ---------- */
.steps { padding-bottom: 8px; }

.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px 32px 32px;
  margin-bottom: 16px;
}

.step__head {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  column-gap: 14px;
  align-items: center;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px dashed var(--line);
}

/* 头部右侧放按钮时的基线对齐 */
.faq__cta-btn {
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: center;
  padding: 8px 16px;
  font-size: 13px;
  white-space: nowrap;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.step__head > .btn {
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: center;
  white-space: nowrap;
}

.step__no {
  grid-row: 1 / 3;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  display: grid;
  place-items: center;
}

.step__title {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.step__desc {
  grid-column: 2;
  grid-row: 2;
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.pill {
  grid-column: 3;
  grid-row: 1 / 3;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.pill--req { background: var(--accent-soft); color: var(--accent); }
.pill--opt { background: #f1f4fa; color: var(--muted); }

/* ---------- 选项 ---------- */
.opts-4, .opts-3, .opts-2 {
  display: grid;
  gap: 14px;
}

.opts-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.opts-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.opt {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.opt:hover {
  background: #fff;
  border-color: var(--line-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.opt.is-active {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 16px 34px -28px rgba(44, 83, 245, 0.9);
}

.opt__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--amber-soft);
  color: var(--amber-ink);
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 600;
}



.opt__name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  padding-right: 44px;
}

.opt__meta {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
}

.opt__price {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.opt__price i {
  font-style: normal;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 2px;
}

.opt.is-active .opt__price { color: var(--accent); }

.opt__note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  padding-right: 22px;
}

.check {
  position: absolute;
  right: 12px;
  bottom: 14px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.2s var(--ease);
}

.check::after {
  content: "";
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  margin-top: -2px;
}

.opt.is-active .check { opacity: 1; transform: scale(1); }

/* ---------- 行内字段 ---------- */
.inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--ink-2);
}



.help {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- 输入 ---------- */
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field > span {
  font-size: 13px;
  color: var(--ink-2);
}

.field > span b { color: var(--accent); font-weight: 400; }

.input {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: #fff;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--ink);
  font-family: inherit;
  box-shadow: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

/* 下拉框：原生 caret 右侧留白 */
select.input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%236b7789' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  cursor: pointer;
}

.input::placeholder { color: #a8b1c1; }

.input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(44, 83, 245, 0.12);
}

.input.is-error { border-color: #e5484d; box-shadow: 0 0 0 3px rgba(240, 68, 56, 0.12); }

.fields-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.fields-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.domain-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px 14px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}

/* 输入框、查询按钮、认证按钮统一高度 */
.domain-grid .input,
.domain-grid .btn-ink,
.domain-grid .chip {
  height: 46px;
}

/* 字段标题：label 与 span 同款 */
.field > label {
  font-size: 13px;
  color: var(--ink-2);
}

.field > label b { color: var(--accent); font-weight: 400; }

/* 控件下方的说明文字：域名查询结果与认证说明同一间距 */
.field > .help {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.6;
}

.domain-grid .field { gap: 7px; }

.with-btn { display: flex; gap: 10px; }
.with-btn .input { flex: 1 1 auto; }

.btn-ink {
  flex: 0 0 auto;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  padding: 0 18px;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}

.btn-ink:hover { background: var(--accent-dark); }

.chips {
  display: flex;
  gap: 10px;
}

.chips .chip { height: 46px; }

.chip {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-2);
  background: #fff;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 13.5px;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.chip:hover { border-color: var(--accent); color: var(--accent); }

.chip.is-active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 500;
}

/* ---------- 框架样式 ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tab {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}

.tab:hover { border-color: var(--line-2); }

.tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.tpls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.tpl {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 8px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s var(--ease);
}

.tpl:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: var(--shadow-sm); }

.tpl.is-active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }

.thumb {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 11px;
  overflow: hidden;
  border: 1px solid rgba(23, 32, 51, 0.06);
  background: #f1f4fa;
}

.thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s var(--ease);
}

.tpl:hover .thumb img { transform: scale(1.03); }

/* 还没上传封面时的占位 */
.thumb__empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #9aa6ba;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(233, 239, 250, 0.9) 100%);
}
.tpl__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 4px 4px;
}

.tpl__meta strong { font-size: 13.5px; font-weight: 600; }
.tpl__meta span { font-size: 13px; color: var(--muted); }
.tpl.is-active .tpl__meta span { color: var(--accent); font-weight: 600; }

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}

.pager__btn {
  border: 1px solid var(--line-2);
  background: #fff;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.pager__btn:hover { border-color: var(--accent); color: var(--accent); }

.pager__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pager__btn.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---------- 增值服务 ---------- */
.addons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.addon {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.addon:hover { background: #fff; border-color: var(--line-2); }

.addon.is-checked {
  background: var(--accent-tint);
  border-color: #cfdcfa;
}

.addon input {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  border: 1px solid var(--line-2);
  border-radius: 5px;
  background: #fff;
  display: grid;
  place-content: center;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.addon input::after {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0);
  transition: transform 0.18s var(--ease);
  margin-top: -2px;
}

.addon input:checked { background: var(--accent); border-color: var(--accent); }
.addon input:checked::after { transform: rotate(-45deg) scale(1); }

.addon__name { flex: 1 1 auto; line-height: 1.5; }

.addon__note {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  color: var(--muted);
}

.addon__price {
  flex: 0 0 auto;
  margin-top: 1px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.addon__price i { font-style: normal; font-size: 11px; font-weight: 400; opacity: 0.75; margin-left: 1px; }

.addon.is-checked .addon__price { color: var(--accent); }

/* ---------- 订单总结 ---------- */
.summary {
  background: linear-gradient(180deg, var(--accent-tint) 0%, #ffffff 58%);
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  padding: 28px 32px 30px;
  margin: 8px 0 20px;
  box-shadow: var(--shadow-md);
}

.summary__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.summary__ico {
  margin-right: 8px;
  font-size: 16px;
  font-style: normal;
}

.summary__count {
  padding: 3px 11px;
  border-radius: 999px;
  background: rgba(44, 83, 245, 0.08);
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
}

.summary__count b { font-weight: 700; }

.summary__head h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.summary__head span {
  font-size: 12.5px;
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0;
  max-width: 100%;
  padding: 9px 14px;
  background: #fff;
  border: 1px solid var(--blue-line);
  border-radius: 12px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.4;
  box-shadow: 0 1px 2px rgba(23, 32, 51, 0.03);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.tag:hover {
  border-color: #cfdcfa;
  box-shadow: 0 4px 12px -8px rgba(23, 32, 51, 0.25);
}


.tag__name {
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tag__price {
  flex: none;
  margin-left: 2px;
  padding-left: 10px;
  border-left: 1px dashed var(--blue-line);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.tag__price i {
  margin-left: 1px;
  font-style: normal;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  opacity: 0.75;
}

.tag--free .tag__price {
  color: var(--muted);
  opacity: 0.9;
}

.tag--coupon { border-color: #ffe0bf; }
.tag--coupon .tag__price { color: var(--amber-ink); border-left-color: #ffe0bf; }


.summary__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px dashed var(--blue-line);
}

.coupon {
  display: flex;
  gap: 8px;
}

.coupon input {
  width: 180px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: #fff;
  padding: 9px 12px;
  font-size: 13px;
  color: var(--ink);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

.coupon input::placeholder { color: #a8b1c1; font-family: var(--sans); letter-spacing: 0; }

.coupon input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(44, 83, 245, 0.12); }

.coupon button {
  border: 1px solid var(--line-2);
  background: #fff;
  border-radius: 10px;
  padding: 0 16px;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.coupon button:hover { border-color: var(--accent); color: var(--accent); }

.coupon__hint {
  font-size: 12px;
  color: var(--muted);
}

.summary__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px dashed var(--blue-line);
}

.total {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 240px;
}

.total span { font-size: 13px; color: var(--muted); line-height: 1; }

.total b {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.deliver {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
  background: var(--accent-tint);
  border: 1px solid var(--blue-line);
  border-radius: 999px;
  padding: 7px 14px;
}

.deliver i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.btn-primary {
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  padding: 0 30px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
  box-shadow: 0 12px 24px -14px rgba(44, 83, 245, 0.9);
}

.btn-primary:hover { background: var(--accent-dark); }
.btn-primary:active { transform: translateY(1px); }

.btn-draft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  min-width: 120px;
  border: 1px solid var(--line-2);
  background: #fff;
  border-radius: 12px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn-draft:hover { border-color: var(--accent); color: var(--accent); }
.btn-draft[disabled] { opacity: 0.6; cursor: default; }

.summary__note {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- 保障 / 顾问 ---------- */
.guarantee {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 8px 0 16px;
}

.g-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 32px;
  box-shadow: var(--shadow-sm);
}

.g-item .ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.g-item svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.g-item b { display: block; font-size: 14.5px; margin-bottom: 4px; }
.g-item p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.7; }

.consult {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.consult__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #cfe0ff, #a9c4ff);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex: 0 0 auto;
}

.consult__text { flex: 1 1 280px; }
.consult__text b { display: block; font-size: 15px; margin-bottom: 4px; }
.consult__text p { margin: 0; font-size: 13px; color: var(--muted); }

.consult__act { display: flex; gap: 10px; flex-wrap: wrap; }

.btn-outline {
  border: 1px solid var(--line-2);
  background: #fff;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 13.5px;
  color: var(--ink);
  cursor: pointer;
}

.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-fill {
  border: 0;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 13.5px;
  cursor: pointer;
}

.btn-fill:hover { background: var(--accent-dark); }

/* ---------- 常见问题（与步骤卡同构） ---------- */
.faq__col { min-width: 0; }

/* 大屏：问答两列排布；同一组手风琴，任意时刻只展开一条 */
.faq__cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1200px) {
  .faq__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    align-items: start;
  }
}

/* 每条问答做成独立圆角框，规格对齐「扩展与集成」 */
.faq .faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  margin-bottom: 12px;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.faq .faq-item:last-child { margin-bottom: 0; }

.faq .faq-item:hover {
  background: var(--surface-2);
  border-color: var(--line-2);
}

/* 展开项：边框加深，背景保持白色 */
.faq .faq-item[open] {
  border-color: var(--line-2);
}

/* 答案区动画（高度由脚本控制） */
.faq .faq-ans {
  overflow: hidden;
  transition: height 0.28s var(--ease), opacity 0.28s var(--ease),
    padding-bottom 0.28s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  .faq .faq-ans { transition: none; }
}

.faq .faq-sum {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  list-style: none;
  cursor: pointer;
}

.faq .faq-sum::-webkit-details-marker { display: none; }

/* 覆盖 Bootstrap 原生 accordion 的展开态底色与内阴影 */
.faq .faq-item[open] > .accordion-header {
  background: transparent;
  box-shadow: none;
  color: var(--ink);
}

.faq .faq__q {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  color: inherit;
  transition: color 0.2s var(--ease);
}

.faq .faq-item[open] > .accordion-header .faq__q { color: var(--accent); }

.faq .faq-caret {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  align-self: center;
  color: var(--muted);
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}

.faq .faq-item[open] > .accordion-header .accordion-icon {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq .faq-ans {
  padding: 0 16px 14px;
  max-width: 52em;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
  background: transparent;
}

/* ---------- 页脚 ---------- */
.footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 28px 0 34px;
}

.footer__in {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  align-items: center;
  justify-content: space-between;
}

.footer p { margin: 0; font-size: 12.5px; color: var(--muted); }

.footer__links { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 12.5px; color: var(--muted); }

.footer__links a:hover { color: var(--accent); }

/* 备案号：与页脚文字同色，悬停变主题色 */
.footer__beian {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.footer__beian:hover { color: var(--accent); }


/* ---------- 底部悬浮条 ---------- */







/* ---------- 弹层 ---------- */

/* ---------- 微信咨询 ---------- */


.btn-line:hover { border-color: var(--ink-2); }

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .step { padding: 24px 24px 26px; }
}

@media (max-width: 1023px) {
  /* 顶栏：品牌 + 操作 + 汉堡，导航收进下拉面板 */

  .hero__in { grid-template-columns: 1fr; gap: 26px; }
  .hero { padding: 34px 0 26px; }
  .opts-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tpls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opts-3 { grid-template-columns: 1fr; }
  .guarantee { grid-template-columns: 1fr; }
  .fields-2 { grid-template-columns: 1fr; }
  .fields-3 { grid-template-columns: 1fr; }
  .domain-grid { grid-template-columns: 1fr; }
  .addons { grid-template-columns: 1fr; }
  .step { padding-left: 20px; padding-right: 20px; }
  .summary { padding: 22px 20px 24px; }
  .faq { padding-left: 20px; padding-right: 20px; }
  .g-item { padding: 18px 20px; }
  .total b { font-size: 28px; }
}

@media (max-width: 680px) {
  .hotline--wx span { display: none; }
  .hotline--wx { padding: 6px; }
  .hotline--wx i svg { width: 18px; height: 18px; }
  .step { padding: 20px 20px 22px; border-radius: 16px; }
  .step__title { font-size: 17px; }
  .step__desc { flex-basis: 100%; }
  .opts-4, .opts-3, .opts-2, .tpls { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .opt { padding: 14px 14px 12px; }
  .opt__name { font-size: 14px; padding-right: 38px; }
  .opt__price { font-size: 16px; }
  .summary__foot { gap: 12px; }
  .total { flex-basis: 100%; }
  /* 移动端保持宽度自适应，仅交付提示整行 */
  .deliver {
    flex: 1 1 100%;
  }
  .faq { padding: 4px 20px; }
  .hero h1 { font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}
/* 认证类型提示 */
/* ---------- 步骤图标 ---------- */
.step__ico {
  margin-right: 8px;
  font-size: 16px;
  line-height: 1;
  vertical-align: -1px;
}
/* ---------- 底部悬浮条：按钮收敛 ---------- */

/* ---------- 服务器地区（按钮组） ---------- */
.region-field {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}

.region-field .chips {
  margin-top: 2px;
}

.chips--wrap {
  flex-wrap: wrap;
}

.chips--wrap .chip {
  flex: 0 0 auto;
  padding: 0 18px;
  white-space: nowrap;
}

.region-field .help {
  margin-top: 10px;
}

/* ---------- 底部悬浮条：悬浮胶囊 ---------- */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  padding: 0 16px calc(16px + env(safe-area-inset-bottom));
  pointer-events: none;
  opacity: 0;
  transform: translateY(140%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s var(--ease);
}

.dock::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(to top, rgba(245, 247, 251, 0.92), rgba(245, 247, 251, 0));
  pointer-events: none;
}

.dock.is-on {
  transform: none;
  opacity: 1;
}

.dock__in {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 10px 10px 22px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(23, 32, 51, 0.07);
  border-radius: 999px;
  box-shadow:
    0 24px 48px -28px rgba(16, 24, 40, 0.45),
    0 2px 10px rgba(16, 24, 40, 0.05);
  pointer-events: auto;
}

.dock__sum {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 auto;
  min-width: 0;
}

.dock__count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  line-height: 1;
}

.dock__count i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(44, 83, 245, 0.12);
}

.dock__count b {
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.dock__divider {
  width: 1px;
  height: 22px;
  background: var(--line);
  flex: none;
}

.dock__price {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  line-height: 1;
}

.dock__price small {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.dock__price b {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.dock__cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 14px 26px -16px rgba(44, 83, 245, 0.95);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s var(--ease);
}

.dock__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px -16px rgba(44, 83, 245, 1);
}

.dock__cta:active { transform: translateY(0); }

.dock__arrow {
  transition: transform 0.25s var(--ease);
}

.dock__cta:hover .dock__arrow { transform: translateX(3px); }

@media (max-width: 640px) {
  .dock { padding: 0 10px calc(10px + env(safe-area-inset-bottom)); }

  .dock__in {
    gap: 10px;
    padding: 9px 9px 9px 16px;
    border-radius: 20px;
  }

  .dock__sum { gap: 10px; }

  .dock__price small { display: none; }

  .dock__price b { font-size: 18px; }

  .dock__count { font-size: 12px; }

  .dock__cta {
    padding: 10px 14px;
    font-size: 13px;
  }
}

/* ---------- 线性图标 ---------- */
.ico {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.14em;
}

.step__ico.ico,
.summary__ico.ico {
  width: 17px;
  height: 17px;
  margin-right: 8px;
  color: var(--accent);
}


.consult__avatar .ico {
  width: 22px;
  height: 22px;
  color: var(--accent-dark);
  stroke-width: 1.7;
}
/* ---------- 按钮内的线性图标 ---------- */
.btn-primary,
.btn-ink,
.btn-fill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* 下单页操作按钮：宽度随内容自适应；草稿按钮与「预计交付」等高 */
.btn-primary {
  width: auto;
  height: 48px;
  min-height: 48px;
  line-height: 1;
}

.btn-draft {
  width: auto;
  height: 37px;
  min-height: 37px;
  padding: 0 18px;
  font-size: 13.5px;
  line-height: 1;
}

.btn-draft:hover { border-color: var(--accent); color: var(--accent); }

.btn-primary .ico,
.btn-ink .ico,
.btn-fill .ico {
  width: 16px;
  height: 16px;
  stroke-width: 1.8;
}

.btn-ink .ico {
  width: 15px;
  height: 15px;
}
/* ---------- 卖点模块 ---------- */
.trust {
  list-style: none;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.trust li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 15px 16px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
}

/* 2×2 的内部分隔线 */
.trust li:nth-child(odd) { border-right: 1px solid var(--line); }

.trust li:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }

.trust__ico {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
}

.trust__ico svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust__txt { display: block; min-width: 0; }

.trust b {
  display: block;
  margin-bottom: 2px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.trust__txt > span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* 小屏：拆成 2×2 独立卡片 */
@media (max-width: 680px) {
  .trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
  }

  .trust li {
    flex-direction: column;
    gap: 9px;
    padding: 14px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
  }


  .trust__ico {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }

  .trust b { font-size: 13px; line-height: 1.4; }
  .trust__txt > span { font-size: 11.5px; line-height: 1.45; }

  /* 小屏卡片更窄，交给浏览器自然换行 */
  .trust__txt > span br { display: none; }
}


/* 小屏时账号按钮只显示名字，订单入口在菜单里 */
@media (max-width: 1023px) {
  .btn-ghost .auth-suffix { display: none; }
}


/* ---------- Logo 字体 ---------- */
@font-face {
  font-family: "Dianify Logo";
  src: url("/assets/images/Dianify-Logo.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.logo {
  font-family: "Dianify Logo", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: normal;
  letter-spacing: 0;
  gap: 0;
}

/* ---------- 下单页弹窗（Bootstrap dialog） ---------- */
.dialog--wx {
  --bs-dialog-width: 380px;
}

.dialog--wx .dialog-body {
  text-align: center;
}

.dialog--order {
  --bs-dialog-width: 480px;
}

.dialog--wx .wx__desc {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.dialog--wx .wx__qr {
  width: 208px;
  height: 208px;
  margin: 0 auto 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  display: grid;
  place-items: center;
}

.dialog--wx .wx__qr svg,
.dialog--wx .wx__qr img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 8px;
}

.dialog--wx .wx__id {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  font-size: 13px;
  color: var(--ink-2);
}

.dialog--wx .wx__id b {
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.dialog--wx .wx__tip {
  margin: 16px 0 0;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
  text-align: left;
}

.dialog--order .sheet__id {
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.dialog--order .tags {
  margin-bottom: 6px;
}

.dialog--order .sheet__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 18px 0 4px;
  border-top: 1px dashed var(--line);
  margin-top: 12px;
}

.dialog--order .sheet__total span {
  font-size: 13px;
  color: var(--muted);
}

.dialog--order .sheet__total b {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.dialog--order .sheet__tip {
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}

/* 框架样式卡片：选择区 + 预览链接 */
.tpl-cell {
  position: relative;
  display: flex;
  min-width: 0;
}

.tpl-cell > .tpl {
  flex: 1 1 auto;
  min-width: 0;
}

.tpl__link {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(16, 24, 40, 0.55);
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  text-decoration: none;
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s var(--ease), background-color 0.18s var(--ease);
}

.tpl__link svg { width: 12px; height: 12px; }

.tpl-cell:hover .tpl__link,
.tpl__link:focus-visible {
  opacity: 1;
  pointer-events: auto;
}

.tpl__link:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* ---------- 服务说明 / 常见问题：头部无编号，图标内联 ---------- */
.step__head--plain {
  grid-template-columns: minmax(0, 1fr) auto;
}

.step__head--plain .step__title,
.step__head--plain .step__desc {
  grid-column: 1;
}

.step__head--plain > .pill,
.step__head--plain > .faq__cta-btn {
  grid-column: 2;
}

/* ---------- 服务说明（与步骤卡同构） ---------- */
.infos { gap: 14px; }

.info-card {
  min-width: 0;
  padding: 16px 18px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.info-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
  box-shadow: var(--shadow-sm);
}

.info-card__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
}

.info-card__ico svg {
  width: 16px;
  height: 16px;
}

.info-card b {
  display: block;
  margin-bottom: 5px;
  font-size: 13.5px;
  font-weight: 600;
}

.info-card p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--muted);
}

/* 长段落避免孤字与断词 */
.trust__txt > span,
.step__desc,
.info-card p,
.faq .accordion-body,
.summary__note,
.hero p {
  text-wrap: pretty;
}

@media (min-width: 681px) {
  .trust__txt > span { text-wrap: balance; }
}

@media (max-width: 1024px) {
  .infos { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 680px) {
  .infos { grid-template-columns: minmax(0, 1fr); }

  .faq .accordion-header { gap: 10px; padding: 13px 14px; }

  /* 图标在左，标题与说明在右 */
  .info-card,
  .g-item {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
    padding: 16px 18px;
  }

  .info-card__ico,
  .g-item .ico {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 32px;
    height: 32px;
    margin-bottom: 0;
  }

  .info-card b,
  .g-item b {
    grid-column: 2;
    margin-bottom: 3px;
  }

  .info-card p,
  .g-item p {
    grid-column: 2;
  }
  .faq .accordion-body { padding: 0 14px 12px; }
}

/* 中等屏宽时卡片变窄，取消强制断行交给浏览器 */
@media (max-width: 1280px) {
  .trust__txt > span br { display: none; }
}
