:root {
  --bg: #07080c;
  --panel: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef1f8;
  --muted: #9aa3b5;
  --dim: #6b7385;
  --accent: #5b8cff;
  --accent2: #22d3ee;
  --radius: 16px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.bg-glow {
  position: fixed;
  inset: -20% -10% auto -10%;
  height: 720px;
  background:
    radial-gradient(420px 320px at 22% 18%, rgba(91, 140, 255, 0.20), transparent 70%),
    radial-gradient(460px 340px at 78% 8%, rgba(34, 211, 238, 0.13), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 22px;
}

a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- hero ---------- */
.hero {
  padding: 84px 0 12px;
  text-align: center;
}

.avatar-wrap { display: flex; justify-content: center; margin-bottom: 22px; }

.avatar {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 6px rgba(91, 140, 255, 0.08), 0 18px 40px rgba(0, 0, 0, 0.45);
}

.avatar-fallback {
  display: grid;
  place-items: center;
  font-size: 42px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #4a76ff, #22d3ee);
}

h1 {
  margin: 0;
  font-size: clamp(30px, 6vw, 46px);
  line-height: 1.2;
  letter-spacing: 0.01em;
  font-weight: 700;
}

.tagline {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 2.4vw, 18px);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.tags li {
  padding: 5px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

/* ---------- intro ---------- */
.intro-block { padding: 40px 0 8px; }

.intro {
  margin: 0;
  color: #c6ccdb;
  font-size: 17px;
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

/* ---------- sections ---------- */
.section { padding: 52px 0 4px; }

.section-title {
  margin: 0 0 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--dim);
  text-transform: uppercase;
}

.section-title::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  margin-right: 10px;
  vertical-align: middle;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

/* ---------- cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.card {
  position: relative;
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.card:hover {
  border-color: rgba(91, 140, 255, 0.45);
  background: rgba(91, 140, 255, 0.06);
  transform: translateY(-2px);
}

.card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.card .subtitle {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--accent2);
  letter-spacing: 0.02em;
}

.card .body {
  margin: 12px 0 0;
  font-size: 14.5px;
  color: var(--muted);
}

.card-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
}

/* ---------- contact ---------- */
.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.qr { margin: 0; text-align: center; }

.qr img {
  width: 168px;
  height: 168px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 8px;
}

.qr figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--dim);
}

.contact-list { flex: 1 1 220px; }

.contact-list p {
  margin: 0 0 12px;
  font-size: 15px;
}

.contact-list p:last-child { margin-bottom: 0; }

.label {
  display: inline-block;
  min-width: 74px;
  color: var(--dim);
  font-size: 13px;
  letter-spacing: 0.08em;
}

/* ---------- footer ---------- */
.footer {
  padding: 64px 0 44px;
  text-align: center;
  color: var(--dim);
  font-size: 13px;
  letter-spacing: 0.06em;
}

@media (max-width: 560px) {
  .hero { padding-top: 60px; }
  .cards { grid-template-columns: 1fr; }
  .contact { gap: 22px; padding: 22px; }
  .qr img { width: 150px; height: 150px; }
  .intro { font-size: 16px; }
}
