/* ========== FOF导演 官网全局样式 ========== */
:root {
  --bg: #0a0a0f;
  --bg-card: #12121a;
  --bg-card-hover: #1a1a28;
  --accent: #6c5ce7;
  --accent-glow: rgba(108, 92, 231, 0.35);
  --accent2: #00cec9;
  --accent3: #fd79a8;
  --text: #f0f0f5;
  --text-dim: #8888a0;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ========== 导航栏 ========== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all .3s;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 800; letter-spacing: -0.5px;
}
.nav-logo .logo-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: #fff; flex-shrink: 0;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 14px; color: var(--text-dim); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  padding: 8px 20px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  font-size: 13px; font-weight: 700; color: #fff;
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px var(--accent-glow); }
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
}

/* ========== Hero ========== */
.hero {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 80px 20px 60px;
  background: radial-gradient(ellipse at top, rgba(108, 92, 231, 0.15), transparent 60%),
              radial-gradient(ellipse at bottom right, rgba(0, 206, 201, 0.1), transparent 50%),
              var(--bg);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: drift 60s linear infinite;
  pointer-events: none;
}
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(40px, 40px); } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 100px;
  background: rgba(108, 92, 231, 0.1); border: 1px solid rgba(108, 92, 231, 0.3);
  font-size: 12px; color: var(--accent2); font-weight: 600;
  margin-bottom: 28px; position: relative;
}
.hero h1 {
  font-size: clamp(42px, 7vw, 80px); font-weight: 900; letter-spacing: -2px;
  line-height: 1.1; margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #a0a0d0 50%, #6c5ce7 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: clamp(16px, 2.5vw, 22px); color: var(--text-dim);
  max-width: 680px; margin: 0 auto 40px; line-height: 1.6;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #8b70ff);
  font-size: 15px; font-weight: 700; color: #fff; cursor: pointer;
  transition: all .3s; box-shadow: 0 8px 32px var(--accent-glow);
  border: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px var(--accent-glow); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border);
  font-size: 15px; font-weight: 600; color: var(--text); cursor: pointer;
  transition: all .2s;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--accent); }

.hero-stats {
  display: flex; gap: 48px; margin-top: 60px; flex-wrap: wrap; justify-content: center;
  position: relative;
}
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 32px; font-weight: 900; color: var(--accent2); }
.hero-stat .label { font-size: 12px; color: var(--text-dim); margin-top: 4px; }

/* ========== Section 通用 ========== */
.section { padding: 100px 20px; max-width: 1200px; margin: 0 auto; }
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 100px;
  background: rgba(0, 206, 201, 0.1); border: 1px solid rgba(0, 206, 201, 0.2);
  font-size: 12px; color: var(--accent2); font-weight: 600;
  margin-bottom: 16px;
}
.section h2 {
  font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -1px;
  margin-bottom: 16px; line-height: 1.2;
}
.section-desc { font-size: 16px; color: var(--text-dim); max-width: 640px; margin-bottom: 56px; }

/* ========== Features Grid ========== */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px;
}
.feature-card {
  padding: 32px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--border);
  transition: all .3s;
}
.feature-card:hover {
  background: var(--bg-card-hover); transform: translateY(-4px);
  border-color: rgba(108, 92, 231, 0.3); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.2), rgba(0, 206, 201, 0.2));
  border: 1px solid rgba(108, 92, 231, 0.2);
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-dim); line-height: 1.7; }

/* ========== Workflow Steps ========== */
.workflow { display: flex; flex-direction: column; gap: 0; }
.workflow-step {
  display: flex; gap: 24px; padding: 32px 0;
  border-bottom: 1px solid var(--border); position: relative;
}
.workflow-step:last-child { border-bottom: none; }
.workflow-num {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 900; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}
.workflow-content h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.workflow-content p { font-size: 14px; color: var(--text-dim); line-height: 1.8; }
@media (max-width: 768px) {
  .workflow-step { flex-direction: column; gap: 12px; }
}

/* ========== Tech Stack ========== */
.tech-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px;
}
.tech-item {
  padding: 24px; border-radius: var(--radius-sm); text-align: center;
  background: var(--bg-card); border: 1px solid var(--border);
  transition: all .3s;
}
.tech-item:hover { background: var(--bg-card-hover); border-color: var(--accent); }
.tech-item .tech-emoji { font-size: 28px; margin-bottom: 10px; }
.tech-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.tech-item p { font-size: 11px; color: var(--text-dim); }

/* ========== CTA Section ========== */
.cta-section {
  text-align: center; padding: 100px 20px;
  background: radial-gradient(ellipse at center, rgba(108, 92, 231, 0.12), transparent 60%);
}
.cta-section h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 16px; }
.cta-section p { font-size: 16px; color: var(--text-dim); margin-bottom: 40px; }

/* ========== Footer ========== */
.footer {
  padding: 40px 20px; text-align: center;
  border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-dim);
}
.footer a { color: var(--accent2); }
.footer a:hover { text-decoration: underline; }

/* ========== Download Page ========== */
.dl-page { padding: 100px 20px; max-width: 960px; margin: 0 auto; }
.dl-page h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 12px; }
.dl-page .sub { font-size: 16px; color: var(--text-dim); margin-bottom: 48px; }
.dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.dl-card {
  padding: 32px; border-radius: var(--radius); text-align: center;
  background: var(--bg-card); border: 1px solid var(--border);
  transition: all .3s;
}
.dl-card:hover {
  background: var(--bg-card-hover); transform: translateY(-4px);
  border-color: var(--accent); box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.dl-card .platform-icon { font-size: 40px; margin-bottom: 16px; }
.dl-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.dl-card .ver { font-size: 12px; color: var(--text-dim); margin-bottom: 20px; }
.dl-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #8b70ff);
  font-size: 14px; font-weight: 700; color: #fff;
  transition: all .2s; border: none; cursor: pointer;
}
.dl-btn:hover { box-shadow: 0 4px 16px var(--accent-glow); transform: translateY(-1px); }
.dl-btn:active { transform: translateY(0); }

/* ========== Mobile Download Page ========== */
.m-page {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px 24px; text-align: center;
  background: radial-gradient(ellipse at top, rgba(108, 92, 231, 0.15), transparent 60%), var(--bg);
}
.m-logo {
  width: 80px; height: 80px; border-radius: 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; margin-bottom: 24px;
  box-shadow: 0 8px 40px var(--accent-glow);
}
.m-page h1 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.m-page .sub { font-size: 15px; color: var(--text-dim); margin-bottom: 40px; }
.m-dl-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 48px; border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #8b70ff);
  font-size: 18px; font-weight: 800; color: #fff; cursor: pointer;
  border: none; transition: all .3s; box-shadow: 0 8px 32px var(--accent-glow);
}
.m-dl-btn:active { transform: scale(0.97); }
.m-info { margin-top: 24px; font-size: 13px; color: var(--text-dim); }
.m-info span { color: var(--accent2); font-weight: 600; }

/* WeChat overlay */
.wx-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: none; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px 24px; text-align: center;
}
.wx-overlay.show { display: flex; }
.wx-overlay .arrow {
  position: absolute; top: 20px; right: 30px;
  font-size: 60px; color: #fff; animation: bounce 1.5s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.wx-overlay h2 { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 16px; max-width: 320px; }
.wx-overlay .steps { max-width: 320px; text-align: left; }
.wx-overlay .step {
  display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px;
}
.wx-overlay .step-num {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff;
}
.wx-overlay .step-text { font-size: 14px; color: rgba(255,255,255,0.85); line-height: 1.5; }

/* ========== Animations ========== */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity .8s, transform .8s; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .section { padding: 60px 20px; }
  .hero-stats { gap: 24px; }
  .hero-stat .num { font-size: 24px; }
}
