/* 大锤教育 · 官方产品介绍页（新大锤珠光微网格 × 精装博物展板质感 · 浅/深双色） */
.edu-gate-main {
  position: relative;
  min-height: calc(100svh - 180px);
  padding-block: clamp(2rem, 4.5vw, 3.8rem) clamp(3.2rem, 6vw, 5.2rem);
  background:
    radial-gradient(ellipse 62% 54% at 82% 8%, rgba(35, 80, 220, .09), transparent 62%),
    radial-gradient(ellipse 48% 48% at 12% 36%, rgba(217, 159, 64, .11), transparent 58%),
    linear-gradient(150deg, #ffffff 8%, #f6f8fd 52%, #faf8f4 100%);
}
.edu-gate-main::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, .03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, .03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 88% 72% at 50% 24%, #000 28%, transparent 92%);
  -webkit-mask-image: radial-gradient(ellipse 88% 72% at 50% 24%, #000 28%, transparent 92%);
}
.edu-gate-shell {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3.2rem);
}

/* 发起人专属顶栏（仅服务端校验 admin=true 显现） */
.edu-owner-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.4rem;
  flex-wrap: wrap;
  padding: 1.05rem 1.4rem;
  border-radius: 1.35rem;
  background: linear-gradient(135deg, #132f27 0%, #1c4136 100%);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 18px 36px -16px rgba(18, 44, 36, .48);
}
.edu-owner-banner[hidden] { display: none; }
.edu-owner-copy strong {
  display: block;
  font-size: .98rem;
  font-weight: 700;
  margin-bottom: .16rem;
}
.edu-owner-copy span {
  display: block;
  font-size: .84rem;
  color: rgba(248, 250, 252, .8);
}
.edu-owner-actions {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
}
.edu-owner-enter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 42px;
  padding: .48rem 1.25rem;
  border-radius: 9999px;
  background: #fbf7ee;
  color: #132f27;
  font-size: .88rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform .16s ease, background .16s ease;
}
.edu-owner-enter:hover { background: #ffffff; transform: translateY(-1px); }
.edu-owner-stay {
  min-height: 40px;
  padding: .42rem .95rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, .26);
  background: transparent;
  color: rgba(248, 250, 252, .9);
  font-size: .84rem;
  font-weight: 500;
  cursor: pointer;
}
.edu-owner-stay[hidden] { display: none; }
.edu-owner-stay:hover { background: rgba(255, 255, 255, .1); }

/* Band 1: 旗舰首屏卡 */
.edu-hero-card {
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 1.85rem;
  padding: clamp(1.5rem, 3.6vw, 2.75rem);
  box-shadow: 0 2px 6px rgba(15, 23, 42, .03), 0 20px 48px -20px rgba(15, 23, 42, .11);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.edu-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(1.5rem, 3.2vw, 2.8rem);
  align-items: center;
}
.edu-status-badge {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  padding: .3rem .88rem;
  border-radius: 9999px;
  border: 1px solid rgba(26, 63, 52, .18);
  background: rgba(26, 63, 52, .065);
  color: #1a3f34;
  font-size: .82rem;
  font-weight: 650;
  margin-bottom: 1rem;
}
.edu-status-badge::before {
  content: "";
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, .18);
}
.edu-hero-copy h1 {
  margin: 0 0 .9rem;
  font-size: clamp(1.85rem, 3.3vw, 2.65rem);
  line-height: 1.2;
  letter-spacing: -.025em;
  color: #0f172a;
}
.edu-hero-copy h1 span {
  display: inline-block;
  margin-top: .16rem;
  font-size: clamp(1.38rem, 2.35vw, 1.92rem);
  font-weight: 700;
  background: linear-gradient(110deg, #1a3f34 0%, #2350dc 56%, #b47318 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.edu-hero-lead {
  margin: 0 0 1.4rem;
  color: #475569;
  font-size: .98rem;
  line-height: 1.78;
}
.edu-hero-actions {
  display: flex;
  align-items: center;
  gap: .7rem .85rem;
  flex-wrap: wrap;
}
.edu-sub-link {
  color: #2350dc;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  padding: .45rem .35rem;
  white-space: nowrap;
}
.edu-sub-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.edu-hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .65rem;
  margin: 1.55rem 0 0;
  padding: 1.15rem 0 0;
  list-style: none;
  border-top: 1px solid rgba(15, 23, 42, .07);
}
.edu-hero-metrics li {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.edu-hero-metrics strong {
  font-size: 1.18rem;
  font-weight: 780;
  color: #0f172a;
  letter-spacing: -.02em;
}
.edu-hero-metrics span {
  font-size: .76rem;
  color: #64748b;
}

.edu-hero-stage {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.edu-hero-frame {
  border-radius: 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(26, 63, 52, .12);
  background: #f5f2ea;
  box-shadow: 0 14px 34px -16px rgba(18, 44, 36, .22);
}
.edu-hero-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.edu-hero-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  font-size: .8rem;
  color: #64748b;
  text-align: center;
}
.edu-caption-dot {
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: #1a3f34;
  flex: none;
}

/* 通用章节标题 */
.edu-section {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}
.edu-section-head {
  max-width: 44rem;
}
.edu-kicker {
  display: inline-block;
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .08em;
  color: #2350dc;
  margin-bottom: .35rem;
}
.edu-section-head h2,
.edu-showcase-head h2 {
  margin: 0 0 .45rem;
  font-size: clamp(1.38rem, 2.3vw, 1.82rem);
  line-height: 1.26;
  letter-spacing: -.02em;
  color: #0f172a;
}
.edu-section-head p {
  margin: 0;
  color: #525e75;
  font-size: .95rem;
  line-height: 1.7;
}

/* Band 2: 四大设计理念 2x2 */
.edu-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.edu-pillar-card {
  padding: 1.35rem 1.45rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(15, 23, 42, .07);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 6px 22px -14px rgba(15, 23, 42, .1);
}
.edu-pillar-card--forest { background: linear-gradient(148deg, #f7faf8 0%, #eaf3ee 100%); border-color: rgba(26, 63, 52, .14); }
.edu-pillar-card--amber  { background: linear-gradient(148deg, #fffcf6 0%, #faefd8 100%); border-color: rgba(180, 115, 24, .16); }
.edu-pillar-card--cobalt { background: linear-gradient(148deg, #f6f9ff 0%, #e9f0ff 100%); border-color: rgba(35, 80, 220, .14); }
.edu-pillar-card--rose   { background: linear-gradient(148deg, #fff9f7 0%, #faeae5 100%); border-color: rgba(185, 78, 56, .14); }
.edu-pillar-num {
  display: block;
  font-size: .76rem;
  font-weight: 720;
  color: #475569;
  margin-bottom: .42rem;
}
.edu-pillar-card h3 {
  margin: 0 0 .45rem;
  font-size: 1.06rem;
  font-weight: 740;
  color: #0f172a;
}
.edu-pillar-card p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.68;
  color: #475569;
}

/* Band 3: 交互式七科博物展廊 */
.edu-showcase-card {
  padding: clamp(1.35rem, 3.2vw, 2.35rem);
  border-radius: 1.85rem;
  background: linear-gradient(155deg, #fbf8f1 0%, #f3ece0 100%);
  border: 1px solid rgba(114, 92, 58, .18);
  box-shadow: 0 18px 42px -22px rgba(48, 38, 22, .18);
}
.edu-showcase-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .8rem 1.5rem;
  flex-wrap: wrap;
}
.edu-showcase-tip {
  margin: 0;
  font-size: .85rem;
  color: #6b5e4c;
}
.edu-showcase-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.edu-tab-btn {
  min-height: 40px;
  padding: .42rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(26, 63, 52, .16);
  background: rgba(255, 255, 255, .78);
  color: #2c3e35;
  font-size: .86rem;
  font-weight: 620;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .14s ease;
}
.edu-tab-btn:hover {
  background: #ffffff;
  border-color: rgba(26, 63, 52, .38);
}
.edu-tab-btn.is-active,
.edu-tab-btn[aria-selected="true"] {
  background: #1a3f34;
  border-color: #1a3f34;
  color: #fbf7ee;
  box-shadow: 0 8px 18px -10px rgba(26, 63, 52, .55);
}

.edu-showcase-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, .82fr);
  gap: clamp(1.2rem, 2.6vw, 2rem);
  align-items: center;
}
.edu-showcase-visual {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(26, 63, 52, .16);
  background: #16342b;
  box-shadow: 0 16px 34px -18px rgba(18, 44, 36, .34);
}
.edu-showcase-visual img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity .22s ease;
}
.edu-showcase-visual img.is-swapping { opacity: .35; }
.edu-showcase-info {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.edu-stage-plate {
  display: inline-flex;
  align-self: flex-start;
  padding: .24rem .72rem;
  border-radius: 9999px;
  background: rgba(26, 63, 52, .1);
  color: #1a3f34;
  font-size: .75rem;
  font-weight: 720;
  letter-spacing: .03em;
}
.edu-showcase-info h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.35;
  color: #16241d;
}
.edu-showcase-info p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.72;
  color: #4b554e;
}
.edu-stage-bullets {
  margin: .15rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .52rem;
}
.edu-stage-bullets li {
  position: relative;
  padding-left: 1.15rem;
  font-size: .86rem;
  line-height: 1.58;
  color: #25362d;
}
.edu-stage-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .52rem;
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: #b47318;
}

/* Band 4: 三端角色与隐私守护 */
.edu-roles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.edu-role-card {
  padding: 1.3rem 1.35rem;
  border-radius: 1.3rem;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 8px 24px -16px rgba(15, 23, 42, .1);
}
.edu-role-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  color: #1a3f34;
  background: rgba(26, 63, 52, .08);
  padding: .2rem .65rem;
  border-radius: 9999px;
  margin-bottom: .6rem;
}
.edu-role-card h3 {
  margin: 0 0 .42rem;
  font-size: 1.02rem;
  color: #0f172a;
}
.edu-role-card p {
  margin: 0;
  font-size: .86rem;
  line-height: 1.66;
  color: #525e75;
}

.edu-privacy-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem 1.8rem;
  flex-wrap: wrap;
  padding: 1.45rem 1.65rem;
  border-radius: 1.45rem;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(35, 80, 220, .14);
  box-shadow: 0 12px 30px -18px rgba(35, 80, 220, .14);
}
.edu-privacy-copy {
  flex: 1 1 24rem;
  min-width: 0;
}
.edu-privacy-copy strong {
  display: block;
  font-size: 1rem;
  color: #0f172a;
  margin-bottom: .35rem;
}
.edu-privacy-copy p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.7;
  color: #525e75;
}
.edu-privacy-actions {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-wrap: wrap;
}

.edu-gate-foot {
  padding-top: 1.15rem;
  border-top: 1px dashed rgba(15, 23, 42, .1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem 1.2rem;
  flex-wrap: wrap;
  font-size: .83rem;
  color: #64748b;
}
.edu-owner-login {
  color: #475569;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.edu-owner-login:hover { color: #2350dc; }

/* 响应式：平板与手机 */
@media (max-width: 60rem) {
  .edu-hero-grid { grid-template-columns: 1fr; }
  .edu-showcase-stage { grid-template-columns: 1fr; }
  .edu-roles-grid { grid-template-columns: 1fr; }
}
@media (max-width: 44rem) {
  .edu-pillars-grid { grid-template-columns: 1fr; }
  .edu-hero-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: .85rem; }
  .edu-showcase-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: .3rem;
    scrollbar-width: none;
  }
  .edu-showcase-tabs::-webkit-scrollbar { display: none; }
  .edu-tab-btn { flex: none; white-space: nowrap; }
}

/* 深色模式 1:1 适配 */
@media (prefers-color-scheme: dark) {
  .edu-gate-main {
    background:
      radial-gradient(ellipse 62% 54% at 82% 8%, rgba(79, 134, 255, .15), transparent 62%),
      radial-gradient(ellipse 48% 48% at 12% 36%, rgba(217, 159, 64, .09), transparent 58%),
      linear-gradient(150deg, #0b0f19 8%, #0f1523 52%, #131824 100%);
  }
  .edu-gate-main::before {
    background-image:
      linear-gradient(to right, rgba(255, 255, 255, .04) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(255, 255, 255, .04) 1px, transparent 1px);
  }
  .edu-hero-card,
  .edu-role-card,
  .edu-privacy-panel {
    background: rgba(20, 28, 46, .88);
    border-color: rgba(255, 255, 255, .09);
  }
  .edu-status-badge {
    background: rgba(52, 211, 153, .12);
    border-color: rgba(52, 211, 153, .26);
    color: #6ee7b7;
  }
  .edu-hero-copy h1,
  .edu-hero-metrics strong,
  .edu-section-head h2,
  .edu-showcase-head h2,
  .edu-pillar-card h3,
  .edu-role-card h3,
  .edu-privacy-copy strong {
    color: #f8fafc;
  }
  .edu-hero-copy h1 span {
    background: linear-gradient(110deg, #6ee7b7 0%, #93b8ff 54%, #fbbf24 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .edu-hero-lead,
  .edu-section-head p,
  .edu-pillar-card p,
  .edu-role-card p,
  .edu-privacy-copy p {
    color: #cbd5e1;
  }
  .edu-hero-metrics { border-top-color: rgba(255, 255, 255, .09); }
  .edu-hero-metrics span,
  .edu-hero-caption,
  .edu-gate-foot,
  .edu-pillar-num {
    color: #94a3b8;
  }
  .edu-kicker,
  .edu-sub-link { color: #93b8ff; }
  .edu-hero-frame {
    background: #17202e;
    border-color: rgba(255, 255, 255, .12);
  }
  .edu-caption-dot { background: #34d399; }
  .edu-pillar-card--forest { background: linear-gradient(148deg, rgba(22, 52, 42, .68), rgba(16, 36, 31, .84)); border-color: rgba(52, 211, 153, .18); }
  .edu-pillar-card--amber  { background: linear-gradient(148deg, rgba(58, 43, 22, .62), rgba(38, 29, 17, .82)); border-color: rgba(251, 191, 36, .18); }
  .edu-pillar-card--cobalt { background: linear-gradient(148deg, rgba(26, 42, 78, .66), rgba(18, 28, 52, .84)); border-color: rgba(122, 162, 255, .2); }
  .edu-pillar-card--rose   { background: linear-gradient(148deg, rgba(58, 30, 30, .62), rgba(38, 21, 23, .82)); border-color: rgba(248, 113, 113, .18); }

  .edu-showcase-card {
    background: linear-gradient(155deg, #171e2b 0%, #1c222e 100%);
    border-color: rgba(255, 255, 255, .1);
  }
  .edu-showcase-tip { color: #94a3b8; }
  .edu-tab-btn {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .14);
    color: #cbd5e1;
  }
  .edu-tab-btn:hover { background: rgba(255, 255, 255, .12); color: #ffffff; }
  .edu-tab-btn.is-active,
  .edu-tab-btn[aria-selected="true"] {
    background: #2f7d65;
    border-color: #34d399;
    color: #ffffff;
  }
  .edu-stage-plate {
    background: rgba(52, 211, 153, .14);
    color: #6ee7b7;
  }
  .edu-showcase-info h3 { color: #f8fafc; }
  .edu-showcase-info p { color: #cbd5e1; }
  .edu-stage-bullets li { color: #e2e8f0; }
  .edu-stage-bullets li::before { background: #fbbf24; }
  .edu-role-tag {
    background: rgba(52, 211, 153, .14);
    color: #6ee7b7;
  }
  .edu-gate-foot { border-top-color: rgba(255, 255, 255, .1); }
  .edu-owner-login { color: #cbd5e1; }
  .edu-owner-login:hover { color: #93b8ff; }
}
