:root {
  --bg: #070a12;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --border: rgba(255, 255, 255, 0.12);
  --primary: #3c7cff;
  --primary-weak: rgba(60, 124, 255, 0.16);
  --danger: #fb7185;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --focus: 0 0 0 3px rgba(60, 124, 255, 0.28);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial,
    "Noto Sans CJK SC", "Noto Sans", sans-serif;
  --display-font: ui-rounded, "Segoe UI Variable Display", "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  height: 100%;
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  color-scheme: dark;
}

body::before {
  content: "";
  position: fixed;
  inset: -30%;
  background: radial-gradient(1100px 520px at 25% 10%, rgba(60, 124, 255, 0.32), transparent 60%),
    radial-gradient(900px 520px at 80% 20%, rgba(76, 29, 149, 0.34), transparent 60%),
    radial-gradient(800px 380px at 60% 80%, rgba(16, 185, 129, 0.18), transparent 60%);
  filter: blur(60px);
  opacity: 0.95;
  pointer-events: none;
  z-index: 0;
}

button {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
  z-index: 1;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 10, 18, 0.7);
  backdrop-filter: blur(10px);
  box-shadow: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}

.brand:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 14px;
}

.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: block;
  object-fit: contain;
  background: #ffffff;
}

.brand__text {
  display: grid;
  gap: 2px;
}

.brand__name {
  font-weight: 900;
  color: var(--text);
}

.brand__sub {
  font-size: 12px;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.nav__link {
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.nav__link:hover {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.nav__link:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.header__actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-self: end;
}

.language-switch {
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-right: 24px;
  padding: 0 6px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 140ms ease;
}

.language-switch img {
  width: 17px;
  height: 17px;
  display: block;
  opacity: 0.76;
  filter: brightness(0) invert(1);
}

.language-switch:hover {
  background: rgba(255, 255, 255, 0.06);
}

.language-switch:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.header__actions .btn {
  font-size: 13px;
  font-weight: 800;
}

.header__actions .btn--primary {
  background: var(--primary);
  border-color: rgba(60, 124, 255, 0.8);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(60, 124, 255, 0.22);
}

.header__actions .btn--primary:hover {
  background: #2f6fff;
  color: #ffffff;
  filter: none;
}

.btn {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 900;
  cursor: pointer;
  transition: all 140ms ease;
  text-align: center;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.btn--primary {
  background: var(--primary);
  border-color: rgba(60, 124, 255, 0.8);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(60, 124, 255, 0.24);
}

.btn--primary:hover {
  filter: brightness(0.98);
  background: #2f6fff;
}

.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--muted);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: var(--border);
}

.btn--lg {
  padding: 12px 22px;
  border-radius: 14px;
  font-size: 15px;
  font-family: var(--font);
  font-weight: 700;
}

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

.main {
  width: 1200px;
  margin: 0 auto;
  padding: 0 0 40px;
}

.hero {
  min-height: 660px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  min-width: 1200px;
  padding: 36px calc((100% - 1200px) / 2 + 100px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.hero__content {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
}

.hero__title {
  color: rgba(255, 255, 255, 0.92) !important;
}

.hero__desc {
  color: rgba(255, 255, 255, 0.72) !important;
}

.hero__title span {
  color: #3c7cff !important;
}

.hero-appear {
  opacity: 0;
  transform: translateY(32px);
  animation: heroAppearIn 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__badge.hero-appear { animation-delay: 120ms; }
.hero__title.hero-appear { animation-delay: 360ms; }
.hero__desc.hero-appear  { animation-delay: 600ms; }
.hero__cta.hero-appear   { animation-delay: 840ms; }

@keyframes heroAppearIn {
  0%   { opacity: 0; transform: translateY(32px); }
  70%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0); }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
  font-size: 13px;
  font-family: var(--font);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.hero__badge .badge-dot {
  margin-left: 18px;
  margin-right: 18px;
}

.hero__badge > span:first-child {
  margin-left: 0;
}

.hero__badge > span:last-child {
  margin-right: 0;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-top: -50px;
  margin-bottom: 66px;
}

.hero-overlay__card {
  width: 1200px;
  min-width: 1200px;
  padding: 28px 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.hero-overlay__item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-overlay__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(60, 124, 255, 0.14);
}

.hero-overlay__name {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.hero__title {
  margin: 22px 0 0;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -0.7px;
  font-family: var(--display-font);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.hero__desc {
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.78;
  max-width: 960px;
  font-weight: 500;
  font-family: var(--font);
}

.hero__cta {
  margin-top: 28px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__cta .btn:not(.btn--primary) {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
}

.hero__cta .btn:not(.btn--primary):hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.section {
  margin-top: 100px;
  padding-top: 10px;
  position: relative;
  scroll-margin-top: 90px;
}

.section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

#product.section::before {
  display: none;
}

.section__head {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.2px;
  font-family: var(--display-font);
}

.muted {
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
  font-weight: 700;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.product-heading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3c7cff !important;
  font-size: 20px;
  font-weight: 700;
  width: fit-content;
}

.product-heading__icon {
  display: inline-grid;
  place-items: center;
  color: #3c7cff;
}

.product-subheading {
  font-size: 30px;
  color: var(--text) !important;
  line-height: 1.3;
}

#product .grid {
  gap: 48px;
}

/* product 内部垂直间距加大 */
#product .section__head {
  gap: 14px;
  margin-bottom: 32px;
}

#product .feature__desc {
  clear: both;
  margin: 6px 0 20px;
  font-size: 13px;
}

#product .mini-list {
  gap: 12px;
}

/* ========== 平台能力：做成产品内容同款 ========== */

#features .grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 48px;
}

#features .section__head {
  gap: 14px;
  margin-bottom: 32px;
  text-align: center;
  place-items: center;
}

#features.section::before {
  display: none;
}

#features .feature {
  background: var(--panel) !important;
  border: 1px solid var(--border) !important;
  border-radius: 18px !important;
  padding: 20px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16) !important;
}

/* logo + 标题同行 */
#features .feature__icon {
  border-radius: 14px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  vertical-align: middle;
  margin: 0 14px 16px 0;
}

#features .feature__title {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin: 0 0 16px;
}

#features .feature__desc {
  clear: both;
  margin: 0;
  font-size: 14px;
}

/* ========== 服务方案：字体与间距 1:1 对齐产品内容 ========== */

#pricing .section__head {
  gap: 14px;
  margin-bottom: 32px;
}

#pricing.section::before {
  display: none;
}

#pricing .pricing {
  gap: 48px;
}

#pricing .plan {
  background: var(--panel) !important;
  border: 1px solid var(--border) !important;
  border-radius: 18px !important;
  padding: 20px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16) !important;
  gap: 0;
}

#pricing .plan__name {
  font-weight: 900;
  margin: 0 0 6px;
  font-size: inherit;
}

#pricing .plan__price {
  color: var(--muted);
  margin: 6px 0 20px;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 700;
}

#pricing .plan__list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

#pricing .plan__list li {
  position: relative;
  background: transparent !important;
  border: none !important;
  padding: 0 0 0 36px !important;
  border-radius: 0 !important;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 22px;
  min-height: 22px;
  display: flex;
  align-items: center;
}

#pricing .plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

#pricing .plan:nth-child(1) .plan__list li::before {
  background-image: url("../resource/标准版.png");
}

#pricing .plan:nth-child(2) .plan__list li::before {
  background-image: url("../resource/专业版.png");
}

#pricing .plan:nth-child(3) .plan__list li::before {
  background-image: url("../resource/定制化.png");
}

#pricing .plan .btn {
  margin-top: auto;
}

#pricing .plan .btn--static {
  cursor: default;
  pointer-events: none;
  transition: none;
}

#pricing .plan .btn--static:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  color: var(--text);
  filter: none;
}

/* ========== 产品内容三张卡片：恢复外框、保留 LOGO+标题同行、列表带勾 ========== */

#product .feature {
  background: var(--panel) !important;
  border: 1px solid var(--border) !important;
  border-radius: 18px !important;
  padding: 20px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16) !important;
}

/* logo 和标题同一行 */
#product .feature__icon {
  border-radius: 14px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  vertical-align: middle;
  margin: 0 14px 16px 0;
}

#product .feature__title {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin: 0 0 16px;
  font-size: 15px;
}

#product .mini-list li {
  position: relative;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 12px 16px 12px 44px !important;
  border-radius: 14px !important;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.5;
}

/* 勾：蓝紫随卡片 */
#product .mini-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 8px;
  margin-top: 1px;
}

#product .feature--web .mini-list li::before {
  background-color: var(--primary);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'><path d='M1 5.5L4.5 9l7-7' stroke='%23ffffff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

#product .feature--agent .mini-list li::before {
  background-color: #7c3aed;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'><path d='M1 5.5L4.5 9l7-7' stroke='%23ffffff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

#product .feature--student .mini-list li::before {
  background-color: #059669;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'><path d='M1 5.5L4.5 9l7-7' stroke='%23ffffff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

.feature {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.feature__icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  margin-bottom: 10px;
}

.glyph {
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.6px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.72);
}

.glyph--web {
  color: var(--primary);
}

.glyph--student {
  color: #34d399;
}

.glyph--ai {
  color: var(--primary);
}

.glyph--agent {
  color: #a78bfa;
}

.glyph--ops {
  color: #818cf8;
}

.glyph--doc {
  color: #fbbf24;
}

.glyph--task {
  color: #f472b6;
}

.glyph--kpi {
  color: #22d3ee;
}

.glyph--api {
  color: #a78bfa;
}

.feature__title {
  font-weight: 900;
  margin-bottom: 6px;
}

.feature__desc {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  font-weight: 700;
}

.mini-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  font-size: 13px;
}

.mini-list li {
  padding: 10px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.plan {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--panel);
  padding: 14px;
  display: grid;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.plan--featured {
  background: rgba(60, 124, 255, 0.12);
  border-color: rgba(60, 124, 255, 0.24);
}

.plan__name {
  font-weight: 900;
  font-size: 16px;
}

.plan__price {
  color: var(--muted);
  font-weight: 900;
  font-size: 13px;
}

.plan__list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  font-size: 13px;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 10, 18, 0.65);
  margin-top: 120px;
}

.footer__inner {
  width: 1200px;
  margin: 0 auto;
  padding: 64px 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  flex-wrap: nowrap;
}

.footer__inner > :first-child {
  flex: 1;
  min-width: 0;
}

.footer__inner > :last-child {
  flex-shrink: 0;
  min-width: 380px;
}

.footer__name {
  font-family: "PingFang SC", "PingFang SC", -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif;
  font-weight: 900;
  color: #ffffff;
  font-size: 22px;
}

.footer__desc {
  margin-top: 16px;
  font-family: "PingFang SC", "PingFang SC", -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  max-width: 860px;
}

.footer__copyright {
  margin-top: 16px;
  font-family: "PingFang SC", "PingFang SC", -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

.footer__contact {
  display: grid;
  gap: 16px;
  color: #ffffff;
  font-family: "PingFang SC", "PingFang SC", -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.footer__contact-title {
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 2px;
}

.footer__contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: flex-start;
  text-align: left;
}

.footer__contact-label,
.footer__contact-value {
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.footer__contact-label {
  white-space: nowrap;
  flex-shrink: 0;
}

a.footer__contact-value {
  text-decoration: none;
}

a.footer__contact-value:hover {
  opacity: 0.86;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
  color: rgba(12, 18, 35, 0.94);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
}

.icon-btn__svg {
  display: block;
  width: 16px;
  height: 16px;
  opacity: 0.72;
}

.icon-btn:hover .icon-btn__svg {
  opacity: 0.92;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(15, 23, 42, 0.18);
}

.icon-btn:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 50;
  font-family: var(--font);
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
}

.modal__panel {
  position: relative;
  width: min(420px, calc(100vw - 28px));
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.98);
  color: rgba(12, 18, 35, 0.94);
  color-scheme: light;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  padding: 14px;
  z-index: 1;
}

.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.modal__title {
  font-weight: 900;
}

.form {
  padding-top: 12px;
  display: grid;
  gap: 12px;
}

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

.field__label {
  font-size: 12px;
  font-weight: 900;
  color: rgba(12, 18, 35, 0.72);
}

.input {
  width: 100%;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: rgba(12, 18, 35, 0.94);
  outline: none;
}

.input::placeholder {
  color: rgba(12, 18, 35, 0.44);
}

.input:focus-visible {
  box-shadow: var(--focus);
  border-color: rgba(60, 124, 255, 0.5);
}

.form-error {
  color: #e11d48;
  font-weight: 900;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.form-info {
  color: var(--primary);
  font-weight: 900;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.form-success {
  color: #16a34a;
  font-weight: 900;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

/* ---------- 登录与注册弹窗 ---------- */
.login-panel {
  width: min(460px, calc(100vw - 28px));
  padding: 0;
  border-radius: 18px;
  border: none;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22), 0 4px 16px rgba(15, 23, 42, 0.08);
  font-family: "PingFang SC", "PingFang SC Medium", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.login-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 400px;
  width: 100%;
  height: 100%;
}

.login-grid__form {
  padding: 36px 36px 32px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: #ffffff;
}

.login-card {
  width: 100%;
  position: relative;
  background: #ffffff;
}

.login-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 10px;
  font-size: 18px;
  line-height: 1;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: rgba(12, 18, 35, 0.94);
  cursor: pointer;
  font-weight: 900;
  z-index: 3;
}

.login-close:hover {
  background: #fafbff;
  border-color: rgba(15, 23, 42, 0.18);
}

.login-card .logo {
  display: none;
}

.login-card .login-title {
  text-align: left;
  font-weight: 950;
  letter-spacing: -0.2px;
  font-size: 22px;
  color: rgba(12, 18, 35, 0.94);
  margin-bottom: 30px;
}

.login-tabs {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding-bottom: 12px;
  margin-bottom: 18px;
}

.login-tab {
  font-size: 15px;
  font-weight: 500;
  color: rgba(15, 23, 42, 0.5);
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  letter-spacing: 0.1px;
  transition: color 120ms;
}

.login-tab.is-active {
  color: #0f172a;
  font-weight: 800;
}

.login-tab:hover {
  color: rgba(15, 23, 42, 0.8);
}

.login-tab.is-active:hover {
  color: #0f172a;
}

.login-tab__bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 44px;
  height: 2px;
  border-radius: 2px;
  background: #3c7cff;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
              width 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.login-panel-form {
  margin: 0;
  display: grid;
  gap: 12px;
}

.login-panel-form[hidden] {
  display: none;
}

.login-panel-form.is-active {
  display: grid;
}

.login-panel-form .form-error,
.login-panel-form .form-info,
.login-panel-form .form-success {
  display: block;
  min-height: 14px;
  line-height: 14px;
  margin: -2px 0 0;
  text-align: center;
  visibility: visible;
  font-size: 12px;
}

.login-panel-form .form-error[hidden],
.login-panel-form .form-info[hidden],
.login-panel-form .form-success[hidden] {
  display: block;
  visibility: hidden;
  pointer-events: none;
}

.login-card .form {
  margin-top: 0;
  display: grid;
  gap: 12px;
}

.login-card .field {
  display: grid;
  gap: 7px;
}

.login-card .field__label {
  font-size: 12px;
  font-weight: 900;
  color: rgba(12, 18, 35, 0.72);
}

.login-card .input {
  width: 100%;
  padding: 13px 14px;
  border-radius: 6px;
  border: none;
  background: #f5f5f7;
  color: rgba(12, 18, 35, 0.94);
  outline: none;
  font-size: 14px;
  box-sizing: border-box;
}

.login-card .input::placeholder {
  color: rgba(12, 18, 35, 0.44);
}

.login-card .input:focus-visible {
  box-shadow: none;
  border-color: initial;
  background: #f5f5f7;
}

.login-card select.input option {
  background: #ffffff;
  color: rgba(12, 18, 35, 0.94);
}

.login-card .input:-webkit-autofill,
.login-card .input:-webkit-autofill:hover,
.login-card .input:-webkit-autofill:focus {
  -webkit-text-fill-color: rgba(12, 18, 35, 0.94);
  -webkit-box-shadow: 0 0 0 1000px #f5f5f7 inset;
  caret-color: rgba(12, 18, 35, 0.94);
}

.email-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 106px;
  gap: 8px;
}

.email-code-button {
  border: 1px solid rgba(60, 124, 255, 0.32);
  border-radius: 6px;
  background: #ffffff;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.email-code-button:hover {
  background: #f5f8ff;
  border-color: rgba(60, 124, 255, 0.55);
}

.email-code-button:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.email-code-button:disabled {
  cursor: not-allowed;
  color: rgba(60, 124, 255, 0.55);
  border-color: rgba(60, 124, 255, 0.18);
  background: #f7f8fb;
}

.register-panel {
  width: min(640px, calc(100vw - 28px));
  max-height: calc(100vh - 32px);
}

.register-grid {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  max-height: calc(100vh - 32px);
}

.register-grid__form {
  padding: 30px 34px;
  overflow-y: auto;
  scrollbar-width: none;
}

.register-grid__form::-webkit-scrollbar {
  display: none;
}

.register-card .login-title {
  margin-bottom: 24px;
}

.register-form {
  display: grid;
  gap: 16px;
}

.register-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.register-form .form-error,
.register-form .form-info,
.register-form .form-success {
  min-height: 14px;
  line-height: 14px;
  margin: -2px 0 0;
  font-size: 12px;
}

.register-form .form-error[hidden],
.register-form .form-info[hidden],
.register-form .form-success[hidden] {
  display: block;
  visibility: hidden;
  pointer-events: none;
}

.register-form .btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.register-agreement {
  margin: 2px 0 0;
  color: rgba(15, 23, 42, 0.5);
  font-size: 11px;
  line-height: 1.7;
  text-align: center;
}

.register-agreement a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.register-agreement a:hover {
  text-decoration: none;
}

.register-agreement a:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 3px;
}

@media (max-width: 720px) {
  .register-grid { min-height: 0; }

  .register-grid__form {
    padding: 34px 22px 26px;
  }

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

}

.login-card .btn {
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.78);
  color: rgba(12, 18, 35, 0.94);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 950;
  cursor: pointer;
  transition: none;
  font-size: 14px;
}

.login-card .btn:not(.btn--primary):hover {
  background: rgba(255, 255, 255, 0.9);
}

.login-card .btn:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.login-card .btn--primary {
  background: var(--primary);
  border-color: rgba(60, 124, 255, 0.8);
  color: #ffffff;
  box-shadow: none;
  margin-top: 0;
}

.login-card .btn--primary:hover {
  background: #2f6fff;
  color: #ffffff;
  filter: none;
}

.login-card .btn--primary:focus-visible {
  background: #2f6fff;
  color: #ffffff;
}

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

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  background: rgba(12, 18, 35, 0.92);
  color: #ffffff;
  padding: 10px 12px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  z-index: 60;
  max-width: calc(100vw - 24px);
  font-weight: 900;
}
