/* =====================================================================
   AI 依搭官网 · 共享组件
   包含：页头/导航、按钮、标签、页头、卡片、对比滑块、手机模拟、
        价格卡、FAQ、表单、CTA、页脚、浮层与提示
   ===================================================================== */

/* ============================== 页头 ============================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(247, 243, 236, 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--c-line);
  box-shadow: 0 6px 24px rgba(27, 26, 24, 0.05);
  background: rgba(247, 243, 236, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: var(--shadow-sm);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
}

.brand-sub {
  display: block;
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.2em;
  color: var(--c-muted);
  text-transform: uppercase;
}

/* 主导航 */
.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 34px);
}

.nav a {
  position: relative;
  padding: 6px 0;
  font-size: 14.5px;
  color: var(--c-ink-2);
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-accent);
  transform: translateX(-50%) scale(0);
  transition: transform 0.25s var(--ease);
}

.nav a:hover,
.nav a.is-active {
  color: var(--c-accent);
}

.nav a.is-active::after {
  transform: translateX(-50%) scale(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.header-login {
  font-size: 14px;
  color: var(--c-ink-2);
  white-space: nowrap;
  transition: color 0.25s;
}

.header-login:hover {
  color: var(--c-accent);
}

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--c-line-strong);
  border-radius: 50%;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1.5px;
  background: var(--c-ink);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle span:nth-child(1) {
  top: 15px;
}

.nav-toggle span:nth-child(2) {
  top: 20px;
}

.nav-toggle span:nth-child(3) {
  top: 25px;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* 移动端抽屉 */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 99;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 6px var(--gutter) 30px;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
    visibility 0.3s;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 17px;
  border-bottom: 1px solid var(--c-line);
}

.mobile-nav a::after {
  content: "↗";
  color: var(--c-muted);
  font-size: 14px;
}

.mobile-nav .btn {
  margin-top: 24px;
  width: 100%;
}

/* ============================== 按钮 ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  transition: background 0.25s var(--ease), color 0.25s,
    border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  color: #fff;
  background: var(--c-accent);
  box-shadow: 0 8px 20px rgba(192, 86, 62, 0.22);
}

.btn--primary:hover {
  background: var(--c-accent-deep);
  box-shadow: 0 12px 26px rgba(192, 86, 62, 0.28);
}

.btn--ghost {
  color: var(--c-ink);
  background: transparent;
  border-color: var(--c-line-strong);
}

.btn--ghost:hover {
  border-color: var(--c-ink);
  background: rgba(27, 26, 24, 0.03);
}

.btn--light {
  color: var(--c-ink);
  background: var(--c-bg);
}

.btn--light:hover {
  background: #fff;
}

.btn--dark {
  color: var(--c-bg);
  background: var(--c-ink);
}

.btn--dark:hover {
  background: var(--c-ink-2);
}

.btn--sm {
  min-height: 42px;
  padding: 0 20px;
  font-size: 14px;
}

.btn--block {
  width: 100%;
}

.btn .arrow {
  transition: transform 0.3s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-accent);
}

.link-arrow .arrow {
  transition: transform 0.3s var(--ease);
}

.link-arrow:hover .arrow {
  transform: translateX(4px);
}

/* ============================== 标签 ============================== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--c-accent-soft);
  color: var(--c-accent);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.tag--outline {
  background: transparent;
  border: 1px solid var(--c-line-strong);
  color: var(--c-sub);
}

.tag--dark {
  background: rgba(247, 243, 236, 0.12);
  color: var(--c-bg);
}

.tag__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

/* ============================== 页面标题区 ============================== */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(56px, 7vw, 96px)) 0
    clamp(48px, 6vw, 72px);
  background: linear-gradient(180deg, var(--c-bg-deep), var(--c-bg));
  border-bottom: 1px solid var(--c-line);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 460px;
  height: 460px;
  border: 1px dashed var(--c-line-strong);
  border-radius: 50%;
  opacity: 0.7;
  pointer-events: none;
}

.page-hero h1 {
  max-width: 920px;
  margin-bottom: 22px;
  font-size: clamp(38px, 5.2vw, 62px);
  line-height: 1.18;
}

.page-hero .lead {
  max-width: 660px;
  font-size: 18px;
  line-height: 1.85;
  color: var(--c-sub);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  font-size: 12.5px;
  color: var(--c-muted);
}

.breadcrumb a {
  color: var(--c-sub);
}

.breadcrumb a:hover {
  color: var(--c-accent);
}

.breadcrumb span {
  color: var(--c-line-strong);
}

/* ============================== 图片容器 ============================== */
.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #e8e0d2;
  box-shadow: var(--shadow-md);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.media-frame--hover:hover img {
  transform: scale(1.035);
}

.media-frame__caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  background: rgba(27, 26, 24, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--c-bg);
  font-size: 11px;
  letter-spacing: 0.06em;
}

/* ============================== 对比滑块 ============================== */
.compare {
  --pos: 52%;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #e8e0d2;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.compare__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.compare__after {
  clip-path: inset(0 0 0 var(--pos));
}

.compare__range {
  position: absolute;
  inset: 0;
  z-index: 6;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
}

.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  z-index: 4;
  width: 2px;
  background: rgba(255, 255, 255, 0.92);
  transform: translateX(-1px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.22);
  pointer-events: none;
}

.compare__handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(247, 243, 236, 0.96);
  transform: translate(-50%, -50%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.compare__handle::before {
  content: "⇆";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  color: var(--c-ink);
  font-size: 15px;
  transform: translate(-50%, -50%);
}

.compare__label {
  position: absolute;
  z-index: 5;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(27, 26, 24, 0.66);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--c-bg);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.compare__label--before {
  top: 16px;
  left: 16px;
}

.compare__label--after {
  top: 16px;
  right: 16px;
}

.compare__note {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  font-size: 12px;
  color: var(--c-ink-2);
}

.compare__note b {
  color: var(--c-accent);
}

/* ============================== 手机模拟 ============================== */
.phone {
  position: relative;
  width: min(310px, 100%);
  aspect-ratio: 9 / 18.5;
  margin-inline: auto;
  padding: 10px;
  border-radius: 42px;
  background: #0d0c0b;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
  transform: rotate(2deg);
}

.phone__screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 34px;
  background: #e8e0d2;
}

.phone__screen > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone__status {
  position: absolute;
  top: 10px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.phone__card {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--c-ink);
  box-shadow: var(--shadow-md);
}

.phone__card--top {
  top: 42px;
  bottom: auto;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
}

.phone__card h4 {
  margin-bottom: 3px;
  font-size: 13.5px;
  line-height: 1.4;
}

.phone__card p {
  font-size: 11px;
  color: var(--c-sub);
}

.phone__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 40px;
  margin-top: 11px;
  border-radius: var(--radius-pill);
  background: var(--c-accent);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
}

.phone__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--c-accent-soft);
  color: var(--c-accent);
  font-size: 9.5px;
  font-weight: 600;
}

/* ============================== 价格卡 ============================== */
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s,
    border-color 0.35s;
}

.price-card:hover {
  transform: translateY(-5px);
  border-color: var(--c-line-strong);
  box-shadow: var(--shadow-md);
}

.price-card--featured {
  color: var(--c-bg);
  background: var(--c-ink);
  border-color: var(--c-ink);
  box-shadow: var(--shadow-lg);
}

.price-card--featured .price-card__name,
.price-card--featured .price-card__price {
  color: var(--c-bg);
}

.price-card--featured .price-card__desc,
.price-card--featured .price-card__note,
.price-card--featured .price-list li {
  color: var(--c-dark-sub);
}

.price-card--featured .price-list li::before {
  background: var(--c-accent);
  color: #fff;
}

.price-card__badge {
  position: absolute;
  top: -13px;
  right: 26px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: var(--c-accent);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.price-card__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.price-card__desc {
  min-height: 44px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-sub);
}

.price-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 18px 0 6px;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.15;
}

.price-card__price small {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--c-muted);
}

.price-card__note {
  font-size: 11.5px;
  color: var(--c-muted);
}

.price-list {
  display: grid;
  gap: 11px;
  margin: 24px 0 28px;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
}

.price-card--featured .price-list {
  border-top-color: var(--c-dark-line);
}

.price-list li {
  position: relative;
  padding-left: 24px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--c-ink-2);
}

.price-list li::before {
  content: "✓";
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--c-accent-soft);
  color: var(--c-accent);
  font-size: 9px;
  font-weight: 700;
}

.price-card .btn {
  margin-top: auto;
}

/* ============================== FAQ ============================== */
.faq {
  max-width: 900px;
}

.faq details {
  border-bottom: 1px solid var(--c-line);
}

.faq details:first-child {
  border-top: 1px solid var(--c-line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border: 1px solid var(--c-line-strong);
  border-radius: 50%;
  transition: background 0.25s, border-color 0.25s, transform 0.3s var(--ease);
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  background: var(--c-ink);
  transform: translate(-50%, -50%);
  transition: background 0.25s;
}

.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq details[open] .faq__icon {
  background: var(--c-accent);
  border-color: var(--c-accent);
  transform: rotate(45deg);
}

.faq details[open] .faq__icon::before,
.faq details[open] .faq__icon::after {
  background: #fff;
}

.faq__body {
  max-width: 760px;
  padding: 0 4px 26px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--c-sub);
}

/* ============================== 表单 ============================== */
.form-card {
  padding: clamp(26px, 4vw, 40px);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink-2);
}

.field label span {
  color: var(--c-accent);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--c-ink);
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.field textarea {
  min-height: 104px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--c-muted);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: #fff;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(192, 86, 62, 0.1);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #c0563e;
  background: #fdf4f1;
}

.field__error {
  display: none;
  font-size: 12px;
  color: var(--c-accent);
}

.field.has-error .field__error {
  display: block;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--c-sub);
  cursor: pointer;
}

.checkbox input {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--c-accent);
}

.checkbox a {
  color: var(--c-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-note {
  margin-top: 14px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--c-muted);
}

.form-success {
  display: none;
  padding: 40px 20px;
  text-align: center;
}

.form-success.is-visible {
  display: block;
}

.form-success__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--c-accent-soft);
  color: var(--c-accent);
  font-size: 26px;
}

.form-success h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.form-success p {
  max-width: 360px;
  margin-inline: auto;
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-sub);
}

/* ============================== CTA 区块 ============================== */
.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 8vw, 104px);
  color: var(--c-bg);
  background: var(--c-ink);
}

.cta-band::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -100px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(192, 86, 62, 0.32),
    rgba(192, 86, 62, 0) 68%
  );
  pointer-events: none;
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.cta-band .eyebrow {
  color: #d99a89;
}

.cta-band h2 {
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--c-bg);
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.2;
}

.cta-band p {
  max-width: 560px;
  color: var(--c-dark-sub);
  font-size: 16px;
  line-height: 1.8;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.cta-band__qr {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--c-dark-line);
  border-radius: var(--radius-md);
  background: rgba(247, 243, 236, 0.04);
}

.cta-band__qr-box {
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  border-radius: 12px;
  background: repeating-linear-gradient(
      45deg,
      rgba(247, 243, 236, 0.1) 0,
      rgba(247, 243, 236, 0.1) 6px,
      transparent 6px,
      transparent 12px
    ),
    rgba(247, 243, 236, 0.06);
  border: 1px dashed var(--c-dark-line);
  color: var(--c-dark-sub);
  font-size: 11px;
  text-align: center;
  line-height: 1.6;
}

.cta-band__qr small {
  color: var(--c-dark-sub);
  font-size: 11.5px;
}

/* ============================== 页脚 ============================== */
.site-footer {
  padding: clamp(56px, 7vw, 84px) 0 30px;
  background: var(--c-bg);
  border-top: 1px solid var(--c-line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 48px;
}

.footer-brand p {
  max-width: 280px;
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--c-sub);
}

.footer-contact {
  display: grid;
  gap: 6px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--c-sub);
}

.footer-contact a:hover {
  color: var(--c-accent);
}

.footer-col h4 {
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--c-muted);
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 11px;
}

.footer-col a {
  font-size: 13.5px;
  color: var(--c-ink-2);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--c-accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 26px;
  border-top: 1px solid var(--c-line);
  font-size: 12px;
  color: var(--c-muted);
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-bottom a:hover {
  color: var(--c-accent);
}

.footer-ai-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.footer-ai-note::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-accent);
}

/* ============================== 悬浮联系 ============================== */
.floating-contact {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
}

.floating-contact__btn {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
  box-shadow: 0 12px 30px rgba(192, 86, 62, 0.36);
  transition: transform 0.25s var(--ease), background 0.25s;
}

.floating-contact__btn:hover {
  background: var(--c-accent-deep);
  transform: translateY(-2px);
}

.floating-contact__panel {
  position: absolute;
  right: 0;
  bottom: 68px;
  width: 270px;
  padding: 20px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
    visibility 0.25s;
}

.floating-contact.is-open .floating-contact__panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.floating-contact__panel h4 {
  margin-bottom: 4px;
  font-size: 15px;
}

.floating-contact__panel > p {
  margin-bottom: 14px;
  font-size: 12px;
  color: var(--c-sub);
}

.floating-contact__qr {
  display: grid;
  place-items: center;
  width: 100%;
  height: 118px;
  margin-bottom: 14px;
  border: 1px dashed var(--c-line-strong);
  border-radius: 10px;
  background: var(--c-bg);
  color: var(--c-muted);
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

.floating-contact__list {
  display: grid;
  gap: 7px;
  font-size: 12.5px;
  color: var(--c-ink-2);
}

.floating-contact__list a:hover {
  color: var(--c-accent);
}

/* ============================== 提示条 ============================== */
.toast {
  position: fixed;
  top: calc(var(--header-h) + 18px);
  left: 50%;
  z-index: 300;
  max-width: calc(100vw - 40px);
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background: var(--c-ink);
  color: var(--c-bg);
  font-size: 13px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -12px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
    visibility 0.25s;
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* ============================== 锚点导航 ============================== */
.anchor-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  background: rgba(247, 243, 236, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-line);
}

.anchor-nav__inner {
  display: flex;
  gap: 8px;
  padding-block: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.anchor-nav__inner::-webkit-scrollbar {
  display: none;
}

.anchor-nav a {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--c-line);
  font-size: 13px;
  color: var(--c-sub);
  white-space: nowrap;
  transition: all 0.2s;
}

.anchor-nav a:hover,
.anchor-nav a.is-active {
  color: var(--c-accent);
  border-color: var(--c-accent);
  background: var(--c-accent-soft);
}

/* ============================== 通用网格 ============================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 32px);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

/* ============================== 响应式 ============================== */
@media (max-width: 1080px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .header-actions .header-login {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-band__inner {
    grid-template-columns: 1fr;
  }

  .cta-band__qr {
    justify-self: start;
    grid-auto-flow: column;
    align-items: center;
    justify-items: start;
    gap: 18px;
  }

  .cta-band__qr-box {
    width: 104px;
    height: 104px;
  }
}

@media (max-width: 720px) {
  .page-hero .lead {
    font-size: 16px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    display: grid;
    justify-content: start;
  }

  .floating-contact {
    right: 16px;
    bottom: 16px;
  }

  .cta-band__qr {
    grid-auto-flow: row;
  }

  .price-card {
    padding: 30px 24px;
  }
}

@media (max-width: 480px) {
  .header-actions .btn {
    display: none;
  }

  .brand-name {
    font-size: 18px;
  }

  .compare__note {
    max-width: 62%;
  }
}
