/* ── 首页专属样式（index.html） ── */
body { background: var(--bg); }

/* HEADER */
header {
  position: sticky; top: 0; z-index: 200;
  background: var(--primary);
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  height: 64px; display: flex; align-items: center; gap: 24px;
  padding: 0 28px;
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; cursor: pointer; }
.logo-icon {
  width: 36px; height: 36px; background: var(--accent);
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 900; color: #fff; letter-spacing: -1px; flex-shrink: 0;
}
.logo-name { font-size: 16px; font-weight: 700; color: #fff; line-height: 1.25; letter-spacing: 0.2px; }

/* 功能展示下拉菜单：紧邻标题右侧 */
.nav-menu { position: relative; flex-shrink: 0; }
.nav-menu summary {
  list-style: none; cursor: pointer; user-select: none;
  color: #fff; font-size: 14px; font-weight: 600;
  padding: 7px 14px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.35);
}
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary::after { content: " ▾"; }
.nav-menu summary:hover, .nav-menu[open] summary { background: rgba(255,255,255,0.15); }
.nav-menu-list {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 100%;
  background: #fff; border-radius: 8px; padding: 6px 0; white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.nav-menu-list a {
  display: block; padding: 9px 18px; font-size: 14px;
  color: var(--primary); text-decoration: none;
}
.nav-menu-list a:hover { background: #EEF3FA; }

.header-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
/* HERO — 文案左对齐流式；本页为纯说明页，不再放跳转应用的 CTA */
.hero {
  background: linear-gradient(135deg, var(--primary-d) 0%, #1A3D6B 55%, #1E5090 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
  padding: 72px 28px 88px;
}
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 60% at 72% 45%, rgba(232,168,56,.14) 0%, transparent 70%), radial-gradient(ellipse 40% 50% at 10% 90%, rgba(58,130,196,.12) 0%, transparent 55%); }
.hero-grid {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  column-gap: 56px;
  align-items: stretch;
}
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
}
.hero-visual-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  min-height: 0;
}
.hero-visual-btn:focus-visible {
  outline: 2px solid var(--accent-l);
  outline-offset: 3px;
  border-radius: 14px;
}
.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  transition: box-shadow .18s;
}
.hero-visual-btn:hover img,
.hero-visual-btn:focus-visible img {
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.32);
}

body.hero-lightbox-lock { overflow: hidden; }
.hero-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 450;
  align-items: center;
  justify-content: center;
  padding: 64px 40px 40px;
  background: rgba(10, 28, 49, 0.78);
  backdrop-filter: blur(4px);
}
.hero-lightbox.open { display: flex; }
.hero-lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(1100px, 100%);
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}
.hero-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  margin: 0;
  padding: 8px 16px;
  border: 0;
  border-radius: 20px;
  background: #fff;
  color: #0A1C31;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.hero-lightbox-close:hover,
.hero-lightbox-close:focus-visible {
  background: var(--accent);
  color: #fff;
  outline: none;
}

.hero-title { font-size: 46px; font-weight: 900; line-height: 1.15; letter-spacing: -1.5px; color: #fff; margin: 0 0 10px; }
.hero-title em { font-style: normal; color: var(--accent-l); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); padding: 6px 16px; border-radius: 20px; font-size: 12px; font-weight: 700; letter-spacing: 0.8px; color: var(--accent-l); margin-bottom: 22px; text-transform: uppercase; }
.hero-subtitle { font-size: 16.5px; color: rgba(255,255,255,0.78); line-height: 1.75; margin-bottom: 22px; max-width: 460px; }
.hero-jumps { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hero-jumps a,
.hero-jumps button {
  color: #fff; font-size: 14px; font-weight: 600;
  font-family: inherit; line-height: 1.2; cursor: pointer;
  padding: 8px 16px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.1);
  transition: background .18s, border-color .18s;
}
.hero-jumps .hero-jump-contact { margin-left: 18px; }
.hero-jumps a:hover,
.hero-jumps a:focus-visible,
.hero-jumps button:hover,
.hero-jumps button:focus-visible {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.45);
  outline: none;
}

/* Hero 右侧预览卡 */
.hero-preview { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 16px; padding: 22px; backdrop-filter: blur(8px); }
.preview-titlebar { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.preview-dots { display: flex; gap: 7px; }
.preview-dots span { width: 11px; height: 11px; border-radius: 50%; }
.preview-dots span:nth-child(1) { background: #FF5F57; }
.preview-dots span:nth-child(2) { background: #FEBC2E; }
.preview-dots span:nth-child(3) { background: #28C840; }
.preview-wintitle { font-size: 11.5px; color: rgba(255,255,255,0.45); font-weight: 500; margin-left: 2px; letter-spacing: 0.3px; }
.preview-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.preview-stat { background: rgba(255,255,255,0.09); border-radius: 10px; padding: 13px 10px; text-align: center; }
.preview-stat-num { font-size: 26px; font-weight: 900; color: var(--accent-l); display: block; line-height: 1; margin-bottom: 5px; }
.preview-stat-label { font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.55); display: block; }
.preview-alert { background: rgba(201,43,43,0.22); border: 1px solid rgba(201,43,43,0.4); border-radius: 7px; padding: 9px 13px; margin-bottom: 12px; font-size: 12px; color: #FFBBBB; font-weight: 500; display: flex; align-items: center; gap: 7px; }
.preview-tasks { display: flex; flex-direction: column; gap: 8px; }
.preview-task { display: flex; align-items: center; gap: 11px; background: rgba(255,255,255,0.07); border-radius: 8px; padding: 10px 13px; }
.preview-check { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.3); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; }
.preview-check.done { background: var(--green); border-color: var(--green); color: #fff; }
.preview-task-info { flex: 1; min-width: 0; }
.preview-task-name { font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,0.92); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.preview-task-name.done-text { text-decoration: line-through; opacity: 0.45; }
.preview-task-meta { font-size: 10.5px; color: rgba(255,255,255,0.42); display: block; margin-top: 2px; }
.pv-badge { font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 12px; flex-shrink: 0; white-space: nowrap; }
.pv-overdue { background: rgba(201,43,43,0.28); color: #FFAAAA; }
.pv-today   { background: rgba(232,168,56,0.28); color: var(--accent-l); }
.pv-done    { background: rgba(29,138,78,0.28);  color: #86EFAC; }
.pv-normal  { background: rgba(255,255,255,0.1);  color: rgba(255,255,255,0.6); }

/* STATS STRIP */
.stats-strip { background: var(--primary-d); padding: 36px 28px; }
.stats-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-item { text-align: center; padding: 4px; }
.stat-num { font-size: 44px; font-weight: 900; color: var(--accent-l); line-height: 1; letter-spacing: -2px; display: block; margin-bottom: 7px; }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.4; font-weight: 400; }

/* FEATURES */
.features { padding: 88px 28px; background: var(--bg); }
.section-head { text-align: center; margin-bottom: 56px; }
/* 区块眉题（核心功能 / 使用流程）：字号与主标题层级更协调 */
.section-eyebrow { display: inline-block; font-size: 24px; font-weight: 700; letter-spacing: 2.4px; color: var(--primary); text-transform: uppercase; background: #E8F0FB; padding: 10px 22px; border-radius: 24px; margin-bottom: 16px; }
.section-title { font-size: 34px; font-weight: 900; color: var(--text); letter-spacing: -0.8px; line-height: 1.22; margin-bottom: 14px; }
.section-desc { font-size: 16px; color: var(--text2); max-width: 540px; margin: 0 auto; }
.features-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow-sm); transition: all .25s; }
.feat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(26,61,107,0.2); }
.feat-icon { width: 54px; height: 54px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.fi-blue   { background: #E8F0FB; }
.fi-amber  { background: #FEF4E2; }
.fi-green  { background: #E6F7EE; }
.fi-purple { background: #EDE9FE; }
.feat-title { font-size: 20px; font-weight: 800; color: var(--text); margin-bottom: 10px; letter-spacing: -0.3px; }
.feat-desc { font-size: 14.5px; color: var(--text2); line-height: 1.72; margin-bottom: 18px; }
.feat-points { display: flex; flex-direction: column; gap: 9px; }
.feat-point { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--text2); }
.feat-point::before { content: '✓'; color: var(--green); font-weight: 900; font-size: 14px; flex-shrink: 0; margin-top: 1px; }

/* HOW IT WORKS */
.howto { background: var(--surface); padding: 88px 28px; }
.steps { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.steps::before { content: ''; position: absolute; top: 38px; left: calc(100%/6 + 36px); right: calc(100%/6 + 36px); height: 2px; background: linear-gradient(90deg, var(--border), var(--primary-l), var(--border)); }
.step { text-align: center; padding: 0 36px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.step-num { width: 76px; height: 76px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 900; position: relative; z-index: 1; box-shadow: 0 6px 20px rgba(26,61,107,0.32); flex-shrink: 0; }
.step-title { font-size: 17px; font-weight: 700; color: var(--text); }
.step-desc { font-size: 14px; color: var(--text2); line-height: 1.7; }

/* ADVANTAGES */
.advantages { background: var(--bg); padding: 88px 28px; }
.adv-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 420px 1fr; gap: 48px; align-items: start; }
.adv-left-title { font-size: 32px; font-weight: 900; color: var(--text); letter-spacing: -0.6px; margin-bottom: 16px; line-height: 1.28; }
.adv-left-desc { font-size: 15px; color: var(--text2); line-height: 1.78; margin-bottom: 26px; }
.adv-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.adv-tag { font-size: 13px; font-weight: 600; color: var(--primary); background: #E8F0FB; padding: 6px 16px; border-radius: 20px; border: 1px solid rgba(26,61,107,0.14); }
.adv-table { display: table; width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.adv-row { display: table-row; }
.adv-label, .adv-value { display: table-cell; vertical-align: middle; border-bottom: 1px solid var(--border); }
.adv-row:last-child .adv-label, .adv-row:last-child .adv-value { border-bottom: none; }
.adv-label { width: 1%; white-space: nowrap; background: var(--surface2); padding: 16px 18px; font-size: 13.5px; font-weight: 700; color: var(--text); border-right: 1px solid var(--border); }
.adv-value { padding: 16px 20px; font-size: 14px; color: var(--text2); line-height: 1.65; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-title { margin-bottom: 10px; }
  .hero-grid { grid-template-columns: 1fr; row-gap: 28px; }
  .hero-visual img { height: auto; max-height: 320px; }
  .hero-preview { display: none; }
  .hero .hero-title { font-size: 34px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
  .adv-grid { grid-template-columns: 1fr; gap: 32px; }
  .header-inner {
    flex-wrap: wrap;
    align-items: center;
    height: auto;
    min-height: 64px;
    padding: 10px 16px;
    gap: 10px 12px;
  }
  .logo {
    flex: 1 1 0;
    min-width: 0;
  }
  .logo-name {
    font-size: 14px;
  }
  .header-right {
    flex-shrink: 0;
    gap: 8px;
  }
}
