/* PocketOrca-LLM 官网 — Cherry 风格暗色转译
   所有颜色集中在 :root，自己改主题只动这里 */

:root {
  --bg: #050505;          /* 近纯黑舞台 */
  --bg-card: #1a1a1a;     /* 卡片层 */
  --bg-card-hi: #252525;  /* 选中/高亮层 */
  --text: #ffffff;
  --text-dim: rgba(255,255,255,.62);
  --text-faint: rgba(255,255,255,.4);

  /* Orca 能量色 — 电光蓝系（改主题就动这三个） */
  --accent: #38bdf8;       /* 电光蓝 */
  --accent-2: #818cf8;     /* 雷紫 */
  --accent-3: #22d3ee;     /* 冰青 */

  --radius: 16px;
  --maxw: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "MiSans", "HarmonyOS Sans", -apple-system, "Segoe UI", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ============ 导航 ============ */
.nav {
  display: flex; justify-content: space-between; align-items: center;
  max-width: var(--maxw); margin: 0 auto; padding: 20px 24px;
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(5,5,5,.7);
}
.brand { color: var(--text); font-weight: 800; font-size: 18px; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { width: 32px; height: 32px; object-fit: contain; }
.hero-logo { width: 180px; max-width: 45vw; height: auto; margin-bottom: 28px; filter: drop-shadow(0 0 32px rgba(56,189,248,.25)); }
.brand-accent { color: var(--accent); }
.nav a { color: var(--text-dim); text-decoration: none; margin-left: 22px; font-size: 14px; }
.nav a:hover { color: var(--text); }
.nav-cta {
  background: var(--text); color: #000 !important;
  padding: 6px 16px; border-radius: 99px; font-weight: 600;
}

/* ============ Hero ============ */
.hero { max-width: var(--maxw); margin: 0 auto; padding: 90px 24px 60px; text-align: center; }
.hero h1 {
  font-size: clamp(33px, 8.5vw, 84px);
  font-weight: 900; line-height: 1.15; letter-spacing: -0.02em;
}
.hero-sub { margin: 24px 0 36px; font-size: 18px; color: var(--text-dim); }
.ul { text-decoration: none; background-repeat: no-repeat; background-size: 100% 0.35em; background-position: 0 100%; padding-bottom: 2px; }
.ul-blue   { background-image: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.ul-cyan   { background-image: linear-gradient(90deg, var(--accent-3), var(--accent)); }
.ul-purple { background-image: linear-gradient(90deg, var(--accent-2), #c084fc); }

.btn-primary {
  display: inline-block;
  background: var(--text); color: #000;
  font-size: 16px; font-weight: 700;
  padding: 14px 34px; border-radius: 99px;
  text-decoration: none; transition: transform .15s ease;
}
.btn-primary:hover { transform: scale(1.03); }
.btn-dim { font-weight: 400; color: #555; }
.hero-links { margin-top: 18px; font-size: 14px; }
.hero-links a { color: var(--text-dim); margin: 0 12px; text-decoration: none; }
.hero-links a:hover { color: var(--accent); }

/* 手机 mockup 占位 */
.phone-mockup {
  width: 280px; margin: 60px auto 0;
  border: 3px solid #2a2a2a; border-radius: 40px;
  background: var(--bg-card); padding: 14px;
}
.phone-notch {
  width: 90px; height: 6px; border-radius: 99px;
  background: #2a2a2a; margin: 0 auto 10px;
}
.phone-screen {
  min-height: 480px; border-radius: 26px;
  background: #0d0d0d;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.phone-shot { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.mock-note { color: var(--text-faint); font-size: 13px; text-align: center; padding: 20px; }

/* ============ 通用区块 ============ */
.section { max-width: var(--maxw); margin: 0 auto; padding: 70px 24px; }
.section h2 { font-size: clamp(30px, 5vw, 44px); font-weight: 800; text-align: center; letter-spacing: -0.01em; }
.section-sub { text-align: center; color: var(--text-dim); margin: 14px 0 44px; }

/* 功能五宫格 */
.grid-5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}
.card {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 26px 22px; transition: background .2s;
}
.card:hover { background: var(--bg-card-hi); }
.card h3 { font-size: 17px; margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--text-dim); }

/* 实测数据 */
.bench-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.bench-card {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 36px 24px; text-align: center;
}
.bench-card p { color: var(--text-dim); font-size: 14px; margin-top: 8px; }
.bench-hl { border: 1px solid var(--accent); }
.bench-num { font-size: 52px; font-weight: 900; color: var(--accent); }
.bench-num small { font-size: 20px; font-weight: 600; color: var(--text-dim); }
.bench-note { text-align: center; color: var(--text-faint); font-size: 13px; margin-top: 24px; }

/* 快速上手 */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.step {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg-card); border-radius: var(--radius); padding: 24px;
}
.step span {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #000;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.step p { font-size: 14px; color: var(--text-dim); }

/* 常用模型下载 */
.model-list { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin: 0 auto; }
.model-item {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: var(--bg-card); border-radius: var(--radius); padding: 18px 22px;
  transition: background .2s;
}
.model-item:hover { background: var(--bg-card-hi); }
.model-info { display: flex; flex-direction: column; min-width: 0; }
.model-info strong { font-size: 15px; }
.model-info span { font-size: 13px; color: var(--text-dim); }
.btn-model {
  flex-shrink: 0; background: var(--accent); color: #000;
  padding: 8px 20px; border-radius: 99px; font-weight: 700; font-size: 14px;
  text-decoration: none;
}
.btn-model:hover { filter: brightness(1.1); }
@media (max-width: 480px) {
  .model-item { flex-direction: row; padding: 14px 16px; }
  .btn-model { padding: 6px 14px; }
}

/* FAQ */
details {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 20px 24px; margin-bottom: 12px;
}
summary { cursor: pointer; font-weight: 600; font-size: 16px; }
details p { margin-top: 12px; color: var(--text-dim); font-size: 14px; }

/* 下载区 */
.section-cta { text-align: center; padding-bottom: 100px; }
.btn-ghost {
  display: inline-block; margin-left: 14px;
  border: 1px solid #333; color: var(--text-dim);
  padding: 14px 28px; border-radius: 99px;
  text-decoration: none; font-size: 15px;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* 页脚 */
.footer {
  border-top: 1px solid #1a1a1a;
  text-align: center; padding: 40px 24px;
  color: var(--text-faint); font-size: 13px;
}
.footer a { color: var(--text-dim); text-decoration: none; margin: 0 6px; }
.footer a:hover { color: var(--accent); }

/* 移动端 */
@media (max-width: 640px) {
  .nav { padding: 14px 16px; }
  .nav nav { display: flex; align-items: center; gap: 0; }
  .nav a { margin-left: 10px; font-size: 13px; white-space: nowrap; }
  .nav-cta { padding: 5px 12px; }
  .hero { padding-top: 60px; }
  .btn-ghost { margin: 14px 0 0; }
}
@media (max-width: 380px) {
  /* 超窄屏：去掉 GitHub/FAQ 文字链，只留核心项 */
  .nav nav a:not(.nav-cta):not([href$='benchmarks']) { display: none; }
}
