:root {
  --navy: #102f55;
  --navy-deep: #08223f;
  --blue: #2f6fec;
  --blue-light: #eaf2ff;
  --ink: #172a40;
  --muted: #66788d;
  --line: #dbe4ef;
  --paper: #f5f8fc;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
}
body.modal-open { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

.page-shell { position: relative; min-height: 100vh; overflow: hidden; }
.latitude-mark {
  position: absolute;
  z-index: 0;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(47, 111, 236, 0.11);
  border-radius: 50%;
  pointer-events: none;
}
.latitude-mark::before, .latitude-mark::after {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(47, 111, 236, 0.09);
  border-radius: 50%;
}
.latitude-mark::after { inset: 34%; }
.latitude-one { top: 88px; left: -270px; }
.latitude-two { right: -290px; bottom: 80px; }
.site-header, .main-content, footer { position: relative; z-index: 1; }

.site-header {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--navy);
  color: white;
  font-size: 21px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(16, 47, 85, 0.17);
}
.brand strong, .brand small { display: block; }
.brand strong {
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}
.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.02em;
}
.header-help {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}
.header-help:hover { border-color: #b9cce8; background: white; }

.main-content {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(330px, 0.75fr);
  gap: 28px;
  align-items: stretch;
}
.intro-panel {
  min-height: 405px;
  padding: 56px 62px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(16, 47, 85, 0.09);
}
.eyebrow { margin: 0 0 16px; color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: 0.16em; }
.intro-panel h1 {
  margin: 0;
  color: var(--navy-deep);
  font-size: clamp(38px, 3.85vw, 56px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.intro-panel h1 .title-line { display: block; }
.intro-panel h1 .title-line-accent { color: var(--blue); }
.lead { max-width: 740px; margin: 24px 0 0; color: #405a73; font-size: 20px; line-height: 1.75; }
.service-path { margin-top: 30px; display: flex; align-items: center; gap: 16px; color: var(--navy); font-size: 15px; font-weight: 800; }
.service-path span { padding: 9px 14px; border-radius: 999px; background: var(--blue-light); }
.service-path i { width: 30px; height: 1px; background: #bdcbe0; }

.login-card {
  min-height: 405px;
  padding: 30px;
  border-radius: 28px;
  background: var(--navy-deep);
  color: white;
  box-shadow: 0 24px 70px rgba(8, 34, 63, 0.22);
}
.login-heading p { margin: 0; color: #9fb8d8; font-size: 13px; font-weight: 700; }
.login-heading h2 { margin: 5px 0 22px; font-size: 27px; }
.login-card form > label { display: block; margin: 13px 0 7px; color: #c9d8e8; font-size: 13px; font-weight: 700; }
.login-card input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #385675;
  border-radius: 11px;
  outline: none;
  background: #153756;
  color: white;
}
.login-card input::placeholder { color: #829bb5; }
.login-card input:focus { border-color: #78a8ff; box-shadow: 0 0 0 3px rgba(47, 111, 236, 0.26); }
.password-field { position: relative; }
.password-field input { padding-right: 58px; }
.password-toggle {
  position: absolute;
  right: 7px;
  top: 6px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #b6cae0;
  font-size: 12px;
  cursor: pointer;
}
.login-button {
  width: 100%;
  height: 48px;
  margin-top: 20px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 11px;
  background: var(--blue);
  color: white;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}
.login-button:hover { background: #255fce; transform: translateY(-1px); }
.form-message { min-height: 18px; margin: 7px 0 0; color: transparent; font-size: 12px; }
.form-message.visible { color: #bcd0e6; }
.contact-box {
  margin-top: 12px;
  padding-top: 19px;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 16px;
  align-items: center;
  border-top: 1px solid #2a4867;
}
.contact-box h3, .contact-box p { margin: 0; }
.contact-box h3 { font-size: 15px; }
.contact-box p { margin-top: 7px; color: #aebfd2; font-size: 12px; line-height: 1.65; }
.qr-placeholder {
  position: relative;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: white;
  color: var(--navy);
  text-align: center;
  font-size: 10px;
  line-height: 1.45;
}
.qr-corner { position: absolute; width: 16px; height: 16px; border: 4px solid var(--navy); }
.top-left { left: 7px; top: 7px; }
.top-right { right: 7px; top: 7px; }
.bottom-left { left: 7px; bottom: 7px; }
.managed-account { margin: 14px 0 0; color: #8fa7bf; font-size: 11px; text-align: center; }

.course-section { grid-column: 1 / -1; padding-top: 28px; }
.section-heading { margin-bottom: 16px; display: flex; justify-content: space-between; align-items: end; }
.section-heading .eyebrow { margin-bottom: 5px; }
.section-heading h2, .section-heading > p { margin: 0; }
.section-heading h2 { color: var(--navy-deep); font-size: 26px; }
.section-heading > p { color: var(--muted); font-size: 12px; }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.course-card {
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: white;
  color: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(16, 47, 85, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.course-card:hover, .course-card:focus-visible {
  transform: translateY(-4px);
  border-color: #a9c3e9;
  box-shadow: 0 18px 44px rgba(16, 47, 85, 0.13);
  outline: none;
}
.course-image { position: relative; display: block; aspect-ratio: 16 / 8.6; overflow: hidden; background: #d7e2ee; }
.course-image img {
  position: absolute;
  top: -4%;
  left: 50%;
  width: auto;
  max-width: none;
  height: 195%;
  transform: translateX(-45.5%);
  transition: transform 240ms ease;
}
.course-card:hover .course-image img { transform: translateX(-45.5%) scale(1.02); }
.course-card[data-course="micro"] .course-image img,
#lightbox-img.fit-whole {
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
}
.course-card[data-course="micro"]:hover .course-image img { transform: none; }
.image-number, .enlarge-label {
  position: absolute;
  z-index: 2;
  color: white;
  background: rgba(8, 34, 63, 0.78);
  backdrop-filter: blur(4px);
}
.image-number { top: 12px; left: 12px; min-width: 34px; padding: 6px 8px; border-radius: 8px; text-align: center; font-size: 11px; font-weight: 800; }
.enlarge-label { right: 12px; bottom: 12px; padding: 6px 9px; border-radius: 8px; font-size: 10px; }
.course-copy { min-height: 112px; padding: 18px 19px 20px; display: block; }
.course-copy strong, .course-copy span { display: block; }
.course-copy strong { color: var(--navy-deep); font-size: 18px; }
.course-copy span { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.7; }

footer {
  width: min(1240px, calc(100% - 48px));
  margin: 28px auto 0;
  padding: 22px 0 30px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #7d8ea1;
  font-size: 12px;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  padding: 24px;
  display: grid;
  place-items: center;
  background: rgba(5, 21, 39, 0.8);
  backdrop-filter: blur(8px);
}
.lightbox-card {
  position: relative;
  width: min(960px, 94vw);
  overflow: hidden;
  border-radius: 24px;
  background: white;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.36);
}
.lightbox-close {
  position: absolute;
  z-index: 4;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(8, 34, 63, 0.84);
  color: white;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}
.lightbox-image { aspect-ratio: 16 / 8.6; }
.lightbox-copy { padding: 24px 28px 28px; }
.lightbox-copy p, .lightbox-copy h2, .lightbox-copy span { margin: 0; }
.lightbox-copy p { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: 0.15em; }
.lightbox-copy h2 { margin-top: 6px; color: var(--navy-deep); font-size: 26px; }
.lightbox-copy span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.7; }

@media (max-width: 900px) {
  .main-content { grid-template-columns: 1fr; }
  .login-card { order: -1; min-height: 0; }
  .intro-panel { min-height: 0; padding: 46px; }
  .course-grid { grid-template-columns: 1fr; }
  .course-card { display: grid; grid-template-columns: minmax(210px, 0.9fr) 1fr; }
  .course-image { aspect-ratio: auto; min-height: 190px; }
  .course-copy { align-self: center; min-height: 0; }
}

@media (max-width: 620px) {
  .site-header, .main-content, footer { width: min(100% - 28px, 1240px); }
  .site-header { min-height: 76px; }
  .brand small, .header-help { display: none; }
  .main-content { gap: 16px; }
  .intro-panel { padding: 34px 25px; border-radius: 22px; }
  .intro-panel h1 { font-size: 34px; }
  .lead { font-size: 15px; line-height: 1.8; }
  .service-path { gap: 7px; overflow-x: auto; font-size: 14px; }
  .service-path span { flex: 0 0 auto; padding: 7px 10px; }
  .service-path i { min-width: 15px; }
  .login-card { padding: 25px; border-radius: 22px; }
  .section-heading { align-items: start; }
  .section-heading > p { display: none; }
  .course-card { display: block; }
  .course-image { aspect-ratio: 16 / 8.6; min-height: 0; }
  footer { display: block; text-align: center; }
  footer span { display: block; margin-top: 5px; }
  .lightbox { padding: 12px; }
  .lightbox-copy { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* 独立账号系统 */
.course-card-static { cursor: default; }
.course-card-static:hover { transform: none; border-color: var(--line); box-shadow: 0 12px 34px rgba(16, 47, 85, 0.07); }
.micro-card .course-image img {
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
}
.micro-card:hover .course-image img { transform: scale(1.02); }
.alert { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; font-size: 12px; line-height: 1.55; }
.alert-error { color: #ffd8d8; background: rgba(181, 49, 49, 0.26); border: 1px solid rgba(255, 165, 165, 0.35); }
.alert-info { color: #d9e8ff; background: rgba(47, 111, 236, 0.2); border: 1px solid rgba(145, 183, 255, 0.34); }

.account-page { min-height: 100vh; background: #f3f6fa; }
.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 76px;
  padding: 12px max(24px, calc((100vw - 1320px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}
.compact-brand .brand-mark { width: 40px; height: 40px; border-radius: 12px; font-size: 19px; }
.compact-brand strong { font-size: 18px; }
.compact-brand small { margin-top: 2px; font-size: 11px; }
.header-actions { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.header-actions form { margin: 0; }
.ghost-button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}
.account-shell { width: min(1320px, calc(100% - 40px)); margin: 34px auto 60px; }
.narrow-shell { width: min(920px, calc(100% - 40px)); }
.success-panel, .account-details, .admin-title, .admin-table-card, .one-time-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: 0 18px 50px rgba(16, 47, 85, 0.07);
}
.success-panel { padding: 50px; text-align: center; }
.success-icon { width: 58px; height: 58px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: #e6f6ee; color: #178653; font-size: 30px; font-weight: 800; }
.success-panel .eyebrow { margin-bottom: 8px; }
.success-panel h1 { margin: 0; color: var(--navy-deep); font-size: clamp(30px, 4vw, 44px); }
.success-panel > p:last-child { max-width: 650px; margin: 16px auto 0; color: var(--muted); line-height: 1.8; }
.account-details { margin-top: 22px; padding: 30px; }
.account-details h2 { margin: 0 0 20px; color: var(--navy-deep); }
.account-details dl { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.account-details dl div { padding: 16px 18px; border-radius: 14px; background: #f5f8fc; }
.account-details dt { color: var(--muted); font-size: 12px; }
.account-details dd { margin: 6px 0 0; color: var(--navy-deep); font-weight: 800; }

.admin-title { padding: 30px 34px; }
.admin-title .eyebrow { margin-bottom: 6px; }
.admin-title h1 { margin: 0; color: var(--navy-deep); font-size: 34px; }
.admin-title div > p:last-child { margin: 10px 0 0; color: var(--muted); }
.summary-grid { margin: 18px 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.summary-grid div { padding: 17px 19px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.summary-grid span { display: block; color: var(--muted); font-size: 12px; }
.summary-grid strong { display: block; margin-top: 7px; color: var(--navy-deep); font-size: 25px; }
.admin-alert { padding: 12px 16px; border-radius: 12px; background: #e8f7ef; color: #12693f; border: 1px solid #bfe8d2; }
.admin-logout-button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--blue); color: white; font-weight: 800; cursor: pointer; box-shadow: 0 6px 18px rgba(28, 93, 212, 0.22); }
.admin-logout-button:hover { background: var(--navy); }
.admin-table-card { overflow: visible; }
.filter-bar { padding: 18px 20px; display: flex; align-items: end; gap: 14px; border-bottom: 1px solid var(--line); }
.filter-bar label { display: grid; gap: 6px; color: var(--muted); font-size: 12px; }
.filter-bar select { min-width: 150px; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--ink); }
.filter-bar > a { min-height: 40px; display: inline-flex; align-items: center; color: var(--blue); font-size: 13px; text-decoration: none; }
.filter-button, .action-panel button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #c7d7ec;
  border-radius: 9px;
  background: #eef4ff;
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
}
.filter-button { min-height: 40px; padding: 0 18px; border: 0; background: var(--blue); color: white; }
.table-scroll { overflow-x: auto; }
.account-table { width: 100%; min-width: 1120px; border-collapse: collapse; font-size: 13px; }
.account-table th, .account-table td { padding: 14px 12px; border-bottom: 1px solid #e8eef5; text-align: left; vertical-align: middle; }
.account-table th { background: #f8fafd; color: #52677d; font-size: 12px; white-space: nowrap; }
.account-table td:first-child strong, .account-table td:first-child small { display: block; }
.account-table td:first-child small { max-width: 180px; margin-top: 5px; color: var(--muted); font-size: 11px; }
.status-badge { display: inline-flex; padding: 5px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.status-unactivated { color: #735b13; background: #fff5cc; }
.status-active { color: #12693f; background: #dcf4e7; }
.status-expired { color: #88421e; background: #ffeadc; }
.status-disabled { color: #7a3240; background: #fde2e7; }
.self-label { color: var(--muted); font-size: 11px; white-space: nowrap; }
.action-menu { position: relative; }
.action-menu summary { display: inline-flex; padding: 7px 11px; border-radius: 8px; background: var(--blue-light); color: var(--navy); font-weight: 800; cursor: pointer; list-style: none; }
.action-menu summary::-webkit-details-marker { display: none; }
.action-panel { position: absolute; z-index: 10; right: 0; width: 340px; margin-top: 8px; padding: 46px 15px 15px; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: 0 18px 50px rgba(8, 34, 63, 0.18); }
.action-panel .action-close { position: absolute; top: 10px; right: 10px; width: 30px; min-height: 30px; padding: 0; border: 0; border-radius: 50%; background: #eef3f9; color: var(--navy-deep); font-size: 22px; line-height: 1; }
.action-panel .action-close:hover { background: #dfe9f6; }
.action-panel form { margin: 0; }
.action-panel form > label { display: grid; gap: 5px; margin-bottom: 9px; color: var(--muted); font-size: 11px; }
.action-panel input { width: 100%; height: 36px; padding: 0 9px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); }
.inline-actions { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 7px; }
.date-form { margin-top: 10px !important; display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }
.date-form label { margin: 0 !important; }
.action-panel .danger-button { color: #9b293c; background: #fff0f3; border-color: #f2c4ce; }
.empty-row { padding: 40px !important; text-align: center !important; color: var(--muted); }

.one-time-shell { min-height: 100vh; padding: 30px; display: grid; place-items: center; }
.one-time-card { width: min(620px, 100%); padding: 42px; text-align: center; }
.one-time-card .eyebrow { margin-bottom: 8px; }
.one-time-card h1 { margin: 0; color: var(--navy-deep); font-size: 36px; }
.one-time-card > p { color: var(--muted); line-height: 1.7; }
.credential-result { margin: 24px 0; padding: 20px; display: grid; gap: 18px; border-radius: 14px; background: #eef4ff; }
.credential-lines { display: grid; gap: 10px; }
.credential-lines p { margin: 0; display: grid; grid-template-columns: 80px 1fr; align-items: center; gap: 12px; text-align: left; }
.credential-lines span { color: var(--muted); font-size: 13px; font-weight: 700; }
.credential-lines code { color: var(--navy-deep); font-size: 25px; font-weight: 800; letter-spacing: 0.06em; }
.credential-result button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 9px; background: var(--blue); color: white; font-weight: 800; cursor: pointer; }
.security-note { font-size: 12px; }
.primary-link { display: inline-flex; margin-top: 8px; padding: 11px 16px; border-radius: 10px; background: var(--navy); color: white; text-decoration: none; font-weight: 800; }


/* V4.10.10 用户行为记录后台 */
.activity-card { padding: 30px 34px; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: 0 18px 50px rgba(16, 47, 85, 0.07); }
.activity-card .admin-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.activity-card .admin-header h1 { margin: 0; color: var(--navy-deep); font-size: 34px; }
.activity-card .admin-header p { margin: 10px 0 0; color: var(--muted); }
.activity-summary-grid { grid-template-columns: repeat(4, 1fr); }
.activity-section { margin-top: 26px; }
.activity-section-title { margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.activity-section-title h2 { margin: 0; color: var(--navy-deep); font-size: 20px; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.activity-table { width: 100%; min-width: 1080px; border-collapse: collapse; font-size: 12px; }
.activity-table th, .activity-table td { padding: 11px 10px; border-bottom: 1px solid #e8eef5; text-align: left; vertical-align: top; }
.activity-table th { background: #f8fafd; color: #52677d; white-space: nowrap; }
.activity-text-cell { max-width: 280px; line-height: 1.55; }
@media (max-width: 820px) { .activity-summary-grid { grid-template-columns: repeat(2, 1fr); } .activity-card .admin-header { flex-direction: column; } }

@media (max-width: 820px) {
  .app-header { position: static; align-items: flex-start; }
  .header-actions { flex-wrap: wrap; justify-content: flex-end; }
  .summary-grid { grid-template-columns: repeat(2, 1fr); }
  .account-details dl { grid-template-columns: 1fr; }
  .filter-bar { align-items: stretch; flex-direction: column; }
  .filter-bar select { width: 100%; }
}

@media (max-width: 560px) {
  .app-header { padding: 12px 14px; }
  .compact-brand small, .header-actions > span { display: none; }
  .account-shell { width: min(100% - 24px, 1320px); margin-top: 18px; }
  .success-panel, .account-details, .admin-title { padding: 26px 20px; border-radius: 18px; }
  .summary-grid { gap: 8px; }
  .summary-grid div { padding: 13px; }
  .one-time-shell { padding: 14px; }
  .one-time-card { padding: 28px 20px; }
  .credential-lines p { grid-template-columns: 1fr; gap: 3px; text-align: center; }
}


/* V1.2 静态样稿新增：仅用于“关于这个项目”区域，不修改原登录页既有视觉规则 */
.about-project {
  grid-column: 1 / -1;
  margin-top: 28px;
  padding: 34px 40px 36px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(16, 47, 85, 0.07);
}
.about-project h2 {
  margin: 0 0 20px;
  color: var(--navy-deep);
  font-size: 26px;
}
.about-project p {
  max-width: 980px;
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}
.about-project .about-lead {
  color: #405a73;
  font-size: 15px;
  font-weight: 700;
}
.about-project .about-final {
  margin-top: 18px;
  color: var(--navy-deep);
  font-size: 17px;
  font-weight: 800;
}
.about-project .about-note {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #8a9aad;
  font-size: 11px;
}
@media (max-width: 620px) {
  .about-project {
    margin-top: 16px;
    padding: 28px 24px 30px;
    border-radius: 19px;
  }
  .about-project h2 { font-size: 24px; }
}


/* V1.3 微调：仅压缩首屏白色介绍卡、增强三步流程、略放大下方普通文字。
   原色值、布局逻辑、圆角、阴影、课程图片、Hover与原响应式规则均保留。 */

/* 桌面端：白色介绍卡单独压低，右侧登录卡保持原尺寸 */
@media (min-width: 901px) {
  .intro-panel {
    min-height: 352px;
    padding: 42px 62px;
    align-self: center;
  }

  .service-path {
    margin-top: 27px;
    gap: 18px;
    font-size: 17px;
  }

  .service-path span {
    padding: 10px 17px;
  }

  .service-path i {
    width: 38px;
    height: 2px;
    background: #9fb2cc;
  }
}

/* 900px以下继续沿用原有单栏逻辑，只略增强流程可读性 */
@media (min-width: 621px) and (max-width: 900px) {
  .service-path {
    font-size: 16px;
  }
  .service-path span {
    padding: 9px 14px;
  }
  .service-path i {
    width: 34px;
    height: 2px;
    background: #9fb2cc;
  }
}

/* 下方普通文字略放大；两个大标题保持原字号 */
.section-heading .eyebrow {
  font-size: 14px;
}

.section-heading > p {
  font-size: 13px;
}

.course-copy strong {
  font-size: 19px;
}

.course-copy span {
  font-size: 14.5px;
  line-height: 1.75;
}

.about-project p {
  font-size: 15.5px;
  line-height: 1.9;
}

.about-project .about-lead {
  font-size: 16px;
}

.about-project .about-final {
  font-size: 18.5px;
}

.about-project .about-note {
  font-size: 12.5px;
}

footer {
  font-size: 13px;
}

/* 手机端保留原来的紧凑缩放感，只做轻微字号提升 */
@media (max-width: 620px) {
  .service-path {
    font-size: 15px;
  }
  .service-path i {
    height: 2px;
    background: #9fb2cc;
  }
  .course-copy strong {
    font-size: 18.5px;
  }
  .course-copy span {
    font-size: 14px;
  }
  .about-project p {
    font-size: 14.5px;
  }
  .about-project .about-lead {
    font-size: 15px;
  }
  .about-project .about-final {
    font-size: 17.5px;
  }
  .about-project .about-note {
    font-size: 12px;
  }
}


/* V1.4：仅优化首屏协调关系与课程区标题。
   不改变原色值、圆角、阴影、课程卡、图片Hover、正文和响应式总体逻辑。 */
@media (min-width: 901px) {
  .site-header {
    min-height: 80px;
  }

  .main-content {
    align-items: start;
  }

  .intro-panel {
    align-self: start;
  }

  .login-card {
    align-self: start;
  }
}

/* 课程区只保留一个主标题时，维持原左对齐与原字号 */
.section-heading {
  justify-content: flex-start;
}

/* V4.10.8：备案信息。只调整登录页页脚，不改变登录卡片、课程卡或整体布局。 */
footer {
  flex-wrap: wrap;
  row-gap: 8px;
}

.filing-info {
  flex: 0 0 100%;
  text-align: center;
  font-size: 12px;
  line-height: 1.7;
}

.filing-info a {
  color: inherit;
  text-decoration: none;
}

.filing-info a:hover,
.filing-info a:focus-visible {
  color: var(--navy);
  text-decoration: underline;
}

.filing-separator {
  margin: 0 6px;
}

@media (max-width: 620px) {
  .filing-info {
    margin-top: 9px;
  }
  .filing-info .filing-separator {
    display: inline;
    margin: 0 4px;
  }
}

/* V4.10.11 试用账号 */
.trial-generator-card { margin: 18px 0; padding: 18px 20px; display: flex; align-items: end; justify-content: space-between; gap: 18px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.trial-generator-card > div { display: grid; gap: 5px; }
.trial-generator-card strong { color: var(--navy-deep); font-size: 16px; }
.trial-generator-card span { color: var(--muted); font-size: 12px; line-height: 1.6; }
.trial-generator-card form { display: flex; align-items: end; gap: 10px; margin: 0; }
.trial-generator-card label { display: grid; gap: 5px; color: var(--muted); font-size: 11px; }
.trial-generator-card input { width: 90px; height: 38px; padding: 0 9px; border: 1px solid var(--line); border-radius: 8px; }
.trial-generator-card button, .password-change-form button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 9px; background: var(--blue); color: white; font-weight: 800; cursor: pointer; }
.password-change-form { margin: 22px 0 12px; display: grid; gap: 14px; text-align: left; }
.password-change-form label { display: grid; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 700; }
.password-change-form input { height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 16px; }
.password-change-logout { margin: 0; }
.login-error { padding: 10px 12px; border-radius: 10px; color: #9b293c !important; background: #fff0f3; border: 1px solid #f2c4ce; }
@media (max-width: 820px) { .trial-generator-card { align-items: stretch; flex-direction: column; } .trial-generator-card form { align-items: stretch; } }


/* V4.10.12 第二阶段：登录页手机竖屏触控细化 */
@media (max-width: 620px) and (orientation: portrait) {
  .site-header,
  .main-content,
  footer { width: calc(100% - 20px); }

  .site-header { min-height: 68px; }
  .brand { gap: 9px; }
  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    font-size: 18px;
  }
  .brand strong { font-size: 18px; }

  .main-content { gap: 12px; }
  .login-card {
    padding: 22px 20px;
    border-radius: 18px;
  }
  .login-heading h2 { margin-bottom: 18px; font-size: 25px; }
  .login-card input {
    height: 48px;
    font-size: 16px;
  }
  .password-toggle {
    min-width: 44px;
    height: 36px;
    top: 6px;
  }
  .login-button {
    height: 50px;
    font-size: 16px;
  }

  .contact-box {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
  }
  .qr-placeholder {
    width: 72px;
    height: 72px;
  }

  .intro-panel { padding: 28px 20px; }
  .intro-panel h1 { font-size: 30px; }
  .service-path { margin-top: 22px; }

  .section-heading h2 { font-size: 22px; line-height: 1.35; }
  .course-copy { padding: 16px; }
  .course-copy strong { font-size: 17px; }

  footer { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}
