/* ============================================================
   奥塔智能 AOTA INTELLIGENCE — 即时零售数字化产品矩阵
   ============================================================ */

:root {
  --brand: #1E5AFF;
  --brand-deep: #1347D8;
  --cyan: #00C2FF;
  --ink: #0E1E45;
  --ink-2: #45567E;
  --ink-3: #7C8BB0;
  --bg: #FFFFFF;
  --bg-soft: #F5F8FD;
  --bg-softer: #FAFCFF;
  --line: #E4EBF7;
  --control-h: 38px; /* 头部控件统一高度：立即咨询/登录按钮 与 登录后用户信息块共用 */
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-card: 0 2px 10px rgba(14, 30, 69, .04), 0 14px 40px rgba(14, 30, 69, .05);
  --shadow-hover: 0 6px 18px rgba(30, 90, 255, .08), 0 26px 60px rgba(30, 90, 255, .12);
  --font: "HarmonyOS Sans SC", "MiSans", "Alibaba PuHuiTi", "Source Han Sans SC",
          "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

section { scroll-margin-top: 84px; }

::selection { background: rgba(30, 90, 255, .14); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  line-height: 1.2; /* 统一 <a> 与 <button> 的行高继承差异，保证按钮高度一致 */
  border: 1px solid transparent; /* 统一边框盒：线框变体有描边、实体变体透明描边，保证同尺寸按钮高度一致 */
  border-radius: 999px;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease,
              color .22s ease, border-color .22s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), #2E7CFF);
  color: #fff;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}
.btn-ghost:active { transform: translateY(0); }

/* 线框（描边）按钮：白底 + 品牌色描边与文字，用于「立即咨询」 */
.btn-outline {
  background: #fff;
  color: var(--brand);
  border: 1px solid var(--brand);
}
.btn-outline:hover {
  background: rgba(30, 90, 255, .06);
  border-color: var(--brand-deep);
  color: var(--brand-deep);
  transform: translateY(-2px);
}
.btn-outline:active { transform: translateY(0); }

.btn-sm { height: var(--control-h); padding: 0 22px; font-size: 14.5px; }
.btn-lg { padding: 15px 36px; font-size: 16.5px; }

/* ============ 顶部导航栏 ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(14, 30, 69, .05);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo { width: 38px; height: 38px; border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-size: 18px; font-weight: 700; letter-spacing: .5px; }
.brand-en {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: var(--ink-3);
}

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-link {
  position: relative;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 6px 0;
  transition: color .2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transition: right .25s ease;
}
.nav-link:hover, .nav-link.is-active { color: var(--brand); }
.nav-link:hover::after, .nav-link.is-active::after { right: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 9px;
  border-radius: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 32px 20px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .97);
}
.mobile-link {
  padding: 13px 4px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-2);
  border-bottom: 1px solid var(--bg-soft);
}
.mobile-link:hover { color: var(--brand); }
.mobile-consult { margin-top: 14px; align-self: stretch; padding: 13px; font-size: 15.5px; }

/* ============ 第一屏 ============ */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--bg-softer) 0%, var(--bg-soft) 60%, #fff 100%);
  overflow: hidden;
}
.hero-deco {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  padding: 108px 32px 116px;
  max-width: 1240px;
}
.hero-title {
  max-width: 1080px;
  font-size: clamp(40px, 5.1vw, 68px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .5px;
}
.hero-line { display: block; }
.hero-line + .hero-line { margin-top: 8px; }
.hero-line-accent {
  background: linear-gradient(100deg, var(--brand) 20%, var(--cyan) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-line-value {
  font-size: .7em;
}
.hero-subtitle {
  margin-top: 32px;
  max-width: 820px;
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 650;
  line-height: 1.65;
  color: var(--ink);
}
.hero-desc {
  margin-top: 14px;
  max-width: 790px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-2);
}
.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ============ 区块标题 ============ */
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--brand);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 1px;
}
.section-sub {
  margin-top: 18px;
  font-size: 17px;
  color: var(--ink-2);
}

/* ============ 产品矩阵 ============ */
.products { padding: 82px 0 96px; background: #fff; }

.product-flow {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.product-flow span {
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.product-flow i {
  width: 22px; height: 1.5px;
  background: linear-gradient(90deg, var(--brand), var(--cyan));
  border-radius: 2px;
  opacity: .55;
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.product-card {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  align-items: center;
  gap: 56px;
  padding: 56px;
  background: var(--bg-softer);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.product-card.flip .product-body { order: 2; }
.product-card.flip .product-media { order: 1; }

.product-card.is-linked { cursor: pointer; }
.product-card.is-linked:hover {
  transform: translateY(-5px);
  border-color: rgba(30, 90, 255, .45);
  box-shadow: var(--shadow-hover);
}
.product-card.is-linked:hover .product-media img { transform: scale(1.028); }
.product-card.is-linked:hover .product-enter { color: var(--brand-deep); }
.product-card.is-linked:hover .product-enter svg { transform: translateX(4px); }

.product-top {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.product-num {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 1px;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(30, 90, 255, .38);
  font-variant-numeric: tabular-nums;
  user-select: none;
}
.product-name {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.3;
}
.product-position {
  margin-top: 6px;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--acc, var(--brand));
  letter-spacing: .3px;
}

.product-desc {
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink-2);
}

.product-highlight {
  margin-top: 18px;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  background: var(--acc-soft, rgba(30, 90, 255, .08));
  border-left: 3px solid var(--acc, var(--brand));
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.7;
}

.product-caps { margin-top: 26px; }
.caps-title {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.caps-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
.caps-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.6;
}
.caps-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .42em;
  width: 14px; height: 14px;
  border-radius: 4px;
  background: var(--acc-soft, rgba(30, 90, 255, .1));
  box-shadow: inset 0 0 0 1.5px var(--acc, var(--brand));
}
.caps-list li::after {
  content: "";
  position: absolute;
  left: 4.5px; top: calc(.42em + 3.5px);
  width: 5px; height: 7px;
  border-right: 1.6px solid var(--acc, var(--brand));
  border-bottom: 1.6px solid var(--acc, var(--brand));
  transform: rotate(45deg) translateY(-1px);
}

.product-tags {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.product-tags li {
  padding: 6px 15px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--acc, var(--brand));
  background: var(--acc-soft, rgba(30, 90, 255, .08));
  border: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.product-card.is-linked:hover .product-tags li {
  border-color: var(--acc-soft, rgba(30, 90, 255, .15));
}

.product-enter {
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: .5px;
}
.product-enter svg { transition: transform .25s ease; }
.product-detail { padding: 0; }
.product-detail:hover,
.product-detail:focus-visible { color: var(--brand-deep); }
.product-detail:hover svg,
.product-detail:focus-visible svg { transform: translateX(4px); }
.product-detail:focus-visible {
  outline: 2px solid rgba(30, 90, 255, .28);
  outline-offset: 6px;
  border-radius: 2px;
}

.product-media {
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(160deg, #F2F7FF 0%, #EAF2FE 100%);
  border: 1px solid var(--line);
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .35s ease;
}

/* ============ 核心价值 ============ */
.values {
  padding: 110px 0;
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-card {
  padding: 44px 38px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.value-card:hover {
  transform: translateY(-5px);
  border-color: rgba(30, 90, 255, .35);
  box-shadow: var(--shadow-hover);
}
.value-icon {
  width: 60px; height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(30, 90, 255, .09), rgba(0, 194, 255, .09));
  margin-bottom: 24px;
}
.value-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.value-desc {
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--ink-2);
}

/* ============ 咨询区域 ============ */
.cta { padding: 40px 0 120px; background: var(--bg-soft); }
.cta-panel {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 84px 48px;
  border-radius: 28px;
  background:
    radial-gradient(560px 300px at 12% 0%, rgba(0, 194, 255, .12), transparent 65%),
    radial-gradient(680px 340px at 92% 100%, rgba(30, 90, 255, .13), transparent 65%),
    linear-gradient(160deg, #F3F8FF 0%, #ECF3FE 100%);
  border: 1px solid var(--line);
}
.cta-title {
  font-size: clamp(30px, 3.8vw, 42px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 1px;
}
.cta-desc {
  margin: 22px auto 40px;
  max-width: 640px;
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--ink-2);
}

/* ============ 底部栏 ============ */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 52px 0 44px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { border-radius: 9px; }
.footer-names { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.3; }
.footer-name { font-size: 17px; font-weight: 700; letter-spacing: .5px; }
.footer-en { font-size: 10px; font-weight: 600; letter-spacing: 1.5px; color: var(--ink-3); }
.footer-slogan { font-size: 15px; color: var(--ink-2); letter-spacing: .5px; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  font-size: 13.5px;
  color: var(--ink-3);
}
.footer-icp { transition: color .2s ease; }
.footer-icp:hover { color: var(--brand); }

/* ============ 咨询弹窗 ============ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .26s ease, visibility .26s ease;
}
.modal.is-open { visibility: visible; opacity: 1; }
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 50, .42);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 24px;
  padding: 44px 40px 40px;
  box-shadow: 0 30px 90px rgba(10, 22, 50, .25);
  transform: translateY(14px) scale(.985);
  transition: transform .26s ease;
}
.modal.is-open .modal-dialog { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--ink-3);
  transition: background .2s ease, color .2s ease;
}
.modal-close:hover { background: var(--bg-soft); color: var(--ink); }
.modal-title { font-size: 24px; font-weight: 800; letter-spacing: .5px; }
.modal-desc {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-2);
}
.modal-info {
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.modal-label { font-size: 13px; font-weight: 600; letter-spacing: 1.5px; color: var(--ink-3); }
.modal-qr-frame {
  width: min(100%, 290px);
  margin: 10px auto 0;
  aspect-ratio: 500 / 778;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}
.modal-qr-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.modal-qr-hint {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
}
.modal-hours { margin-top: 8px; font-size: 14px; color: var(--ink-2); text-align: center; }

body.modal-open { overflow: hidden; }

/* ============ 滚动入场动效（克制） ============ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ 响应式 ============ */
@media (max-width: 1080px) {
  .product-card { gap: 40px; padding: 44px; }
}

@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .site-header.menu-open .mobile-menu { display: flex; }

  .hero-inner { padding: 76px 32px 88px; }
  .hero-subtitle { font-size: 18px; }
  .hero-desc { font-size: 16px; }

  .section-head { margin-bottom: 48px; }

  .product-card,
  .product-card.flip {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 36px 28px;
  }
  .product-card .product-media,
  .product-card.flip .product-media { order: -1; }
  .product-card.flip .product-body { order: 0; }

  .product-num { font-size: 38px; }
  .product-name { font-size: 26px; }

  .value-grid { grid-template-columns: 1fr; gap: 20px; }
  .value-card { padding: 36px 30px; }

  .cta-panel { padding: 64px 28px; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .hero-inner { padding: 64px 20px 72px; }
  .hero-title { font-size: clamp(34px, 10vw, 48px); letter-spacing: 0; }
  .hero-line + .hero-line { margin-top: 12px; }
  .hero-subtitle { margin-top: 26px; font-size: 17px; }
  .hero-actions .btn-lg { width: 100%; }
  .products { padding: 60px 0 64px; }
  .values { padding: 76px 0; }
  .cta { padding: 24px 0 80px; }
  .caps-list { grid-template-columns: 1fr; }
  .product-flow i { width: 14px; }
  .modal-dialog { padding: 38px 26px 32px; }
  .modal-phone { font-size: 26px; }
}

/* ============ 减少动效偏好 ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============ 头部登录态 ============ */
.nav-auth { display: inline-flex; align-items: center; }

.user-menu { position: relative; display: flex; align-items: center; } /* flex 居中：使 chip 与头部按钮获得相同的垂直居中偏移，消除 1.5px 偏差 */
.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: var(--control-h); /* 与头部按钮同高 */
  padding: 0 12px 0 6px;
  border-radius: 999px;
  color: var(--ink-2);
  transition: color .2s ease;
}
.user-chip:hover { color: var(--brand); } /* 悬停仅变文字色，不再变背景色（2026-09-22 应用户要求移除 hover 背景） */
.user-avatar { display: inline-flex; width: 38px; height: 38px; flex: none; }
.user-avatar svg, .user-avatar img { width: 100%; height: 100%; display: block; }
.user-phone { font-size: 14px; font-weight: 600; letter-spacing: .3px; }
.user-caret { display: inline-flex; color: var(--ink-3); transition: transform .2s ease; }
.user-menu.is-open .user-caret { transform: rotate(180deg); }

.user-dropdown {
	position: absolute;
    top: calc(100% + 10px);
    left: 8px;
    min-width: 156px;
    padding: 6px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(14, 30, 69, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index: 120;
}
/* 悬停桥接：透明填补 chip 与下拉之间约 13px 的间隙，避免鼠标下移时脱离 hover 导致菜单提前关闭 */
.user-dropdown::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}
.user-menu.is-open .user-dropdown,
.user-menu:hover .user-dropdown,
.user-chip:focus-visible + .user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.user-dropdown-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 13.5px;
  color: var(--ink-2);
  transition: background .15s ease, color .15s ease;
}
.user-dropdown-item:hover { background: var(--bg-soft); color: var(--ink); }
.user-dropdown-item.is-danger { color: #E5484D; }
.user-dropdown-item.is-danger:hover { background: rgba(229, 72, 77, .08); color: #D93036; }

.mobile-auth { margin-top: 10px; }
.mobile-auth .mobile-login { align-self: stretch; padding: 13px; font-size: 15.5px; }
.mobile-user { display: flex; flex-direction: column; }
.mobile-user-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 4px;
  font-size: 15.5px;
  font-weight: 600;
  border-bottom: 1px solid var(--bg-soft);
}
.mobile-user .mobile-link { border-bottom: 1px solid var(--bg-soft); }
.mobile-user .mobile-link.is-danger { color: #E5484D; }

/* ============ 登录页 ============ */
.login-page {
  display: flex;
  min-height: 100vh;
}
.login-visual {
  width: 52%;
  /* 右对齐：图片右缘贴齐登录面板左缘（与登录区相邻），避免居中裁切切掉右侧图形 */
  background: url("../assets/login-bg.jpg") right center / cover no-repeat;
}
.login-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}
.login-box { width: 100%; max-width: 348px; }

.login-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 44px;
}
.login-logo { width: 62px; height: 62px; border-radius: 16px; }
.login-brand-name { margin-top: 16px; font-size: 21px; font-weight: 700; letter-spacing: 1px; }
.login-brand-en { margin-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: 3.5px; color: var(--ink-3); }

.login-field { margin-bottom: 18px; }
.login-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 12px;
  background: #EDEFF2;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.login-input-wrap:hover { border-color: var(--brand); background: #fff; }
.login-input-wrap.is-focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(30, 90, 255, .08);
}
.login-input-wrap.is-error { border-color: #E5484D; background: #fff; }
.login-field-icon { display: inline-flex; color: var(--ink-3); }
.login-input-wrap.is-error .login-field-icon { color: #E5484D; }
.login-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
}
.login-input::placeholder { color: var(--ink-3); }
.login-clear {
  display: inline-flex;
  padding: 4px;
  border-radius: 50%;
  color: var(--ink-3);
  transition: background .15s ease, color .15s ease;
}
.login-clear:hover { background: rgba(14, 30, 69, .06); color: var(--ink-2); }
.login-clear[hidden] { display: none; }
.login-sms-divider { width: 1px; height: 18px; background: #D6DBE3; flex: none; }
.login-sms-btn {
  padding: 4px 2px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand);
  white-space: nowrap;
}
.login-sms-btn:disabled { color: var(--ink-3); font-weight: 400; cursor: not-allowed; }
.login-error { margin-top: 6px; font-size: 12.5px; color: #E5484D; }
.login-error[hidden] { display: none; }

.login-submit {
  width: 100%;
  height: 46px;
  margin-top: 28px;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  transition: background .2s ease, box-shadow .2s ease;
}
.login-submit:hover:not(:disabled) { background: var(--brand-deep); box-shadow: 0 8px 20px rgba(30, 90, 255, .28); }
.login-submit:disabled { background: #C9D3E4; cursor: not-allowed; }

.login-policy {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-2);
}
.login-policy input { width: 15px; height: 15px; accent-color: var(--brand); flex: none; }
.login-policy a { color: var(--brand); }
.login-policy a:hover { text-decoration: underline; }

/* ============ 我的产品页 ============ */
body.page-plain { background: #F1F4F9; }
.my-products { padding: 56px 0 96px; min-height: calc(100vh - 72px); }
.my-products-title { margin-bottom: 26px; font-size: 20px; font-weight: 700; }
.my-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.my-product-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 28px;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.my-product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.my-product-icon { display: inline-flex; width: 44px; height: 44px; flex: none; }
.my-product-icon svg { width: 100%; height: 100%; }
.my-product-icon img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.my-product-info { flex: 1; min-width: 0; }
.my-product-name { display: block; font-size: 16.5px; font-weight: 700; }
.my-product-desc { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-3); }
.my-product-enter { font-size: 13.5px; font-weight: 600; color: var(--brand); white-space: nowrap; }
.my-product-enter:hover { text-decoration: underline; }

.my-products-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 150px 0 180px;
}
.my-products-empty svg { width: 96px; height: 96px; }
.my-products-empty p { font-size: 13.5px; letter-spacing: 1px; color: var(--ink-3); }
/* display 会覆盖 [hidden] 的 UA display:none，显式修正，确保仅列表为空时才展示空态 */
.my-products-title[hidden],
.my-products-grid[hidden],
.my-products-empty[hidden] { display: none; }

/* ============ 隐私条款页 ============ */
.privacy-page { padding: 56px 0 96px; }
.privacy-title { margin-bottom: 8px; font-size: 26px; font-weight: 700; }
.privacy-update { margin-bottom: 28px; font-size: 13px; color: var(--ink-3); }
.privacy-body p { margin: 8px 0; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }
.privacy-body h3 { margin: 32px 0 10px; font-size: 17px; font-weight: 700; color: var(--ink); }
/* 部分级标题（第一部分/第二部分） */
.privacy-part { margin: 44px 0 16px; padding-bottom: 10px; font-size: 20px; font-weight: 800; border-bottom: 1px solid var(--line); }
/* 提示条款卡片 */
.privacy-notice { padding: 20px 24px; background: var(--bg-soft); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: 12px; }
.privacy-notice h2 { margin-bottom: 10px; font-size: 16px; font-weight: 800; }
/* 多级列表 */
.privacy-body ol, .privacy-body ul { margin: 10px 0; padding-left: 22px; }
.privacy-body li { margin: 6px 0; font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }
.privacy-body li::marker { color: var(--brand); font-weight: 600; }
.privacy-clause strong, .privacy-defs li strong { color: var(--ink); font-weight: 700; }
/* （1）…子项：去掉自动符号，保留手工编号 */
.privacy-sublist { list-style: none; padding-left: 4px; }
/* 目录卡片：自适应多栏 */
.privacy-toc { list-style: none; padding: 16px 22px; background: #fff; border: 1px solid var(--line); border-radius: 12px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 6px 28px; }
.privacy-toc li { margin: 2px 0; font-size: 14px; }

/* ============ 登录/产品页响应式 ============ */
@media (max-width: 900px) {
  .login-visual { display: none; }
}

@media (max-width: 760px) {
  .my-products { padding: 36px 0 72px; }
  .my-products-grid { grid-template-columns: 1fr; }
  .my-products-empty { padding: 90px 0 120px; }
}
