/* ── 首页专属样式（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; }
.logo-sub { font-size: 11px; font-weight: 400; color: rgba(255,255,255,0.55); letter-spacing: 0.4px; display: block; margin-top: 1px; }
.header-nav { display: flex; gap: 2px; margin-left: 12px; align-items: center; }
.header-nav a { color: rgba(255,255,255,0.72); font-size: 14px; font-weight: 500; padding: 6px 14px; border-radius: 7px; transition: all .18s; }
.header-nav a:hover { color: #fff; background: rgba(255,255,255,0.12); }

/* 製品資料下拉 */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: inline-flex; align-items: center; gap: 4px;
  color: rgba(255,255,255,0.72); font-size: 14px; font-weight: 500;
  padding: 6px 14px; border-radius: 7px; border: none; background: transparent;
  font-family: inherit; cursor: pointer; transition: all .18s;
}
.nav-dropdown-trigger:hover,
.nav-dropdown.is-open .nav-dropdown-trigger {
  color: #fff; background: rgba(255,255,255,0.12);
}
.nav-dropdown-caret { font-size: 10px; opacity: 0.75; line-height: 1; }
.nav-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 168px; margin: 0; padding: 6px;
  list-style: none;
  background: var(--primary-d, #0e2540);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
  z-index: 300;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block; color: rgba(255, 255, 255, 0.82); font-size: 14px; font-weight: 500;
  padding: 8px 12px; border-radius: 7px; white-space: nowrap;
}
.nav-dropdown-menu a:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }

.header-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* 移动端菜单按钮：桌面默认隐藏 */
.mobile-nav-toggle {
  display: none;
}
/* 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;
}

.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: 38px; max-width: 460px; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-hero-secondary { background: rgba(255,255,255,0.1); color: #fff; border: 1.5px solid rgba(255,255,255,0.28); font-family: inherit; font-size: 15px; font-weight: 600; padding: 14px 26px; border-radius: 9px; cursor: pointer; transition: all .2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-hero-secondary:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.4); }

/* 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 { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.adv-row { display: flex; border-bottom: 1px solid var(--border); align-items: stretch; }
.adv-row:last-child { border-bottom: none; }
.adv-label { width: 130px; min-width: 130px; background: var(--surface2); padding: 16px 18px; font-size: 13.5px; font-weight: 700; color: var(--text); border-right: 1px solid var(--border); display: flex; align-items: center; }
.adv-value { flex: 1; padding: 16px 20px; font-size: 14px; color: var(--text2); line-height: 1.65; display: flex; align-items: center; }

/* FOOTER */
footer { background: var(--primary-d); color: rgba(255,255,255,0.5); padding: 36px 28px; text-align: center; }
.footer-logo { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 12px; }
.footer-logo .logo-name { font-size: 15px; color: rgba(255,255,255,0.8); }
footer p { font-size: 13px; color: rgba(255,255,255,0.45); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-title { margin-bottom: 10px; }
  .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;
  }
  .logo-sub {
    font-size: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .header-right {
    flex-shrink: 0;
    gap: 8px;
  }
  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.18s, border-color 0.18s;
  }
  .mobile-nav-toggle:hover,
  .mobile-nav-toggle:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
    outline: none;
  }
  .header-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    order: 10;
    margin: 0;
    padding: 6px 0 8px;
    gap: 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
  header.mobile-nav-open .header-nav {
    display: flex;
  }
  .header-nav a,
  .nav-dropdown-trigger {
    width: 100%;
    text-align: left;
    justify-content: flex-start;
    box-sizing: border-box;
  }
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown:hover .nav-dropdown-menu {
    display: none;
  }
  .nav-dropdown.is-open .nav-dropdown-menu {
    display: block;
    position: static;
    min-width: 0;
    margin: 0 0 4px;
    padding: 4px 0 4px 8px;
    background: rgba(0, 0, 0, 0.15);
    border: none;
    border-radius: 8px;
    box-shadow: none;
  }
}
