@charset "utf-8";

:root {
  --bg: #f6f8fc;
  --card: #ffffff;
  --text: #1b2434;
  --muted: #5b667a;
  --dim: #8a94a8;
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.14);
  --indigo: #6366f1;
  --cyan: #06b6d4;
  --purple: #a855f7;
  --grad: linear-gradient(135deg, #6366f1, #22d3ee 55%, #a855f7);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 22px 54px rgba(15, 23, 42, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font);
  color: var(--text);
  background: linear-gradient(180deg, #f8fafc, #eef2f9 60%, #f4f7fc);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 85% 55% at 50% 0%, #000 20%, transparent 72%);
}

.bg-orbs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; animation: float 46s ease-in-out infinite; }
.orb-1 { width: 520px; height: 520px; background: rgba(129, 140, 248, 0.4); top: -14%; left: -8%; }
.orb-2 { width: 430px; height: 430px; background: rgba(34, 211, 238, 0.32); top: 22%; right: -10%; animation-delay: -16s; }
.orb-3 { width: 380px; height: 380px; background: rgba(192, 132, 252, 0.26); bottom: 6%; left: 26%; animation-delay: -30s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(28px, -18px) scale(1.06); }
  66% { transform: translate(-18px, 14px) scale(0.95); }
}

.container { width: min(1100px, 92vw); margin: 0 auto; position: relative; z-index: 1; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(248, 250, 252, 0.72);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 10px; background: var(--grad);
  color: #fff; display: grid; place-items: center; font-size: 15px;
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.35);
}
.brand-text { display: flex; align-items: baseline; gap: 8px; }
.brand-sub { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.header-nav { display: flex; gap: 22px; font-size: 14px; color: var(--muted); }
.header-nav a { transition: color 0.2s; }
.header-nav a:hover { color: var(--indigo); }

.hero { padding: 76px 0 36px; text-align: center; }
.eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, 0.25);
  background: rgba(99, 102, 241, 0.08);
  color: #4f46e5; font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em;
}
.hero h1 { font-size: clamp(32px, 5.4vw, 56px); line-height: 1.12; margin: 20px 0 12px; letter-spacing: -0.02em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-role { font-size: 16px; color: var(--text); font-weight: 600; }
.hero-lead { max-width: 640px; margin: 12px auto 0; color: var(--muted); font-size: 16px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }

.btn {
  padding: 10px 22px; border-radius: 12px; font-size: 14px; font-weight: 600;
  border: 1px solid transparent; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(99, 102, 241, 0.3); }
.btn-primary:hover { box-shadow: 0 16px 34px rgba(99, 102, 241, 0.38); }
.btn-ghost { background: #fff; border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--indigo); color: var(--indigo); box-shadow: var(--shadow); }

.section { padding: 36px 0; position: relative; z-index: 1; }
.section-head { margin-bottom: 20px; }
.section h2 { font-size: 24px; letter-spacing: -0.01em; }
.section-head p, .section > p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }

.entry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.entry-card {
  position: relative; display: flex; gap: 18px; align-items: flex-start;
  padding: 26px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
  overflow: hidden; isolation: isolate;
}
.entry-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(150% 130% at 100% 0%, var(--accent-soft, rgba(99, 102, 241, 0.12)) 0%, transparent 58%);
  opacity: 0.85; transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}
.entry-card:hover { transform: translateY(-5px); border-color: var(--accent, var(--indigo)); box-shadow: var(--shadow-hover); }
.entry-card:hover::before { opacity: 1; transform: scale(1.06); }
.entry-icon {
  width: 54px; height: 54px; flex: none; border-radius: 16px; display: grid; place-items: center;
  font-size: 26px; background: var(--accent-soft, rgba(99, 102, 241, 0.1));
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.entry-card:hover .entry-icon { transform: translateY(-2px) scale(1.06); box-shadow: 0 10px 22px var(--accent-soft, rgba(99, 102, 241, 0.12)); }
.entry-body { flex: 1; }
.entry-body h3 { font-size: 19px; margin-bottom: 6px; }
.entry-body p { color: var(--muted); font-size: 14px; }
.entry-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.tag { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: #f1f4fa; border: 1px solid var(--line); color: var(--muted); }
.tag-cat { background: var(--accent-soft, rgba(99, 102, 241, 0.1)); color: var(--accent, #4f46e5); border-color: transparent; font-weight: 600; }
.entry-arrow {
  width: 38px; height: 38px; flex: none; align-self: center; border-radius: 50%;
  display: grid; place-items: center; font-size: 18px;
  background: var(--accent-soft, rgba(99, 102, 241, 0.1)); color: var(--accent, var(--indigo));
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s;
}
.entry-card:hover .entry-arrow { transform: translateX(4px); background: var(--accent, var(--indigo)); color: #fff; }

.site-footer { margin-top: 56px; border-top: 1px solid var(--line); background: rgba(248, 250, 252, 0.8); position: relative; z-index: 1; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; height: 76px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.footer-inner a:hover { color: var(--indigo); }

@media (max-width: 640px) {
  .header-nav { gap: 14px; font-size: 13px; }
  .brand-sub { display: none; }
  .hero { padding: 52px 0 28px; }
  .entry-card { flex-direction: column; }
  .entry-arrow { align-self: flex-end; }
}
