/* ============================================================
   Prihand 先手出海选品手记
   风格：海洋 / 日出 / 航海 · 深蓝 + 青绿 + 暖橙
   参考 AIGEM 卡片结构与动画，但色调完全不同
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&family=Noto+Serif+SC:wght@400;700&family=DM+Sans:wght@400;500;700&display=swap');

:root {
  --bg:        #07141f;
  --bg-sec:    #0b1d2b;
  --bg-card:   rgba(13, 33, 50, 0.72);
  --card-border: rgba(45, 212, 191, 0.15);
  --teal:      #2dd4bf;
  --teal-dark: #115e59;
  --cyan:      #22d3ee;
  --orange:    #fb923c;
  --coral:     #f87171;
  --gold:      #fbbf24;
  --white:     #f0fdfa;
  --muted:     #94a3b8;
  --text:      #e2e8f0;
  --grad:      linear-gradient(135deg, var(--teal), var(--cyan), var(--orange));
  --grad-teal: linear-gradient(135deg, var(--teal), var(--cyan));
  --grad-warm: linear-gradient(135deg, var(--orange), var(--coral));
  --radius:    18px;
  --radius-lg: 24px;
  --shadow:    0 8px 40px rgba(0,0,0,.45);
  --glow-teal: 0 0 30px rgba(45,212,191,.30);
  --glow-orange: 0 0 30px rgba(251,146,60,.25);
  font-family: "DM Sans", "Noto Sans SC", "PingFang SC", system-ui, sans-serif;
  color: var(--white);
  background: var(--bg);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal); text-decoration: none; transition: .25s; }
a:hover { color: var(--cyan); text-shadow: 0 0 12px rgba(34,211,238,.45); }
img { max-width: 100%; display: block; }
::selection { background: var(--teal); color: #042f2e; }

/* ---------- 海浪背景装饰 ---------- */
.bg-deco {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(45,212,191,.12) 0%, transparent 45%),
    radial-gradient(ellipse at 80% 30%, rgba(34,211,238,.08) 0%, transparent 40%),
    radial-gradient(ellipse at 60% 80%, rgba(251,146,60,.10) 0%, transparent 45%),
    linear-gradient(180deg, #07141f 0%, #0b1d2b 50%, #081826 100%);
}
.bg-deco::before, .bg-deco::after {
  content: ''; position: absolute; left: -20%; right: -20%; height: 200px;
  background: radial-gradient(ellipse at center, rgba(45,212,191,.10) 0%, transparent 70%);
  border-radius: 50%;
  animation: wave 12s ease-in-out infinite;
}
.bg-deco::before { top: 25%; animation-delay: 0s; }
.bg-deco::after { top: 65%; animation-delay: -6s; opacity: .6; }
@keyframes wave {
  0%, 100% { transform: translateX(0) scaleY(1); }
  50% { transform: translateX(5%) scaleY(1.15); }
}

/* ---------- 导航栏 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  background: rgba(7, 20, 31, 0.78);
  border-bottom: 1px solid var(--card-border);
  transition: all .35s ease;
}
.nav.scrolled { background: rgba(7, 20, 31, 0.94); box-shadow: 0 4px 30px rgba(0,0,0,.4); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 40px;
  display: flex; align-items: center; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 24px; font-weight: 900; white-space: nowrap; letter-spacing: 1px; line-height: 1;
  color: var(--white);
}
.brand-logo { height: 40px; width: auto; filter: drop-shadow(0 0 10px rgba(255,255,255,.45)); transition: .35s; }
.brand:hover .brand-logo { transform: scale(1.06); filter: drop-shadow(0 0 18px rgba(255,255,255,.7)); }
.brand-sub { font-weight: 800; letter-spacing: 2px; }
.brand-foot .brand-logo { height: 56px; }
.brand-foot .brand-sub { font-size: 28px; }

.nav-links {
  display: flex; gap: 6px; flex: 1; justify-content: center;
}
.nav-links a {
  font-size: 15px; color: var(--muted); padding: 6px 12px; border-radius: 10px;
  transition: all .25s; font-weight: 500;
}
.nav-links a:hover { color: var(--white); background: rgba(45,212,191,.12); text-shadow: none; }

.lang { display: flex; gap: 4px; }
.lang button {
  width: 34px; height: 30px; border: 1px solid var(--teal); border-radius: 8px;
  background: transparent; color: var(--muted); cursor: pointer;
  font-size: 13px; font-weight: 700; transition: all .25s;
}
.lang button:hover { border-color: var(--cyan); color: var(--cyan); }
.lang button.active { background: var(--teal); color: #042f2e; border-color: var(--teal); }

.nav-hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: clamp(24px, 4vw, 56px);
  padding: 110px 40px 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 25% 20%, rgba(45,212,191,.25) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 60%, rgba(251,146,60,.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 90%, rgba(34,211,238,.12) 0%, transparent 45%),
    linear-gradient(160deg, #07141f 0%, #0c2333 40%, #081826 100%);
  animation: bgShift 18s ease-in-out infinite alternate;
}
@keyframes bgShift { 0% { filter: hue-rotate(0deg); } 100% { filter: hue-rotate(10deg); } }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(7,20,31,.55) 0%, rgba(7,20,31,.25) 35%, transparent 55%, rgba(7,20,31,.85) 95%, rgba(7,20,31,.98) 100%);
}
.hero-inner { position: relative; z-index: 3; width: min(100%, 520px); margin: 0; animation: heroIn 1s ease both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
.badge {
  display: inline-block; font-size: 13px;
  background: rgba(45,212,191,.15); border: 1px solid rgba(45,212,191,.35);
  padding: 6px 18px; border-radius: 30px; color: var(--teal);
  margin-bottom: 20px; letter-spacing: 1px; backdrop-filter: blur(8px);
}
.hero h1 {
  font-size: clamp(32px, 4.4vw, 48px); line-height: 1.2; margin-bottom: 18px;
  font-weight: 900; color: var(--white);
}
.grad { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.lede { font-size: 17px; color: var(--muted); margin-bottom: 30px; font-weight: 400; line-height: 1.7; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px; border-radius: 14px; font-size: 15px;
  font-weight: 700; cursor: pointer; border: none;
  transition: all .3s cubic-bezier(.25,.46,.45,.94); position: relative; overflow: hidden;
}
.btn-primary { background: var(--grad-teal); color: #042f2e; box-shadow: var(--glow-teal); }
.btn-primary:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 0 40px rgba(45,212,191,.45), 0 0 80px rgba(34,211,238,.20); }
.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.25); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

.hero-stats { display: flex; gap: clamp(16px, 3vw, 32px); flex-wrap: wrap; }
.stat { text-align: center; }
.stat b { display: block; font-size: 36px; font-weight: 900; color: var(--teal); line-height: 1; }
.stat span { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ---------- AI 选品对话框 ---------- */
.hero-ai-wrap { position: relative; z-index: 3; width: min(100%, 460px); animation: heroIn 1s .15s ease both; }
.ai-chat {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), var(--glow-teal);
  overflow: hidden; backdrop-filter: blur(14px);
}
.ai-chat-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-bottom: 1px solid var(--card-border);
  background: rgba(45,212,191,.08);
}
.ai-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); animation: pulseDot 1.6s infinite; }
@keyframes pulseDot { 0%, 100% { opacity: .5; } 50% { opacity: 1; box-shadow: 0 0 16px var(--teal); } }
.ai-title { font-weight: 700; color: var(--white); }
.ai-sub { font-size: 12px; color: var(--muted); margin-left: auto; }
.ai-chat-body { padding: 18px; min-height: 180px; max-height: 320px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.ai-msg { padding: 12px 16px; border-radius: 16px; max-width: 88%; font-size: 14px; line-height: 1.65; animation: msgIn .35s ease; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.ai-msg-bot { background: rgba(45,212,191,.12); border: 1px solid rgba(45,212,191,.22); color: var(--text); align-self: flex-start; border-bottom-left-radius: 4px; }
.ai-msg-user { background: rgba(251,146,60,.18); border: 1px solid rgba(251,146,60,.28); color: var(--white); align-self: flex-end; border-bottom-right-radius: 4px; }
.ai-chat-input { display: flex; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--card-border); background: rgba(0,0,0,.15); align-items: stretch; }
.ai-chat-input textarea { flex: 1; min-height: 76px; resize: none; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 10px 14px; color: var(--white); font-size: 14px; line-height: 1.5; font-family: inherit; outline: none; }
.ai-chat-input textarea::placeholder { color: var(--muted); }
.ai-chat-input textarea:focus { border-color: var(--teal); background: rgba(255,255,255,.10); }
.ai-chat-input button { align-self: stretch; padding: 0 20px; border-radius: 12px; background: var(--grad-warm); color: #fff; font-weight: 700; border: none; cursor: pointer; transition: .25s; white-space: nowrap; }
.ai-chat-input button:hover { transform: translateY(-1px); box-shadow: var(--glow-orange); }
.ai-chat-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px 14px; border-top: 1px solid var(--card-border); background: rgba(0,0,0,.12); }
.ai-engine { font-size: 12px; color: var(--gold); font-weight: 700; letter-spacing: .3px; white-space: nowrap; }
.ai-engine::before { content: '⚡'; margin-right: 4px; }
.ai-model-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.ai-model { background: rgba(255,255,255,.06); border: 1px solid rgba(45,212,191,.3); color: var(--white); border-radius: 10px; padding: 7px 12px; font-size: 12px; font-family: inherit; cursor: pointer; outline: none; max-width: 200px; }
.ai-model:focus { border-color: var(--teal); }
.ai-model option { background: #0b1d2b; color: var(--white); }
.ai-msg-sys { align-self: center; max-width: 100%; background: transparent; border: none; color: var(--muted); font-size: 12px; font-style: italic; padding: 4px 0; text-align: center; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px; }
.ai-chip { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: var(--muted); padding: 6px 12px; border-radius: 20px; font-size: 12px; cursor: pointer; transition: .25s; }
.ai-chip:hover { border-color: var(--teal); color: var(--teal); background: rgba(45,212,191,.10); }

/* ---------- 通用区块 ---------- */
.section { position: relative; z-index: 2; padding: 100px 40px; max-width: 1200px; margin: 0 auto; }
.sec-head { text-align: center; margin-bottom: 56px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 40px); color: var(--white); margin-bottom: 14px; }
.sec-head p { color: var(--muted); max-width: 620px; margin: 0 auto; font-size: 16px; }

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.glass-card:hover { transform: translateY(-6px); box-shadow: 0 16px 50px rgba(0,0,0,.5), var(--glow-teal); border-color: rgba(45,212,191,.28); }

/* 滚动揭示 */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.reveal-left.active, .reveal-right.active { transform: translateX(0); }

/* ---------- 选品笔记（小红书风格） ---------- */
.notes-section { max-width: 1300px; }
.notes-filter { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10); color: var(--muted);
  padding: 8px 18px; border-radius: 20px; cursor: pointer; transition: .25s; font-size: 14px;
}
.filter-btn:hover, .filter-btn.active { background: rgba(45,212,191,.15); border-color: var(--teal); color: var(--teal); }
.notes-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px;
}
.note-card, .chapter-card {
  background: var(--bg-card); border: 1px solid var(--card-border); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; transition: transform .35s ease, box-shadow .35s ease;
  display: flex; flex-direction: column;
}
.note-card:hover, .chapter-card:hover { transform: translateY(-6px); box-shadow: 0 16px 50px rgba(0,0,0,.45), var(--glow-teal); }
.note-cover { position: relative; height: 180px; background: linear-gradient(135deg, #0f3d4a, #134e4a); overflow: hidden; }
.note-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.note-card:hover .note-cover img { transform: scale(1.08); }
.note-cover-tag { position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,.55); color: var(--teal); padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; backdrop-filter: blur(4px); }
.note-badge { position: absolute; bottom: 12px; right: 12px; background: rgba(251,146,60,.92); color: #1a1206; padding: 3px 9px; border-radius: 20px; font-size: 11px; font-weight: 800; letter-spacing: .5px; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.note-cover-tag, .note-badge { z-index: 3; }
.note-cover-img { z-index: 1; }

/* 文章弹窗封面横幅 */
.post-cover-wrap { margin: -40px -40px 26px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; aspect-ratio: 16 / 7; background: linear-gradient(135deg, #0f3d4a, #134e4a); }
.post-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) { .post-cover-wrap { margin: -28px -28px 20px; aspect-ratio: 16 / 9; } .post-modal-body { padding: 28px; } }

/* 全站可点亮箱图片 */
.zoomable { cursor: zoom-in; transition: filter .25s ease; }
.zoomable:hover { filter: brightness(1.06); }
.note-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.note-title { font-size: 16px; font-weight: 700; color: var(--white); line-height: 1.45; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.note-summary { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.note-meta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--muted); }
.note-author { display: flex; align-items: center; gap: 8px; }
.note-avatar { width: 22px; height: 22px; border-radius: 50%; background: var(--grad-teal); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: #042f2e; }
.note-stats { display: flex; gap: 12px; }
.note-stats span { display: flex; align-items: center; gap: 4px; }
.notes-more { text-align: center; margin-top: 48px; }

/* ---------- 服务板块 ---------- */
.chapter-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.service-card { padding: 28px; }
.service-icon { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px; background: var(--grad-teal); display: flex; align-items: center; justify-content: center; }
.service-icon::after { content: ''; width: 24px; height: 24px; background-size: contain; background-repeat: no-repeat; }
.service-icon[data-icon="signal"]::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23042f2e' stroke-width='2'%3E%3Cpath d='M22 12h-4l-3 9L9 3l-3 9H2'/%3E%3C/svg%3E"); }
.service-icon[data-icon="calculator"]::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23042f2e' stroke-width='2'%3E%3Crect x='4' y='2' width='16' height='20' rx='2'/%3E%3Cline x1='8' y1='6' x2='16' y2='6'/%3E%3Cline x1='16' y1='14' x2='16' y2='14.01'/%3E%3Cpath d='M8 14h.01M12 14h.01'/%3E%3C/svg%3E"); }
.service-icon[data-icon="shield"]::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23042f2e' stroke-width='2'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E"); }
.service-icon[data-icon="supplier"]::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23042f2e' stroke-width='2'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E"); }
.service-icon[data-icon="content"]::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23042f2e' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cpolyline points='10 9 9 9 8 9'/%3E%3C/svg%3E"); }
.service-icon[data-icon="data"]::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23042f2e' stroke-width='2'%3E%3Cellipse cx='12' cy='5' rx='9' ry='3'/%3E%3Cpath d='M21 12c0 1.66-4 3-9 3s-9-1.34-9-3'/%3E%3Cpath d='M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5'/%3E%3C/svg%3E"); }
.service-card h3 { font-size: 18px; color: var(--white); margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ---------- 七联动驾驶舱 ---------- */
.cockpit-section { max-width: 900px; }
.cockpit-card { padding: 36px; }
.cockpit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 16px; margin-bottom: 32px; }
.cockpit-dim { text-align: center; padding: 18px 10px; border-radius: 16px; background: rgba(45,212,191,.08); border: 1px solid rgba(45,212,191,.15); transition: .25s; }
.cockpit-dim:hover { background: rgba(45,212,191,.14); transform: translateY(-4px); }
.dim-score { display: block; font-size: 28px; font-weight: 900; color: var(--teal); }
.dim-name { font-size: 13px; color: var(--muted); }
.cockpit-total { display: flex; align-items: baseline; justify-content: center; gap: 12px; padding: 20px; border-radius: 16px; background: rgba(251,146,60,.10); border: 1px solid rgba(251,146,60,.20); margin-bottom: 24px; }
.total-label { font-size: 14px; color: var(--muted); }
.total-score { font-size: 42px; font-weight: 900; color: var(--orange); }
.total-tag { font-size: 14px; color: var(--orange); }
.cockpit-cta { text-align: center; }

/* ---------- 团队 ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; max-width: 720px; margin: 0 auto; }
.team-card { padding: 32px; text-align: center; }
.team-avatar { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 18px; background: var(--grad-teal); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 900; color: #042f2e; }
img.team-avatar { object-fit: cover; padding: 0; border: 2px solid rgba(45,212,191,.55); box-shadow: 0 6px 22px rgba(0,0,0,.4); transition: transform .35s ease, filter .25s ease; }
img.team-avatar:hover { transform: scale(1.05); }
.team-card h3 { font-size: 22px; color: var(--white); margin-bottom: 4px; }
.team-role { display: block; font-size: 13px; color: var(--teal); margin-bottom: 14px; font-weight: 700; }
.team-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ---------- 联系表单 ---------- */
.contact-form { max-width: 640px; margin: 0 auto; padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.contact-form label { display: block; }
.contact-form label span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; padding: 12px 14px; color: var(--white); font-size: 14px; outline: none;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--teal); background: rgba(255,255,255,.08); }
.contact-form select option { background: #0b1d2b; color: var(--white); }
.contact-form textarea { resize: vertical; }
.contact-form button { margin-top: 8px; width: 100%; }
.form-note { margin-top: 14px; font-size: 14px; color: var(--teal); min-height: 20px; }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 2; padding: 60px 40px; border-top: 1px solid var(--card-border); background: rgba(7,20,31,.6); }
.footer-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.footer p { color: var(--muted); margin-top: 14px; font-size: 14px; }
.footer-links { display: flex; justify-content: center; gap: 20px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--teal); }

/* ---------- 文章弹窗 ---------- */
.post-modal { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,.75); border: none; padding: 0; width: 100%; height: 100%; max-width: none; max-height: none; }
.post-modal::backdrop { background: rgba(0,0,0,.75); }
.post-modal-inner { position: relative; max-width: 760px; max-height: 86vh; margin: 7vh auto; background: var(--bg-card); border: 1px solid var(--card-border); border-radius: var(--radius-lg); overflow-y: auto; backdrop-filter: blur(20px); }
.post-modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: var(--white); font-size: 22px; cursor: pointer; transition: .25s; }
.post-modal-close:hover { background: rgba(251,146,60,.2); border-color: var(--orange); color: var(--orange); }
.post-modal-body { padding: 40px; color: var(--text); }
.post-modal-body h2 { font-size: 28px; color: var(--white); margin: 30px 0 14px; }
.post-modal-body h3 { font-size: 20px; color: var(--teal); margin: 26px 0 12px; }
.post-modal-body .post-meta { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.post-source { display: inline-block; margin-bottom: 20px; padding: 9px 16px; border-radius: 999px; background: var(--teal); color: #06231f; font-weight: 700; font-size: 13px; text-decoration: none; transition: .2s; }
.post-source:hover { background: #5eead4; transform: translateY(-1px); }
.post-modal-body p { margin-bottom: 16px; line-height: 1.8; }
.post-modal-body ul { margin: 16px 0; padding-left: 22px; }
.post-modal-body li { margin-bottom: 8px; }
.article-kicker { display: inline-block; font-size: 12px; letter-spacing: .04em; color: var(--orange); margin-bottom: 10px; font-weight: 600; }
.lead { font-size: 16px; color: var(--white); opacity: .92; }
.post-modal-body blockquote { margin: 18px 0; padding: 14px 18px; border-left: 3px solid var(--teal); background: rgba(45,212,191,.08); border-radius: 0 10px 10px 0; color: var(--white); line-height: 1.7; }
.post-modal-body blockquote.pledge { border-left-color: var(--orange); background: rgba(251,146,60,.1); font-weight: 600; }
.data-table { width: 100%; border-collapse: collapse; margin: 16px 0 20px; font-size: 14px; }
.data-table th, .data-table td { border-bottom: 1px solid rgba(255,255,255,.12); padding: 10px 12px; text-align: left; }
.data-table th { color: var(--teal); font-weight: 700; }
.data-table td strong { color: var(--white); }
.story-sep { border: none; border-top: 1px dashed rgba(255,255,255,.18); margin: 36px 0; }
.data-note { font-size: 12.5px; color: var(--muted); background: rgba(255,255,255,.04); padding: 12px 14px; border-radius: 10px; margin-top: 22px; }
.post-intro { margin: 18px 0; padding: 12px 16px; border-left: 3px solid var(--orange); background: rgba(251,146,60,.07); border-radius: 0 10px 10px 0; color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.75; }
.post-fig { margin: 14px 0; color: var(--muted); font-size: 13px; font-style: italic; }
.post-fig::before { content: "🖼 "; filter: grayscale(.2); }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .nav-inner { padding: 14px 20px; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(7,20,31,.96); flex-direction: column; padding: 16px 20px; gap: 4px; border-bottom: 1px solid var(--card-border); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 12px; }
  .nav-hamburger { display: flex; margin-left: auto; }
  .hero { padding: 100px 20px 50px; }
  .section { padding: 72px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .cockpit-grid { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); }
}
@media (max-width: 640px) {
  .hero-stats { justify-content: center; }
  .notes-grid { grid-template-columns: 1fr; }
  .chapter-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .post-modal-inner { margin: 0; max-height: 100vh; border-radius: 0; }
}

/* ---------- 全站图片灯箱 ---------- */
.zoomable { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; background: rgba(3,10,16,.92); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-img { max-width: 92vw; max-height: 88vh; border-radius: 14px; box-shadow: 0 20px 80px rgba(0,0,0,.6); transform: scale(.96); transition: transform .25s ease; }
.lightbox.active .lightbox-img { transform: scale(1); }
.lightbox-close { position: absolute; top: 20px; right: 24px; width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,.12); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; transition: background .2s; }
.lightbox-close:hover { background: rgba(255,255,255,.25); }
