/* ============================================================
   趣创网 · 全局样式
   虎家创新（北京）科技有限公司
   ============================================================ */

/* ── 设计令牌 ── */
:root {
  --bg: #07080f;
  --bg-2: #0d1117;
  --bg-3: #161b22;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.15);
  --gold: #f0a500;
  --gold-light: #ffc845;
  --gold-dim: rgba(240,165,0,0.10);
  --cyan: #00d4ff;
  --green: #00e5a0;
  --text: #e6edf3;
  --muted: #8b949e;
  --subtle: #484f58;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --nav-h: 64px;
  --max-w: 1140px;
  --transition: all 0.22s ease;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Outfit', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg); color: var(--text);
  overflow-x: hidden; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ── 排版 ── */
.serif { font-family: 'Noto Serif SC', 'Songti SC', 'SimSun', serif; }

/* ── 容器 ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }

/* ── 按钮 ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--radius);
  font-size: 15px; font-weight: 600; transition: var(--transition);
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold); color: #07080f; border: none;
  box-shadow: 0 0 0 0 rgba(240,165,0,0);
}
.btn-gold:hover {
  background: var(--gold-light); transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(240,165,0,0.35);
}
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--border-hover); background: rgba(255,255,255,0.04); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 16px 36px; font-size: 17px; border-radius: var(--radius-lg); }

/* ── 标签 ── */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px;
}
.tag::before { content: ''; width: 18px; height: 1px; background: var(--gold); }

/* ── 标题 ── */
.sec-title {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(28px, 4vw, 44px); font-weight: 700;
  line-height: 1.2; margin-bottom: 16px;
}
.sec-lead {
  font-size: 16px; color: var(--muted); line-height: 1.75;
  max-width: 540px;
}
.text-center { text-align: center; }
.text-center .sec-lead { margin: 0 auto; }
.text-gradient {
  background: linear-gradient(90deg, var(--gold), var(--gold-light) 50%, var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 动画 ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.up { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; } .d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; } .d4 { transition-delay: 0.32s; }

/* ══════════════════════════════════════
   导航栏
══════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 40px;
  backdrop-filter: blur(20px) saturate(180%);
  background: rgba(7,8,15,0.6);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav.solid { background: rgba(7,8,15,0.95); }
.nav-inner {
  max-width: var(--max-w); width: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Noto Serif SC', serif;
}
.nav-logo-mark {
  width: 36px; height: 36px; background: var(--gold);
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; color: #07080f; flex-shrink: 0;
  position: relative; overflow: hidden;
}
.nav-logo-mark::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 55%);
}
.nav-logo-text { font-size: 18px; font-weight: 700; color: white; }
.nav-logo-text em { font-style: normal; color: var(--gold); }

.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-link {
  padding: 7px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: white; background: rgba(255,255,255,0.06); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-cta { background: var(--gold); color: #07080f !important; padding: 8px 20px; border-radius: 8px; font-size: 14px; font-weight: 700; transition: var(--transition); }
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* 移动端汉堡 */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 移动菜单 */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 490;
  background: rgba(7,8,15,0.97); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 22px; font-weight: 600; padding: 12px 32px; color: var(--muted); transition: color 0.2s; }
.mobile-menu a:hover { color: white; }
.mobile-menu .nav-cta { margin-top: 8px; color: #07080f !important; }

/* ══════════════════════════════════════
   页脚
══════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 40px 36px;
  background: var(--bg);
}
.footer-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
.footer-brand-desc { color: var(--muted); font-size: 14px; line-height: 1.7; margin-top: 14px; max-width: 260px; }
.footer-col-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-bottom {
  max-width: var(--max-w); margin: 0 auto;
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--subtle);
}
.footer-icp a { color: var(--subtle); transition: color 0.2s; }
.footer-icp a:hover { color: var(--muted); }

/* ══════════════════════════════════════
   Hero — 首页
══════════════════════════════════════ */
.hero {
  min-height: 100vh; padding-top: var(--nav-h);
  display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero-glow {
  position: absolute; top: 40%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 700px;
  background: radial-gradient(ellipse, rgba(240,165,0,0.07) 0%, rgba(0,212,255,0.04) 45%, transparent 70%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 820px; padding: 80px 32px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(240,165,0,0.08); border: 1px solid rgba(240,165,0,0.22);
  border-radius: 100px; padding: 7px 18px;
  font-size: 13px; font-weight: 500; color: var(--gold);
  margin-bottom: 32px;
  animation: fadeUp 0.7s ease both;
}
.badge-dot {
  width: 6px; height: 6px; background: var(--gold);
  border-radius: 50%; animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.4; transform:scale(0.8); } }
@keyframes fadeUp { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:none; } }

.hero-h1 {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(44px, 7vw, 84px); font-weight: 900;
  line-height: 1.08; letter-spacing: -1.5px; margin-bottom: 24px;
  animation: fadeUp 0.7s 0.1s ease both;
}
.hero-sub {
  font-size: clamp(15px, 2vw, 18px); color: var(--muted);
  max-width: 540px; margin: 0 auto 40px; line-height: 1.75;
  animation: fadeUp 0.7s 0.2s ease both;
}
.hero-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap;
  animation: fadeUp 0.7s 0.3s ease both;
}
/* 两个按钮等宽，确保间隙落在页面几何中心 */
.hero-btn {
  min-width: 220px; justify-content: center;
}
.hero-scroll {
  position: absolute; bottom: 28px;
  left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  animation: fadeUp 0.7s 0.8s ease both;
  color: var(--subtle); pointer-events: none;
  white-space: nowrap;
}
.hero-scroll-label {
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  margin-left: 3px; /* 数学补偿：等于 letter-spacing，使字母视觉中心 = 页面中心 */
  white-space: nowrap; line-height: 1;
}
/* 鼠标滚轮图标 */
.hero-scroll-icon {
  width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,0.22);
  border-radius: 12px;
  position: relative;
  display: flex; justify-content: center; padding-top: 6px;
}
.hero-scroll-icon::before {
  content: '';
  width: 3px; height: 8px;
  background: rgba(255,255,255,0.55);
  border-radius: 2px;
  animation: scrollWheel 2s ease infinite;
}
@keyframes scrollWheel {
  0%   { opacity: 1; transform: translateY(0); }
  60%  { opacity: 0; transform: translateY(10px); }
  100% { opacity: 0; transform: translateY(0); }
}

/* ══════════════════════════════════════
   卡片 · 通用
══════════════════════════════════════ */
.card {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  transition: var(--transition);
}
.card:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: 0 16px 48px rgba(0,0,0,0.3); }

/* Feature card (3列) */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 32px; position: relative; overflow: hidden; transition: var(--transition); }
.feature-card:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: 0 20px 56px rgba(0,0,0,0.3); }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; }
.feature-card:nth-child(1)::before { background: var(--gold); }
.feature-card:nth-child(2)::before { background: var(--cyan); }
.feature-card:nth-child(3)::before { background: var(--green); }
.feature-card:nth-child(4)::before { background: var(--gold); }
.feature-card:nth-child(5)::before { background: var(--cyan); }
.feature-card:nth-child(6)::before { background: var(--green); }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; font-size: 24px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.fc-gold .feature-icon { background: rgba(240,165,0,0.1); }
.fc-cyan .feature-icon { background: rgba(0,212,255,0.1); }
.fc-green .feature-icon { background: rgba(0,229,160,0.1); }
.feature-h { font-family: 'Noto Serif SC', serif; font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.feature-p { font-size: 14px; color: var(--muted); line-height: 1.8; }

/* Step card (流程) */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step-card { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 28px; transition: var(--transition); }
.step-card:hover { border-color: var(--border-hover); }
.step-num { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 3px; color: var(--subtle); margin-bottom: 20px; }
.step-icon { font-size: 28px; margin-bottom: 16px; }
.step-h { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.step-p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ══════════════════════════════════════
   CTA Banner
══════════════════════════════════════ */
.cta-banner {
  margin: 0 32px; border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #120d1e 0%, #0d1422 60%, #0a1318 100%);
  border: 1px solid rgba(240,165,0,0.18);
  padding: 72px 48px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240,165,0,0.5), rgba(0,212,255,0.35), transparent);
}
.cta-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 700px; height: 280px; pointer-events: none;
  background: radial-gradient(ellipse, rgba(240,165,0,0.06), transparent 70%);
}
.cta-banner h2 { font-family: 'Noto Serif SC', serif; font-size: clamp(26px,4vw,42px); font-weight: 900; margin-bottom: 14px; position: relative; }
.cta-banner p { font-size: 16px; color: var(--muted); margin-bottom: 36px; position: relative; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 12px; position: relative; flex-wrap: wrap; }
.cta-note { margin-top: 18px; font-size: 13px; color: var(--subtle); position: relative; }

/* ══════════════════════════════════════
   表单
══════════════════════════════════════ */
.form-section { padding: 80px 32px; max-width: 640px; margin: 0 auto; }
.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.form-input, .form-select, .form-textarea {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 13px 15px;
  font-size: 15px; color: var(--text); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit; width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: rgba(240,165,0,0.45);
  box-shadow: 0 0 0 3px rgba(240,165,0,0.08);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-select option { background: var(--bg-3); }
.form-msg { padding: 14px 18px; border-radius: var(--radius); font-size: 14px; display: none; }
.form-msg.success { background: rgba(0,229,160,0.1); border: 1px solid rgba(0,229,160,0.25); color: #00e5a0; }
.form-msg.error { background: rgba(255,78,78,0.1); border: 1px solid rgba(255,78,78,0.25); color: #ff6b6b; }
.form-msg.show { display: block; }

/* ══════════════════════════════════════
   页内 Hero（关于/产品/联系/加入）
══════════════════════════════════════ */
.page-hero {
  padding: 130px 32px 72px; text-align: center;
  background: var(--bg-2); border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero-glow {
  position: absolute; top: 60%; left: 50%; transform: translate(-50%,-50%);
  width: 600px; height: 300px; pointer-events: none;
  background: radial-gradient(ellipse, rgba(240,165,0,0.05), transparent 70%);
}
.page-hero h1 { font-family: 'Noto Serif SC', serif; font-size: clamp(34px,5vw,56px); font-weight: 900; letter-spacing: -1px; margin-bottom: 16px; position: relative; }
.page-hero p { font-size: 17px; color: var(--muted); max-width: 500px; margin: 0 auto; position: relative; }

/* ── Section ── */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-2); }
.section-header { margin-bottom: 48px; }
/* sparse 页面：让 footer 自然贴底，避免大段空黑 */
body { display: flex; flex-direction: column; min-height: 100vh; }
body > footer.footer { margin-top: auto; }

/* ══════════════════════════════════════
   Toast 通知
══════════════════════════════════════ */
#toast-root { position: fixed; bottom: 24px; right: 24px; z-index: 9000; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 18px;
  font-size: 14px; min-width: 240px; max-width: 360px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  pointer-events: all;
  animation: toastIn 0.25s ease;
}
@keyframes toastIn { from { opacity:0; transform:translateX(16px); } to { opacity:1; transform:none; } }
.toast.out { animation: toastOut 0.25s ease forwards; }
@keyframes toastOut { to { opacity:0; transform:translateX(16px); } }
.toast.success { border-color: rgba(0,229,160,0.28); }
.toast.error { border-color: rgba(255,78,78,0.28); }

/* ══════════════════════════════════════
   关于我们 — 特殊组件
══════════════════════════════════════ */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value-card {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 28px; text-align: center;
  transition: var(--transition);
}
.value-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.value-icon { font-size: 36px; margin-bottom: 18px; }
.value-h { font-family: 'Noto Serif SC', serif; font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.value-p { font-size: 14px; color: var(--muted); line-height: 1.75; }

/* 公司信息列表 */
.info-list { display: flex; flex-direction: column; gap: 0; }
.info-item { display: flex; align-items: flex-start; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.info-item:last-child { border-bottom: none; }
.info-label { font-size: 13px; font-weight: 600; color: var(--muted); min-width: 100px; padding-top: 2px; }
.info-value { font-size: 15px; color: var(--text); line-height: 1.6; }

/* ══════════════════════════════════════
   产品服务 — 特殊组件
══════════════════════════════════════ */
.product-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
  padding: 72px 0; border-bottom: 1px solid var(--border);
}
.product-block:last-child { border-bottom: none; }
.product-block.reverse { direction: rtl; }
.product-block.reverse > * { direction: ltr; }
.product-tag { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; padding: 4px 12px; border-radius: 100px; margin-bottom: 16px; }
.product-h { font-family: 'Noto Serif SC', serif; font-size: 28px; font-weight: 700; margin-bottom: 14px; }
.product-p { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 24px; }
.product-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.product-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.product-list li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.product-visual {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius-xl); aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.product-visual-inner { text-align: center; color: var(--subtle); }
.product-visual-icon { font-size: 56px; margin-bottom: 12px; opacity: 0.6; }
.product-visual-label { font-size: 13px; }

/* ══════════════════════════════════════
   加入我们
══════════════════════════════════════ */
.careers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.career-card {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
  transition: var(--transition);
}
.career-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.career-dept { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold); }
.career-title { font-family: 'Noto Serif SC', serif; font-size: 18px; font-weight: 700; }
.career-type { font-size: 13px; color: var(--muted); }
.career-desc { font-size: 14px; color: var(--muted); line-height: 1.7; flex: 1; }
.career-btn { align-self: flex-start; }

/* ══════════════════════════════════════
   响应式 · 全面增强版
   断点：1280 / 1024 / 768 / 480 / 360
══════════════════════════════════════ */

/* ── 全局防溢出 ── */
html, body { overflow-x: hidden; }
img, video, iframe { max-width: 100%; }

/* ── 1280px 大屏适配 ── */
@media (max-width: 1280px) {
  :root { --max-w: 960px; }
  .hero-h1 { font-size: clamp(44px, 6vw, 80px); }
}

/* ── 1024px 平板横屏 ── */
@media (max-width: 1024px) {
  /* 导航 */
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-actions .btn-outline { display: none; }
  .nav-hamburger { display: flex; }

  /* 布局 */
  .container { padding: 0 28px; }
  .section { padding: 72px 0; }
  .hero { padding: 64px 28px 48px; }

  /* 网格 */
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid   { grid-template-columns: repeat(2, 1fr); }
  .value-grid   { grid-template-columns: repeat(2, 1fr); }
  .careers-grid { grid-template-columns: repeat(2, 1fr); }

  /* 产品页 */
  .product-block { grid-template-columns: 1fr; gap: 36px; }
  .product-block.reverse { direction: ltr; }

  /* 页脚 */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ── 768px 平板竖屏 / 大手机 ── */
@media (max-width: 768px) {
  :root { --nav-h: 56px; }

  /* 导航 */
  .nav { height: var(--nav-h); padding: 0 20px; }
  .nav-logo-text { font-size: 16px; }
  .nav-logo-mark { width: 30px; height: 30px; font-size: 12px; }
  .nav-btn-cta { padding: 7px 14px; font-size: 13px; }

  /* 容器 */
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  .section-header { margin-bottom: 36px; }

  /* Hero */
  .hero { min-height: 100svh; padding: 72px 20px 48px; text-align: center; }
  .hero-inner { max-width: 100%; }
  .hero-h1 { font-size: clamp(34px, 9vw, 52px); letter-spacing: -0.5px; margin-bottom: 18px; }
  .hero-sub { font-size: 15px; margin-bottom: 32px; }
  .hero-badge { font-size: 12px; padding: 6px 14px; margin-bottom: 24px; }
  .hero-actions { gap: 10px; }
  .hero-btn { min-width: 0; flex: 1; max-width: 200px; justify-content: center; padding: 13px 16px; font-size: 14px; }

  /* 按钮 */
  .btn-lg { padding: 13px 24px; font-size: 15px; }
  .btn    { padding: 11px 20px; font-size: 14px; }

  /* 标题 */
  .sec-title { font-size: clamp(24px, 6vw, 36px); }
  .page-hero { padding: 96px 20px 52px; }
  .page-hero h1 { font-size: clamp(28px, 7vw, 44px); }
  .page-hero p  { font-size: 15px; }

  /* 网格全部单列或双列 */
  .feature-grid { grid-template-columns: 1fr; gap: 12px; }
  .steps-grid   { grid-template-columns: 1fr 1fr; gap: 12px; }
  .value-grid   { grid-template-columns: 1fr; gap: 12px; }
  .careers-grid { grid-template-columns: 1fr; }

  /* CTA Banner */
  .cta-banner { margin: 0 16px; padding: 44px 24px; border-radius: var(--radius-lg); }
  .cta-banner h2 { font-size: clamp(22px, 6vw, 32px); margin-bottom: 12px; }
  .cta-banner p  { font-size: 14px; margin-bottom: 28px; }
  .cta-actions { flex-direction: column; align-items: center; gap: 10px; }
  .cta-actions .btn { width: 100%; max-width: 280px; justify-content: center; }

  /* 表单 */
  .form-row  { grid-template-columns: 1fr; }
  .auth-row  { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .contact-info { position: static; }

  /* 页脚 */
  .footer { padding: 44px 20px 80px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-brand-desc { max-width: 100%; }

  /* 卡片 */
  .feature-card  { padding: 28px 24px; }
  .step-card     { padding: 24px 20px; }
  .career-card   { padding: 24px 20px; }
  .info-item     { flex-direction: column; gap: 4px; }
  .info-label    { min-width: auto; }
}

/* ── 480px 手机 ── */
@media (max-width: 480px) {
  /* Hero */
  .hero-h1 { font-size: clamp(30px, 10vw, 44px); }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-btn { max-width: 100%; width: 100%; }
  .hero-badge { font-size: 11px; }

  /* 所有网格改单列 */
  .steps-grid   { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }

  /* 导航 */
  .nav-btn-cta  { display: none; }
  .nav-hamburger { display: flex; }

  /* 弹窗 */
  .auth-box    { border-radius: var(--radius-lg); }
  .auth-header { padding: 20px 20px 0; }
  .auth-body   { padding: 0 20px 20px; }

  /* 页脚 */
  .footer { padding-bottom: 72px; }

  /* 卡片间距收紧 */
  .card { padding: 24px 18px; }
  .sec-title { font-size: clamp(22px, 8vw, 30px); }
  .cta-banner { margin: 0 12px; padding: 36px 20px; }
}

/* ── 360px 极小屏 ── */
@media (max-width: 360px) {
  .container { padding: 0 14px; }
  .hero-h1 { font-size: 28px; }
  .hero-sub { font-size: 14px; }
  .nav { padding: 0 14px; }
  .btn-lg { padding: 12px 18px; font-size: 14px; }
}

/* ── 触摸设备增强 ── */
@media (pointer: coarse) {
  /* 更大触摸目标 */
  .btn, .nav-link, .nav-btn-cta, .filter-pill,
  .tab-btn, .auth-tab, .cap-tab,
  .tc-btn-invite, .tc-btn-view,
  .inv-btn-main, .inv-btn-view,
  .proj-btn-main, .proj-btn-like,
  .evt-reg-btn, .svc-btn, .funding-btn {
    min-height: 44px;
  }
  /* 禁用 hover 悬浮动效（避免触摸端残留） */
  .feature-card:hover, .step-card:hover,
  .talent-card:hover, .investor-card:hover,
  .proj-card:hover, .evt-card:hover,
  .svc-card:hover, .funding-card:hover {
    transform: none;
  }
  /* 加大表单输入框 */
  .auth-input, .form-input, .form-select, .form-textarea {
    font-size: 16px; /* 防止 iOS 自动缩放 */
    min-height: 48px;
  }
}

/* ── 横屏手机特殊处理 ── */
@media (max-width: 768px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 80px 24px 40px; }
  .hero-h1 { font-size: clamp(28px, 6vw, 40px); }
  .mobile-menu { flex-direction: row; flex-wrap: wrap; gap: 12px; padding: 80px 24px; }
  .mobile-menu a { font-size: 16px; padding: 8px 16px; }
}

/* ── 深色模式系统偏好（已是深色，加强对比度） ── */
@media (prefers-color-scheme: dark) {
  :root { --border: rgba(255,255,255,0.09); }
}

/* ── 减少动效（系统偏好） ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ── 安全区域适配（刘海屏/圆角屏） ── */
@supports (padding: env(safe-area-inset-bottom)) {
  .nav    { padding-left: max(24px, env(safe-area-inset-left));
            padding-right: max(24px, env(safe-area-inset-right)); }
  .footer { padding-bottom: max(40px, calc(env(safe-area-inset-bottom) + 20px)); }
  .mobile-menu { padding-bottom: max(24px, env(safe-area-inset-bottom)); }
}

/* ── 高分辨率屏幕（Retina）border 更细腻 ── */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
  :root { --border: rgba(255,255,255,0.07); }
}
