/* 班马科技 · AI 视觉平台官网 预览样式
   说明：纯静态预览稿，不接后端、不改现有站点；令牌取自 workspace.css，
   并参考 banma-web-spec 的圆角/间距/动效约定（品牌绿沿用工作台森林绿 #167555）。 */

:root {
  --maxw: 1200px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--shell);
  color: var(--ink);
  font: 16px/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
h1, h2, h3, p, ul { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* 图标与状态 */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 20px; height: 20px; flex: 0 0 auto;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round; vertical-align: middle;
}
.btn .icon { width: 18px; height: 18px; }
body:not(.is-user) .user-only { display: none !important; }
body.is-user .guest-only { display: none !important; }
code { font: 13px/1.6 var(--mono); background: var(--wash); color: var(--accent); padding: 2px 6px; border-radius: 6px; }
.muted { color: var(--sub); }
.footer-col .footer-note { font-size: 13px; color: var(--sub); }

.wrap { width: min(var(--maxw), 100% - 64px); margin: 0 auto; }
.skip-link {
  position: fixed; top: -80px; left: 24px; z-index: 100;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(245, 247, 248, .82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease-out), background .2s var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(245, 247, 248, .94); }
.header-inner { display: flex; align-items: center; gap: 40px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 10px; background: var(--accent); color: #fff;
  box-shadow: 0 6px 16px rgba(22, 117, 85, .22);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 19px; font-weight: 700; letter-spacing: -.03em; }
.brand-text small { margin-top: 3px; font-size: 11px; letter-spacing: .16em; color: var(--sub); }

.main-nav { display: flex; align-items: center; gap: 30px; margin-left: 8px; }
.main-nav a { font-size: 14px; color: var(--sub); transition: color .15s; }
.main-nav a:hover, .main-nav a[aria-current="true"] { color: var(--ink); }
.main-nav a[aria-current="true"] { font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.link-quiet { font-size: 14px; color: var(--sub); padding: 8px 4px; transition: color .15s; }
.link-quiet:hover { color: var(--ink); }

.menu-toggle {
  display: none; width: 40px; height: 40px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; cursor: pointer; color: var(--ink);
  align-items: center; justify-content: center;
}
.mobile-nav {
  display: none; border-bottom: 1px solid var(--line); background: #fff;
  padding: 12px 24px 20px;
}
.mobile-nav a { display: block; padding: 12px 4px; font-size: 15px; border-bottom: 1px solid var(--line); }
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav.is-open { display: block; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 10px;
  font-size: 15px; font-weight: 600; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .15s var(--ease-out), background .15s, border-color .15s, box-shadow .15s;
}
.btn:active { transform: scale(.985); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(22, 117, 85, .18); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 12px 28px rgba(22, 117, 85, .24); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 9px; }
.btn-on-dark { background: #fff; color: var(--deep); }
.btn-on-dark:hover { background: var(--wash); }
.btn-outline-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .38); }
.btn-outline-dark:hover { border-color: #fff; }

.avatar-btn {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--wash); color: var(--accent); border: 1px solid #d5e6dd;
  font-size: 14px; font-weight: 600; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 40px 0 0; overflow: hidden; }
.hero-grid { display: block; }
.hero-copy { max-width: 780px; margin: 0 auto; text-align: center; }
.hero h1 {
  margin: 0 auto; max-width: 14em;
  font-size: clamp(34px, 4.2vw, 52px); line-height: 1.14;
  font-weight: 700; letter-spacing: -.035em;
}
.hero h1::after {
  content: ""; display: block; width: 28px; height: 3px;
  margin: 22px auto 0; background: var(--brand);
}
.hero .lead { margin: 20px auto 0; max-width: 620px; font-size: 17px; line-height: 1.8; color: var(--sub); }
.hero .cta-row { display: flex; justify-content: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.hero .hint { margin-top: 14px; font-size: 13px; color: var(--sub); }
.hero-copy, .hero-visual { min-width: 0; }
.hero-visual {
  position: relative; margin-top: 36px; padding: 0; overflow: visible;
}
.hero-visual .shot { position: relative; z-index: 1; }
.hero-visual .browser { max-width: 100%; border-radius: 22px; box-shadow: 0 26px 70px rgba(16, 40, 32, .18); }


/* 首屏入场：标题/副文/按钮分段上浮，窗口从模糊到清晰 */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 { animation: hero-copy-in .9s var(--ease-out) both; }
  .hero .lead { animation: hero-copy-in .9s var(--ease-out) .12s both; }
  .hero .cta-row { animation: hero-copy-in .8s var(--ease-out) .22s both; }
  .hero .hint { animation: hero-copy-in .8s var(--ease-out) .3s both; }
  .hero-visual { animation: hero-stage-in .9s var(--ease-out) .3s both; }
  .hero-visual .shot { animation: hero-focus 1.7s ease-out .5s both; }
  .js-reveal .reveal {
    opacity: 0; transform: translateY(18px); filter: blur(4px);
    transition: opacity .65s var(--ease-out), transform .65s var(--ease-out), filter .65s var(--ease-out);
  }
  .js-reveal .reveal.is-in { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes hero-copy-in {
  from { opacity: 0; transform: translateY(16px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes hero-stage-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes hero-focus {
  from { filter: blur(14px); }
  to { filter: blur(0); }
}

/* ---------- 产品截图 ---------- */
.shot { position: relative; margin: 0; }
.shot .corner { position: absolute; width: 20px; height: 20px; border: 2px solid var(--brand); opacity: 1; }
.shot .corner.tl { top: -10px; left: -10px; border-right: 0; border-bottom: 0; border-radius: 4px 0 0 0; }
.shot .corner.tr { top: -10px; right: -10px; border-left: 0; border-bottom: 0; border-radius: 0 4px 0 0; }
.shot .corner.bl { bottom: -10px; left: -10px; border-right: 0; border-top: 0; border-radius: 0 0 0 4px; }
.shot .corner.br { bottom: -10px; right: -10px; border-left: 0; border-top: 0; border-radius: 0 0 4px 0; }

.browser {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2); overflow: hidden;
}
.browser-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: #fbfcfc; border-bottom: 1px solid var(--line);
}
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: #dbe4e0; }
.browser-bar .url {
  margin-left: 12px; padding: 5px 14px; border-radius: 999px;
  background: #f1f5f3; color: var(--sub); font: 12px/1.4 var(--mono);
}
.browser img { display: block; width: 100%; height: 540px; object-fit: cover; object-position: 62% 0; }
/* ---------- 能力条 ---------- */
.strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 72px; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.strip li { padding: 26px 28px; border-left: 1px solid var(--line); }
.strip li:first-child { border-left: 0; padding-left: 0; }
.strip strong { display: block; font-size: 16px; font-weight: 650; }
.strip span { display: block; margin-top: 4px; font-size: 13px; color: var(--sub); }

/* ---------- 区块 ---------- */
.section { padding: 104px 0; }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.25;
  font-weight: 700; letter-spacing: -.03em;
}
.section-head p { margin-top: 16px; font-size: 17px; color: var(--sub); max-width: 620px; }

/* ---------- 产品卡 ---------- */
.cards { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.card-feature { grid-row: span 2; padding: 36px 34px 32px; gap: 16px; }
.card-feature .card-icon { width: 54px; height: 54px; border-radius: 14px; }
.card-feature h3 { font-size: 23px; }
.card-feature p { font-size: 15px; max-width: 38ch; }
.card-shot {
  margin-top: auto; width: 100%; height: 210px; object-fit: cover; object-position: 50% 50%;
  border: 1px solid var(--line); border-radius: 12px; background: #f2f7f4;
  -webkit-mask-image: linear-gradient(#000 76%, transparent 100%);
  mask-image: linear-gradient(#000 76%, transparent 100%);
}
.card-feature .go { margin-top: 0; }
.card:not(.card-feature) { justify-content: center; }
.card:not(.card-feature) .go { margin-top: 4px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 30px 28px 26px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(18, 48, 38, .12); border-color: #cfe1d8; }
.card-icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: var(--brand-soft); color: var(--accent);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; font-weight: 650; letter-spacing: -.015em; }
.card p { font-size: 14px; line-height: 1.75; color: var(--sub); }
.card .go { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- 能力网格 ---------- */
.cap-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
}
.cap { padding: 30px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cap h3 { margin-top: 14px; font-size: 17px; font-weight: 650; }
.cap p { margin-top: 8px; font-size: 14px; line-height: 1.75; color: var(--sub); }

/* ---------- 场景 ---------- */
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scene {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-1);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.scene:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(18, 48, 38, .12); }
.scene-visual {
  position: relative; display: grid; place-items: center; height: 150px;
  background: var(--brand-tint); border-bottom: 1px solid var(--line);
}
.scene-visual svg { width: 40px; height: 40px; color: var(--accent); opacity: .8; }
.scene-body { padding: 24px 26px 26px; }
.scene-body h3 { font-size: 18px; font-weight: 650; }
.scene-body p { margin-top: 8px; font-size: 14px; line-height: 1.75; color: var(--sub); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips span {
  padding: 4px 10px; border-radius: 999px; background: var(--wash);
  color: var(--accent); font-size: 12px;
}

/* ---------- 数据飞轮 ---------- */
.flywheel {
  position: relative; display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 22px; max-width: 1040px; margin: 0; padding: 6px 0 0; list-style: none;
}
.flywheel::before {
  content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: var(--line-strong);
}
.flywheel::after {
  content: ""; position: absolute; right: -4px; top: 2px; width: 0; height: 0;
  border-left: 7px solid var(--line-strong); border-top: 4px solid transparent; border-bottom: 4px solid transparent;
}
.step { position: relative; padding: 28px 0 0; }
.step-dot {
  position: absolute; top: 0; left: 0; width: 11px; height: 11px;
  border-radius: 50%; background: #fff; border: 2px solid var(--accent);
}
.step h3 { font-size: 16px; font-weight: 650; }
.step p { margin-top: 6px; max-width: 26ch; font-size: 13px; line-height: 1.7; color: var(--sub); }
.fly-note { margin-top: 22px; font-size: 13px; color: var(--sub); }
.fly-note::before { content: "注："; color: var(--accent); }

/* ---------- 接入路径 ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.path { padding: 34px 32px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.path.highlight { background: var(--wash); border-color: #cfe4d9; }
.path h3 { font-size: 20px; font-weight: 650; }
.path > p { margin-top: 10px; font-size: 14px; color: var(--sub); }
.path ol { margin-top: 20px; counter-reset: n; display: grid; gap: 12px; }
.path li { position: relative; padding-left: 34px; font-size: 14px; color: var(--ink); }
.path li::before {
  counter-increment: n; content: counter(n, decimal-leading-zero);
  position: absolute; left: 0; top: 1px;
  font: 600 11px/1 var(--sans); color: var(--accent);
  background: #fff; border: 1px solid #cfe4d9; border-radius: 6px;
  padding: 3px 5px;
}
.path .btn { margin-top: 24px; }

/* ---------- 深色 CTA ---------- */
.band {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 54px 56px; border-radius: 24px;
  background: var(--deep);
  color: #eaf4ef;
}
.band > * { position: relative; z-index: 1; }
.band h2 { margin-top: 0; font-size: clamp(26px, 3vw, 34px); line-height: 1.3; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.band p { margin-top: 12px; font-size: 15px; color: rgba(234, 244, 239, .78); }
.band .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.site-footer { margin-top: 104px; padding: 64px 0 32px; border-top: 1px solid var(--line); background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 16px; max-width: 280px; font-size: 13px; line-height: 1.8; color: var(--sub); }
.company-brand { display: block; }
.company-brand img { display: block; height: 27px; width: auto; }
.footer-brand .footer-product { margin-top: 10px; font-size: 12px; color: #93a29c; }
.login-legal .login-company { height: 18px; width: auto; vertical-align: -3px; margin-right: 10px; }
.footer-col h3 { font-size: 13px; font-weight: 650; color: var(--ink); letter-spacing: .04em; }
.footer-col ul { margin-top: 16px; display: grid; gap: 10px; }
.footer-col a { font-size: 13px; color: var(--sub); }
.footer-col a:hover { color: var(--accent); }
.footer-legal {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--sub);
}
.footer-legal .links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal .placeholder { color: #93a29c; }
.footer-legal a { color: var(--sub); }
.footer-legal a:hover { color: var(--accent); }

/* ---------- 登录页 ---------- */
.login-page { min-height: 100vh; display: flex; flex-direction: column; }
.login-header { height: 76px; display: flex; align-items: center; }
.login-header .wrap { display: flex; align-items: center; justify-content: space-between; }
.login-main { flex: 1; display: grid; place-items: center; padding: 24px 0 56px; }
.login-shell {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0;
  width: min(920px, 100% - 64px);
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow-2); overflow: hidden;
}
.login-card { padding: 48px 48px 44px; }
.login-card h1 { font-size: 28px; line-height: 1.32; font-weight: 650; letter-spacing: -.015em; }
.login-card .sub { margin-top: 8px; font-size: 14px; color: var(--sub); }

.tabs { display: flex; gap: 26px; margin-top: 28px; border-bottom: 1px solid var(--line); }
.tabs button {
  position: relative; padding: 0 0 13px; border: 0; background: none; cursor: pointer;
  font-size: 14px; color: var(--sub);
  border-radius: 4px 4px 0 0;
}
.tabs button[aria-selected="true"] { color: var(--ink); font-weight: 650; }
.tabs button[aria-selected="true"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent);
}

.login-panels { display: grid; }
.login-panels > [data-panel] { grid-area: 1 / 1; }
/* 隐藏面板保留占位：切换「账号登录 / API Key 登录」时卡片高度不跳动 */
.login-panels > [data-panel][hidden] { display: block !important; visibility: hidden; }

.field { margin-top: 18px; }
.field label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.input-wrap { position: relative; }
.input, .input-wrap input {
  width: 100%; height: 44px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: #fff; color: var(--ink);
  font: 15px/1 var(--sans);
  transition: border-color .15s, box-shadow .15s;
}
.input:focus, .input-wrap input:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(22, 117, 85, .12);
}
.input-wrap input { padding-right: 46px; }
.eye {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 0; background: none; color: var(--sub); cursor: pointer; border-radius: 8px;
}
.eye:hover { color: var(--ink); background: var(--wash); }
.tabs button:focus-visible, .eye:focus-visible, .form-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.field .hintline { margin-top: 7px; font-size: 12px; color: var(--sub); }

.form-error {
  margin-top: 18px; padding: 11px 14px; border-radius: 10px;
  background: #fff1ef; border: 1px solid #f3d6d2; color: #b03830; font-size: 13px;
}
.submit { width: 100%; margin-top: 22px; height: 46px; border-radius: 12px; }
.btn:disabled { cursor: not-allowed; }
.btn.is-loading { cursor: progress; }
.btn.is-loading:active { transform: none; }
.btn.is-loading:hover { background: var(--accent-hover); }
/* 加载态：按钮内转圈，配合"登录中…"文案，避免点击后没有任何变化 */
.btn.is-loading::before {
  content: ""; flex: none; width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .42); border-top-color: #fff;
  animation: btn-spin .7s linear infinite;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .btn.is-loading::before { animation-duration: 2.4s; }
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}


.form-links { display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  margin-top: 20px; font-size: 13px; }
.form-links a { color: var(--accent); font-weight: 500; }
.form-links a:hover { color: var(--accent); }
.form-note { margin-top: 24px; font-size: 12px; color: #62716b; }
.customer-entry {
  margin-top: 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px;
  background: #f6faf7; font-size: 12.5px; line-height: 1.6; color: #4d6158;
}
.customer-entry-title { margin: 0 0 4px; font-size: 11px; font-weight: 600; letter-spacing: .16em; color: var(--accent); }
.customer-entry p { margin: 0; }
.customer-entry-actions { display: flex; align-items: center; gap: 16px; margin-top: 8px !important; }
.customer-entry-actions a { color: var(--accent); font-weight: 500; }
.customer-entry-actions .customer-entry-primary { padding: 4px 12px; border-radius: 999px; background: var(--accent); color: #fff; }
.customer-entry-actions .customer-entry-primary:hover { color: #fff; opacity: .92; }



.login-aside {
  position: relative; overflow: hidden; padding: 44px 40px;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--deep); color: #eaf4ef;
}
.login-aside > * { position: relative; z-index: 1; }
.login-aside .aside-ghost {
  position: absolute; right: -46px; bottom: -46px; z-index: 0;
  width: 300px; height: 300px; color: #fff; opacity: .055;
}
.login-aside .aside-logo { display:block; width:146px; height:auto; opacity:.82; }
.login-aside .aside-title { margin-top: 22px; font-size: 28px; line-height: 1.44; font-weight: 600; letter-spacing: -.01em; color: #fff; }
.login-aside .aside-rule { width: 28px; height: 3px; margin-top: 18px; background: var(--brand); }
.login-aside .aside-note { margin-top: 14px; max-width: 260px; font-size: 14px; line-height: 1.8; color: rgba(234, 244, 239, .78); }

.login-legal { padding: 20px 0 30px; text-align: center; font-size: 12px; color: var(--sub); }
.login-legal span { margin: 0 10px; }
.login-legal a { margin: 0 10px; color: var(--sub); }
.login-legal a:hover { color: var(--accent); }
.login-legal .placeholder { color: #93a29c; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .main-nav { gap: 22px; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .wrap { width: min(var(--maxw), 100% - 40px); }
  .main-nav, .header-actions .link-quiet { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-inner { gap: 16px; }
  .hero { padding-top: 32px; }
  .hero .lead { font-size: 16px; max-width: 640px; }
  .hero-visual { margin-top: 32px; }
  .browser img { height: 340px; }
  .cards, .scene-grid { grid-template-columns: 1fr; }
  .card-feature { grid-row: auto; }
  .card-shot { height: 170px; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip li { border-left: 0; padding: 20px 0; border-bottom: 1px solid var(--line); }
  .strip li:nth-child(odd) { padding-right: 20px; }
  .strip li:nth-child(4) { border-bottom: 0; }
  .flywheel { grid-template-columns: 1fr; gap: 20px; }
  .flywheel::before { left: 5px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .flywheel::after { display: none; }
  .step { padding: 0 0 0 26px; }
  .step-dot { top: 7px; }
  .paths { grid-template-columns: 1fr; }
  .band { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 76px 0; }
  .login-shell { grid-template-columns: 1fr; }
  .login-aside { display: none; }
  .login-card { padding: 40px 32px 32px; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 34px; }
  .cap-grid { grid-template-columns: 1fr; }
  .form-links { flex-direction: column; gap: 8px; }
  .hero .cta-row .btn { width: 100%; }
  .strip { grid-template-columns: 1fr; }
  .strip li { border-bottom: 1px solid var(--line); }
  .strip li:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .browser img { height: 280px; }
  .hero-visual .browser { border-radius: 16px; }
  .login-card { padding: 32px 24px 28px; }
}

/* 登录页一屏自适应：矮屏收紧间距与字号，避免出现滚动条 */
@media (max-height: 900px) {
  .login-main { padding: 16px 0 24px; }
  .login-card { padding: 32px 40px 28px; }
  .login-card h1 { font-size: 26px; }
  .login-card .sub { margin-top: 6px; }
  .tabs { margin-top: 20px; }
  .field { margin-top: 14px; }
  .submit { margin-top: 18px; }
  .form-links { margin-top: 16px; }
  .customer-entry { margin-top: 14px; padding: 12px 14px; }
  .form-note { margin-top: 14px; }
  .login-legal { padding: 14px 0 18px; }
}
@media (max-height: 820px) {
  .login-main { padding: 8px 0 12px; }
  .login-card { padding: 24px 36px 20px; }
  .login-card h1 { font-size: 24px; }
  .login-card .sub { font-size: 13px; }
  .tabs { margin-top: 16px; }
  .tabs button { padding-bottom: 10px; }
  .field { margin-top: 12px; }
  .field label { margin-bottom: 6px; }
  .input, .input-wrap input { height: 42px; }
  .submit { margin-top: 14px; height: 44px; }
  .form-links { margin-top: 12px; }
  .customer-entry { margin-top: 12px; padding: 10px 12px; }
  .customer-entry > p:nth-of-type(2) { display: none; }
  .form-note { display: none; }
  .login-legal { padding: 8px 0 10px; }
}
@media (max-height: 700px) {
  .login-header { height: 60px; }
  .login-card { padding: 20px 32px 18px; }
  .login-card h1 { font-size: 22px; }
  .tabs { margin-top: 12px; }
  .field { margin-top: 10px; }
  .submit { margin-top: 12px; }
  .customer-entry-actions { margin-top: 6px !important; }
}

/* 移动端登录页：小屏收紧，避免一屏放不下 */
@media (max-width: 560px) {
  .login-header { height: 58px; }
  .login-main { padding: 6px 0 10px; }
  .login-card { padding: 22px 20px 18px; }
  .login-card h1 { font-size: 22px; }
  .tabs { margin-top: 12px; }
  .field { margin-top: 10px; }
  .submit { margin-top: 12px; }
  .form-links { margin-top: 10px; }
  .customer-entry { margin-top: 10px; padding: 10px 12px; }
  .login-legal { padding: 6px 0 8px; }
}

/* 超矮屏（如 375×667）：再压一档，仍保持一屏 */
@media (max-height: 690px) {
  .login-main { padding: 4px 0 8px; }
  .login-card { padding: 18px 18px 14px; }
  .tabs { margin-top: 10px; }
  .form-links { flex-direction: row; flex-wrap: wrap; gap: 4px 14px; }
  .customer-entry { margin-top: 8px; padding: 8px 10px; }
  .customer-entry-actions { margin-top: 4px !important; gap: 12px; }
  .login-legal { padding: 4px 0 6px; }
}

/* 顶部统一使用班马科技横版 logo；页脚原有长条 logo 保持不动。 */
.brand-logo { display:block; width:auto; height:27px; }
@media (max-width: 560px) { .brand-logo { height:24px; } }

/* 登录页深色品牌区竖版 logo */
.login-aside .aside-logo { width:112px; height:auto; opacity:.82; }

/* 顶部品牌：公司 logo + 产品名，避免首次访问不知道产品是什么。 */
.brand-product { display:flex; flex-direction:column; line-height:1.08; padding-left:12px; border-left:1px solid var(--line); }
.brand-product b { font-size:17px; font-weight:700; letter-spacing:-.03em; color:var(--ink); }
.brand-product small { margin-top:3px; font-size:10px; font-weight:500; letter-spacing:.08em; color:var(--sub); }
.brand-logo { height:24px; }
@media (max-width: 700px) { .brand-product { display:none; } .brand-logo { height:23px; } }
