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

.hub-page {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "DM Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #0a0f14;
  color: #fff;
  overflow-x: hidden;
}

.hub-split {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: calc(100vh - 52px);
}

.hub-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: flex 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.hub-panel-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

.hub-panel-tutor .hub-panel-bg {
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(45, 212, 191, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(13, 148, 136, 0.25), transparent 50%),
    linear-gradient(145deg, #0f766e 0%, #134e4a 45%, #042f2e 100%);
}

.hub-panel-corp .hub-panel-bg {
  background:
    radial-gradient(ellipse 80% 60% at 80% 80%, rgba(96, 165, 250, 0.3), transparent 55%),
    radial-gradient(ellipse 70% 50% at 20% 20%, rgba(59, 130, 246, 0.2), transparent 50%),
    linear-gradient(215deg, #1e3a8a 0%, #1e293b 45%, #0f172a 100%);
}

.hub-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
  transition: background 0.35s ease;
  pointer-events: none;
}

.hub-panel:hover::after,
.hub-panel:focus-visible::after {
  background: rgba(0, 0, 0, 0);
}

.hub-panel:hover .hub-panel-bg,
.hub-panel:focus-visible .hub-panel-bg {
  transform: scale(1.04);
  filter: brightness(1.08);
}

.hub-panel-content {
  position: relative;
  z-index: 1;
  max-width: 420px;
  transform: translateY(8px);
  opacity: 0.94;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.hub-panel:hover .hub-panel-content,
.hub-panel:focus-visible .hub-panel-content {
  transform: translateY(0);
  opacity: 1;
}

.hub-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 16px;
}

.hub-title {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}

.hub-desc {
  font-size: 1.02rem;
  line-height: 1.75;
  opacity: 0.88;
  margin: 0 0 24px;
}

.hub-features {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hub-features li {
  font-size: 0.92rem;
  opacity: 0.82;
  padding-left: 18px;
  position: relative;
}

.hub-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

.hub-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.hub-panel:hover .hub-cta,
.hub-panel:focus-visible .hub-cta {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.75);
  transform: translateX(4px);
}

.hub-panel-corp:hover .hub-cta,
.hub-panel-corp:focus-visible .hub-cta {
  transform: translateX(-4px);
}

.hub-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 1px;
  position: relative;
  z-index: 2;
}

.hub-center-line {
  flex: 1;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.hub-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 24px;
  background: rgba(10, 15, 20, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}

.hub-brand-mark {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2dd4bf;
  letter-spacing: 0.05em;
}

.hub-brand-name {
  font-family: "Noto Serif SC", serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2px;
}

.hub-brand-sub {
  font-size: 0.68rem;
  opacity: 0.55;
  margin-top: 4px;
  letter-spacing: 0.08em;
}

.hub-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 20px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hub-footer a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.hub-footer a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.hub-footer-sep {
  opacity: 0.35;
}

@media (max-width: 900px) {
  .hub-split {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto 1fr;
    min-height: calc(100vh - 52px);
  }

  .hub-center {
    flex-direction: row;
    width: 100%;
    height: auto;
    padding: 0 24px;
  }

  .hub-center-line {
    flex: 1;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  }

  .hub-brand {
    padding: 14px 20px;
  }

  .hub-panel {
    padding: 36px 28px;
    min-height: 42vh;
  }

  .hub-panel-content {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hub-panel-bg,
  .hub-panel-content,
  .hub-cta {
    transition: none;
  }
}
