/* ==========================================================================
   学想教育科技（南昌）有限公司 —— 官网共用样式
   品牌主色取自原官网：墨绿 #0ea798
   ========================================================================== */

:root {
  --primary: #0ea798;
  --primary-dark: #0a8076;
  --primary-light: #45c5a0;
  --primary-pale: #e8f7f4;
  --gradient: linear-gradient(135deg, #0ea798 0%, #45c5a0 100%);

  --text: #1a1a1a;
  --text-body: #444;
  --text-muted: #888;
  --text-faint: #aaa;

  --border: #e8e8e8;
  --bg-soft: #f7faf9;
  --bg-grey: #f5f6f7;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .05);
  --shadow: 0 6px 24px rgba(0, 0, 0, .07);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, .12);

  --header-h: 72px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

ul, ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s var(--ease);
}

img {
  max-width: 100%;
  display: block;
}

button, input {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

.container {
  width: 1200px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   顶部导航
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo img {
  height: 42px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  position: relative;
  display: inline-block;
  padding: 8px 18px;
  font-size: 15px;
  color: var(--text-body);
  border-radius: var(--radius-pill);
}

.nav a:hover {
  color: var(--primary);
  background: var(--primary-pale);
}

.nav a.active {
  color: var(--primary);
  font-weight: 600;
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
}

.btn-login {
  flex-shrink: 0;
  padding: 9px 26px;
  font-size: 15px;
  color: #fff;
  border-radius: var(--radius-pill);
  background: var(--gradient);
  box-shadow: 0 4px 14px rgba(14, 167, 152, .3);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.btn-login:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(14, 167, 152, .4);
}

/* 已登录：手机号 + 退出 */
.user-box {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.user-phone {
  padding: 8px 18px;
  color: var(--primary-dark);
  font-weight: 500;
  background: var(--primary-pale);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.user-logout {
  color: var(--text-muted);
  font-size: 13.5px;
}

.user-logout:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* 移动端汉堡 */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}

/* --------------------------------------------------------------------------
   通用区块 / 标题
   -------------------------------------------------------------------------- */

.section {
  padding: 80px 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section--grey {
  background: var(--bg-grey);
}

.section-head {
  text-align: center;
  margin-bottom: 52px;
}

.section-head h2 {
  font-size: 34px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--text);
}

.section-head p {
  margin-top: 14px;
  font-size: 15px;
  color: var(--text-muted);
}

.section-head::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 22px auto 0;
  border-radius: 3px;
  background: var(--gradient);
}

.section-head--left {
  text-align: left;
}

.section-head--left::after {
  margin-left: 0;
}

/* --------------------------------------------------------------------------
   按钮
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 34px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all .22s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 6px 18px rgba(14, 167, 152, .28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(14, 167, 152, .38);
}

.btn-outline {
  color: var(--primary);
  background: #fff;
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  color: #fff;
  background: var(--primary);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 16px 44px;
  font-size: 16px;
}

/* --------------------------------------------------------------------------
   首页 Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 96px 0 88px;
  background: linear-gradient(135deg, #eefaf7 0%, #e3f4f9 100%);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.hero::before {
  width: 420px;
  height: 420px;
  right: -120px;
  top: -140px;
  background: radial-gradient(circle, rgba(69, 197, 160, .22), transparent 70%);
}

.hero::after {
  width: 340px;
  height: 340px;
  left: -100px;
  bottom: -160px;
  background: radial-gradient(circle, rgba(14, 167, 152, .16), transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 5px 16px;
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(14, 167, 152, .25);
  border-radius: var(--radius-pill);
}

.hero h1 {
  font-size: 46px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text);
}

.hero h1 em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.9;
  color: #5a6b68;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 44px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(14, 167, 152, .16);
}

.hero-stats .num {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-dark);
}

.hero-stats .label {
  font-size: 13px;
  color: var(--text-muted);
}

.hero-figure {
  position: relative;
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* --------------------------------------------------------------------------
   资讯卡片
   -------------------------------------------------------------------------- */

.news-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.news-feature__media {
  min-height: 320px;
  background: var(--primary-pale);
}

.news-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-feature__body {
  padding: 44px 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-feature__body h3 {
  margin: 14px 0 16px;
  font-size: 25px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--text);
}

.news-feature__body p {
  font-size: 15px;
  line-height: 1.9;
  color: #5f6b69;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-faint);
}

.news-tag {
  padding: 2px 10px;
  font-size: 12px;
  color: var(--primary-dark);
  background: var(--primary-pale);
  border-radius: var(--radius-sm);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  display: flex;
  flex-direction: column;
  padding: 26px 26px 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 167, 152, .35);
  box-shadow: var(--shadow);
}

.news-card:hover h4 {
  color: var(--primary);
}

/* 头条整块可点 */
a.news-feature {
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

a.news-feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

a.news-feature:hover h3 {
  color: var(--primary);
}

.news-card h4 {
  margin: 12px 0 10px;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 600;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card p {
  font-size: 13.5px;
  line-height: 1.85;
  color: #6b7674;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-more {
  margin-top: 40px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   产品卡片
   -------------------------------------------------------------------------- */

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

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

.product-card__media {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: var(--gradient);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}

/* 暂无实拍海报时，用品牌渐变 + 图标统一占位 */
.product-card__media--icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
}

.product-card__media--icon .ico {
  font-size: 54px;
  line-height: 1;
}

.product-card__media--icon .cap {
  font-size: 13px;
  letter-spacing: 3px;
  opacity: .9;
}

.product-card:hover .product-card__media img {
  transform: scale(1.05);
}

.product-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 26px;
}

.product-card__body h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
}

.product-card__body .desc {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.85;
  color: #6b7674;
  flex: 1;
}

.product-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
}

.price {
  color: #e8590c;
  font-weight: 700;
}

.price .unit {
  font-size: 14px;
}

.price .amount {
  font-size: 26px;
  letter-spacing: -.5px;
}

.product-card__foot .link {
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
}

.product-card:hover .product-card__foot .link {
  color: var(--primary-dark);
}

.product-card__foot .link::after {
  content: " →";
  transition: margin-left .2s var(--ease);
}

/* --------------------------------------------------------------------------
   课程体系
   -------------------------------------------------------------------------- */

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

.ability-card {
  padding: 40px 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.ability-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.ability-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  border-radius: 14px;
  background: var(--gradient);
}

.ability-card h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--text);
}

.ability-card p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.9;
  color: #6b7674;
}

/* 教学流程表 */
.flow-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.flow-table th,
.flow-table td {
  padding: 20px 24px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

.flow-table thead th {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-soft);
}

.flow-table tbody tr:last-child th,
.flow-table tbody tr:last-child td {
  border-bottom: none;
}

.flow-table tbody th {
  width: 120px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-dark);
  background: #fbfdfd;
}

.flow-table td {
  color: #5f6b69;
  line-height: 2;
}

.flow-table td span {
  display: inline-block;
  margin-right: 22px;
}

/* L1-L12 阶梯 */
.level-track {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.level-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 46px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
  background: #fff;
  border: 1px solid rgba(14, 167, 152, .3);
  border-radius: var(--radius-sm);
  transition: all .22s var(--ease);
}

.level-chip:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.level-phases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 44px;
}

.level-phase {
  padding: 18px 20px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(14, 167, 152, .35);
}

.level-phase strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  color: var(--primary-dark);
}

.memory-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.method-card {
  padding: 34px 30px;
  text-align: center;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.method-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.method-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.method-card p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.9;
  color: #6b7674;
}

/* --------------------------------------------------------------------------
   商城：视频播放器
   -------------------------------------------------------------------------- */

.player-wrap {
  max-width: 880px;
  margin: 0 auto;
}

.player {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #101614;
  box-shadow: var(--shadow-lg);
}

.player video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #101614;
  object-fit: contain;
}

/* 无视频源时的模拟画面 */
.player__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  color: rgba(255, 255, 255, .82);
  background:
    radial-gradient(circle at 30% 25%, rgba(69, 197, 160, .28), transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(14, 167, 152, .3), transparent 55%),
    #101614;
  text-align: center;
  padding: 24px;
}

.player__stage .stage-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
}

.player__stage .stage-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, .55);
}

.player__stage .stage-icon {
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  font-size: 26px;
}

.player__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 20, 18, .72);
  backdrop-filter: blur(3px);
  z-index: 5;
  text-align: center;
  padding: 24px;
}

.player__overlay[hidden] {
  display: none;
}

.player__overlay .lock-box {
  max-width: 380px;
}

.player__overlay .lock-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.player__overlay h3 {
  font-size: 21px;
  color: #fff;
  font-weight: 600;
}

.player__overlay p {
  margin: 10px 0 22px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .72);
}

/* 播放进度条 */
.player__bar {
  position: relative;
  height: 5px;
  background: rgba(255, 255, 255, .14);
}

.player__bar-fill {
  height: 100%;
  width: 0;
  background: var(--gradient);
  transition: width .3s linear;
}

.player__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  font-size: 13px;
  color: var(--text-muted);
}

.player__meta .watched strong {
  color: var(--primary-dark);
  font-weight: 600;
}

.player__controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  justify-content: center;
  flex-wrap: wrap;
}

.ctrl-btn {
  padding: 10px 24px;
  font-size: 14px;
  color: var(--text-body);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all .2s var(--ease);
}

.ctrl-btn:hover:not(:disabled) {
  color: var(--primary);
  border-color: var(--primary);
}

.ctrl-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.ctrl-btn--play {
  color: #fff;
  background: var(--gradient);
  border-color: transparent;
  padding: 10px 34px;
}

.ctrl-btn--play:hover:not(:disabled) {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(14, 167, 152, .3);
}

/* --------------------------------------------------------------------------
   弹窗
   -------------------------------------------------------------------------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(16, 24, 22, .55);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s var(--ease);
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__dialog {
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(.98);
  transition: transform .3s var(--ease);
}

.modal.is-open .modal__dialog {
  transform: translateY(0) scale(1);
}

/* 头部与底部按钮在弹窗内固定，滚动时始终可见/可点 */
.modal__head {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 24px 28px 20px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal__head h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
}

.modal__head p {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-muted);
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  color: var(--text-faint);
  background: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all .2s var(--ease);
}

.modal__close:hover {
  color: var(--text);
  background: var(--bg-grey);
}

.modal__body {
  padding: 24px 28px;
}

.modal__foot {
  position: sticky;
  bottom: 0;
  z-index: 2;
  padding: 16px 28px 26px;
  background: #fff;
  border-top: 1px solid var(--border);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.modal__foot .agree-row {
  margin: 0 0 14px;
}

/* 弹窗内商品信息 */
.order-product {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg-soft);
  border-radius: var(--radius);
}

.order-product__thumb {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border-radius: var(--radius-sm);
  background: var(--gradient);
}

.order-product__info {
  flex: 1;
  min-width: 0;
}

.order-product__info .name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.order-product__info .spec {
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.order-product__price {
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 700;
  color: #e8590c;
}

.order-block {
  margin-top: 22px;
}

.order-block__title {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.order-services {
  padding: 4px 0;
}

.order-services li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 13.5px;
  line-height: 1.75;
  color: #5f6b69;
}

.order-services li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient);
}

.qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  background: var(--bg-soft);
  border: 1px dashed rgba(14, 167, 152, .4);
  border-radius: var(--radius);
}

.qr-box img,
.qr-box svg {
  width: 160px;
  height: 160px;
  padding: 8px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.qr-box .tip {
  font-size: 13px;
  color: var(--text-muted);
}

.qr-box .tip strong {
  color: var(--primary-dark);
}

/* 协议勾选 */
.agree-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 20px 0 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
}

.agree-row input[type="checkbox"] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  accent-color: var(--primary);
  cursor: pointer;
}

.agree-row label {
  cursor: pointer;
}

.agree-row a {
  color: var(--primary);
}

.agree-row a:hover {
  text-decoration: underline;
}

.agree-row.is-error {
  animation: shake .4s var(--ease);
}

.agree-row.is-error label {
  color: #d9463f;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* --------------------------------------------------------------------------
   商品详情页
   -------------------------------------------------------------------------- */

.detail-hero {
  padding: 64px 0;
  background: linear-gradient(135deg, #eefaf7 0%, #e3f4f9 100%);
}

.detail-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.detail-hero h1 {
  margin: 14px 0 18px;
  font-size: 38px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--text);
}

.detail-hero .lead {
  font-size: 16px;
  line-height: 1.9;
  color: #5a6b68;
}

.detail-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 26px 0 8px;
}

.detail-price .amount {
  font-size: 40px;
  font-weight: 700;
  color: #e8590c;
  letter-spacing: -1px;
}

.detail-price .amount small {
  font-size: 20px;
}

.detail-price .origin {
  font-size: 15px;
  color: var(--text-faint);
  text-decoration: line-through;
}

.detail-price .save {
  padding: 3px 12px;
  font-size: 13px;
  color: #fff;
  background: #e8590c;
  border-radius: var(--radius-sm);
}

.detail-actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.detail-figure img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.detail-figure--ph {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  border-radius: var(--radius-lg);
  background: var(--gradient);
  box-shadow: var(--shadow-lg);
}

.detail-figure--ph .ico {
  font-size: 64px;
}

.info-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.info-item {
  display: flex;
  gap: 12px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.info-item .ico {
  flex-shrink: 0;
  font-size: 20px;
}

.info-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.info-item p {
  margin-top: 4px;
  font-size: 13.5px;
  line-height: 1.8;
  color: #6b7674;
}

.buy-bar {
  position: sticky;
  bottom: 0;
  z-index: 50;
  padding: 16px 0;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
}

.buy-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.buy-bar .name {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.buy-bar .name span {
  margin-left: 12px;
  font-size: 22px;
  color: #e8590c;
}

/* --------------------------------------------------------------------------
   关于我们
   -------------------------------------------------------------------------- */

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-intro h2 {
  font-size: 32px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--text);
}

.about-intro p {
  margin-top: 20px;
  font-size: 15.5px;
  line-height: 2.1;
  color: #5f6b69;
}

.about-figure {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 30%, rgba(69, 197, 160, .5), transparent 60%),
    linear-gradient(135deg, #0ea798 0%, #45c5a0 100%);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  color: #fff;
  text-align: center;
}

.about-figure .big {
  font-size: 64px;
}

.about-figure .txt {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 4px;
}

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

.value-card {
  position: relative;
  padding: 48px 34px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform .3s var(--ease);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.value-card:hover::before {
  transform: scaleX(1);
}

.value-card .ico {
  font-size: 40px;
}

.value-card h3 {
  margin-top: 16px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

.value-card .slogan {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-dark);
}

.value-card p {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.9;
  color: #6b7674;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.about-stats .item {
  text-align: center;
  padding: 34px 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.about-stats .num {
  font-size: 34px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -1px;
}

.about-stats .num sub {
  font-size: 16px;
  vertical-align: baseline;
}

.about-stats .label {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   登录 / 注册
   -------------------------------------------------------------------------- */

.auth {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  background: linear-gradient(135deg, #eefaf7 0%, #e3f4f9 100%);
  overflow: hidden;
}

.auth::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(69, 197, 160, .24), transparent 70%);
}

.auth-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 44px 42px 38px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.auth-card h1 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
}

.auth-card .sub {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-muted);
}

/* 登录/注册切换 */
.auth-tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  margin: 26px 0 26px;
  background: var(--bg-grey);
  border-radius: var(--radius-pill);
}

.auth-tabs button {
  flex: 1;
  padding: 10px 0;
  font-size: 15px;
  color: var(--text-muted);
  background: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all .22s var(--ease);
}

.auth-tabs button.is-active {
  font-weight: 600;
  color: var(--primary-dark);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
}

.field input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  font-size: 14.5px;
  color: var(--text);
  background: var(--bg-grey);
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: all .2s var(--ease);
}

.field input::placeholder {
  color: #b4bcba;
}

.field input:focus {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 167, 152, .12);
}

.field.is-error input {
  border-color: #d9463f;
  background: #fef6f5;
}

.field .err {
  display: none;
  margin-top: 6px;
  font-size: 12.5px;
  color: #d9463f;
}

.field.is-error .err {
  display: block;
}

.auth-submit {
  width: 100%;
  height: 50px;
  margin-top: 6px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--gradient);
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(14, 167, 152, .28);
  transition: all .22s var(--ease);
}

.auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(14, 167, 152, .38);
}

.auth-alt {
  margin-top: 22px;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-muted);
}

.auth-alt a {
  color: var(--primary);
  font-weight: 500;
}

.auth-alt a:hover {
  text-decoration: underline;
}

/* 表单提示气泡
   放在顶部居中：底部会与固定购买条、弹窗支付按钮重叠 */
.toast {
  position: fixed;
  left: 50%;
  top: calc(var(--header-h) + 16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 40px);
  padding: 13px 26px;
  font-size: 14px;
  text-align: center;
  color: #fff;
  background: rgba(26, 34, 32, .92);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, -20px);
  opacity: 0;
  visibility: hidden;
  transition: all .3s var(--ease);
}

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

.toast.is-success {
  background: rgba(14, 167, 152, .96);
}

.toast.is-error {
  background: rgba(217, 70, 63, .96);
}

/* --------------------------------------------------------------------------
   协议 / 政策文档页
   -------------------------------------------------------------------------- */

.doc-simple {
  padding: 56px 0 80px;
}

.doc-simple__inner {
  max-width: 860px;
  margin: 0 auto;
}

.doc-simple h1 {
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
}

.doc-simple .doc-date {
  margin-top: 10px;
  margin-bottom: 40px;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-faint);
}

.doc-simple h2 {
  margin: 34px 0 12px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  padding-left: 13px;
  border-left: 3px solid var(--primary);
  line-height: 1.4;
}

.doc-simple h3.doc-h3 {
  margin: 26px 0 10px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--primary-dark);
}

.doc-simple p,
.doc-simple li {
  font-size: 14.5px;
  line-height: 2.05;
  color: #4a5a57;
}

.doc-simple ul {
  padding-left: 4px;
}

.doc-simple ul li {
  position: relative;
  padding-left: 18px;
}

.doc-simple ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary-light);
}

.doc-back {
  margin-top: 46px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   页脚
   -------------------------------------------------------------------------- */

.site-footer {
  padding: 60px 0 0;
  color: rgba(255, 255, 255, .62);
  background: #1d2b28;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-brand .logo-text {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .5px;
}

.footer-brand .slogan {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .55);
}

.footer-contact {
  margin-top: 20px;
}

.footer-contact .phone {
  font-size: 24px;
  font-weight: 700;
  color: #45c5a0;
  letter-spacing: .5px;
}

.footer-contact .time {
  margin-top: 4px;
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
}

.footer-col h4 {
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.footer-col li {
  margin-bottom: 11px;
}

.footer-col a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .6);
}

.footer-col a:hover {
  color: #45c5a0;
}

.footer-bottom {
  padding: 26px 0 30px;
  font-size: 13px;
  line-height: 2;
  color: rgba(255, 255, 255, .45);
  text-align: center;
}

.footer-bottom .company {
  font-size: 14px;
  color: rgba(255, 255, 255, .72);
  font-weight: 500;
}

.footer-bottom .lines span {
  display: inline-block;
  margin: 0 10px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, .45);
}

.footer-bottom a:hover {
  color: #45c5a0;
}

/* --------------------------------------------------------------------------
   滚动进入动画
   -------------------------------------------------------------------------- */

/* 仅在 JS 可用时启用入场动画：.js 类由各页 <head> 内联脚本添加。
   这样禁用 JS / 爬虫抓取时内容依然是完整可见的，不会出现空白页。 */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* --------------------------------------------------------------------------
   响应式
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .container {
    width: 100%;
  }

  .hero-inner,
  .about-intro,
  .detail-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .news-feature {
    grid-template-columns: 1fr;
  }

  .news-feature__media {
    min-height: 220px;
  }

  .news-grid,
  .product-grid,
  .ability-grid,
  .memory-methods,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

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

  .info-list {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }

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

  .section-head h2 {
    font-size: 26px;
  }

  .hero {
    padding: 56px 0 52px;
  }

  .hero h1 {
    font-size: 29px;
  }

  .hero-stats {
    gap: 26px;
    flex-wrap: wrap;
  }

  .hero-stats .num {
    font-size: 23px;
  }

  /* 移动端导航 */
  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: all .25s var(--ease);
  }

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

  .nav a {
    padding: 13px 10px;
    border-radius: var(--radius-sm);
  }

  .nav a.active::after {
    display: none;
  }

  .btn-login {
    margin-left: 0;
    padding: 8px 20px;
    font-size: 14px;
  }

  .news-grid,
  .product-grid,
  .ability-grid,
  .memory-methods,
  .values-grid,
  .about-stats {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom .lines span {
    display: block;
    margin: 0;
  }

  .auth-card {
    padding: 32px 24px 28px;
  }

  .detail-hero h1 {
    font-size: 28px;
  }

  .news-feature__body {
    padding: 28px 24px;
  }

  .news-feature__body h3 {
    font-size: 20px;
  }

  .modal__dialog {
    max-width: 100%;
  }

  .modal__head,
  .modal__body,
  .modal__foot {
    padding-left: 20px;
    padding-right: 20px;
  }

  .info-list {
    grid-template-columns: 1fr;
  }

  .level-chip {
    width: 50px;
    height: 42px;
  }
}
