:root {
  --bg-deep: #091013;
  --bg-panel: #101b20;
  --bg-panel-alt: #0d161a;
  --bg-card: rgba(19, 31, 37, 0.82);
  --bg-card-hover: rgba(25, 41, 49, 0.95);
  --border-subtle: rgba(212, 175, 106, 0.18);
  --border-strong: rgba(212, 175, 106, 0.48);
  --emerald: #27c485;
  --emerald-dark: #16563f;
  --brass: #d4af6a;
  --brass-bright: #f0cd88;
  --text-main: #f3efe6;
  --text-muted: #9eb0b5;
  --text-dim: #6f8288;
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.52);
  --radius-lg: 20px;
  --radius-md: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-deep);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 8%, rgba(39, 196, 133, 0.10), transparent 36%),
    radial-gradient(circle at 86% 12%, rgba(212, 175, 106, 0.11), transparent 38%),
    linear-gradient(180deg, #091013 0%, #0c1519 52%, #091013 100%);
  overflow-x: hidden;
}

.ambient-glow {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  filter: blur(90px);
  opacity: 0.35;
}
.glow-a {
  width: 420px;
  height: 420px;
  top: -120px;
  left: -80px;
  background: rgba(31, 138, 96, 0.35);
}
.glow-b {
  width: 460px;
  height: 460px;
  top: 180px;
  right: -120px;
  background: rgba(180, 149, 94, 0.25);
}

.container {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 44px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(9, 16, 19, 0.80);
  border-bottom: 1px solid rgba(212, 175, 106, 0.16);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 9px;
  background: linear-gradient(135deg, #1b5e46, #10382a);
  border: 1px solid var(--brass);
  color: var(--brass-bright);
  font-weight: 800;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.22;
}
.brand-copy strong {
  font-size: 0.98rem;
  font-weight: 700;
}
.brand-copy small {
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.18s ease;
}
.main-nav a:hover {
  color: var(--brass-bright);
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
}
.lang-btn {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s ease;
}
.lang-btn.active {
  background: linear-gradient(135deg, var(--brass), #9f7c3f);
  color: #13100a;
  box-shadow: 0 2px 10px rgba(212, 175, 106, 0.32);
}

/* Hero */
.hero-section {
  padding: 56px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 38px;
  align-items: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(39, 196, 133, 0.10);
  border: 1px solid rgba(39, 196, 133, 0.32);
  color: #8bf0c3;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(1.95rem, 3.3vw, 2.95rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #faf7f0;
}

.hero-lead {
  margin: 0 0 26px;
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 60ch;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #23835e 0%, #17573e 100%);
  color: #ffffff;
  border: 1px solid rgba(119, 242, 190, 0.45);
  box-shadow: 0 12px 28px rgba(23, 87, 62, 0.45);
}
.btn-primary:hover {
  box-shadow: 0 16px 34px rgba(39, 196, 133, 0.35);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--brass-bright);
  border: 1px solid var(--border-strong);
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(16, 27, 32, 0.78);
  border: 1px solid var(--border-subtle);
}
.metric-item dt {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--brass-bright);
  letter-spacing: 0.01em;
}
.metric-item dd {
  margin: 3px 0 0;
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Right Hero Stage */
.hero-stage-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-lg);
}

.stage-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9.6;
  background: #080f12;
}
.stage-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.28s ease, transform 0.55s ease;
}
.stage-frame:hover img {
  transform: scale(1.025);
}

.stage-badge-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}
.badge-live,
.badge-scale {
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}
.badge-live {
  background: rgba(12, 42, 31, 0.86);
  color: #6df7b8;
  border: 1px solid rgba(109, 247, 184, 0.42);
}
.badge-scale {
  background: rgba(15, 22, 26, 0.82);
  color: var(--brass-bright);
  border: 1px solid rgba(212, 175, 106, 0.38);
}

.stage-caption-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 16px 14px;
  background: linear-gradient(180deg, rgba(6, 11, 14, 0) 0%, rgba(6, 11, 14, 0.92) 48%, rgba(6, 11, 14, 0.98) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.stage-caption-bar strong {
  display: block;
  font-size: 0.96rem;
  color: #ffffff;
}
.stage-caption-bar p {
  margin: 3px 0 0;
  font-size: 0.78rem;
  color: #bfd0d5;
}
.stage-open-pill {
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--brass);
  color: #161108;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 800;
}

.stage-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.stage-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 0.79rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.18s ease;
}
.stage-tab .tab-idx {
  color: var(--brass);
  font-weight: 800;
  font-size: 0.74rem;
}
.stage-tab.active {
  background: rgba(39, 196, 133, 0.13);
  border-color: rgba(39, 196, 133, 0.45);
  color: #ffffff;
}

/* Sections */
.section-block {
  padding: 58px 0;
}
.section-alt {
  background: rgba(11, 20, 24, 0.72);
  border-top: 1px solid rgba(212, 175, 106, 0.12);
  border-bottom: 1px solid rgba(212, 175, 106, 0.12);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.section-kicker {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--brass);
  margin-bottom: 6px;
}
.section-title {
  margin: 0;
  font-size: clamp(1.48rem, 2.3vw, 2.05rem);
  color: #faf7f0;
}
.section-desc {
  margin: 0;
  max-width: 50ch;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Featured 3 Flagship Cards */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feat-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.34);
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.feat-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
}

.feat-thumb {
  position: relative;
  aspect-ratio: 16 / 9.5;
  background: #0b1418;
  overflow: hidden;
}
.feat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feat-thumb-svg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 35%, #16373b, #091318 75%);
}
.feat-chip-row {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  gap: 6px;
}
.chip {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.71rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}
.chip-week {
  background: rgba(10, 18, 22, 0.85);
  color: var(--brass-bright);
  border: 1px solid rgba(212, 175, 106, 0.4);
}
.chip-live {
  background: rgba(16, 62, 44, 0.9);
  color: #74f8be;
  border: 1px solid rgba(116, 248, 190, 0.45);
}

.feat-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.feat-body h3 {
  margin: 0 0 8px;
  font-size: 1.14rem;
  line-height: 1.35;
  color: #ffffff;
}
.feat-body p {
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: var(--text-muted);
  flex: 1;
}
.feat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.feat-tags span {
  font-size: 0.73rem;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: #cde0e5;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feat-launch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1f6f50, #154c37);
  border: 1px solid rgba(116, 248, 190, 0.38);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: filter 0.18s ease;
}
.feat-launch:hover {
  filter: brightness(1.12);
}

/* 16-Week Atlas */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.filter-pill {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}
.filter-pill.active {
  background: var(--brass);
  border-color: var(--brass-bright);
  color: #151006;
  font-weight: 800;
}

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

.week-card {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(17, 29, 35, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.week-card.is-live {
  border-color: rgba(39, 196, 133, 0.42);
  background: linear-gradient(180deg, rgba(19, 41, 36, 0.88), rgba(14, 25, 30, 0.94));
}
.week-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.week-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.week-num {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--brass-bright);
}
.week-folder {
  font-size: 0.72rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #9ec5cc;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 6px;
}
.week-topic {
  margin: 0 0 12px;
  font-size: 1.02rem;
  font-weight: 800;
  color: #f8f5ed;
}

.week-slots {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.slot-item {
  padding: 11px 12px;
  border-radius: 10px;
  background: rgba(8, 16, 20, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.slot-item.slot-live {
  background: rgba(22, 62, 48, 0.46);
  border-color: rgba(52, 211, 153, 0.42);
}
.slot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.slot-code {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brass-bright);
  letter-spacing: 0.04em;
}
.week-status {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}
.week-status.live {
  background: rgba(39, 196, 133, 0.2);
  color: #79f7c1;
  border: 1px solid rgba(39, 196, 133, 0.48);
}
.week-status.queue {
  background: rgba(212, 175, 106, 0.12);
  color: #dfc38d;
  border: 1px solid rgba(212, 175, 106, 0.28);
}

.slot-title {
  margin: 0 0 4px;
  font-size: 0.91rem;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
}
.week-flow {
  margin: 0 0 8px;
  font-size: 0.77rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.week-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.72rem;
}
.week-kind {
  color: #9ec5cc;
  font-weight: 600;
}
.week-open {
  color: #79f7c1;
  text-decoration: none;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(39, 196, 133, 0.16);
  border: 1px solid rgba(39, 196, 133, 0.42);
}
.week-open:hover {
  background: rgba(39, 196, 133, 0.30);
}

/* Credentials */
.cred-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.cred-card {
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}
.cred-card .cred-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brass);
  margin-bottom: 8px;
}
.cred-card h3 {
  margin: 0 0 10px;
  font-size: 1.06rem;
  color: #ffffff;
}
.cred-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 0.86rem;
}
.cred-card li + li {
  margin-top: 7px;
}

/* Footer */
.site-footer {
  padding: 28px 0 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.84rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-inner p {
  margin: 4px 0 0;
  color: var(--text-dim);
  font-size: 0.78rem;
}
.footer-lang-link {
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  color: var(--brass-bright);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 1060px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .featured-grid,
  .cred-grid {
    grid-template-columns: 1fr;
  }
  .atlas-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .main-nav {
    display: none;
  }
  .metrics-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .atlas-grid,
  .stage-tabs {
    grid-template-columns: 1fr;
  }
}
