@charset "utf-8";
/* ==========================================================================
   logo369.com — AI 智能 LOGO 在线设计生成平台
   主样式表 / Design tokens / Components / Utilities
   ========================================================================== */

/* ---------- 1. Design Tokens ---------- */
:root {
  --brand: #4f46e5;
  --brand-2: #7c3aed;
  --brand-3: #06b6d4;
  --brand-soft: #eef0ff;
  --accent: #ff7a45;
  --accent-2: #ffb020;
  --success: #10b981;

  --ink: #0e1020;
  --ink-2: #232746;
  --ink-3: #454b66;
  --muted: #6b7189;
  --muted-2: #8b90a6;

  --bg: #ffffff;
  --soft: #f7f8fc;
  --soft-2: #f1f3fb;
  --line: rgba(14, 16, 32, .08);
  --line-2: rgba(14, 16, 32, .12);

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;

  --shadow-xs: 0 1px 2px rgba(16, 24, 40, .04);
  --shadow-sm: 0 2px 4px rgba(16, 24, 40, .04), 0 8px 20px rgba(16, 24, 40, .05);
  --shadow-md: 0 12px 32px rgba(31, 41, 79, .09);
  --shadow-lg: 0 28px 64px rgba(31, 41, 79, .14);
  --shadow-brand: 0 16px 36px rgba(79, 70, 229, .28);

  --grad: linear-gradient(135deg, #4f46e5 0%, #7c3aed 52%, #06b6d4 100%);
  --grad-warm: linear-gradient(135deg, #ff7a45 0%, #ffb020 100%);
  --grad-text: linear-gradient(100deg, #4f46e5 0%, #7c3aed 45%, #06b6d4 100%);

  --header-h: 68px;
  --maxw: 1220px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -.01em;
  font-weight: 800;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: rgba(79, 70, 229, .16); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- 3. Layout utilities ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 96px 0; position: relative; }
.section--soft { background: var(--soft); }
.section--tint {
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(79, 70, 229, .10), transparent 60%),
    radial-gradient(760px 380px at 92% 8%, rgba(6, 182, 212, .10), transparent 62%),
    var(--soft);
}
.section--dark {
  background:
    radial-gradient(1000px 520px at 8% 0%, rgba(124, 58, 237, .34), transparent 60%),
    radial-gradient(820px 460px at 96% 20%, rgba(6, 182, 212, .26), transparent 62%),
    linear-gradient(160deg, #14173a 0%, #0d1029 60%, #0a0c22 100%);
  color: #cfd3ea;
}
.section--dark h2, .section--dark h3 { color: #fff; }

.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* ---------- 4. Section heading ---------- */
.head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.head--left { margin-inline: 0; text-align: left; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--brand);
  background: rgba(79, 70, 229, .09);
  border: 1px solid rgba(79, 70, 229, .16);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, .16);
}
.section--dark .eyebrow {
  color: #b9c3ff;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
}
.section--dark .eyebrow::before { background: #a5b4fc; box-shadow: 0 0 0 4px rgba(165, 180, 252, .2); }

.head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
}
.head p {
  margin-top: 16px;
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--muted);
}
.section--dark .head p { color: #a6adcc; }

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), background .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; }

.btn--primary {
  color: #fff;
  background: var(--grad);
  background-size: 160% 160%;
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover {
  transform: translateY(-2px);
  background-position: 100% 0;
  box-shadow: 0 20px 42px rgba(79, 70, 229, .34);
}

.btn--dark {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(14, 16, 32, .18);
}
.btn--dark:hover { transform: translateY(-2px); }

.btn--ghost {
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-xs);
}
.btn--ghost:hover { transform: translateY(-2px); border-color: rgba(79, 70, 229, .4); color: var(--brand); }

.btn--glass {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .24);
  backdrop-filter: blur(8px);
}
.btn--glass:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }

.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn--lg { height: 58px; padding: 0 34px; font-size: 16px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  color: var(--brand);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 6. Topbar + Header ---------- */
.topbar {
  background: linear-gradient(90deg, #171a44 0%, #2a1e5c 52%, #0f3550 100%);
  color: #dfe3f7;
  font-size: 13px;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 40px;
  flex-wrap: wrap;
  text-align: center;
}
.topbar b { color: #fff; font-weight: 700; }
.topbar .tag {
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--grad-warm);
}
.topbar a { color: #9ff0ff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(16, 24, 40, .06);
  background: rgba(255, 255, 255, .92);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
.brand-mark {
  position: relative;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--grad);
  box-shadow: 0 8px 18px rgba(79, 70, 229, .3);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 15px;
  border: 1px solid rgba(79, 70, 229, .22);
}
.brand small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--muted-2);
  line-height: 1;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: auto;
}
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color .2s, background .2s;
}
.nav-link:hover, .nav-item:hover > .nav-link { color: var(--brand); background: var(--brand-soft); }
.nav-link[aria-current="page"] { color: var(--brand); }
.nav-link .caret { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.nav-item:hover .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 230px;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: .24s var(--ease);
  pointer-events: none;
}
.nav-item:hover > .dropdown,
.nav-item.is-open > .dropdown,
.nav-item:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
/* 鼠标从主菜单移向二级菜单时的“桥接区”，填补两者之间的间隙 */
.nav-item.has-menu::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 26px;
  pointer-events: none;
}
.nav-item.has-menu:hover::after,
.nav-item.has-menu.is-open::after { pointer-events: auto; }
.dropdown a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 11px;
  font-size: 14px;
  transition: background .2s;
}
.dropdown a:hover { background: var(--soft); }
.dropdown strong { display: block; font-size: 14px; color: var(--ink); }
.dropdown span { display: block; font-size: 12px; color: var(--muted-2); line-height: 1.5; }
.dropdown i {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--brand-soft);
  display: grid;
  place-items: center;
  font-style: normal;
}
.dropdown i svg { width: 16px; height: 16px; color: var(--brand); }

/* 加宽版二级菜单（LOGO 设计）：宽度贴合文字，不换行 */
.dropdown--wide { min-width: 240px; padding: 12px; }
.dropdown--wide a { padding: 11px 14px; gap: 12px; }
.dropdown--wide i { width: 34px; height: 34px; border-radius: 10px; }
.dropdown--wide i svg { width: 18px; height: 18px; }
.dropdown--wide strong { font-size: 14.5px; margin-bottom: 2px; }
.dropdown--wide strong,
.dropdown--wide span span { white-space: nowrap; }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: #fff;
}
.burger span {
  display: block;
  width: 18px; height: 2px;
  margin: 3px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: .25s var(--ease);
}
.burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  padding: 92px 0 84px;
  overflow: hidden;
  background:
    radial-gradient(720px 380px at 78% 6%, rgba(124, 58, 237, .14), transparent 62%),
    radial-gradient(560px 320px at 8% 22%, rgba(6, 182, 212, .14), transparent 62%),
    linear-gradient(180deg, #fbfbff 0%, #ffffff 68%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 70, 229, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 70, 229, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(760px 520px at 50% 0%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(760px 520px at 50% 0%, #000 0%, transparent 78%);
  pointer-events: none;
}
.hero .wrap { position: relative; }

.hero-solo {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

/* 核心业务切换 */
.mode-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  margin-top: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}
.mode-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  transition: .25s var(--ease);
}
.mode-tab svg { width: 16px; height: 16px; }
.mode-tab:hover { color: var(--brand); }
.mode-tab.is-active {
  color: #fff;
  background: var(--grad);
  box-shadow: var(--shadow-brand);
}
.is-hidden { display: none !important; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 16px 0 8px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
}
.hero-badge em {
  font-style: normal;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--grad-warm);
}
.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .18);
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 60px);
  letter-spacing: -.03em;
  line-height: 1.12;
}
.hero h1 .underline {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}
.hero h1 .underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255, 122, 69, .34), rgba(255, 176, 32, .34));
  z-index: -1;
}
.hero-sub {
  margin: 20px auto 0;
  font-size: clamp(15px, 1.35vw, 18px);
  color: var(--muted);
  max-width: 640px;
}

/* AI 搜索框 */
.ai-search {
  margin-top: 32px;
  padding: 8px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 46px rgba(31, 41, 79, .12), 0 2px 6px rgba(16, 24, 40, .04);
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.ai-search:hover { box-shadow: 0 26px 60px rgba(31, 41, 79, .16); }
.ai-search:focus-within {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, .18), 0 26px 60px rgba(79, 70, 229, .18);
}
.ai-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 12px 14px;
}
.ai-spark {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--grad);
  box-shadow: 0 10px 22px rgba(79, 70, 229, .28);
}
.ai-spark svg { width: 24px; height: 24px; color: #fff; }
.ai-field { flex: 1; min-width: 0; display: block; }
.ai-input {
  width: 100%;
  height: 54px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
}
.ai-input::placeholder { color: var(--muted-2); font-weight: 500; }

.ai-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 10px 10px 18px;
  border-top: 1px solid var(--line);
}
.ai-bar-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ai-select { position: relative; display: inline-flex; align-items: center; }
.ai-select > svg:first-child {
  position: absolute;
  left: 12px;
  width: 16px; height: 16px;
  color: var(--muted-2);
  pointer-events: none;
}
.ai-select select {
  height: 40px;
  padding: 0 34px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--soft);
  font-size: 14px;
  appearance: none;
  outline: none;
  cursor: pointer;
  transition: .2s var(--ease);
}
.ai-select select:hover,
.ai-select select:focus { border-color: var(--brand); background: #fff; }
.ai-select .caret {
  position: absolute;
  right: 12px;
  width: 14px; height: 14px;
  color: var(--muted-2);
  pointer-events: none;
}
.ai-tip {
  font-size: 13px;
  color: var(--muted-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ai-submit { flex: none; height: 50px; padding: 0 28px; font-size: 16px; }

.hero-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted-2);
}
.chip {
  height: 30px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--soft-2);
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 500;
  transition: .2s var(--ease);
}
.chip:hover { background: var(--brand-soft); color: var(--brand); }

/* ---------- 标签云 / 标签页 ---------- */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag-cloud .chip {
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}
.tag-cloud .chip:hover {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand);
}
.tag-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 28px;
}
.tag-group h3 {
  font-size: 15px;
  margin-bottom: 12px;
  color: var(--ink);
}
.tag-more { margin-top: 18px; font-size: 14px; }
.tag-more a { color: var(--brand); font-weight: 600; }
.guar-card p a { color: var(--brand); font-weight: 600; }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 44px;
  margin-top: 38px;
  flex-wrap: wrap;
}
.hero-stats > div {
  display: flex;
  flex-direction: column-reverse;
}
.hero-stats dd {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  line-height: 1.25;
}
.hero-stats dt { font-size: 13px; color: var(--muted-2); }
.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-size: 13px;
  color: var(--muted-2);
}
.hero-note svg { width: 16px; height: 16px; color: var(--success); flex: none; }
.hero-note--center { justify-content: center; }

/* Trust bar */
.trust {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.trust p { font-size: 14px; color: var(--muted); }
.trust-logos {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  opacity: .62;
  filter: grayscale(1);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -.02em;
  color: var(--ink);
}

/* ---------- 8. Generator ---------- */
.gen {
  padding: 84px 0 92px;
  background:
    radial-gradient(700px 340px at 82% 0%, rgba(79, 70, 229, .10), transparent 60%),
    var(--soft);
}
.gen-panel {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.gen-side {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.gen-side h3 { font-size: 17px; margin-bottom: 6px; }
.gen-side > p { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.opt-group { margin-bottom: 18px; }
.opt-group > label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.opt-list { display: flex; flex-wrap: wrap; gap: 8px; }
.opt {
  padding: 7px 13px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: #fff;
  font-size: 13px;
  color: var(--ink-3);
  transition: .2s var(--ease);
}
.opt:hover { border-color: rgba(79, 70, 229, .45); color: var(--brand); }
.opt.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 6px 14px rgba(79, 70, 229, .26);
}

.gen-main { min-height: 380px; }
.gen-result {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.gen-tile {
  position: relative;
  padding: 26px 20px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  gap: 14px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  overflow: hidden;
}
.gen-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.gen-tile svg { width: 100%; height: 120px; }
.gen-tile .tile-style {
  font-size: 12px;
  color: var(--muted-2);
  font-weight: 600;
}
.gen-tile .tile-hover {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  gap: 8px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 42%);
  opacity: 0;
  transform: translateY(8px);
  transition: .28s var(--ease);
}
.gen-tile:hover .tile-hover { opacity: 1; transform: translateY(0); }
.gen-tile .tile-hover button {
  flex: 1;
  height: 34px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  background: var(--soft-2);
  color: var(--ink-2);
}
.gen-tile .tile-hover button:hover { background: var(--brand); color: #fff; }

.skeleton { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sk {
  height: 210px;
  border-radius: var(--radius-lg);
  background: linear-gradient(100deg, #eef0f8 20%, #f7f8fd 40%, #eef0f8 60%);
  background-size: 220% 100%;
  animation: shimmer 1.3s linear infinite;
}

.gen-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px dashed var(--line-2);
  font-size: 14px;
  color: var(--muted);
}
.gen-foot b { color: var(--ink); }

/* ---------- 9. Category tabs ---------- */
.tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  margin: 0 auto 40px;
  width: fit-content;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.tab {
  height: 40px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  transition: .25s var(--ease);
}
.tab.is-active { color: #fff; background: var(--grad); box-shadow: var(--shadow-brand); }

.cat-card {
  display: block;
  padding: 22px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(79, 70, 229, .3);
}
.cat-ico {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  font-size: 22px;
  background: var(--brand-soft);
}
.cat-ico svg { width: 22px; height: 22px; color: var(--brand); }
.cat-card h3 { font-size: 16px; margin-bottom: 6px; }
.cat-card p { font-size: 13px; color: var(--muted); }
.cat-card .cat-meta {
  margin-top: 12px;
  font-size: 12px;
  color: var(--brand);
  font-weight: 700;
}

/* ---------- 10. Showcase ---------- */
.show-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.show-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.show-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.show-thumb {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: var(--soft-2);
  position: relative;
}
.show-thumb svg { width: 100%; height: 100%; }
.show-body { padding: 14px 16px 16px; }
.show-body h3 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.show-body p { font-size: 12px; color: var(--muted-2); }
.show-body .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.show-body .row span { font-size: 12px; color: var(--muted-2); }
.show-body .row a { font-size: 13px; font-weight: 700; color: var(--brand); }

.show-more { display: flex; justify-content: center; margin-top: 40px; gap: 12px; }

/* ---------- 11. Feature cards ---------- */
.feat-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform .32s var(--ease), box-shadow .32s var(--ease);
}
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feat-ico {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--grad);
  box-shadow: 0 10px 22px rgba(79, 70, 229, .24);
}
.feat-ico svg { width: 24px; height: 24px; color: #fff; }
.feat-card h3 { font-size: 18px; margin-bottom: 10px; }
.feat-card p { font-size: 14px; color: var(--muted); }
.feat-card .feat-list { margin-top: 16px; display: grid; gap: 8px; }
.feat-card .feat-list li {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-3);
}
.feat-card .feat-list li::before {
  content: "";
  flex: none;
  width: 16px; height: 16px;
  margin-top: 4px;
  border-radius: 50%;
  background: rgba(16, 185, 129, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2310b981' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Dark variant */
.feat-card--glass {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: none;
  backdrop-filter: blur(6px);
}
.feat-card--glass p { color: #a6adcc; }
.feat-card--glass .feat-list li { color: #d5d9ee; }
.feat-card--glass:hover { background: rgba(255, 255, 255, .1); box-shadow: 0 24px 50px rgba(0, 0, 0, .35); }

/* ---------- 12. Scenarios ---------- */
.scene-card {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.scene-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.scene-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.scene-card:hover::before { transform: scaleX(1); }
.scene-card h3 { font-size: 17px; margin-bottom: 12px; }
.scene-card .links { display: flex; flex-wrap: wrap; gap: 8px; }
.scene-card .links a {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  background: var(--soft-2);
  color: var(--ink-3);
  transition: .2s var(--ease);
}
.scene-card .links a:hover { background: var(--brand); color: #fff; }

/* ---------- 13. Copyright / guarantee ---------- */
.guar-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.guar-ico {
  width: 56px; height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 122, 69, .14), rgba(255, 176, 32, .14));
}
.guar-ico svg { width: 26px; height: 26px; color: var(--accent); }
.guar-card h3 { font-size: 17px; margin-bottom: 8px; }
.guar-card p { font-size: 14px; color: var(--muted); }

/* ---------- 14. Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  counter-reset: step;
}
.step { position: relative; padding-top: 12px; }
.step::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  top: -18px; left: 0;
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  color: rgba(79, 70, 229, .12);
}
.step .step-bar {
  height: 4px;
  width: 46px;
  border-radius: 4px;
  background: var(--grad);
  margin-bottom: 16px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; position: relative; }
.step p { font-size: 14px; color: var(--muted); position: relative; }

/* ---------- 15. Testimonials ---------- */
.tst-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tst {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tst:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.tst .stars { display: flex; gap: 3px; color: #ffb020; }
.tst .stars svg { width: 15px; height: 15px; }
.tst blockquote { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.75; }
.tst .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tst .avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  background: var(--grad);
  flex: none;
}
.tst .who strong { display: block; font-size: 14px; color: var(--ink); }
.tst .who span { font-size: 12px; color: var(--muted-2); }

/* ---------- 16. FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq-item {
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow .3s var(--ease), border-color .3s;
}
.faq-item[open] { border-color: rgba(79, 70, 229, .3); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .sign {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  transition: transform .3s var(--ease), background .3s;
}
.faq-item summary .sign svg { width: 14px; height: 14px; color: var(--brand); }
.faq-item[open] summary .sign { transform: rotate(45deg); background: var(--brand); }
.faq-item[open] summary .sign svg { color: #fff; }
.faq-answer { padding: 0 24px 22px; font-size: 14.5px; color: var(--muted); }

/* ---------- 17. CTA ---------- */
.cta-box {
  position: relative;
  overflow: hidden;
  padding: 60px 56px;
  border-radius: var(--radius-xl);
  background: var(--grad);
  box-shadow: 0 30px 70px rgba(79, 70, 229, .3);
  color: #fff;
  text-align: center;
}
.cta-box::before,
.cta-box::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  filter: blur(6px);
}
.cta-box::before { width: 320px; height: 320px; top: -140px; left: -90px; }
.cta-box::after { width: 260px; height: 260px; bottom: -130px; right: -60px; }
.cta-box > * { position: relative; }
.cta-box h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); }
.cta-box p { margin-top: 14px; color: rgba(255, 255, 255, .88); font-size: 16px; }
.cta-box .cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.cta-box .btn--white {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
}
.cta-box .btn--white:hover { transform: translateY(-2px); }

.custom-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: center;
  padding: 40px;
  border-radius: var(--radius-xl);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.custom-box h2 { font-size: clamp(24px, 2.6vw, 32px); }
.custom-box p { margin-top: 12px; color: var(--muted); }
.custom-perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 22px 0 26px; }
.custom-perks div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ink-3);
}
.custom-perks b { color: var(--ink); }
.custom-perks em {
  font-style: normal;
  flex: none;
  width: 22px; height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 800;
  color: var(--brand);
}
.qr-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #f6f7ff, #eef6ff);
  border: 1px solid var(--line);
  text-align: center;
}
.qr-card .qr {
  width: 148px; height: 148px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}
.qr-card .qr svg { width: 116px; height: 116px; }
.qr-card strong { display: block; font-size: 15px; color: var(--ink); }
.qr-card span { font-size: 13px; color: var(--muted); }

/* ---------- 18. Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: #0c0e20;
  color: #9aa1bd;
  padding: 68px 0 28px;
  font-size: 14px;
}
/* 顶部发光分隔线 */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(129, 140, 248, .3) 22%, #a5b4fc 50%, rgba(34, 211, 238, .35) 72%, transparent);
  box-shadow: 0 0 20px rgba(129, 140, 248, .5);
  z-index: 2;
}
/* 科技感线条装饰层 */
.foot-tech {
  position: absolute;
  inset: 0 0 auto 0;
  height: 300px;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.foot-tech__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .95), transparent 88%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .95), transparent 88%);
}
.foot-tech__grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 220px at 18% 0%, rgba(99, 102, 241, .18), transparent 70%);
}
.foot-tech__line {
  position: absolute;
  top: var(--t, 60px);
  left: var(--l, 0);
  width: var(--w, 38%);
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, .9) 35%, #22d3ee 78%, transparent);
  animation: foot-line 7s var(--ease) infinite;
  animation-delay: var(--d, 0s);
}
.foot-tech__line::after {
  content: "";
  position: absolute;
  right: -3px; top: -2px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 12px 3px rgba(34, 211, 238, .65);
}
@keyframes foot-line {
  0%, 100% { transform: scaleX(.3); opacity: .3; }
  50% { transform: scaleX(1); opacity: .75; }
}
.foot-tech__scan {
  position: absolute;
  top: 0; left: -30%;
  width: 30%; height: 260px;
  background: linear-gradient(90deg, transparent, rgba(129, 140, 248, .12), transparent);
  transform: skewX(-16deg);
  animation: foot-scan 9s linear infinite;
}
@keyframes foot-scan {
  0% { transform: translateX(0) skewX(-16deg); }
  100% { transform: translateX(520%) skewX(-16deg); }
}
.foot-top, .foot-links, .foot-bottom { position: relative; z-index: 1; }
.site-footer h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 16px;
}
.foot-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.foot-brand p { margin-top: 16px; max-width: 300px; color: #8d94b3; font-size: 13.5px; }
.foot-social { display: flex; gap: 10px; margin-top: 20px; }
.foot-social a {
  width: 36px; height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .07);
  transition: .25s var(--ease);
}
.foot-social a:hover { background: var(--brand); transform: translateY(-2px); }
.foot-social svg { width: 17px; height: 17px; color: #fff; }

.foot-col ul { display: grid; gap: 10px; }
.foot-col a { color: #9aa1bd; font-size: 13.5px; transition: color .2s; }
.foot-col a:hover { color: #fff; }

.foot-links {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: 13px;
}
.foot-links .row { display: flex; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.foot-links b { color: #6d7595; font-weight: 600; }
.foot-links a { color: #8d94b3; }
.foot-links a:hover { color: #fff; }

.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  font-size: 13px;
  color: #747c9c;
  flex-wrap: wrap;
}
.foot-bottom a:hover { color: #fff; }

/* ---------- 19. Back to top ---------- */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: .3s var(--ease);
  z-index: 50;
}
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand); color: #fff; }
.to-top svg { width: 18px; height: 18px; }

/* ---------- 20. Animations ---------- */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.85); }
}
@keyframes shimmer {
  0% { background-position: 140% 0; }
  100% { background-position: -40% 0; }
}
@keyframes spin { to { transform: rotate(360deg); } }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }

/* ---------- 21. Responsive ---------- */
@media (max-width: 1100px) {
  .hero { padding: 76px 0 68px; }
  .show-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gen-panel { grid-template-columns: 1fr; }
  .custom-box { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .section { padding: 68px 0; }
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tst-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gen-result, .skeleton { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-menu { display: none; }
  .nav-menu.is-open {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 24px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav-menu.is-open .nav-item { width: 100%; }
  .nav-menu.is-open .nav-link { width: 100%; height: 46px; justify-content: space-between; }
  .nav-menu.is-open .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: 0;
    background: var(--soft);
    display: none;
    margin: 4px 0 8px;
  }
  .nav-menu.is-open .nav-item.is-open .dropdown { display: block; pointer-events: auto; }
  .nav-item.has-menu::after { display: none; }
  .nav-menu.is-open .dropdown--wide { min-width: 0; width: 100%; padding: 8px; }
  .dropdown--wide strong,
  .dropdown--wide span span { white-space: normal; }
  .nav-menu.is-open .nav-actions { flex-direction: column; align-items: stretch; }
  .burger { display: block; }
  .nav-actions .btn--ghost { display: none; }
  .nav { gap: 12px; }
  .nav-actions { margin-left: auto; }
}

@media (max-width: 680px) {
  .wrap { padding-inline: 18px; }
  .g-2, .g-3, .g-4, .g-6 { grid-template-columns: 1fr; }
  .show-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .tst-grid { grid-template-columns: 1fr; }
  .gen-result, .skeleton { grid-template-columns: 1fr; }
  .ai-search { padding: 6px; border-radius: 24px; margin-top: 26px; }
  .ai-top { padding: 12px 12px 10px; gap: 10px; }
  .ai-spark { width: 40px; height: 40px; border-radius: 13px; }
  .ai-spark svg { width: 20px; height: 20px; }
  .ai-input { height: 46px; font-size: 17px; }
  .ai-bar { flex-direction: column; align-items: stretch; gap: 10px; padding: 10px 8px 8px 12px; }
  .ai-bar-left { justify-content: space-between; }
  .ai-tip { display: none; }
  .ai-submit { width: 100%; height: 52px; }
  .hero-stats { gap: 22px; }
  .hero-stats dd { font-size: 22px; }
  .cta-box { padding: 40px 24px; border-radius: 26px; }
  .custom-box { padding: 26px; }
  .custom-perks { grid-template-columns: 1fr; }
  .mode-tabs { display: flex; width: 100%; }
  .mode-tab { flex: 1; justify-content: center; padding: 0 12px; font-size: 14px; height: 40px; }
  .tabs { width: 100%; overflow-x: auto; justify-content: flex-start; }
  .foot-top { grid-template-columns: 1fr; }
  .head { margin-bottom: 38px; }
}

.t-short { display: none; }
@media (max-width: 520px) {
  .t-long { display: none; }
  .t-short { display: inline; }
}

/* ---------- 20. 内页通用组件 ---------- */
.sub-hero {
  position: relative;
  padding: 60px 0 54px;
  background: linear-gradient(180deg, #f6f7fd 0%, #ffffff 100%);
  overflow: hidden;
}
.sub-hero::before {
  content: "";
  position: absolute;
  inset: -120px -10% auto auto;
  width: 520px; height: 420px;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, .16), transparent 68%);
  pointer-events: none;
}
.sub-hero::after {
  content: "";
  position: absolute;
  left: -80px; bottom: -160px;
  width: 380px; height: 380px;
  background: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, .14), transparent 70%);
  pointer-events: none;
}
.sub-hero .wrap { position: relative; }
.sub-hero h1 {
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -.02em;
  margin-bottom: 14px;
}
.sub-hero .lead { max-width: 720px; font-size: 16.5px; color: var(--muted); }
.sub-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

.crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted-2); margin-bottom: 16px; }
.crumb a { color: var(--muted-2); }
.crumb a:hover { color: var(--brand); }
.crumb li { display: flex; align-items: center; gap: 8px; }
.crumb li + li::before { content: "/"; color: rgba(14, 16, 32, .22); }

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px;
}
.panel h3 { font-size: 17px; margin-bottom: 10px; }
.panel p { font-size: 14px; color: var(--muted); }

.form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; gap: 8px; }
.field > label,
.form-label { font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.field .hint { font-size: 12.5px; color: var(--muted-2); }
.input, .textarea, .select {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.textarea { height: auto; min-height: 132px; padding: 14px 16px; line-height: 1.7; resize: vertical; }
.select { -webkit-appearance: none; appearance: none; background-image: none; padding-right: 14px; }
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, .12);
}
.checkline { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--muted); }
.checkline input { margin-top: 4px; accent-color: var(--brand); }
.form-note { font-size: 12.5px; color: var(--muted-2); }

/* 价格套餐 */
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition: .3s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card--hot {
  border-color: rgba(79, 70, 229, .4);
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, #fbfbff, #fff 40%);
}
.price-tag {
  position: absolute;
  top: -12px; right: 22px;
  height: 26px; padding: 0 12px;
  display: inline-flex; align-items: center;
  border-radius: 999px;
  background: var(--grad);
  color: #fff; font-size: 12px; font-weight: 700;
  box-shadow: var(--shadow-brand);
}
.price-card h3 { font-size: 18px; }
.price-card .desc { font-size: 13.5px; color: var(--muted); margin-top: 6px; min-height: 44px; }
.price-num { display: flex; align-items: flex-end; gap: 6px; margin: 18px 0 4px; }
.price-num b { font-size: 40px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); line-height: 1; }
.price-num span { font-size: 14px; color: var(--muted-2); padding-bottom: 4px; }
.price-old { font-size: 13px; color: var(--muted-2); text-decoration: line-through; }
.price-list { display: grid; gap: 10px; margin: 20px 0 24px; }
.price-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.price-list svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--brand); }
.price-card .btn { margin-top: auto; }

/* 数据表格 */
.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-xs);
}
.table-scroll { overflow-x: auto; }
.table { font-size: 14px; }
.table th, .table td { padding: 14px 18px; text-align: left; white-space: nowrap; }
.table thead th { background: var(--soft); font-size: 13px; font-weight: 700; color: var(--ink-3); }
.table tbody tr + tr td { border-top: 1px solid var(--line); }
.table td .sub { display: block; font-size: 12px; color: var(--muted-2); white-space: normal; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 10px;
  border-radius: 999px;
  font-size: 12px; font-weight: 700;
}
.pill--ok { background: rgba(16, 185, 129, .12); color: #0a8f68; }
.pill--warn { background: rgba(255, 176, 32, .16); color: #b26a00; }
.pill--bad { background: rgba(239, 68, 68, .12); color: #d33; }
.pill--info { background: var(--brand-soft); color: var(--brand); }

/* 资讯列表 */
.post-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: .28s var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(79, 70, 229, .22); }
.post-thumb {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #eef0ff, #e6f7ff);
  display: grid;
  place-items: center;
  color: var(--brand);
  overflow: hidden;
}
.post-thumb svg { width: 46px; height: 46px; opacity: .55; }
.post-body h3 { font-size: 17px; margin-bottom: 8px; line-height: 1.45; }
.post-body h3 a:hover { color: var(--brand); }
.post-body p { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted-2); margin-top: 12px; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.pagination a:hover { border-color: rgba(79, 70, 229, .4); color: var(--brand); }
.pagination .is-current { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--shadow-brand); }

/* 统计 / 键值 / 提示 */
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stat {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-xs);
}
.stat b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); line-height: 1.2; }
.stat span { font-size: 13.5px; color: var(--muted); }

.kv-list { display: grid; gap: 12px; font-size: 14.5px; }
.kv-list div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
.kv-list dt { color: var(--muted-2); }
.kv-list dd { margin: 0; color: var(--ink-2); }

.notice {
  display: flex; gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  border: 1px solid rgba(79, 70, 229, .16);
  font-size: 14px;
  color: var(--ink-2);
}
.notice svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--brand); }

/* 代码块（API 文档） */
.code {
  margin: 14px 0 0;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: #0c0e20;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.8;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  white-space: pre;
}
.code b { color: #a5b4fc; font-weight: 700; }
.code i { color: #22d3ee; font-style: normal; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.article-body { font-size: 16px; line-height: 1.9; color: var(--ink-2); }
.article-body h2 { font-size: 24px; margin: 36px 0 14px; }
.article-body h3 { font-size: 19px; margin: 28px 0 12px; }
.article-body p { margin-bottom: 16px; }
.article-body ul { display: grid; gap: 10px; margin: 0 0 18px; }
.article-body li { position: relative; padding-left: 22px; }
.article-body li::before {
  content: "";
  position: absolute; left: 6px; top: 12px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand);
}
.article-body blockquote {
  margin: 22px 0; padding: 18px 22px;
  border-left: 3px solid var(--brand);
  background: var(--soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--muted); font-size: 15px;
}

/* 登录 / 注册 */
.auth {
  position: relative;
  overflow: hidden;
  min-height: 82vh;
  display: grid;
  place-items: center;
  padding: 64px 0;
  background: #f5f6fc url("../img/auth-bg.svg") center center / cover no-repeat;
}
/* 中心柔光，保证表单区域干净易读 */
.auth::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(56% 44% at 50% 44%, rgba(255, 255, 255, .88), rgba(255, 255, 255, .45) 60%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}
.auth > .wrap { position: relative; z-index: 1; }
.auth-card {
  width: 100%;
  max-width: 460px;
  padding: 34px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}
.auth-card h1,
.auth-card .auth-title { font-size: 26px; margin-bottom: 8px; }
.auth-card .lead { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.auth-switch { display: flex; gap: 6px; padding: 5px; background: var(--soft); border-radius: 13px; margin-bottom: 22px; }
.auth-switch button { flex: 1; height: 40px; border-radius: 10px; font-size: 14px; font-weight: 700; color: var(--muted); }
.auth-switch button.is-active { background: #fff; color: var(--brand); box-shadow: var(--shadow-xs); }
.auth-alt { display: flex; gap: 10px; margin-top: 18px; }
.auth-alt a {
  flex: 1; height: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--line-2); border-radius: 12px;
  font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.auth-alt a:hover { border-color: rgba(79, 70, 229, .4); color: var(--brand); }
.auth-foot { margin-top: 20px; font-size: 13px; color: var(--muted-2); text-align: center; }

/* 右侧吉祥物 */
.auth-layout {
  display: grid;
  grid-template-columns: 460px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  width: 100%;
}
.auth-pet {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-pet img {
  width: 100%;
  max-width: 520px;
  height: auto;
  filter: drop-shadow(0 18px 34px rgba(79, 70, 229, .16));
}
.auth-pet__tip {
  position: absolute;
  left: 0;
  top: 14%;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: pet-float 5.5s var(--ease) infinite;
}
.auth-pet__tip::after {
  content: "";
  position: absolute;
  left: 28px; bottom: -7px;
  width: 12px; height: 12px;
  background: rgba(255, 255, 255, .92);
  border-right: 1px solid rgba(255, 255, 255, .8);
  border-bottom: 1px solid rgba(255, 255, 255, .8);
  transform: rotate(45deg);
}
.auth-pet__tip b { display: block; font-size: 13.5px; color: var(--ink); }
.auth-pet__tip span { font-size: 12.5px; color: var(--muted); }
@keyframes pet-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* 404 */
.err-page { min-height: 74vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.err-code { font-size: clamp(72px, 12vw, 148px); font-weight: 800; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.err-page h1 { font-size: clamp(22px, 2.6vw, 30px); margin: 14px 0 10px; }
.err-page p { color: var(--muted); margin-bottom: 26px; }

/* 轻提示 */
.toast {
  position: fixed;
  left: 50%; bottom: 40px;
  transform: translate(-50%, 20px);
  z-index: 200;
  max-width: 90vw;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(14, 16, 32, .92);
  color: #fff;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: .3s var(--ease);
}
.toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .form-row { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-card { grid-template-columns: 1fr; }
  .post-thumb { aspect-ratio: 16 / 9; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-pet { display: none; }
  .tag-groups { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .panel { padding: 20px; }
  .auth-card { padding: 24px; }
  .kv-list div { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .foot-tech__line { transform: scaleX(1); opacity: .55; }
  .foot-tech__scan { display: none; }
}
