/* ===== 设计变量：深色冷光 ===== */
:root {
  --bg: #0A0E1A;
  --bg-soft: #111726;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(120, 180, 255, 0.12);
  --border-strong: rgba(0, 229, 255, 0.45);
  --text: #E6EDF7;
  --text-dim: #8A97B0;
  --text-faint: #5A6680;
  --cyan: #00E5FF;
  --blue: #4D7CFF;
  --purple: #9B6BFF;
  --grad: linear-gradient(120deg, #00E5FF 0%, #4D7CFF 50%, #9B6BFF 100%);
  --radius: 14px;
  --maxw: 1120px;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --sans: "Inter", "Noto Sans SC", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ===== 基础 ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
a { color: inherit; text-decoration: none; }
::selection { background: rgba(0, 229, 255, 0.3); color: #fff; }

/* ===== 背景层 ===== */
.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(120, 180, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 180, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
}
.bg-glow {
  position: fixed; z-index: -1; border-radius: 50%;
  filter: blur(120px); opacity: 0.5; pointer-events: none;
}
.bg-glow--1 {
  width: 520px; height: 520px;
  top: -120px; left: -80px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.35), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
.bg-glow--2 {
  width: 480px; height: 480px;
  top: 200px; right: -100px;
  background: radial-gradient(circle, rgba(155, 107, 255, 0.3), transparent 70%);
  animation: drift 22s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(60px, 40px); }
}

/* ===== 导航 ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10, 14, 26, 0.55);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--border); background: rgba(10, 14, 26, 0.8); }
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  height: 64px; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__logo { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .02em; }
.nav__logo-mark { color: var(--cyan); font-size: 14px; text-shadow: 0 0 12px rgba(0, 229, 255, 0.6); }
.nav__logo-text { font-size: 16px; }
.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-size: 14px; color: var(--text-dim); transition: color .2s; position: relative;
}
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--cyan); transition: width .25s;
}
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  font-size: 13px; color: var(--cyan);
  padding: 8px 14px; border: 1px solid var(--border-strong); border-radius: 999px;
  transition: background .2s, box-shadow .2s;
}
.nav__cta:hover { background: rgba(0, 229, 255, 0.08); box-shadow: 0 0 20px rgba(0, 229, 255, 0.2); }

/* ===== Hero ===== */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: 120px 24px 100px;
  text-align: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-dim);
  padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px;
  font-family: var(--mono); letter-spacing: .04em;
}
.pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

.hero__title {
  font-size: clamp(48px, 9vw, 104px);
  font-weight: 800; letter-spacing: -.02em;
  margin: 28px 0 18px; line-height: 1;
}
.gradient-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero__subtitle {
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 500; color: var(--text); letter-spacing: .02em;
}
.hero__desc {
  font-size: 15px; color: var(--text-dim);
  max-width: 540px; margin: 18px auto 36px;
}
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  font-size: 14px; padding: 12px 26px; border-radius: 999px;
  transition: transform .2s, box-shadow .2s, background .2s;
  cursor: pointer; border: 1px solid transparent;
}
.btn--primary {
  background: var(--grad); color: #0A0E1A; font-weight: 600;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(0, 229, 255, 0.45); }
.btn--ghost { border-color: var(--border); color: var(--text); }
.btn--ghost:hover { border-color: var(--border-strong); background: var(--surface-hover); }

.hero__stats {
  display: inline-flex; align-items: center; gap: 28px;
  margin-top: 72px; padding: 20px 36px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface);
}
.stat__num {
  font-family: var(--mono); font-size: 26px; font-weight: 600;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat__label { font-size: 12px; color: var(--text-faint); margin-top: 2px; }
.stat__divider { width: 1px; height: 32px; background: var(--border); }

/* ===== 通用 section ===== */
.section {
  max-width: var(--maxw); margin: 0 auto;
  padding: 80px 24px;
  border-top: 1px solid var(--border);
}
.section__head { margin-bottom: 48px; }
.section__index {
  font-family: var(--mono); font-size: 13px; color: var(--cyan);
  letter-spacing: .1em; display: block; margin-bottom: 12px;
}
.section__title {
  font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -.01em;
}
.section__sub { color: var(--text-dim); margin-top: 10px; font-size: 15px; }

/* ===== 卡片网格（大模型） ===== */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}
.card {
  position: relative; padding: 24px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .25s, transform .25s, background .25s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  padding: 1px; background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .25s;
}
.card:hover { transform: translateY(-4px); background: var(--surface-hover); }
.card:hover::before { opacity: 1; }
.card__top {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;
}
.card__tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em;
  color: var(--cyan); padding: 3px 9px;
  border: 1px solid var(--border-strong); border-radius: 999px;
}
.card__tag--alt { color: var(--purple); border-color: rgba(155, 107, 255, 0.45); }
.card__vendor { font-size: 12px; color: var(--text-faint); font-family: var(--mono); }
.card__title { font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.card__desc { font-size: 13.5px; color: var(--text-dim); margin-bottom: 20px; }
.card__meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.card__meta dt { font-size: 11px; color: var(--text-faint); margin-bottom: 4px; }
.card__meta dd { font-size: 13px; font-family: var(--mono); color: var(--text); }

/* ===== 工具列表 ===== */
.tool-list { display: flex; flex-direction: column; gap: 14px; }
.tool {
  display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 20px;
  padding: 20px 24px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .25s, background .25s, transform .25s;
}
.tool:hover { border-color: var(--border-strong); background: var(--surface-hover); transform: translateX(4px); }
.tool__icon {
  width: 56px; height: 56px; border-radius: 12px;
  display: grid; place-items: center; font-size: 24px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(155, 107, 255, 0.12));
  border: 1px solid var(--border); color: var(--cyan);
}
.tool__name { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.tool__desc { font-size: 13.5px; color: var(--text-dim); }
.tool__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tool__tags span {
  font-family: var(--mono); font-size: 11px; color: var(--text-dim);
  padding: 4px 10px; border: 1px solid var(--border); border-radius: 999px;
}

/* ===== Vibe Coding ===== */
.vibe-wrap { display: flex; flex-direction: column; gap: 40px; }
.vibe-quote {
  font-size: clamp(20px, 2.8vw, 28px); font-weight: 500;
  line-height: 1.5; padding: 32px 36px;
  border-left: 2px solid var(--cyan);
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.06), transparent 70%);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.vibe-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.vibe-list li {
  display: grid; grid-template-columns: 48px 1fr; gap: 16px;
  padding: 22px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .25s, background .25s;
}
.vibe-list li:hover { border-color: var(--border-strong); background: var(--surface-hover); }
.vibe-list__num { font-family: var(--mono); font-size: 16px; color: var(--cyan); }
.vibe-list h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.vibe-list p { font-size: 13.5px; color: var(--text-dim); }

/* ===== 页脚 ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px; text-align: center;
}
.footer__inner { max-width: var(--maxw); margin: 0 auto; }
.footer__brand { font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.footer__note { color: var(--text-dim); font-size: 13px; margin-top: 10px; }
.footer__copy { color: var(--text-faint); font-size: 12px; margin-top: 18px; font-family: var(--mono); }

/* ===== 入场动画 ===== */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }

.website-records-layout {
    position: fixed;
    width: 100%;
    left: 0;
    bottom: 0;
    text-align: center;
    background: ghostwhite;
    color: #404040;
    font-size: 12px;
    line-height: 24px;
}

/* ===== 响应式 ===== */
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__cta { padding: 6px 12px; }
  .hero { padding: 80px 20px 60px; }
  .hero__stats { gap: 18px; padding: 16px 22px; }
  .stat__divider { height: 24px; }
  .section { padding: 60px 20px; }
  .tool { grid-template-columns: 44px 1fr; }
  .tool__tags { grid-column: 1 / -1; }
  .tool__icon { width: 44px; height: 44px; font-size: 20px; }
  .vibe-quote { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}