:root {
  color-scheme: light;
  --ink: #101828;
  --muted: #667085;
  --line: #e4e7ec;
  --surface: #ffffff;
  --canvas: #f4f6fa;
  --accent: #7c5cff;
  --accent-soft: #ede9fe;
  --success: #12b76a;
  --shadow: 0 18px 50px rgba(16, 24, 40, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.locked {
  min-height: 100vh;
  overflow: hidden;
  background: #101828;
}

.lock-screen {
  min-height: 100vh;
  padding: 24px;
  display: grid;
  place-items: center;
  background: #101828;
}

.unlock-panel {
  width: min(100%, 430px);
  padding: 36px;
  border: 1px solid #344054;
  border-radius: 8px;
  color: #f9fafb;
  background: #1d2939;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.unlock-brand {
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #101828;
  background: #ffffff;
  font-size: 18px;
  font-weight: 800;
}

.unlock-kicker {
  margin: 0 0 9px;
  color: #a4bcfd;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.unlock-panel h1 {
  margin: 0;
  font-size: 30px;
  letter-spacing: 0;
}

.unlock-copy {
  margin: 11px 0 28px;
  color: #98a2b3;
  line-height: 1.6;
}

.unlock-panel label {
  display: block;
  margin-bottom: 8px;
  color: #d0d5dd;
  font-size: 13px;
  font-weight: 600;
}

.password-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.password-row input {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 13px;
  border: 1px solid #475467;
  border-radius: 6px;
  color: #f9fafb;
  background: #101828;
  font: inherit;
}

.password-row input:focus {
  outline: 3px solid rgba(164, 188, 253, 0.22);
  border-color: #84adff;
}

.unlock-button {
  height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 6px;
  color: #101828;
  background: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.unlock-button:disabled { opacity: 0.6; cursor: wait; }

.unlock-error {
  min-height: 20px;
  margin: 10px 0 0;
  color: #fda29b;
  font-size: 13px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 3%, rgba(124, 92, 255, 0.08), transparent 26rem),
    var(--canvas);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: white;
  background: var(--ink);
  font-size: 15px;
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.18);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: #344054;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(228, 231, 236, 0.9);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(12px);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(18, 183, 106, 0.12);
}

.hero {
  position: relative;
  min-height: 490px;
  padding: 70px 76px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  border-radius: 32px;
  color: white;
  background:
    radial-gradient(circle at 83% 27%, rgba(145, 119, 255, 0.35), transparent 24rem),
    linear-gradient(135deg, #101828 0%, #182230 60%, #212b4a 100%);
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to right, transparent 10%, black 75%);
}

.hero-copy { position: relative; z-index: 2; }

.eyebrow {
  margin: 0 0 16px;
  color: #98a2b3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hero h1 {
  margin: 0;
  max-width: 650px;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.hero h1 span { color: #a994ff; }

.hero-text {
  max-width: 570px;
  margin: 26px 0 32px;
  color: #cfd4dc;
  font-size: 17px;
  line-height: 1.85;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 13px 18px;
  border-radius: 12px;
  color: var(--ink);
  background: white;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.hero-visual {
  position: relative;
  z-index: 1;
  width: min(330px, 100%);
  aspect-ratio: 1;
  justify-self: center;
}

.core {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 34px;
  color: white;
  background: linear-gradient(145deg, rgba(169, 148, 255, 0.96), rgba(93, 63, 211, 0.92));
  box-shadow: 0 28px 70px rgba(93, 63, 211, 0.46), inset 0 1px rgba(255, 255, 255, 0.45);
  font-size: 40px;
  font-weight: 800;
}

.orbit {
  position: absolute;
  inset: 50% auto auto 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one { width: 220px; height: 220px; }
.orbit-two { width: 330px; height: 330px; }

.spark {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c4b5fd;
  box-shadow: 0 0 22px #a78bfa;
}

.spark-one { top: 15%; left: 25%; }
.spark-two { right: 4%; top: 51%; width: 6px; height: 6px; }
.spark-three { bottom: 10%; left: 34%; width: 5px; height: 5px; }

.services { padding: 92px 0 30px; }

.section-heading {
  margin-bottom: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading .eyebrow { color: var(--accent); margin-bottom: 9px; }

.section-heading h2 {
  margin: 0;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.section-heading > p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 14px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 245px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 8px 30px rgba(16, 24, 40, 0.035);
}

.active-card {
  border-color: #d8d0ff;
  background: linear-gradient(145deg, #fff 20%, #f4f0ff 100%);
}

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--accent);
  background: var(--accent-soft);
}

.card-icon svg { width: 22px; fill: currentColor; }

.card-state {
  display: inline-block;
  margin-bottom: 9px;
  color: #98a2b3;
  font-size: 12px;
  font-weight: 700;
}

.card-state.available { color: var(--success); }

.card-content h3 {
  margin: 0 0 9px;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.card-content p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.card-arrow {
  position: absolute;
  top: 26px;
  right: 26px;
  color: var(--accent);
  font-size: 22px;
}

.muted-card { color: #344054; }

footer {
  min-height: 110px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #98a2b3;
  font-size: 13px;
}

.footer-separator {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #d0d5dd;
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    padding: 58px 40px;
    grid-template-columns: 1fr;
  }

  .hero-visual { display: none; }
  .card-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 210px; }
}

@media (max-width: 560px) {
  .lock-screen { padding: 14px; }
  .unlock-panel { padding: 26px 20px; }
  .password-row { grid-template-columns: 1fr; }
  .unlock-button { width: 100%; }
  .page-shell { width: min(100% - 24px, 1180px); }
  .site-header { height: 72px; }
  .hero { padding: 46px 25px; border-radius: 24px; }
  .hero h1 { font-size: 44px; }
  .hero-text { font-size: 15px; }
  .services { padding-top: 66px; }
  .section-heading { align-items: start; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .primary-action { transition: none; }
}

.service-link {
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.service-link:hover {
  transform: translateY(-4px);
  border-color: #b9a9ff;
  box-shadow: 0 18px 46px rgba(80, 56, 170, 0.13);
}

.service-link:focus-visible {
  outline: 3px solid rgba(124, 92, 255, 0.35);
  outline-offset: 3px;
}
