/* ============================================================
   七鱼科技 — 品牌官网样式
   深色 · 电影感 · 克制
   ============================================================ */

:root {
  --bg: #07080b;
  --bg-soft: #0c0e13;
  --panel: #101319;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eef1f6;
  --text-soft: #a2a9b8;
  --text-dim: #6b7280;
  --accent: #7c8cff;
  --accent-2: #38e1c8;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* 英文点缀字体 */
.mono {
  font-family: "SF Mono", "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  letter-spacing: 0.08em;
}

/* ---------- 背景光晕 ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.aurora::before,
.aurora::after {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  will-change: transform;
}
.aurora::before {
  background: radial-gradient(circle, rgba(124, 140, 255, 0.5), transparent 60%);
  top: -20vw;
  left: -10vw;
  animation: drift1 26s var(--ease) infinite alternate;
}
.aurora::after {
  background: radial-gradient(circle, rgba(56, 225, 200, 0.32), transparent 60%);
  bottom: -25vw;
  right: -12vw;
  animation: drift2 32s var(--ease) infinite alternate;
}
@keyframes drift1 {
  to { transform: translate3d(12vw, 10vh, 0) scale(1.15); }
}
@keyframes drift2 {
  to { transform: translate3d(-10vw, -8vh, 0) scale(1.1); }
}
/* 细颗粒噪点，压高级感 */
.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 顶部导航 ---------- */
header.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
header.nav.scrolled {
  background: rgba(7, 8, 11, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: 0.02em; }
.brand .dot {
  width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  position: relative; flex: none;
  box-shadow: 0 0 24px rgba(124, 140, 255, 0.5);
}
.brand .dot::after {
  content: ""; position: absolute; inset: 6px;
  border-radius: 4px; background: var(--bg);
}
.brand small { color: var(--text-dim); font-weight: 400; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  color: var(--text-soft);
  font-size: 14px;
  transition: color 0.25s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  border: 1px solid var(--line-strong);
  padding: 9px 18px;
  border-radius: 999px;
  color: var(--text) !important;
  transition: all 0.3s var(--ease);
}
.nav-cta:hover {
  background: var(--text);
  color: var(--bg) !important;
  border-color: var(--text);
}
.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-soft);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 34px;
}
.eyebrow i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 10px var(--accent-2);
  display: inline-block;
}
.hero h1 {
  font-size: clamp(40px, 7.2vw, 88px);
  line-height: 1.05;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 30px;
}
.hero h1 .g {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-soft);
  max-width: 620px;
  margin-bottom: 44px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s var(--ease);
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #06070a;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(124, 140, 255, 0.35); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,0.05); border-color: var(--text-soft); }

.hero-meta {
  margin-top: 72px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 13px;
}
.hero-meta b { color: var(--text); font-size: 26px; font-weight: 600; display: block; margin-bottom: 2px; }

/* ---------- 通用区块 ---------- */
section.block { padding: 110px 0; position: relative; }
.sec-head { margin-bottom: 56px; max-width: 720px; }
.sec-tag {
  font-size: 12px;
  color: var(--accent-2);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}
.sec-head h2 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 620;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.sec-head p {
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 17px;
}

/* 信念卡片 */
.grid { display: grid; gap: 18px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
}
.card .num { font-size: 13px; color: var(--text-dim); margin-bottom: 20px; }
.card h3 { font-size: 20px; margin-bottom: 12px; font-weight: 600; letter-spacing: -0.01em; }
.card p { color: var(--text-soft); font-size: 15px; }

/* 能力标签 */
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text-soft);
  transition: all 0.3s var(--ease);
}
.chip:hover { color: var(--text); border-color: var(--line-strong); }

/* 大段陈述 */
.statement {
  font-size: clamp(24px, 3.6vw, 40px);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.01em;
  max-width: 900px;
}
.statement .muted { color: var(--text-dim); }
.statement .g {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* 加入我们 CTA 大块 */
.join {
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 64px 48px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(124,140,255,0.12), transparent 55%),
    radial-gradient(120% 140% at 100% 100%, rgba(56,225,200,0.1), transparent 55%),
    var(--bg-soft);
  text-align: center;
}
.join h2 { font-size: clamp(28px, 4.4vw, 52px); font-weight: 640; letter-spacing: -0.02em; }
.join p { color: var(--text-soft); margin: 20px auto 36px; max-width: 560px; font-size: 17px; }

/* ---------- 页脚 ---------- */
footer.site {
  border-top: 1px solid var(--line);
  padding: 60px 0 40px;
  margin-top: 40px;
  color: var(--text-dim);
  font-size: 13px;
}
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 44px; }
.foot-top .brand { color: var(--text); }
.foot-links { display: flex; gap: 60px; flex-wrap: wrap; }
.foot-col h4 { color: var(--text-soft); font-size: 12px; text-transform: uppercase; margin-bottom: 16px; font-weight: 500; letter-spacing: 0.08em; }
.foot-col a, .foot-col span { display: block; color: var(--text-dim); margin-bottom: 10px; transition: color 0.25s var(--ease); }
.foot-col a:hover { color: var(--text); }
.foot-legal { border-top: 1px solid var(--line); padding-top: 28px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; line-height: 1.9; }
.foot-legal a { color: var(--text-dim); }
.foot-legal a:hover { color: var(--text-soft); }

/* ---------- 关于/加入 页 ---------- */
.page-hero { padding: 160px 0 40px; }
.page-hero h1 { font-size: clamp(34px, 6vw, 64px); font-weight: 640; letter-spacing: -0.02em; line-height: 1.08; }
.page-hero .lead { color: var(--text-soft); font-size: clamp(16px,2vw,20px); max-width: 640px; margin-top: 24px; }

.tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--line); margin: 20px 0 48px; flex-wrap: wrap; }
.tab-btn {
  background: none; border: 0; color: var(--text-dim); cursor: pointer;
  padding: 14px 20px; font-size: 15px; position: relative;
  font-family: inherit; transition: color 0.25s var(--ease);
}
.tab-btn:hover { color: var(--text-soft); }
.tab-btn.active { color: var(--text); }
.tab-btn.active::after {
  content: ""; position: absolute; left: 20px; right: 20px; bottom: -1px;
  height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.tab-panel { display: none; animation: fade 0.5s var(--ease); }
.tab-panel.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.prose { max-width: 760px; }
.prose p { color: var(--text-soft); margin-bottom: 20px; font-size: 16px; }
.prose h3 { font-size: 22px; margin: 40px 0 16px; font-weight: 600; }
.prose ol { color: var(--text-dim); margin: 0 0 20px 20px; }
.prose ol li { margin-bottom: 8px; }

/* 岗位 */
.jobs { display: grid; gap: 16px; }
.job {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}
.job:hover { border-color: var(--line-strong); }
.job summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.job summary::-webkit-details-marker { display: none; }
.job summary h3 { font-size: 20px; font-weight: 600; }
.job summary .tag { color: var(--text-dim); font-size: 13px; }
.job .plus { color: var(--text-soft); font-size: 24px; transition: transform 0.3s var(--ease); flex: none; }
.job[open] .plus { transform: rotate(45deg); }
.job .body { padding: 0 30px 30px; color: var(--text-soft); font-size: 15px; }
.job .body strong { color: var(--text); display: block; margin: 18px 0 8px; font-weight: 600; }
.job .body ul { margin-left: 18px; }
.job .body li { margin-bottom: 6px; }

.benefits { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.benefit { border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; font-size: 14px; color: var(--text-soft); }

.contact-band {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
  margin-top: 40px;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.contact-band h3 { font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.contact-band p { color: var(--text-soft); }
.contact-band a.mail { color: var(--accent-2); font-size: 17px; }

/* ---------- 滚动出现动画 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 12px 28px 24px;
    background: rgba(7,8,11,0.96); border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
  }
  .nav-links.open a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .grid.cols-2, .grid.cols-4 { grid-template-columns: 1fr; }
  .hero-meta { gap: 28px; }
  section.block { padding: 80px 0; }
  .join { padding: 44px 24px; }
  .contact-band { flex-direction: column; align-items: flex-start; }
  .wrap { padding: 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .aurora::before, .aurora::after { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
