/* WorkLog 落地页样式 —— 与客户端同一套品牌色 */

:root {
  --bg: #08090b;
  --bg-1: #0d0f13;
  --bg-2: #12151a;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eceef2;
  --text-2: #9aa1ad;
  --text-3: #6b7280;
  --brand-1: #7ca3ff;
  --brand-2: #6a87ff;
  --brand-3: #9c7cff;
  --grad: linear-gradient(135deg, var(--brand-1), var(--brand-3));
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --sp: 8px;
  --max: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

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

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(8, 9, 11, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.brand svg { display: block; border-radius: 7px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  color: var(--text-2);
}

.nav-links a:hover { color: var(--text); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:active { transform: scale(0.975); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 28px rgba(106, 135, 255, 0.32);
}

.btn-primary:hover { filter: brightness(1.08); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-2);
  color: var(--text);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); }

.btn-sm { height: 34px; padding: 0 16px; font-size: 13px; }

/* ---------- 英雄区 ---------- */
.hero {
  position: relative;
  padding: 84px 0 64px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 520px;
  background: radial-gradient(ellipse at center, rgba(106, 135, 255, 0.22), transparent 68%);
  pointer-events: none;
}

.hero > * { position: relative; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-2);
  font-size: 12px;
  color: var(--text-2);
  margin-bottom: 24px;
}

.pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
}

h1 {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 650;
  margin-bottom: 20px;
}

h1 .accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  font-size: clamp(14px, 1.6vw, 17px);
  color: var(--text-2);
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.75;
}

.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.meta-line {
  font-size: 12px;
  color: var(--text-3);
}

/* ---------- 截图容器 ---------- */
.shot {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background: var(--bg-1);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.shot img { display: block; width: 100%; height: auto; }

.hero-shot {
  margin: 56px auto 0;
  max-width: 640px;
}

/* ---------- 通用区块 ---------- */
section { padding: 80px 0; }

.sec-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.sec-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-1);
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 650;
  margin-bottom: 14px;
}

.sec-head p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.75;
}

/* ---------- 卡片网格 ---------- */
.grid {
  display: grid;
  gap: 16px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  padding: 24px;
  border-radius: var(--r-md);
  background: var(--bg-1);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}

.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 163, 255, 0.12);
  color: var(--brand-1);
  margin-bottom: 16px;
}

.card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.card p {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ---------- 特性行 ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 48px 0;
}

.feature.reverse .feature-text { order: 2; }

.feature-text h3 {
  font-size: 22px;
  font-weight: 620;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.feature-text p {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 18px;
}

.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.check-list li {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.6;
}

.check-list svg { flex: 0 0 auto; margin-top: 4px; color: var(--brand-1); }

/* ---------- 模式表 ---------- */
.mode-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 13.5px;
}

.mode-table th,
.mode-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.mode-table th {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mode-table td:first-child { font-weight: 600; color: var(--text); }
.mode-table td { color: var(--text-2); }

/* ---------- 下载区 ---------- */
.download {
  background: linear-gradient(180deg, var(--bg), var(--bg-1));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.dl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}

.dl-card {
  padding: 26px;
  border-radius: var(--r-md);
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dl-card.primary { border-color: rgba(124, 163, 255, 0.4); }

.dl-label {
  font-size: 12px;
  color: var(--brand-1);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.dl-card h3 { font-size: 16px; font-weight: 600; }

.dl-card p { font-size: 13px; color: var(--text-3); }

.dl-card .btn { margin-top: 14px; width: 100%; }

.dl-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-3);
  margin-top: 28px;
  line-height: 1.8;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.faq details {
  background: var(--bg-1);
  padding: 18px 22px;
}

.faq summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  color: var(--text-3);
  font-size: 18px;
  line-height: 1;
}

.faq details[open] summary::after { content: "−"; }

.faq p {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.75;
}

.faq code {
  font-family: var(--mono);
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--inset);
  color: var(--brand-1);
}

/* ---------- 页脚 ---------- */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--text-3);
}

.foot-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.foot-links { display: flex; gap: 20px; }
.foot-links a:hover { color: var(--text); }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: 28px; padding: 32px 0; }
  .feature.reverse .feature-text { order: 0; }
  .dl-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  section { padding: 56px 0; }
  .hero { padding: 56px 0 40px; }
  .hero-shot { margin-top: 36px; }
}

/* 功能区的截图收窄，避免竖图把行撑得太高 */
.feature .shot {
  max-width: 380px;
  margin: 0 auto;
  border-radius: 16px;
}

.feature .shot img {
  max-height: 620px;
  object-fit: cover;
  object-position: top center;
}

@media (max-width: 860px) {
  .feature .shot { max-width: 100%; }
  .feature .shot img { max-height: none; }
}
