/* ============================================================
   AgentLab — Landing / Entry Page Styles
   Minimal, dark, dependency-free
   ============================================================ */

:root {
  --bg: #07070d;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eceef8;
  --muted: #9ea1ba;
  --muted-2: #6f7288;
  --accent: #7c5cff;
  --accent-2: #22d3ee;
  --grad: linear-gradient(120deg, #7c5cff 0%, #22d3ee 100%);
  --radius-sm: 11px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.1px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1 { margin: 0; line-height: 1.2; font-weight: 700; letter-spacing: -0.03em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

/* ---------- ambient background ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(760px 420px at 50% -8%, rgba(124, 92, 255, 0.20), transparent 70%),
    radial-gradient(620px 380px at 88% 108%, rgba(34, 211, 238, 0.12), transparent 72%);
}
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 38%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 38%, #000 0%, transparent 78%);
}

/* ---------- layout ---------- */
.home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 48px 20px 32px;
}
.home__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 40px;
}

/* ---------- brand ---------- */
.home__title {
  font-size: clamp(36px, 7vw, 50px);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.home__sub {
  margin-top: 16px;
  font-size: 17px;
  color: var(--muted);
}
.home__desc {
  margin-top: 7px;
  font-size: 14px;
  color: var(--muted-2);
}

/* ---------- enter button ---------- */
.enter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  background: var(--grad);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.enter:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(124, 92, 255, 0.85);
}
.enter:active { transform: translateY(0); }
.enter:focus-visible { outline: none; box-shadow: 0 0 0 3.5px rgba(124, 92, 255, 0.28); }
.enter__arrow { transition: transform 0.18s ease; }
.enter:hover .enter__arrow { transform: translateX(3px); }

/* ---------- footer ---------- */
.foot { text-align: center; font-size: 12.5px; color: var(--muted-2); }
.foot__copy { margin-bottom: 6px; }
.foot__beian a { color: var(--muted-2); transition: color 0.18s ease; }
.foot__beian a:hover { color: var(--muted); }
.foot__police {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.foot__police img { height: 15px; width: auto; display: block; }
.foot__police a { color: var(--muted-2); transition: color 0.18s ease; }
.foot__police a:hover { color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 460px) {
  .home { padding: 36px 16px 26px; }
  .home__sub { font-size: 15.5px; }
  .enter { margin-top: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
