/* =================================================================
   page2.css — 富得贵金属产品/核心优势/交易平台/教育学院页
   响应式断点继承 style.css 变量
   ================================================================= */

.page2 {
  background: #fff;
}

/* ========== Header (白色主题 · 对齐设计稿) ========== */
.p2-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(28, 27, 27, .06);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 rgba(28, 27, 27, .04);
}

.p2-header-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
  height: 66px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.p2-header .brand-name {
  color: #1c1b1b;
  font-weight: 700;
  letter-spacing: 1px;
}

.brand-dark {
  color: #1c1b1b !important;
}

.p2-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  align-items: center;
  gap: 40px;
  height: 100%;
}

/* 移动端三段式结构：桌面默认隐藏 head/foot，body 透明化让链接回到 flex 主轴 */
.p2-nav .nav-mobile-head,
.p2-nav .nav-mobile-foot { display: none; }
.p2-nav .nav-mobile-body { display: contents; }

.p2-nav-link {
  color: #1c1b1b;
  font-size: 16px;
  font-weight: 500;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  padding: 0 2px;
  letter-spacing: -.4px;
  line-height: 24px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color .2s;
}

.p2-nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform .25s;
}

.p2-nav-link.active {
  color: var(--red);
  font-weight: 700;
}

.p2-nav-link:hover {
  color: var(--red);
}

.p2-nav-link.active::after,
.p2-nav-link:hover::after {
  transform: scaleX(1);
}

.p2-nav .nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.p2-nav .nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.p2-nav .nav-arrow {
  font-size: 9px;
  opacity: .55;
  transition: transform .25s;
  color: currentColor;
}

.p2-nav .nav-dropdown:hover .nav-arrow {
  transform: rotate(180deg);
}

.p2-nav .nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #fff;
  min-width: 180px;
  padding: 8px 0;
  box-shadow: 0 18px 36px rgba(28, 27, 27, .14);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, visibility .2s, transform .2s;
  z-index: 60;
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: 8px;
}

.p2-nav .nav-dropdown:hover .nav-dropdown-menu,
.p2-nav .nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.p2-nav .nav-dropdown-menu a {
  display: block;
  padding: 10px 22px;
  color: #1c1b1b;
  font-size: 14px;
  white-space: nowrap;
  transition: background .15s, color .15s;
}

.p2-nav .nav-dropdown-menu a:hover {
  background: #f6f3f2;
  color: var(--red);
}

.p2-header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.p2-header .header-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.p2-header .header-icons img {
  width: 20px;
  height: 20px;
  filter: brightness(0) saturate(100%) invert(18%);
  opacity: .75;
  transition: opacity .2s;
}

.p2-header .header-icons img:hover {
  opacity: 1;
}

.p2-header .header-cta {
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  height: 40px;
  padding: 0 22px;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(183, 0, 12, .25);
}

.p2-header .header-cta:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* 汉堡菜单在白色 header 下为深色 */
.p2-header .nav-toggle span {
  background: #1c1b1b;
}

/* ========== 行情 Ticker Bar ========== */
.ticker-bar {
  background: #1c1b1b;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  height: 47px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: 48px;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  max-width: var(--container-wide);
  padding: 0 24px;
}

.tick {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  line-height: 1;
}

.tick em {
  color: rgba(255, 255, 255, .55);
  font-style: normal;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
}

.tick b,
.tick .tick-price {
  color: #fff;
  font-family: "Inter", "Afacad", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.tick i,
.tick .tick-change {
  font-style: normal;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .02em;
}

.tick .tick-change.up,
.tick i.up {
  color: #00b23e;
}

.tick .tick-change.down,
.tick i.down {
  color: #e60012;
}

/* ========== 通用标题块 ========== */
.p2-hd {
  text-align: center;
  padding: 0 24px;
  margin-bottom: clamp(36px, 4.5vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.p2-hd-title {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 2.4px;
  line-height: 1.2;
  margin-bottom: 0;
}

.p2-hd-sub {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1.5;
  margin: 0;
}

.p2-hd:not(.p2-hd-light):not(.p2-hd-dark) .p2-hd-title {
  color: #fff;
}

.p2-hd:not(.p2-hd-light):not(.p2-hd-dark) .p2-hd-sub {
  color: rgba(255, 255, 255, .85);
}

.p2-hd-light .p2-hd-title {
  color: #1e1e1e;
}

.p2-hd-light .p2-hd-sub {
  color: var(--muted);
}

.p2-hd-dark .p2-hd-title {
  color: #fff;
  font-size: 40px;
  letter-spacing: -1.2px;
  line-height: 1.2;
  font-weight: 700;
}

.p2-hd-dark .p2-hd-sub {
  color: rgba(255, 255, 255, .7);
  font-size: 16px;
  line-height: 1.6;
}

/* ========== 贵金属投资产品（Hero） ========== */
.p2-products {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 8vw, 110px) 0;
  background: #1a0306;
  min-height: 708px;
}

.p2-products-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 1;
  z-index: 0;
  pointer-events: none;
}

.p2-products-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-wide);
  margin: 0 auto;
}

.p2-products .p2-hd {
  margin-bottom: 56px;
}

.p2-products .p2-hd-title {
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}

.p2-products .p2-hd-sub {
  color: rgba(255, 255, 255, .85);
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0 24px;
  margin: 0 auto;
}

.product-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, .06) 100%);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 20px;
  padding: 36px 32px 28px 56px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 14px;
  color: #fff;
  transition: transform .3s, border-color .3s, background-color .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 220, 128, .14), transparent 55%);
  pointer-events: none;
  opacity: .6;
  transition: opacity .3s;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 220, 128, .4);
  background: linear-gradient(180deg, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, .08) 100%);
  box-shadow: 0 28px 58px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .15);
}

.product-card:hover::before {
  opacity: 1;
}

.product-icon {
  width: 96px;
  height: 87px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 8px;
  filter: drop-shadow(0 10px 22px rgba(255, 180, 50, .25));
}

.product-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-icon--gold {
  filter: drop-shadow(0 10px 22px rgba(255, 220, 128, .45));
}

.product-icon--silver {
  filter: drop-shadow(0 10px 22px rgba(210, 215, 225, .38));
}

.product-icon--platinum {
  filter: drop-shadow(0 10px 22px rgba(220, 200, 170, .35));
}

.product-card h3 {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 1.4px;
  line-height: 1.3;
  color: #fff;
}

.product-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, .85);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: .02em;
  margin-bottom: 6px;
}

.product-feats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 4px;
}

.product-feats li {
  color: rgba(255, 255, 255, .92);
  font-size: 14px;
  line-height: 1.55;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
  text-align: left;
}

.product-feats li::before {
  content: '✓';
  color: #ffdc80;
  font-weight: 700;
  font-size: 15px;
  width: 16px;
  flex-shrink: 0;
  text-shadow: 0 0 8px rgba(255, 220, 128, .5);
}

.product-foot {
  width: 100%;
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: rgba(255, 255, 255, .85);
}

.product-spread b {
  color: #ffdc80;
  font-weight: 900;
  font-size: 18px;
  margin-left: 4px;
  font-family: "Inter", "Afacad", sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}

.product-more {
  color: #ffdc80;
  font-weight: 600;
  font-size: 14px;
  transition: letter-spacing .2s, color .2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.product-more:hover {
  letter-spacing: .06em;
  color: #fff;
}

/* ========== 核心优势 4×2 网格 ========== */
.p2-core {
  background: #fff;
  padding: 96px 0 100px;
}

.p2-core .p2-hd {
  margin-bottom: 48px;
}

.p2-core .p2-hd-title {
  color: #1c1b1b;
  font-size: 48px;
  letter-spacing: 2.4px;
  line-height: 1.2;
}

.p2-core .p2-hd-sub {
  color: #5f3f3b;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 1px;
}

.p2-core-grid {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 290px;
  gap: 2px;
  overflow: hidden;
}

.core-cell {
  background: #1e1e1e url('../images/majia2/grid_item_bg.webp') center/cover no-repeat;
  padding: 42px 40px;
  position: relative;
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  transition: transform .3s, background-color .3s;
}

.core-cell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .1) 55%, transparent 100%);
  z-index: 1;
}

.core-cell::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 80%, rgba(230, 0, 18, .15) 0%, transparent 60%);
  z-index: 1;
  opacity: 0;
  transition: opacity .35s;
}

.core-cell:hover {
  transform: translateY(-4px);
  z-index: 5;
}

.core-cell:hover::after {
  opacity: 1;
}

.core-3d {
  position: absolute;
  bottom: 0px;
  right: 18px;
  width: 160px;
  height: 160px;
  object-fit: contain;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 10px 22px rgba(230, 0, 18, .35)) drop-shadow(0 0 30px rgba(230, 0, 18, .15));
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), filter .4s;
}

.core-cell:hover .core-3d {
  transform: scale(1.08) rotate(-4deg) translateY(-4px);
  filter: drop-shadow(0 16px 30px rgba(230, 0, 18, .5)) drop-shadow(0 0 40px rgba(230, 0, 18, .25));
}

.core-cell h4 {
  position: relative;
  z-index: 3;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  margin-bottom: 0;
  max-width: 60%;
  color: #fff;
  letter-spacing: .5px;
}

.core-cell p {
  position: relative;
  z-index: 3;
  font-size: 14px;
  color: rgba(255, 255, 255, .78);
  font-weight: 400;
  line-height: 1.7;
  max-width: 58%;
  letter-spacing: .02em;
}

/* ========== 市场行情 + 财经日历 ========== */
.p2-market {
  background: #f6f3f2;
  padding: 72px 0 96px;
}

.p2-market-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 441px;
  gap: 32px;
  align-items: stretch;
}

.chart-card,
.calendar-card {
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.chart-card {
  padding: 32px;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
}

.chart-card .chart-tabs {
  padding: 0;
}

.chart-card .chart-body {
  padding: 0;
}

.calendar-card {
  padding: 32px;
}

.chart-tabs {
  display: flex;
  gap: 35px;
  border-bottom: 1px solid #eae7e7;
  margin-bottom: 0;
  padding-bottom: 0;
}

.chart-tab {
  padding: 12px 0 14px;
  font-size: 16px;
  color: #5f3f3b;
  font-weight: 500;
  position: relative;
  transition: color .2s;
}

.chart-tab::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform .25s;
}

.chart-tab.active,
.chart-tab:hover {
  color: var(--red);
  font-weight: 700;
}

.chart-tab.active::after,
.chart-tab:hover::after {
  transform: scaleX(1);
}

.chart-body {
  position: relative;
  height: 551px;
  min-height: 450px;
  background: rgba(28, 27, 27, 0.05);
  overflow: hidden;
}

#p2Chart {
  width: 100%;
  height: 100%;
}
/* 注：TradingView 水印隐藏已统一由 style.css 的 .tv-lightweight-charts 规则 +
   JS chartOptions 里的 attributionLogo:false 处理，这里不再重复定义 */

/* 价格信息行 · 2×2 格子，每格浅灰卡片（对齐设计稿） */
.chart-price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 14px;
  column-gap: 14px;
  padding: 24px 0 32px;
  border-top: 1px solid #eae7e7;
  margin: 0;
}

.chart-price-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px;
  background: #f6f3f2;
  border-radius: 2px;
}

/* 标签和数值统一字号/颜色（用户要求） */
.chart-price-label,
.chart-price-val {
  font-size: 18px;
  font-weight: 500;
  color: #1c1b1b;
  letter-spacing: .02em;
  line-height: 1.2;
}

.chart-price-val {
  font-family: "Inter", "Afacad", sans-serif;
  font-variant-numeric: tabular-nums;
}

/* 财经日历 */
.calendar-card {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cal-head h3 {
  font-size: 32px;
  font-weight: 900;
  color: #1c1b1b;
  letter-spacing: -.02em;
  line-height: 1;
}

.live-dot {
  background: rgba(183, 0, 12, 0.08);
  color: var(--red);
  font-weight: 700;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 4px;
  letter-spacing: .12em;
}

.cal-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

.cal-item {
  padding-bottom: 24px;
  border-bottom: 1px solid #eae7e7;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cal-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cal-time-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cal-time {
  font-family: "Afacad", "Inter", "Noto Sans SC", sans-serif;
  color: #5f3f3b;
  font-size: 13px;
  font-weight: 500;
}

.cal-stars {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}

.cal-stars .s {
  width: 12px;
  height: 12px;
  display: inline-block;
  background: #e2dcd9;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  transition: background-color .2s;
}

.cal-stars .s.on {
  background: var(--red);
}

.cal-title {
  color: #1c1b1b;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: .02em;
}

.cal-data {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  font-size: 12px;
  letter-spacing: .04em;
}

.cal-data span {
  display: flex;
  gap: 4px;
  align-items: baseline;
}

.cal-data em {
  color: #5f3f3b;
  font-style: normal;
  font-weight: 400;
}

.cal-data span:nth-child(-n+2) {
  color: #5f3f3b;
}

.cal-data span:last-child {
  color: #1c1b1b;
  font-weight: 500;
}

.cal-data span:last-child b {
  font-weight: 700;
}

.cal-note {
  color: #5f3f3b;
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: .02em;
}

.cal-loading,
.cal-empty {
  text-align: center;
  color: #5f3f3b;
  font-size: 14px;
  padding: 32px 0;
}

.cal-loading::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid #d9d0cf;
  border-top-color: var(--red);
  border-radius: 50%;
  animation: calSpin .8s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
}

@keyframes calSpin {
  to {
    transform: rotate(360deg);
  }
}

.cal-more {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #1c1b1b;
  color: #1c1b1b;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .08em;
  height: 50px;
  padding: 0 17px;
  width: 100%;
  border-radius: 2px;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}

.cal-more:hover {
  background: #1c1b1b;
  color: #fff;
}

/* ========== 贵金属交易平台 ========== */
.p2-platform {
  position: relative;
  overflow: hidden;
  background: #0c0c0c;
  padding: clamp(72px, 8vw, 120px) 0;
}

.p2-platform-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .6;
  z-index: 0;
}

.p2-platform::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 55%, rgba(230, 0, 18, .08) 0%, transparent 55%),
    linear-gradient(135deg, rgba(0, 0, 0, .75) 0%, rgba(10, 10, 10, .45) 60%, rgba(0, 0, 0, .85) 100%);
  z-index: 1;
  pointer-events: none;
}

.p2-platform-inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.p2-platform .p2-hd {
  margin-bottom: 36px;
}

.p2-platform .p2-hd-title {
  color: #fff;
  font-size: 40px;
  letter-spacing: -1.2px;
  line-height: 1.2;
  font-weight: 700;
}

.p2-platform .p2-hd-sub {
  color: rgba(255, 255, 255, .7);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: .5px;
}

.plat-top-btns {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 72px;
}

.plat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 187px;
  height: 58px;
  padding: 0 36px;
  border-radius: 40px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  transition: transform .2s, filter .2s, box-shadow .2s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.plat-btn--red {
  background: linear-gradient(180deg, #fd4242 0%, #e41928 100%);
  box-shadow: 0 14px 30px rgba(228, 25, 40, .4);
}

.plat-btn--red:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 18px 38px rgba(228, 25, 40, .55);
}

.plat-btn--blue {
  background: linear-gradient(180deg, #5b6875 0%, #3a4653 100%);
  box-shadow: 0 14px 30px rgba(54, 67, 80, .35);
}

.plat-btn--blue:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.plat-btn--outline-red {
  background: transparent;
  border: 1.5px solid #e41928;
  color: #e41928;
  box-shadow: none;
}

.plat-btn--outline-red:hover {
  background: rgba(228, 25, 40, .12);
  color: #fff;
  transform: translateY(-2px);
}

.plat-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 640px;
  gap: 56px;
  align-items: center;
}

.plat-main-title {
  font-size: 64px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1.6px;
  line-height: 1.15;
  margin-bottom: 24px;
}

.plat-main-title .dot-red {
  color: #e60012;
  font-size: 1.2em;
  margin-left: -4px;
}

.plat-main-desc {
  color: rgba(255, 255, 255, .65);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 520px;
  letter-spacing: .03em;
}

.plat-feats {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 44px;
}

.plat-feats li {
  padding: 4px 0 4px 24px;
  border-left: 3px solid rgba(255, 255, 255, .08);
  transition: border-color .3s, transform .3s;
  cursor: pointer;
}

.plat-feats li.on {
  border-left-color: #e60012;
  border-left-width: 3px;
}

.plat-feats li:hover {
  border-left-color: #e60012;
  transform: translateX(4px);
}

.plat-feats h4 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
  margin-bottom: 4px;
  letter-spacing: .5px;
}

.plat-feats p {
  color: rgba(255, 255, 255, .45);
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: .02em;
}

.plat-cta {
  display: flex;
  gap: 18px;
}

.plat-cta .plat-btn {
  min-width: 150px;
  height: 50px;
  font-size: 16px;
  padding: 0 28px;
}

.plat-right {
  max-width: 100%;
}

.video-card {
  position: relative;
  background: linear-gradient(180deg, #1e1e1e 0%, #151515 100%);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  padding: 50px 51px 46px;
  min-height: 530px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 32px 60px rgba(0, 0, 0, .45);
}

.video-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 35%, rgba(230, 0, 18, .08), transparent 55%);
}

.video-cover {
  width: 100%;
  height: 340px;
  object-fit: cover;
  position: relative;
  z-index: 1;
  display: block;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .45);
}

.video-play {
  position: absolute;
  top: calc(32px + 170px - 52px);
  left: 50%;
  transform: translateX(-50%);
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: rgba(183, 0, 12, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .25s, background-color .25s;
  box-shadow: 0 12px 40px rgba(183, 0, 12, .55);
  z-index: 2;
  border: none;
}

.video-play:hover {
  transform: translateX(-50%) scale(1.08);
  background: var(--red);
}

.video-play::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .22);
  animation: playPulse 2s infinite;
}

@keyframes playPulse {
  0% {
    transform: scale(1);
    opacity: .75;
  }

  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.video-actions {
  display: flex;
  gap: 30px;
  justify-content: stretch;
  position: relative;
  z-index: 1;
  padding-top: 36px;
  width: 100%;
}

.video-action {
  flex: 1 1 0;
  min-width: 0;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .35);
  color: rgba(255, 255, 255, .85);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: none;
  border-radius: 2px;
  background: transparent;
  transition: background-color .2s, color .2s, border-color .2s;
  cursor: pointer;
}

.video-action:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: #fff;
}

/* ========== 投资教育学院 ========== */
.p2-edu {
  position: relative;
  overflow: hidden;
  padding: 96px 0 100px;
  background: #ffffff;
}

.p2-edu-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  z-index: 0;
  pointer-events: none;
}

.p2-edu-inner {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
}

.p2-edu .p2-hd {
  margin-bottom: 48px;
  text-align: left;
  padding: 0 24px;
  align-items: flex-start;
  gap: 10px;
}

/* 提升特异性，压制 .p2-hd:not(.p2-hd-light):not(.p2-hd-dark) 的 color:#fff */
.p2-edu .p2-hd.p2-hd-light .p2-hd-title,
.p2-edu .p2-hd .p2-hd-title {
  color: #1c1b1b;
  font-size: 48px;
  letter-spacing: 2.4px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: none;
}

.p2-edu .p2-hd.p2-hd-light .p2-hd-sub,
.p2-edu .p2-hd .p2-hd-sub {
  color: #5f3f3b;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: .5px;
}

.edu-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  padding: 0 24px;
}

.edu-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  /* 双层阴影：近景轮廓 + 远景漂浮，让卡片在浅色背景上有明显悬浮感 */
  box-shadow:
    0 2px 6px rgba(28, 27, 27, .06),
    0 18px 44px rgba(28, 27, 27, .12);
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}

.edu-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 4px 10px rgba(28, 27, 27, .08),
    0 30px 60px rgba(28, 27, 27, .18);
}

.edu-cover {
  position: relative;
  height: 256px;
  overflow: hidden;
  background: #2a2a2a;
}

.edu-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}

.edu-card:hover .edu-cover img {
  transform: scale(1.06);
}

.edu-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 5px 14px;
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}

.edu-tag--red {
  background: var(--red);
}

.edu-tag--orange {
  background: #d3610b;
}

.edu-tag--blue {
  background: #0058b2;
}

/* chip 与 rating 同水平线 */
.edu-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 26px 0;
}

.edu-chip {
  display: inline-block;
  background: #D9D9D9;
  color: #777777;
  font-weight: bold;
  font-size: 15px;
  padding: 4px 14px;
  border-radius: 3px;
  line-height: 22px;
  letter-spacing: .04em;
}

/* 兼容旧结构（chip 不在 .edu-meta 里时） */
.edu-card>.edu-chip {
  margin: 22px 26px 0;
  align-self: flex-start;
}

.edu-card h3 {
  margin: 14px 26px 10px;
  font-size: 22px;
  font-weight: 700;
  color: #1c1b1b;
  line-height: 1.35;
  letter-spacing: .03em;
}

.edu-card>p {
  margin: 0 26px 24px;
  color: #6b5854;
  font-size: 14px;
  line-height: 1.7;
}

.edu-foot {
  margin-top: auto;
  padding: 18px 26px 24px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.edu-rating {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.edu-rating .s {
  width: 14px;
  height: 14px;
  display: inline-block;
  background: #e2ddda;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.edu-rating .s.on {
  background: var(--red);
}

.edu-link {
  color: #1c1b1b;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .03em;
  line-height: 20px;
  transition: color .2s, letter-spacing .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.edu-link:hover {
  color: var(--red);
  letter-spacing: .08em;
}

/* ========== CTA 区：page2 专属按钮颜色 ========== */
.p2-cta {
  padding: 0;
  min-height: 442px;
  background: #9d0814;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.p2-cta .cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  z-index: 0;
  mix-blend-mode: normal;
  pointer-events: none;
}

.p2-cta::after {
  display: none;
}

.p2-cta .cta-dividers {
  display: none;
}

.cta-inner--center {
  justify-content: center;
  text-align: center;
  flex-direction: column;
  gap: 28px;
  z-index: 2;
  position: relative;
  padding: 60px 24px;
}

.cta-inner--center .cta-text {
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.p2-cta .cta-text h2 {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.25;
  margin-bottom: 0;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .2);
}

.p2-cta .cta-text p {
  font-size: 18px;
  color: rgba(255, 255, 255, .85);
  line-height: 1.6;
  letter-spacing: .04em;
  margin: 0;
}

.p2-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 177px;
  height: 58px;
  padding: 0 48px;
  background: #fff;
  color: var(--red);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
  transition: transform .2s, background-color .2s, color .2s, box-shadow .2s;
  border-radius: 2px;
}

.p2-cta-primary:hover {
  transform: translateY(-2px);
  background: #fff4d1;
  color: var(--red);
  box-shadow: 0 26px 48px rgba(0, 0, 0, .35);
}

.p2-cta .cta-actions {
  gap: 20px;
  padding-top: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.p2-cta .cta-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #fff;
  color: #fff;
  height: 58px;
  min-width: 177px;
  padding: 0 48px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
  background: transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color .2s, transform .2s;
}

.p2-cta .cta-ghost:hover {
  background: rgba(255, 255, 255, .15);
  transform: translateY(-2px);
}

/* =================================================================
   page2 响应式断点（仅作用于 body.page2 首页；1920+ 保持桌面原设计）
   ================================================================= */

/* <= 1600 : 1440~1600 间轻度紧凑 */
@media (max-width: 1600px) {
  .p2-products { min-height: 640px; padding: clamp(64px, 6vw, 96px) 0; }
  .p2-core { padding: 80px 0 88px; }
  .p2-market { padding: 64px 0 80px; }
  .p2-platform { padding: clamp(64px, 6vw, 100px) 0; }
  .p2-edu { padding: 88px 0; }
  .p2-core-grid { grid-auto-rows: 260px; }
  .core-3d { width: 140px; height: 140px; bottom: 18px; right: 18px; }
  .plat-row { grid-template-columns: minmax(0, 1fr) 600px; gap: 48px; }
  .chart-body { height: 500px; }
}

/* <= 1440 : 笔记本 */
@media (max-width: 1440px) {
  /* 导航先一步收紧，避免 1201~1440 之间 nav 被挤到第二行 */
  .p2-nav { gap: 26px; }
  .p2-nav-link { font-size: 15px; letter-spacing: -.3px; }
  .p2-header .header-cta { padding: 0 18px; letter-spacing: 1.4px; }

  .p2-hd-title { font-size: 40px; letter-spacing: 1.8px; }
  .p2-hd-sub { font-size: 18px; }
  .p2-core .p2-hd-title,
  .p2-edu .p2-hd.p2-hd-light .p2-hd-title,
  .p2-edu .p2-hd .p2-hd-title { font-size: 40px; }
  .plat-main-title { font-size: 48px; letter-spacing: -1.2px; }
  .plat-row { grid-template-columns: minmax(0, 1fr) 580px; gap: 44px; }
  .video-card { min-height: 490px; padding: 28px 30px 24px; }
  .video-cover { height: 300px; }
  .video-play { top: calc(28px + 150px - 52px); }
  .product-card { padding: 32px 28px 26px 44px; }
  .product-card h3 { font-size: 26px; }
  .product-icon { width: 84px; height: 76px; }
  .p2-cta .cta-text h2 { font-size: 44px; letter-spacing: -1.2px; }
  .p2-cta .cta-text p { font-size: 16px; }
  .chart-price-label, .chart-price-val { font-size: 16px; }
  .chart-body { height: 460px; }
  .core-3d { width: 130px; height: 130px; }
  .core-cell h4 { font-size: 19px; }
  .core-cell p { font-size: 13.5px; }
  .plat-top-btns { margin-bottom: 56px; }
}

/* <= 1280 : 中间过渡，6 项以上的 nav 进一步紧凑 */
@media (max-width: 1280px) {
  .p2-nav { gap: 20px; }
  .p2-nav-link { font-size: 14px; letter-spacing: -.2px; }
}

/* <= 1200 : 小笔记本 */
@media (max-width: 1200px) {
  .p2-nav { gap: 18px; }
  .p2-nav-link { font-size: 14px; }
  .p2-hd-title { font-size: 36px; }
  .p2-hd-sub { font-size: 17px; }
  .p2-core .p2-hd-title,
  .p2-edu .p2-hd.p2-hd-light .p2-hd-title,
  .p2-edu .p2-hd .p2-hd-title { font-size: 36px; }
  .product-cards { grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 0 20px; }
  .product-card { padding: 28px 22px 24px; }
  .product-card h3 { font-size: 24px; }
  .edu-cards { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .p2-market-inner { grid-template-columns: 1fr; gap: 28px; max-width: 900px; }
  .calendar-card { padding: 24px 28px; border: 1px solid #eae7e7; border-radius: 4px; }
  .chart-body { height: 420px; min-height: 380px; }
  .plat-row { grid-template-columns: 1fr 520px; gap: 40px; align-items: start; }
  .plat-main-title { font-size: 40px; line-height: 1.2; }
  .plat-main-desc { font-size: 15px; }
  .p2-core-grid { max-width: 100%; grid-auto-rows: 240px; }
  .core-3d { width: 120px; height: 120px; }
  .video-card { min-height: 460px; padding: 24px 26px; }
  .video-cover { height: 280px; }
  .video-play { top: calc(24px + 140px - 52px); width: 90px; height: 90px; }
  .video-play svg { width: 40px; height: 40px; }
  .video-action { font-size: 16px; height: 52px; }
  .p2-cta { min-height: 380px; }
  .p2-cta .cta-text h2 { font-size: 38px; letter-spacing: -1px; }
  .plat-top-btns { margin-bottom: 48px; gap: 20px; }
  .plat-btn { min-width: 170px; height: 52px; font-size: 18px; }
}

/* <= 1024 : 平板/手机 — 与 fude 移动端菜单保持一致的全屏抽屉方案
   三段式结构：head(logo + 关闭)、body(导航链接居中)、foot(下载 APP + 立即注册)
   汉堡按钮点击 → body.nav-open → 抽屉展开。 */
@media (max-width: 1024px) {
  .p2-header-inner { flex-wrap: nowrap; padding: 0 16px; }

  /* 布局：Logo 靠左，立即开户 + 汉堡 紧贴右侧 */
  .p2-header .brand { margin-right: auto; flex-shrink: 0; }
  .p2-header-actions { order: 2; gap: 10px; margin: 0; flex-shrink: 0; }
  .p2-header-actions .header-icons { display: none; }
  .p2-header .header-cta { margin: 0; }
  .nav-toggle {
    display: flex;
    order: 3;
    position: relative;
    z-index: 1002;
    margin-left: 6px;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
  }
  .nav-toggle span {
    width: 22px;
    height: 2px;
    background: #1c1b1b;
    border-radius: 1px;
    transition: transform .3s ease, opacity .2s ease;
    transform-origin: center;
  }
  /* 打开抽屉时隐藏外部汉堡按钮，只显示抽屉内的关闭 × */
  body.nav-open .nav-toggle { display: none; }

  /* 抽屉主体：全屏 fixed 覆盖，flex 三段 */
  .p2-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    max-width: none;
    transform: none;
    margin: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1001;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .p2-nav { display: flex; }

  /* 顶部行：Logo + 关闭 X */
  .p2-nav .nav-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
  }
  .p2-nav .nav-mobile-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
  .p2-nav .nav-mobile-logo img { height: 34px; display: block; }
  .p2-nav .nav-mobile-brand {
    color: #1c1b1b;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .5px;
    white-space: nowrap;
  }
  .p2-nav .nav-mobile-close {
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #1c1b1b;
    cursor: pointer;
    padding: 0;
  }

  /* 中间链接区：居中纵向 */
  .p2-nav .nav-mobile-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    width: 100%;
    gap: 6vw;
    padding: 6vw 4vw;
    overflow-y: auto;
    box-sizing: border-box;
  }

  .p2-nav .nav-mobile-body .p2-nav-link {
    width: auto;
    min-height: 0;
    height: auto;
    padding: 8px 0;
    border: none;
    border-bottom: none;
    color: #333;
    font-size: 4.5vw;
    font-weight: 400;
    letter-spacing: 0;
    justify-content: center;
    display: inline-flex;
    gap: 4px;
  }
  .p2-nav .nav-mobile-body .p2-nav-link.active { color: #DC0000; font-weight: 400; }
  .p2-nav .nav-mobile-body .p2-nav-link::after { display: none; }

  /* 下拉：点击 .active 展开 */
  .p2-nav .nav-dropdown {
    position: relative;
    display: block;
    width: auto;
    height: auto;
    text-align: center;
    border: none;
  }
  .p2-nav .nav-dropdown .nav-dropdown-toggle { justify-content: center; }
  .p2-nav .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    background: transparent;
    min-width: 0;
    padding: 0;
    margin: 0;
    border-radius: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
  }
  .p2-nav .nav-dropdown-menu::before { display: none; }
  .p2-nav .nav-dropdown.active .nav-dropdown-menu {
    max-height: 80vw;
    padding: 2vw 0;
  }
  .p2-nav .nav-dropdown.active .nav-arrow { transform: rotate(180deg); }
  .p2-nav .nav-dropdown-menu a {
    display: block;
    padding: 2vw 4vw;
    color: #666;
    font-size: 3.6vw;
    background: transparent;
    white-space: nowrap;
  }
  .p2-nav .nav-dropdown-menu a:hover { background: transparent; color: #DC0000; }
  .p2-nav .nav-arrow { font-size: 10px; color: inherit; opacity: 1; transition: transform .25s; }
  /* 覆盖桌面 hover 的 opacity/visibility/transform（避免抽屉里半透明错位），max-height 由 .active 控制 */
  .p2-nav .nav-dropdown:hover .nav-dropdown-menu,
  .p2-nav .nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  /* 底部行：下载 APP + 立即注册 */
  .p2-nav .nav-mobile-foot {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-top: 1px solid #eee;
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
  }
  .p2-nav .nav-mobile-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: all .2s;
  }
  .p2-nav .nav-mobile-btn-primary {
    background: #DC0000;
    color: #fff;
    border: 2px solid #DC0000;
  }
  .p2-nav .nav-mobile-btn-outline {
    background: transparent;
    color: #DC0000;
    border: 2px solid #DC0000;
  }

  .promo-bar p { font-size: 14px; letter-spacing: .02em; }

  .ticker-track { gap: 28px; overflow-x: auto; scrollbar-width: none; }
  .ticker-track::-webkit-scrollbar { display: none; }

  .p2-products { min-height: 600px; padding: 72px 0 80px; }
  .product-cards { grid-template-columns: repeat(2, 1fr); padding: 0 20px; gap: 20px; }
  .product-card:last-child { grid-column: span 2; max-width: calc(50% - 10px); margin: 0 auto; }
  .product-card h3 { font-size: 24px; }

  .p2-hd-title { font-size: 32px; letter-spacing: 1.2px; }
  .p2-hd-sub { font-size: 16px; }
  .p2-core .p2-hd-title,
  .p2-edu .p2-hd.p2-hd-light .p2-hd-title,
  .p2-edu .p2-hd .p2-hd-title { font-size: 32px; letter-spacing: 1.2px; }

  .p2-core { padding: 64px 0; }
  .p2-core-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 230px; }
  .core-cell { padding: 28px 24px; }
  .core-cell h4 { font-size: 18px; max-width: 62%; }
  .core-cell p { font-size: 13px; max-width: 60%; }
  .core-3d { width: 110px; height: 110px; bottom: 16px; right: 16px; }

  .plat-row { grid-template-columns: 1fr; gap: 48px; }
  .plat-right { max-width: 640px; margin: 0 auto; width: 100%; }
  .plat-main-title { font-size: 38px; letter-spacing: -.8px; }
  .video-card { height: auto; min-height: 440px; padding: 24px; }
  .video-cover { height: 280px; }
  .video-play { top: calc(24px + 140px - 52px); width: 88px; height: 88px; }
  .video-play svg { width: 40px; height: 40px; }

  .edu-cards { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .edu-card:last-child { grid-column: span 2; max-width: calc(50% - 12px); margin: 0 auto; }
  .edu-cover { height: 220px; }
  .edu-card h3 { font-size: 20px; }

  .p2-cta { min-height: 340px; }
  .p2-cta .cta-text h2 { font-size: 32px; letter-spacing: -.6px; }
  .p2-cta .cta-text p { font-size: 15px; }
}

/* <= 768 : 手机横屏 / 平板纵 */
@media (max-width: 768px) {
  .promo-bar { padding: 8px 14px; height: auto; min-height: 44px; }
  .promo-bar p { font-size: 12px; line-height: 18px; letter-spacing: .02em; }

  .p2-header-inner { height: 58px; padding: 0 16px; gap: 10px; }
  .p2-header .brand-logo { width: 40px; height: 40px; }
  .p2-header .brand-name { font-size: 16px; letter-spacing: .5px; }
  .p2-header-actions .header-icons { display: none; }
  .p2-header .header-cta { height: 36px; padding: 0 14px; font-size: 12px; letter-spacing: 1px; }

  .ticker-bar { height: 42px; }
  .ticker-track { gap: 20px; padding: 0 16px; }
  .tick em { font-size: 11px; }
  .tick b, .tick .tick-price { font-size: 13px; }
  .tick i, .tick .tick-change { font-size: 10px; }

  .p2-products { min-height: auto; padding: 56px 0; }
  .product-cards { grid-template-columns: 1fr; padding: 0 16px; gap: 16px; }
  .product-card { padding: 26px 22px 22px; border-radius: 14px; }
  .product-card:last-child { grid-column: span 1; max-width: 100%; margin: 0; }
  .product-card h3 { font-size: 22px; }
  .product-desc { font-size: 14px; }
  .product-feats li { font-size: 13px; }
  .product-icon { width: 76px; height: 70px; }

  .p2-hd-title { font-size: 28px; line-height: 1.3; letter-spacing: 1px; }
  .p2-hd-sub { font-size: 14px; line-height: 22px; }
  .p2-core .p2-hd-title,
  .p2-edu .p2-hd.p2-hd-light .p2-hd-title,
  .p2-edu .p2-hd .p2-hd-title { font-size: 28px; letter-spacing: 1px; }
  .p2-products .p2-hd { margin-bottom: 32px; }

  .p2-core { padding: 48px 0; }
  .p2-core-grid { grid-template-columns: 1fr; padding: 0 16px; grid-auto-rows: 200px; }
  .core-cell { padding: 24px 20px; }
  .core-cell h4 { font-size: 17px; max-width: 62%; }
  .core-cell p { font-size: 12.5px; max-width: 60%; line-height: 1.65; }
  .core-3d { width: 95px; height: 95px; bottom: 14px; right: 14px; }

  .p2-market { padding: 48px 0; }
  .p2-market-inner { padding: 0 16px; gap: 18px; max-width: 100%; }
  .calendar-card { padding: 20px; border-radius: 8px; gap: 20px; }
  .cal-head h3 { font-size: 24px; }
  .chart-card { padding: 20px 20px 0; border-radius: 8px; }
  .chart-card .chart-tabs { gap: 18px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .chart-card .chart-tabs::-webkit-scrollbar { display: none; }
  .chart-tab { white-space: nowrap; font-size: 14px; }
  .chart-body { height: 300px; min-height: 260px; }
  .chart-price-row { margin: 0; padding: 16px 0 20px; row-gap: 10px; column-gap: 10px; }
  .chart-price-cell { padding: 14px 16px; }
  .chart-price-label, .chart-price-val { font-size: 14px; }

  .p2-platform { padding: 56px 0; }
  .p2-platform-inner { padding: 0 16px; }
  .plat-top-btns { flex-direction: column; align-items: center; gap: 12px; margin-bottom: 40px; }
  .plat-btn { width: 100%; max-width: 280px; font-size: 18px; height: 52px; }
  .plat-main-title { font-size: 32px; line-height: 1.15; letter-spacing: -.8px; margin-bottom: 16px; }
  .plat-main-desc { font-size: 14px; margin-bottom: 28px; }
  .plat-feats { gap: 22px; margin-bottom: 32px; }
  .plat-feats h4 { font-size: 16px; }
  .plat-feats p { font-size: 12.5px; }
  .plat-cta { flex-direction: column; gap: 14px; }
  .plat-cta .plat-btn { max-width: 100%; min-width: 0; }

  .video-card { padding: 20px 18px; min-height: auto; border-radius: 16px; }
  .video-cover { height: 220px; }
  .video-play { width: 72px; height: 72px; top: calc(20px + 110px - 36px); }
  .video-play svg { width: 32px; height: 32px; }
  .video-actions { flex-direction: column; padding-top: 20px; gap: 12px; width: 100%; }
  .video-action {
    flex: 0 0 auto;           /* 覆盖基础 flex:1 1 0，避免 column 下按 main-axis 拉伸 */
    width: 100%;
    max-width: none;
    height: 48px;
    font-size: 15px;
    box-sizing: border-box;
    line-height: 1;
  }

  .p2-edu { padding: 56px 0; }
  .p2-edu .p2-hd { padding: 0 16px; }
  .edu-cards { grid-template-columns: 1fr; padding: 0 16px; gap: 20px; }
  .edu-card:last-child { max-width: 100%; grid-column: span 1; }
  .edu-cover { height: 200px; }
  .edu-card h3 { font-size: 20px; }
  .edu-meta { margin: 18px 22px 0; }

  .p2-cta { min-height: auto; padding: 0; }
  .cta-inner--center { padding: 48px 20px; gap: 22px; }
  .p2-cta .cta-text h2 { font-size: 26px; letter-spacing: -.4px; line-height: 1.3; }
  .p2-cta .cta-text p { font-size: 14px; line-height: 1.6; }
  .p2-cta .cta-actions { flex-direction: column; width: 100%; align-items: center; gap: 12px; }
  /* 两按钮显式对齐 box model：高度 / padding / 字号 / line-height 全部一致
     注：style.css 里 `.cta-primary, .cta-ghost { flex: 1 1 0% }` 会让 ghost 在
     column flex 父级里被压缩到 min-content（15px）—— 必须用 flex: 0 0 auto
     + min-height 把它锁死到真实高度。 */
  .p2-cta-primary, .p2-cta .cta-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 100%;
    max-width: 320px;
    height: 52px;
    min-height: 52px;
    padding: 0 20px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.4px;
    line-height: 1;
    border-radius: 2px;
    box-sizing: border-box;
    margin: 0 auto;
  }
  .p2-cta-primary { box-shadow: 0 10px 24px rgba(0, 0, 0, .22); }
  .p2-cta .cta-ghost { border: 1.5px solid #fff; }
}

/* <= 480 : 小手机 */
@media (max-width: 480px) {
  .promo-bar p { font-size: 11px; line-height: 16px; }
  .p2-header-inner { padding: 0 12px; height: 54px; }
  .p2-header .brand-name { display: inline; font-size: 14px; letter-spacing: .3px; }
  .p2-header .brand-logo { width: 34px; height: 34px; }
  .p2-header .header-cta { height: 32px; padding: 0 12px; font-size: 11px; letter-spacing: .5px; }

  .ticker-bar { height: 38px; }
  .ticker-track { gap: 16px; padding: 0 12px; }
  .tick em { font-size: 10px; }
  .tick b, .tick .tick-price { font-size: 12px; }
  .tick i, .tick .tick-change { font-size: 10px; }

  .p2-hd-title { font-size: 22px; line-height: 1.3; letter-spacing: .5px; }
  .p2-hd-sub { font-size: 13px; line-height: 20px; }
  .p2-core .p2-hd-title,
  .p2-edu .p2-hd.p2-hd-light .p2-hd-title,
  .p2-edu .p2-hd .p2-hd-title { font-size: 22px; }

  .p2-products { padding: 40px 0; }
  .p2-products .p2-hd { margin-bottom: 28px; }
  .product-card { padding: 20px 16px 18px; border-radius: 12px; }
  .product-card h3 { font-size: 19px; }
  .product-desc { font-size: 13px; }
  .product-feats li { font-size: 12.5px; }
  .product-icon { width: 64px; height: 58px; }

  .p2-core { padding: 40px 0; }
  .p2-core-grid { grid-auto-rows: 180px; }
  .core-cell { padding: 20px 16px; }
  .core-cell h4 { font-size: 15px; max-width: 58%; }
  .core-cell p { font-size: 11.5px; max-width: 56%; line-height: 1.6; }
  .core-3d { width: 76px; height: 76px; bottom: 12px; right: 12px; }

  .p2-market { padding: 36px 0; }
  .calendar-card { padding: 16px 18px; }
  .cal-head h3 { font-size: 20px; }
  .cal-title { font-size: 14px; }
  .cal-data { font-size: 10px; }
  .cal-time { font-size: 11px; }
  .chart-card { padding: 16px 14px 0; }
  .chart-body { height: 220px; min-height: 200px; }
  .chart-price-row { margin: 0; padding: 14px 0 18px; row-gap: 8px; column-gap: 8px; }
  .chart-price-cell { padding: 10px 12px; }
  .chart-price-label, .chart-price-val { font-size: 13px; }

  .p2-platform { padding: 40px 0; }
  .plat-main-title { font-size: 26px; line-height: 1.15; letter-spacing: -.4px; }
  .plat-main-desc { font-size: 12.5px; }
  .plat-feats h4 { font-size: 15px; }
  .plat-feats p { font-size: 11.5px; }
  .plat-btn { font-size: 16px; height: 48px; min-width: 0; }
  .video-card { padding: 16px 12px; border-radius: 12px; }
  .video-cover { height: 180px; }
  .video-play { width: 56px; height: 56px; top: calc(16px + 90px - 28px); }
  .video-play svg { width: 26px; height: 26px; }
  .video-action { font-size: 14px; height: 46px; width: 100%; max-width: none; flex: 0 0 auto; }

  .p2-edu { padding: 36px 0; }
  .edu-cover { height: 180px; }
  .edu-card h3 { font-size: 18px; margin: 12px 20px 8px; }
  .edu-card > p { margin: 0 20px 16px; font-size: 13px; }
  .edu-chip { font-size: 12px; padding: 3px 10px; }
  .edu-meta { margin: 18px 20px 0; gap: 10px; }
  .edu-foot { padding: 14px 20px 18px; }

  .cta-inner--center { padding: 36px 16px; gap: 18px; }
  .p2-cta .cta-text h2 { font-size: 20px; line-height: 1.35; letter-spacing: -.2px; }
  .p2-cta .cta-text p { font-size: 12.5px; line-height: 1.55; }
  .p2-cta-primary, .p2-cta .cta-ghost {
    flex: 0 0 auto;
    height: 46px;
    min-height: 46px;
    padding: 0 18px;
    font-size: 13px;
    letter-spacing: 1.2px;
    max-width: 280px;
    line-height: 1;
  }
}

/* >= 1920 : 超大桌面（保持用户已确认的 1920 完美状态） */
@media (min-width: 1920px) {
  .p2-products-inner,
  .p2-core-grid,
  .p2-platform-inner,
  .p2-edu-inner,
  .p2-market-inner { max-width: 1600px; }
  .plat-row { grid-template-columns: 1fr 660px; }
}
