/* ── 首页专属样式（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; }
.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); }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 22px; padding: 3px; gap: 2px; }
.lang-btn { font-family: inherit; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 18px; border: none; cursor: pointer; transition: all .2s; color: rgba(255,255,255,0.6); background: none; letter-spacing: 0.3px; }
.lang-btn.active { background: #fff; color: var(--primary); box-shadow: 0 1px 6px rgba(0,0,0,0.18); }
.lang-btn:hover:not(.active) { color: #fff; background: rgba(255,255,255,0.15); }
.btn-cta { background: var(--accent); color: #fff; border: none; font-family: inherit; font-size: 13.5px; font-weight: 700; padding: 9px 20px; border-radius: 8px; cursor: pointer; transition: all .2s; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; letter-spacing: 0.1px; box-shadow: 0 3px 12px rgba(232,168,56,0.35); }
.btn-cta:hover { background: #D4962E; transform: translateY(-1px); }

/* HERO — 文案保持原先左对齐流式；仅「立即使用」绝对定位于可视区域水平居中略偏右、垂直居中 */
.hero {
  background: linear-gradient(135deg, var(--primary-d) 0%, #1A3D6B 55%, #1E5090 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
  padding: 72px 28px 88px 84px;
}
.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-primary { background: var(--accent); color: #fff; border: none; font-family: inherit; font-size: 15px; font-weight: 700; padding: 14px 30px; border-radius: 9px; cursor: pointer; transition: box-shadow .22s, background .22s, filter .22s; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 5px 20px rgba(232,168,56,0.45); letter-spacing: 0.2px; }
.btn-hero-primary:hover { background: #D4962E; filter: brightness(1.02); box-shadow: 0 10px 32px rgba(232,168,56,0.52); }

/* Hero 大号 CTA：不参与文档流占位，只靠定位呈现（大屏）
 * 纵向约在眉题/主标题中线附近，减少对左侧说明段的遮挡；
 * 横向为视窗中心再向右微调。*/
.btn-hero-primary-cta {
  flex-shrink: 0;
  font-size: 22.5px;
  padding: 21px 45px;
  border-radius: 14px;
  gap: 12px;
  letter-spacing: 0.3px;
  box-shadow: 0 8px 30px rgba(232,168,56,0.45);
  white-space: nowrap;
  position: absolute;
  left: 50%;
  top: clamp(148px, 21vh, 210px);
  z-index: 2;
  --hero-cta-x: clamp(64px, 7vw, 128px);
  transform: translate(calc(-50% + var(--hero-cta-x)), -50%);
}
.btn-hero-primary-cta:hover {
  box-shadow: 0 12px 42px rgba(232,168,56,0.52);
}
.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; font-size: 26px; 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; }

/* CTA BANNER */
.cta-banner { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-l) 100%); padding: 80px 28px; text-align: center; position: relative; overflow: hidden; }
.cta-banner::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, rgba(232,168,56,0.16) 0%, transparent 68%); }
.cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta-title { font-size: 36px; font-weight: 900; color: #fff; letter-spacing: -0.7px; line-height: 1.22; margin-bottom: 16px; }
.cta-desc { font-size: 16px; color: rgba(255,255,255,0.76); margin-bottom: 34px; }

/* 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 {
    padding-left: 28px;
  }
  /* 窄屏收回绝对定位：按钮回到标题下，不参与遮挡 */
  .btn-hero-primary-cta {
    position: static;
    transform: none;
    white-space: normal;
    margin: 18px 0 8px;
    max-width: 100%;
    --hero-cta-x: 0;
  }
  .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-nav { display: none; }
}
