:root {
  --bg: #070a12;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --border: rgba(255, 255, 255, 0.12);
  --primary: #3c7cff;
  --primary-weak: rgba(60, 124, 255, 0.16);
  --danger: #fb7185;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --focus: 0 0 0 3px rgba(60, 124, 255, 0.28);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial,
    "Noto Sans CJK SC", "Noto Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: -30%;
  background: radial-gradient(1100px 520px at 25% 10%, rgba(60, 124, 255, 0.32), transparent 60%),
    radial-gradient(900px 520px at 80% 20%, rgba(76, 29, 149, 0.34), transparent 60%),
    radial-gradient(800px 380px at 60% 80%, rgba(16, 185, 129, 0.18), transparent 60%);
  filter: blur(60px);
  opacity: 0.95;
  pointer-events: none;
  z-index: 0;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
  z-index: 1;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 10, 18, 0.7);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}

.brand:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 14px;
}

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: block;
  object-fit: contain;
  background: #ffffff;
}

.brand__text {
  display: grid;
  gap: 2px;
}

.brand__name {
  font-weight: 900;
}

.brand__sub {
  font-size: 12px;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.nav__link {
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.nav__link:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.nav__link:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.header__actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-self: end;
}

.header__actions .btn {
  font-size: 13px;
  font-weight: 800;
}

.btn {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 900;
  cursor: pointer;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.btn--primary {
  background: var(--primary);
  border-color: rgba(60, 124, 255, 0.8);
  color: #ffffff;
}

.btn--primary:hover {
  filter: brightness(0.98);
}

.btn--ghost {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.btn--lg {
  padding: 12px 14px;
  border-radius: 14px;
}

.btn--block {
  width: 100%;
}

.main {
  width: min(1100px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 22px 0 40px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  min-height: 68vh;
  padding: 70px 0 46px;
  text-align: center;
}

.hero__content {
  display: grid;
  justify-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-weight: 900;
  font-size: 12px;
}

.hero__title {
  margin: 18px 0 0;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.6px;
}

.hero__desc {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 860px;
}

.hero-appear {
  opacity: 0;
  transform: translateY(10px);
  animation: heroAppear 520ms ease forwards;
}

@keyframes heroAppear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__cta {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__meta {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(960px, 100%);
}

.meta__item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 12px;
}

.meta__kpi {
  font-weight: 900;
  font-size: 13px;
}

.meta__label {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 12px;
}

.card__label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.card__value {
  margin-top: 10px;
  font-size: 30px;
  font-weight: 900;
}

.card__hint {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-weight: 800;
}

.list {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.list__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 900;
  font-size: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.pill--p1 {
  background: rgba(60, 124, 255, 0.2);
  border-color: rgba(60, 124, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
}

.pill--p2 {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.22);
  color: rgba(255, 255, 255, 0.9);
}

.pill--overdue {
  background: rgba(251, 113, 133, 0.12);
  border-color: rgba(251, 113, 133, 0.22);
  color: rgba(255, 255, 255, 0.9);
}

.timeline {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.timeline__item {
  border-radius: 999px;
  padding: 8px 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.74);
}

.timeline__item.is-done {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.22);
  color: rgba(255, 255, 255, 0.9);
}

.timeline__item.is-active {
  background: var(--primary-weak);
  border-color: rgba(60, 124, 255, 0.28);
  color: rgba(255, 255, 255, 0.94);
}

.section {
  margin-top: 100px;
  padding-top: 10px;
  position: relative;
  scroll-margin-top: 86px;
}

.section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

.section__head {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.2px;
}

.muted {
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

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

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 14px;
}

.feature__icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
}

.glyph {
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.6px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.86);
}

.glyph--web {
  color: rgba(60, 124, 255, 0.95);
}

.glyph--student {
  color: rgba(16, 185, 129, 0.95);
}

.glyph--ai {
  color: rgba(60, 124, 255, 0.95);
}

.glyph--agent {
  color: rgba(168, 85, 247, 0.95);
}

.glyph--ops {
  color: rgba(99, 102, 241, 0.95);
}

.glyph--doc {
  color: rgba(251, 191, 36, 0.95);
}

.glyph--task {
  color: rgba(244, 114, 182, 0.95);
}

.glyph--kpi {
  color: rgba(56, 189, 248, 0.95);
}

.glyph--api {
  color: rgba(168, 85, 247, 0.95);
}

.feature__title {
  font-weight: 900;
  margin-bottom: 6px;
}

.feature__desc {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.mini-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
  font-size: 13px;
}

.mini-list li {
  padding: 10px 10px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

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

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.step__num {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 900;
  background: rgba(60, 124, 255, 0.16);
  border: 1px solid rgba(60, 124, 255, 0.26);
}

.step__title {
  font-weight: 900;
}

.step__desc {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

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

.security__item {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.security__title {
  font-weight: 900;
}

.security__desc {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

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

.plan {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 14px;
  display: grid;
  gap: 12px;
}

.plan--featured {
  background: rgba(60, 124, 255, 0.12);
  border-color: rgba(60, 124, 255, 0.24);
}

.plan__name {
  font-weight: 900;
  font-size: 16px;
}

.plan__price {
  color: var(--muted);
  font-weight: 900;
  font-size: 13px;
}

.plan__list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
  font-size: 13px;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 10, 18, 0.65);
  margin-top: 80px;
}

.footer__inner {
  width: min(1100px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__name {
  font-weight: 900;
}

.footer__desc {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.footer__links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 900;
  font-size: 13px;
}

.footer__links a:hover {
  color: var(--text);
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.icon-btn:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 50;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
}

.modal__panel {
  position: relative;
  width: min(420px, calc(100vw - 28px));
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 13, 22, 0.88);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  padding: 14px;
  z-index: 1;
}

.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal__title {
  font-weight: 900;
}

.form {
  padding-top: 12px;
  display: grid;
  gap: 12px;
}

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

.tenant-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  width: 100%;
}

.tenant-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.tenant-item.is-selected {
  border-color: rgba(60, 124, 255, 0.55);
  box-shadow: var(--focus);
  background: rgba(60, 124, 255, 0.12);
}

.tenant-item__icon {
  height: 64px;
  width: auto;
  max-width: 200px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  object-fit: contain;
  flex: 0 0 auto;
}

.tenant-item__name {
  font-weight: 900;
  font-size: 13px;
}

.tenant-selected {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.72);
}

.field {
  display: grid;
  gap: 8px;
}

.field__label {
  font-size: 12px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.72);
}

.input {
  width: 100%;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  outline: none;
}

.input::placeholder {
  color: rgba(255, 255, 255, 0.44);
}

.input:focus-visible {
  box-shadow: var(--focus);
  border-color: rgba(60, 124, 255, 0.5);
}

.form__hint {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.6;
  font-weight: 800;
}

.contact-card {
  padding-top: 16px;
  padding-bottom: 10px;
  display: grid;
  gap: 16px;
}

.contact-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.contact-card__label,
.contact-card__text,
.contact-card__email {
  font-size: 14px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.92);
}

.contact-card__text,
.contact-card__email {
  text-align: right;
  word-break: break-all;
}

.contact-card__text {
  text-decoration: none;
}

.contact-card__text:focus-visible,
.contact-card__email:focus-visible {
  outline: none;
  text-decoration: underline;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.78);
  color: #ffffff;
  padding: 10px 12px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  z-index: 60;
  max-width: calc(100vw - 24px);
  font-weight: 900;
}

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

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }

  .hero__title {
    font-size: 34px;
  }

  .hero__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .security {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}
