*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg-0: #0f1115;
  --bg-1: #161922;
  --bg-2: #1f2430;
  --fg-0: #e8ecf3;
  --fg-1: #a6adbb;
  --accent: #7c9cff;
  --accent-2: #b889ff;
  --border: rgba(255,255,255,.08);
  --shadow: 0 10px 40px rgba(0,0,0,.35);
}

html, body { height: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  color: var(--fg-0);
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(124,156,255,.18), transparent 60%),
    radial-gradient(900px 500px at 100% 10%, rgba(184,137,255,.14), transparent 60%),
    var(--bg-0);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.wrap {
  width: 100%;
  max-width: 960px;
  text-align: center;
}

.hero .logo {
  font-size: 64px;
  line-height: 1;
  filter: drop-shadow(0 4px 16px rgba(124,156,255,.35));
}
.hero h1 {
  margin: 12px 0 6px;
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: .02em;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .tagline {
  margin: 0 0 40px;
  color: var(--fg-1);
  font-size: 15px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 28px 24px;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(124,156,255,.5);
  box-shadow: 0 14px 48px rgba(0,0,0,.45);
}
.card-icon { font-size: 40px; line-height: 1; margin-bottom: 12px; }
.card h2 { margin: 0 0 6px; font-size: 20px; }
.card p { margin: 0 0 14px; color: var(--fg-1); font-size: 14px; }
.card-link {
  display: inline-block;
  font-size: 13px;
  color: var(--accent);
  border-bottom: 1px dashed rgba(124,156,255,.5);
  padding-bottom: 1px;
}

footer {
  margin-top: 40px;
  color: var(--fg-1);
  font-size: 13px;
}
footer a { color: var(--fg-1); text-decoration: none; border-bottom: 1px dotted var(--fg-1); }
footer a:hover { color: var(--fg-0); }
footer .sep { margin: 0 8px; opacity: .6; }
