/* FX2026 宣传站 — 绝区零(ZZZ)前端风格
   设计变量与 FDC 客户端 zzz.css 同源：#0E0E0E 底 / #141414 面板 / #D8FA00 荧光青柠
   标题 Bahnschrift 斜体加粗 / 硬边框 + 斜切 + 贴纸徽章 / 网格与扫描线背景 */

:root {
  --bg: #0E0E0E;
  --panel: #141414;
  --border: #2A2A2A;
  --accent: #D8FA00;
  --accent-2: #C7F603;
  --blue: #20A0FF;
  --red: #E0564F;
  --text: #E6E6E6;
  --text-dim: #9C9C9C;
  --text-faint: #787878;
  --title-font: "Bahnschrift", "Arial Black", "Microsoft YaHei", sans-serif;
  --body-font: "Microsoft YaHei", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  overflow-x: hidden;
}
::selection { background: var(--accent); color: #000; }
.accent { color: var(--accent); }
b { font-weight: 700; }

/* ===== 导航 ===== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px; height: 58px;
  background: rgba(10, 10, 10, .88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #1A1A1A;
}
.nav-logo {
  font-family: var(--title-font); font-style: italic; font-weight: 900;
  font-size: 22px; letter-spacing: 1px; color: var(--text); text-decoration: none;
}
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a {
  color: var(--text-dim); text-decoration: none; font-size: 13px; font-weight: 700;
  letter-spacing: 2px; transition: color .15s;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  color: #000 !important; background: var(--accent);
  padding: 7px 16px; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  font-style: italic;
}
.nav-cta:hover { background: var(--accent-2); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center;
  padding: 120px 8vw 80px;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(216, 250, 0, .08), transparent 60%),
    var(--bg);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(216, 250, 0, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 250, 0, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; max-width: 900px; }
.hero-tag {
  color: var(--text-faint); font-size: 12px; letter-spacing: 3px; margin-bottom: 18px;
  font-family: var(--title-font);
}
.hero-title {
  font-family: var(--title-font); font-style: italic; font-weight: 900;
  text-transform: uppercase; line-height: .95; letter-spacing: 1px;
  margin-bottom: 26px;
}
.hero-title .line { display: block; }
.hero-title .l1 { font-size: clamp(56px, 11vw, 128px); color: var(--text); }
.hero-title .l2 { font-size: clamp(34px, 6.4vw, 76px); color: var(--text-dim); }
.hero-sub { color: var(--text-dim); font-size: 16px; line-height: 1.9; max-width: 640px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.btn {
  display: inline-block; text-decoration: none; font-family: var(--title-font);
  font-weight: 800; font-style: italic; letter-spacing: 1px;
  padding: 14px 34px; font-size: 15px;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  transition: transform .12s, background .15s, color .15s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* 贴纸徽章：ZZZ 式旋转贴纸 */
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.badge {
  font-family: var(--title-font); font-weight: 800; font-style: italic;
  font-size: 12px; letter-spacing: 1px; padding: 6px 14px; color: #000;
  border-radius: 3px; box-shadow: 3px 3px 0 rgba(0,0,0,.6);
}
.b-yellow { background: var(--accent); transform: rotate(-3deg); }
.b-blue   { background: var(--blue);   transform: rotate(2deg);  }
.b-red    { background: var(--red);    transform: rotate(-2deg); color: #fff; }
.b-green  { background: var(--accent-2); transform: rotate(3deg); }

.hero-sticker {
  position: absolute; right: 7vw; top: 22vh;
  font-family: var(--title-font); font-weight: 900; font-style: italic;
  font-size: clamp(40px, 6vw, 84px); line-height: .9; text-align: center;
  color: var(--accent);
  border: 4px solid var(--accent); padding: 18px 22px;
  transform: rotate(8deg);
  box-shadow: 10px 10px 0 rgba(216, 250, 0, .15);
  animation: float 5s ease-in-out infinite;
  user-select: none;
}
@keyframes float { 50% { transform: rotate(8deg) translateY(-14px); } }

/* ===== 跑马灯 ===== */
.marquee {
  background: var(--accent); color: #000;
  overflow: hidden; white-space: nowrap;
  border-top: 2px solid #000; border-bottom: 2px solid #000;
  transform: rotate(-1deg) scale(1.02);
}
.marquee-track {
  display: inline-flex; gap: 26px; align-items: center;
  padding: 10px 0; font-family: var(--title-font); font-weight: 900;
  font-style: italic; font-size: 15px; letter-spacing: 2px;
  animation: scroll 26s linear infinite;
}
.marquee-track i { font-style: normal; font-size: 10px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ===== 区块通用 ===== */
.section { padding: 90px 8vw 70px; }
.section-alt {
  background:
    linear-gradient(rgba(216,250,0,.03) 1px, transparent 1px),
    var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.sec-head { display: flex; gap: 26px; align-items: flex-start; margin-bottom: 48px; }
.sec-no {
  font-family: var(--title-font); font-weight: 900; font-style: italic;
  font-size: 64px; color: transparent;
  -webkit-text-stroke: 1.5px var(--accent); line-height: 1;
}
.sec-title {
  font-family: var(--title-font); font-style: italic; font-weight: 900;
  font-size: clamp(34px, 5vw, 54px); letter-spacing: 1px; text-transform: uppercase;
}
.sec-sub { color: var(--text-dim); margin-top: 8px; font-size: 14.5px; }

/* ===== 卡片 ===== */
.cards { display: grid; gap: 20px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--panel); border: 1px solid var(--border);
  padding: 26px 24px 30px; position: relative;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 12px 34px rgba(0,0,0,.5); }
.tilt-l { transform: rotate(-.4deg); }
.tilt-r { transform: rotate(.4deg); }
.tilt-l:hover, .tilt-r:hover { transform: translateY(-4px) rotate(0); }
.card-no {
  font-family: var(--title-font); font-style: italic; font-weight: 800;
  font-size: 12px; letter-spacing: 2px; color: #000; background: var(--accent);
  display: inline-block; padding: 4px 10px; margin-bottom: 16px;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.is-hot { border-color: #4a4d1e; box-shadow: inset 0 0 40px rgba(216,250,0,.05); }
.card h3 {
  font-family: var(--title-font); font-style: italic; font-weight: 800;
  font-size: 21px; margin-bottom: 12px; letter-spacing: .5px;
}
.card p { color: var(--text-dim); font-size: 13.5px; line-height: 1.9; }
.chip-row { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.chip {
  font-size: 11px; color: var(--accent); border: 1px solid #3a3f14;
  padding: 3px 10px; font-family: var(--title-font); letter-spacing: 1px;
}

/* ===== 特性行 ===== */
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 20px; }
.feature { background: var(--bg); padding: 20px 22px; font-size: 13.5px; color: var(--text-dim); line-height: 1.8; }
.feature b { display: block; color: var(--accent); font-family: var(--title-font); font-style: italic; font-size: 15px; letter-spacing: 1px; margin-bottom: 4px; }

/* ===== 终端 ===== */
.terminal {
  margin-top: 28px; background: #000; border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
}
.term-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 14px; background: #101010; border-bottom: 1px solid var(--border);
}
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #333; }
.term-bar i:first-child { background: var(--red); }
.term-bar span { margin-left: 10px; color: var(--text-faint); font-size: 11.5px; letter-spacing: 1px; }
.terminal pre {
  padding: 20px 24px; color: var(--text-dim); font-size: 13.5px; line-height: 2;
  font-family: "Cascadia Mono", Consolas, monospace;
}
.terminal pre b { color: var(--accent); }
.terminal .ok { color: var(--accent-2); }
.cursor { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ===== 技术格 ===== */
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tech-item {
  border: 1px solid var(--border); padding: 22px 20px; background: var(--panel);
  transition: border-color .15s;
}
.tech-item:hover { border-color: var(--accent); }
.tech-item i { color: var(--accent); font-style: normal; }
.tech-item b { display: block; font-family: var(--title-font); font-style: italic; font-size: 19px; margin: 8px 0 6px; letter-spacing: 1px; }
.tech-item span { color: var(--text-dim); font-size: 12.5px; line-height: 1.7; }

/* ===== CTA ===== */
.cta {
  text-align: center; padding: 110px 8vw;
  background: radial-gradient(700px 300px at 50% 120%, rgba(216,250,0,.12), transparent 70%), var(--bg);
  border-top: 1px solid var(--border);
}
.cta h2 { font-family: var(--title-font); font-style: italic; font-weight: 900; font-size: clamp(44px, 8vw, 96px); letter-spacing: 2px; }
.cta p { color: var(--text-dim); margin: 14px 0 36px; }
.cta .hero-actions { justify-content: center; margin-bottom: 0; }

/* ===== 页脚 ===== */
.footer {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 22px 8vw; border-top: 1px solid var(--border);
  color: var(--text-faint); font-size: 12px; letter-spacing: 1px;
}

/* ===== 滚动进场 ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .cards.three, .cards.two, .tech-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; }
  .hero-sticker { display: none; }
  .sec-head { flex-direction: column; gap: 8px; }
  .nav-links a:not(.nav-cta) { display: none; }
}
