.page {
  min-height: 100vh;
  --bg-a: #ffffff;
  --bg-b: #f3f7ff;
  background: var(--bg-a);
  color: #0f172a;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

section[id] {
  scroll-margin-top: 88px;
}

.site-header {
  height: 72px;
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.container {
  max-width: 1550px;
  margin: 0 auto;
  padding: 0 24px;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.brand-logo {
  display: block;
  width: 200px;
  height: auto;
  object-fit: cover;
  object-position: left center;
}

.brand-text {
  color: #0f172a;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.main-nav a {
  text-decoration: none;
  color: rgba(15, 23, 42, 0.78);
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
  margin: 0 6px;
}

.main-nav a:hover {
  color: #1d4ed8;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: rgba(29, 78, 216, 0.85);
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.main-nav a.active {
  color: #1d4ed8;
}

.main-nav a.active::after {
  width: 100%;
}

.auth-btn {
  height: 40px;
  padding: 0 18px;
  border-radius: 50px;
  margin: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 11px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: rgba(15, 23, 42, 0.86);
  background: rgba(255, 255, 255, 0.9);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.auth-btn:hover {
  transform: scale(1.1);
}

.student-btn.active {
  border-color: rgba(29, 78, 216, 0.35);
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.92), rgba(46, 112, 255, 0.75));
  color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(29, 78, 216, 0.22);
}

.teacher-btn {
  border-color: rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0);
  color: rgba(15, 23, 42, 0.86);
  box-shadow: none;
}

.page-main {
  min-height: calc(100vh - 72px);
}

.hero {
  position: relative;
  padding: 0;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-b);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 23, 42, 0.08) 1px, rgba(255, 255, 255, 0) 1px);
  background-size: 18px 18px;
  opacity: 0.22;
  mask-image: radial-gradient(closest-side at 50% 35%, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: 100%;
  padding: 72px 0 56px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 36px;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(29, 78, 216, 0.22);
  background: rgba(29, 78, 216, 0.08);
  color: rgba(29, 78, 216, 0.92);
  font-size: 15px;
  letter-spacing: 0.6px;
}

.hero-title {
  margin: 14px 0 10px;
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: 1px;
}

.hero-subtitle {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(15, 23, 42, 0.64);
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 13px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  color: rgba(15, 23, 42, 0.86);
  background: rgba(255, 255, 255, 0.9);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(29, 78, 216, 0.25);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.btn.primary {
  border-color: rgba(29, 78, 216, 0.35);
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.92), rgba(46, 112, 255, 0.75));
  color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(29, 78, 216, 0.22);
  font-size: 15px;
}

.btn.ghost {
  background: rgba(255, 255, 255, 0);
  font-size: 15px;
}

.hero-highlights {
  margin-top: 28px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.highlight {
  min-width: 140px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.highlight-value {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.highlight-label {
  margin-top: 4px;
  font-size: 18px;
  color: rgba(15, 23, 42, 0.62);
}

.hero-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  will-change: transform;
  animation: hero-float 7s ease-in-out infinite;
}

.orb {
  width: min(420px, 88vw);
  aspect-ratio: 1/1;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: radial-gradient(circle at 35% 30%, rgba(46, 230, 255, 0.55), rgba(46, 230, 255, 0) 42%),
    radial-gradient(circle at 70% 65%, rgba(29, 78, 216, 0.28), rgba(29, 78, 216, 0) 48%),
    radial-gradient(circle at 55% 55%, rgba(255, 255, 255, 0.9), rgba(231, 242, 255, 0.86) 70%);
  box-shadow: 0 40px 90px rgba(15, 23, 42, 0.18);
  position: relative;
  display: grid;
  place-items: center;
  will-change: transform;
  animation: orb-breathe 6.4s ease-in-out infinite;
}

.orb::after {
  content: '';
  position: absolute;
  inset: 18px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: inset 0 0 0 1px rgba(29, 78, 216, 0.08);
  opacity: 0.8;
}

.orb-core {
  position: relative;
  text-align: center;
  padding: 0 24px;
}

.orb-kicker {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: 6px;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.95), rgba(29, 78, 216, 0.9), rgba(46, 230, 255, 0.88));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 16px 34px tgba(46, 230, 255, 0.12);
}

.orb-slogan {
  margin-top: 10px;
  font-size: 14px;
  letter-spacing: 1px;
  color: rgba(15, 23, 42, 0.6);
}

.orbit {
  inset: 34px;
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(29, 78, 216, 0.12);
  opacity: 0.7;
  will-change: transform;
  animation: orbit-float 8.2s ease-in-out infinite;
}

.orbit-b {
  inset: 78px;
  border-color: rgba(46, 230, 255, 0.12);
  opacity: 0.6;
  animation-duration: 9.4s;
  animation-delay: -1.6s;
}

.badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 10px 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
  color: rgba(15, 23, 42, 0.86);
  font-size: 12px;
  user-select: none;
  will-change: transform;
  animation: badge-bob 4.6s ease-in-out infinite;
}

.badge-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(46, 230, 255, 0.22), rgba(29, 78, 216, 0.18));
  border: 1px solid rgba(29, 78, 216, 0.18);
  color: rgba(15, 23, 42, 0.9);
}

.badge-text {
	font-size: 18px;
}

.badge-1 {
  top: 42px;
  left: 18px;
  animation-delay: -0.8s;
}

.badge-2 {
  top: 98px;
  right: 6px;
  animation-delay: -1.6s;
}

.badge-3 {
  left: -8px;
  top: 210px;
  animation-delay: -2.2s;
}

.badge-4 {
  right: -10px;
  top: 240px;
  animation-delay: -0.3s;
}

.badge-5 {
  left: 42px;
  bottom: 30px;
  animation-delay: -1.1s;
}

.badge-6 {
  right: 40px;
  bottom: 44px;
  animation-delay: -2.7s;
}

@keyframes hero-float {

  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes orb-breathe {

  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0, -6px, 0) scale(1.015);
  }
}

@keyframes orbit-float {

  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, 8px, 0);
  }
}

@keyframes badge-bob {

  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -8px, 0);
  }
}

.section {
  padding: 56px 0 62px;
  background: var(--bg-a);
}

.section-alt {
  background: var(--bg-b);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.section-head {
  margin-bottom: 26px;
  max-width: 680px;
}

.section-title {
  margin: 0;
  font-size: 26px;
  letter-spacing: 0.6px;
}

.section-desc {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(15, 23, 42, 0.62);
}

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

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

.feature-card {
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(29, 78, 216, 0.18);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
}

.feature-media {
  width: 100%;
  height: 150px;
  background: radial-gradient(circle at 25% 30%, rgba(46, 230, 255, 0.22), rgba(46, 230, 255, 0) 48%),
    radial-gradient(circle at 78% 58%, rgba(29, 78, 216, 0.14), rgba(29, 78, 216, 0) 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(243, 247, 255, 0.9));
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.feature-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.04);
}

.feature-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.feature-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.feature-desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(15, 23, 42, 0.62);
}

.card {
  padding: 18px 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  min-height: 126px;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: -40% -35% auto auto;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(46, 230, 255, 0.22), rgba(46, 230, 255, 0) 60%);
  transform: rotate(12deg);
  opacity: 0.8;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(29, 78, 216, 0.22);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
}

.card-title {
  position: relative;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.4px;
}

.card-desc {
  position: relative;
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(15, 23, 42, 0.62);
}

.card-line {
  position: relative;
  margin-top: 14px;
  height: 2px;
  width: 56px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(46, 230, 255, 0.9), rgba(47, 107, 255, 0));
  opacity: 0.9;
}

@media (max-width: 1080px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.direction {
  padding: 18px 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
  min-height: 168px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  --accent: 29 78 216;
}

.direction::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(160px 120px at 18% 22%, rgba(var(--accent) / 0.18), rgba(var(--accent) / 0) 65%),
    radial-gradient(220px 160px at 85% 0%, rgba(46, 230, 255, 0.12), rgba(46, 230, 255, 0) 70%);
  pointer-events: none;
}

.direction::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(var(--accent) / 0.08);
  pointer-events: none;
}

.direction:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--accent) / 0.22);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
}

.direction-head {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.direction-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(var(--accent) / 0.16), rgba(46, 230, 255, 0.16));
  border: 1px solid rgba(var(--accent) / 0.18);
  color: rgba(15, 23, 42, 0.88);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.direction-icon svg {
  width: 22px;
  height: 22px;
}

.direction:hover .direction-icon {
  transform: translateY(-1px);
}

.direction-title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.4px;
  position: relative;
}

.direction-desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(15, 23, 42, 0.62);
  flex: 1;
  position: relative;
}

.direction-link {
  text-decoration: none;
  color: rgba(15, 23, 42, 0.88);
  font-size: 12px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent) / 0.18);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  position: relative;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.direction-link:hover {
  transform: translateY(-1px);
  border-color: rgba(var(--accent) / 0.28);
  background: rgba(255, 255, 255, 0.92);
}

.direction-link-arrow {
  opacity: 0.8;
}

.direction--blue {
  --accent: 29 78 216;
}

.direction--green {
  --accent: 22 163 74;
}

.direction--amber {
  --accent: 245 158 11;
}

.direction--purple {
  --accent: 147 51 234;
}

.tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.tab {
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.85);
  color: rgba(15, 23, 42, 0.78);
  font-size: 12px;
  cursor: pointer;
  user-select: none;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.tab:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(29, 78, 216, 0.18);
}

.tab.active {
  border-color: rgba(29, 78, 216, 0.28);
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.12), rgba(46, 230, 255, 0.16));
}

.course-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.course-card {
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.92);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.course-card:hover {
  transform: translateY(-2px);
  border-color: rgba(29, 78, 216, 0.18);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
}

.course-card:focus-visible {
  outline: 3px solid rgba(29, 78, 216, 0.25);
  outline-offset: 3px;
}

.course-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  background: rgba(15, 23, 42, 0.04);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.course-cover.is-empty::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 30%, rgba(46, 230, 255, 0.26), rgba(46, 230, 255, 0) 45%),
    radial-gradient(circle at 75% 70%, rgba(29, 78, 216, 0.16), rgba(29, 78, 216, 0) 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
  opacity: 0.9;
}

.course-cover.is-empty::after {
  content: '封面占位';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 12px;
  letter-spacing: 1px;
  color: rgba(15, 23, 42, 0.55);
}

.course-cover-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.course-body {
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.course-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.course-desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(15, 23, 42, 0.62);
  flex: 1;
}

.course-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: rgba(15, 23, 42, 0.6);
  font-size: 12px;
  border-top: 1px dashed rgba(15, 23, 42, 0.14);
  padding-top: 10px;
}

.course-org {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.course-stat {
  white-space: nowrap;
  color: rgba(29, 78, 216, 0.9);
}

.hot-course-card {
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.92);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  text-decoration: none;
  color: inherit;
}

.hot-course-card:hover {
  transform: translateY(-2px);
  border-color: rgba(29, 78, 216, 0.18);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
}

.hot-course-img a {
  display: block;
  height: 100%;
}

.hot-course-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(15, 23, 42, 0.04);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.hot-course-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.hot-course-content {
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.hot-course-title a {
  text-decoration: none;
  color: inherit;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.hot-course-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: rgba(15, 23, 42, 0.6);
  font-size: 16px;
  border-top: 1px dashed rgba(15, 23, 42, 0.14);
  padding-top: 10px;
}

.hot-course-org {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.empty-state {
  margin-top: 18px;
  padding: 18px 16px;
  border-radius: 16px;
  border: 1px dashed rgba(15, 23, 42, 0.18);
  background: rgba(255, 255, 255, 0.7);
  color: rgba(15, 23, 42, 0.62);
  font-size: 13px;
  letter-spacing: 0.4px;
}

.partner-section {
  padding: 56px 0 62px;
  background: var(--bg-b);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.partner-inner {
  display: block;
}

.partner-title {
  margin: 0 0 18px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: rgba(15, 23, 42, 0.9);
  text-align: center;
}

.partner-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.partner-col {
  display: contents;
}

.partner-item {
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  font-size: 13px;
  letter-spacing: 0.2px;
  font-weight: 650;
  color: rgba(15, 23, 42, 0.76);
  text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.partner-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-decoration: none;
  color: rgba(36, 34, 34, 0.979);
}

.partner-item img {
  display: block;
  max-width: 100%;
  max-height: 70px;
  height: auto;
  width: auto;
  object-fit: contain;
}

.partner-item:hover {
  transform: translateY(-1px);
  border-color: rgba(29, 78, 216, 0.18);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
}

.site-footer {
  padding: 22px 0;
  background: #3f444a;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-top: 0;
  padding-top: 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-brand {
  display: none;
}

.logo-image {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: cover;
  object-position: left center;
  flex-shrink: 0;
}

.logo-image.small {
  width: 32px;
  height: 32px;
}

.footer-text {
  color: rgba(15, 23, 42, 0.86);
  font-weight: 700;
  letter-spacing: 0.4px;
}

.footer-meta {
  font-size: 12px;
  letter-spacing: 0.4px;
  white-space: normal;
  text-align: center;
  line-height: 1.6;
}

.footer-icp {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
}

.footer-icp:hover {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 1080px) {
  .partner-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .partner-list {
    grid-template-columns: 1fr;
  }
}
