/* Neural Studio 落地页 · 深蓝渐变 */
:root {
  --bg: #050a12;
  --bg-2: #0a1730;
  --ink: #f5f8ff;
  --muted: #9db0cb;
  --line: rgba(255, 255, 255, 0.12);
  --blue: #5b8cff;
  --radius: 18px;
  --font: -apple-system, "SF Pro Display", "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
.landing { min-height: 100vh; overflow: hidden; }

/* 顶部导航 */
.site-nav {
  position: absolute;
  z-index: 20;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px clamp(20px, 6vw, 72px);
}
.brand { display: flex; align-items: center; gap: 9px; font-size: 13px; letter-spacing: 0.01em; font-weight: 600; }
.brand-mark {
  width: 20px; height: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 6px;
  background: transparent;
}
.brand-mark i { display: block; border-radius: 1.5px; background: rgba(255, 255, 255, 0.88); }
.nav-links { display: flex; gap: 28px; font-size: 12.5px; color: rgba(255,255,255,0.72); }
.nav-links a { transition: color 160ms ease; }
.nav-links a:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.user-badge { font-size: 12px; color: var(--muted); }
.nav-login {
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.06);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: background 160ms ease, border-color 160ms ease;
}
.nav-login:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.4); }

/* Hero */
.hero {
  position: relative;
  padding: 150px 20px 110px;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% -10%, #2f63d8 0%, #173a8d 28%, #0a1730 55%, #050a12 78%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow {
  position: absolute;
  left: 50%; top: -34%;
  width: 1200px; height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(150,195,255,0.45), rgba(80,130,255,0.10) 55%, transparent 72%);
  filter: blur(10px);
}
.hero-arc {
  position: absolute;
  left: 50%; top: -58%;
  width: 1760px; height: 1020px;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow:
    0 0 0 1px rgba(120,170,255,0.10) inset,
    0 -40px 160px rgba(120,180,255,0.16);
}
.hero-arc::after {
  content: "";
  position: absolute;
  inset: 46px;
  border-radius: 50%;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.hero-grid {
  position: absolute; inset: auto 0 0;
  height: 42%;
  background:
    linear-gradient(rgba(120,160,220,0.08) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(120,160,220,0.08) 1px, transparent 1px) 0 0 / 64px 64px;
  mask-image: linear-gradient(180deg, transparent, #000 40%);
  opacity: 0.35;
}
.hero-copy { position: relative; z-index: 2; max-width: 880px; text-align: center; padding: 0 8px; }
.eyebrow {
  margin: 0 0 26px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(210,228,255,0.72);
}
.hero h1 {
  margin: 0;
  font-size: clamp(38px, 5.2vw, 66px);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff 30%, #c8daff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin: 24px auto 0;
  font-size: clamp(13px, 1.15vw, 15px);
  line-height: 1.75;
  color: rgba(220,232,255,0.70);
  font-weight: 400;
}
.hero-cta { margin-top: 34px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.btn:active { transform: translateY(1px); }
.btn.primary { background: #ffffff; color: #0a1730; }
.btn.primary:hover { background: #eaf1ff; }
.btn.ghost { background: rgba(255,255,255,0.04); color: #eaf2ff; border-color: rgba(255,255,255,0.26); backdrop-filter: blur(10px); }
.btn.ghost:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.42); }
.btn.full { width: 100%; }
.hero-note { margin: 20px 0 0; font-size: 11.5px; color: rgba(190,210,235,0.55); }

/* 功能卡片 */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 96px auto 0;
  padding: 0 24px;
}
.feature-card {
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  padding: 26px 24px;
}
.feature-index { font-size: 11px; letter-spacing: 0.18em; color: rgba(150,180,235,0.6); }
.feature-card h3 { margin: 30px 0 10px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.feature-card p { margin: 0; font-size: 12.5px; line-height: 1.8; color: var(--muted); }

/* 流程 */
.workflow { max-width: 1120px; margin: 110px auto 0; padding: 0 24px; }
.workflow-head h2 {
  margin: 10px 0 0;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.02em;
  font-weight: 600;
  color: rgba(245,248,255,0.92);
}
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.step { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; }
.step-num {
  display: inline-flex;
  width: 26px; height: 26px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  font-size: 11px;
  color: rgba(220,235,255,0.82);
}
.step h4 { margin: 18px 0 8px; font-size: 14px; font-weight: 600; }
.step p { margin: 0; font-size: 12px; line-height: 1.8; color: var(--muted); }

.site-footer {
  max-width: 1120px;
  margin: 120px auto 0;
  padding: 26px 24px 40px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(180,200,230,0.45);
}
.footer-hint { letter-spacing: 0.04em; }

/* 登录弹窗 */
.login-mask {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(3, 7, 14, 0.72);
  backdrop-filter: blur(16px);
}
.login-mask[hidden] { display: none !important; }
.login-card {
  position: relative;
  width: min(420px, 100%);
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(180deg, #0d1a30, #080f1c);
  box-shadow: 0 40px 120px rgba(0,0,0,0.6);
  padding: 28px;
}
.login-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: rgba(220,235,255,0.5);
  font-size: 18px;
  cursor: pointer;
}
.login-close:hover { background: rgba(255,255,255,0.08); color: #fff; }
.login-brand { display: flex; align-items: center; gap: 9px; font-size: 10px; letter-spacing: 0.24em; color: rgba(200,220,250,0.65); }
.login-card h2 { margin: 20px 0 8px; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.login-sub { margin: 0 0 20px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.login-actions { display: flex; flex-direction: column; gap: 10px; }
.login-actions .btn.primary { background: #ffffff; color: #0a1730; }
.login-actions .btn.ghost { background: rgba(255,255,255,0.05); }
.wx-help { margin-top: 18px; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 14px; font-size: 11.5px; color: var(--muted); }
.wx-help summary { cursor: pointer; color: rgba(220,235,255,0.72); }
.wx-help ol { margin: 10px 0 0; padding-left: 18px; line-height: 1.9; }
.wx-help code { color: #bcd4ff; font-family: "JetBrains Mono", Consolas, monospace; font-size: 10.5px; }
.login-foot { margin: 18px 0 0; font-size: 10.5px; line-height: 1.7; color: rgba(170,195,230,0.5); }

@media (max-width: 860px) {
  .hero { padding-top: 132px; }
  .nav-links { display: none; }
  .features, .workflow-grid { grid-template-columns: 1fr; }
  .features { margin-top: 64px; }
  .site-footer { margin-top: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .nav-login { transition: none !important; }
}
