/* ============================================================
   优面Offer · 门户官网样式
   设计基调：苹果官网式的克制 —— 大量留白、近黑文字、青绿点缀、
   大标题、粘性毛玻璃导航、滚动入场动画。
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;          /* 浅灰分区背景 */
  --bg-dark: #000000;          /* 深色对比分区 */
  --text: #1d1d1f;
  --muted: #6e6e73;
  --muted-light: #86868b;
  --accent: #16A99D;           /* 青绿主色 */
  --accent-hover: #118F85;
  --accent-soft: #E7F8F6;
  --border: #d2d2d7;
  --border-soft: #e8e8ed;
  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1080px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, .10);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, .16);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

p { margin: 0; }

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

img, svg { display: block; max-width: 100%; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   导航
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-logo {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, #16A99D, #31C4B8);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  flex: none;
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  color: var(--text);
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--accent); background: var(--accent-soft); text-decoration: none; }
.nav-links a.active { color: var(--accent); }
.nav-cta {
  margin-left: 4px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  padding: 7px 16px;
  border-radius: 999px;
  text-decoration: none;
  transition: background .2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-hover); text-decoration: none; }

.nav-toggle {
  display: none;
  margin-left: auto;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  border-radius: 2px;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  text-align: center;
  padding: 96px 24px 72px;
  overflow: hidden;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  background: var(--bg-alt);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #16A99D;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}
.hero h1 {
  font-size: clamp(44px, 7vw, 72px);
  letter-spacing: -0.03em;
  max-width: 820px;
  margin: 0 auto;
}
.hero h1 .grad {
  background: linear-gradient(120deg, #16A99D, #38D0C0, #5ED2C7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: clamp(18px, 2.4vw, 24px);
  color: var(--muted);
  max-width: 640px;
  margin: 20px auto 34px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform .15s, background .2s, box-shadow .2s;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); text-decoration: none; }
.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-secondary:hover { background: var(--accent-soft); text-decoration: none; }
.btn-light {
  background: #fff;
  color: var(--text);
}
.btn-light:hover { background: #f0f0f0; text-decoration: none; }

/* ============================================================
   产品悬浮窗示意（Hero 里的 CSS 产品图）
   ============================================================ */
.mockup-wrap {
  margin: 72px auto 0;
  max-width: 880px;
  position: relative;
}
.mockup {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  text-align: left;
}
.mockup-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  background: #fafafa;
  border-bottom: 1px solid var(--border-soft);
}
.mockup-titlebar .traffic { display: flex; gap: 7px; }
.mockup-titlebar .traffic i {
  width: 11px; height: 11px; border-radius: 50%;
}
.mockup-titlebar .traffic i:nth-child(1) { background: #ff5f57; }
.mockup-titlebar .traffic i:nth-child(2) { background: #febc2e; }
.mockup-titlebar .traffic i:nth-child(3) { background: #28c840; }
.mockup-titlebar .title {
  font-size: 13px;
  color: var(--muted);
  margin-left: 6px;
  font-weight: 500;
}
.mockup-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 16px; }
.q-bubble {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 14px 16px;
}
.q-bubble .label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.q-bubble .label .who { color: #0E7A4A; font-weight: 600; }
.q-bubble .text { font-size: 15px; font-weight: 500; }
.a-bubble {
  border: 1px solid var(--accent-soft);
  background: linear-gradient(180deg, #E7F8F6, #ffffff);
  border-radius: 12px;
  padding: 14px 16px;
}
.a-bubble .label {
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.a-bubble ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 5px; }
.a-bubble li { font-size: 13.5px; color: var(--text); }
.mockup-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-top: 1px solid var(--border-soft);
  background: #fff;
}
.level {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--border-soft);
  position: relative;
  overflow: hidden;
}
.level::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #16A99D, #31C4B8);
  transform: translateX(-100%);
  animation: level 2.6s ease-in-out infinite;
}
@keyframes level {
  0% { transform: translateX(-100%); }
  55% { transform: translateX(-20%); }
  100% { transform: translateX(-100%); }
}
.mockup-foot .hint { font-size: 12px; color: var(--muted); white-space: nowrap; }

/* 悬浮的「识别中」小卡片，制造层次感 */
.float-chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
}
.float-chip .ico {
  width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.float-chip.chip-1 { top: -24px; right: -28px; animation: float 5s ease-in-out infinite; }
.float-chip.chip-2 { bottom: -22px; left: -24px; animation: float 5s ease-in-out 1.2s infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============================================================
   通用 Section
   ============================================================ */
.section { padding: 96px 24px; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--bg-dark); color: #f5f5f7; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.02em; }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 14px; }
.section.dark .section-head p { color: var(--muted-light); }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

/* ============================================================
   法律文本页（隐私政策 / 服务条款）
   ============================================================ */
.legal { max-width: 760px; margin: 0 auto; text-align: left; }
.legal .section-head { text-align: left; max-width: none; margin-bottom: 40px; }
.legal .section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.legal .doc-date { font-size: 13px; color: var(--muted); margin-top: 12px; }
.legal h3 { font-size: 20px; margin: 40px 0 12px; color: var(--text); }
.legal h3:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--muted); font-size: 15.5px; line-height: 1.85; margin-bottom: 12px; }
.legal ul, .legal ol { padding-left: 22px; margin: 0 0 12px; }
.legal strong { color: var(--text); font-weight: 600; }

/* ============================================================
   特性卡片
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .25s, box-shadow .25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 21px; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 15px; }

/* 特性：图文左右排布（大段卖点） */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feature-split .copy h2 { font-size: clamp(30px, 4.5vw, 44px); }
.feature-split .copy p { color: var(--muted); font-size: 17px; margin-top: 16px; }
.feature-split .visual {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  min-height: 260px;
  display: grid;
  place-items: center;
}
.section.dark .feature-split .visual { background: #161617; border-color: #2a2a2c; }
.section.dark .feature-split .copy p { color: var(--muted-light); }

/* 简历 → 个性化话术 示意（首页图文区） */
.resume-demo {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.resume-card {
  background: #fbfbfd;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 20px;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}
.resume-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.resume-card .chip {
  font-size: 12.5px;
  background: var(--bg-alt);
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--text);
  align-self: flex-start;
}
.resume-card.accent {
  border-color: var(--accent-soft);
  background: linear-gradient(180deg, #E7F8F6, #ffffff);
}
.resume-card.accent p {
  margin: 0;
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
}
.resume-arrow {
  font-size: 28px;
  color: var(--accent);
  font-weight: 300;
}

/* 数字/亮点条 */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: center;
}
.stat b {
  display: block;
  font-size: clamp(36px, 5vw, 52px);
  letter-spacing: -0.02em;
  font-weight: 600;
}
.stat span { color: var(--muted); font-size: 15px; }
.section.dark .stat span { color: var(--muted-light); }

/* ============================================================
   步骤 / 教程
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 30px;
  position: relative;
}
.step-num {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.step h3 { font-size: 19px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* 教程页：大步骤列表 */
.tutorial-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.tutorial-step {
  display: flex;
  gap: 22px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 28px 30px;
}
.tutorial-step .num {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  display: grid; place-items: center;
  font-size: 18px; font-weight: 600;
}
.tutorial-step h3 { font-size: 19px; margin-bottom: 8px; }
.tutorial-step p { color: var(--muted); font-size: 15px; }
.tutorial-step .tag {
  display: inline-block;
  font-size: 12px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 10px;
  border-radius: 999px;
  margin-top: 10px;
}

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border-soft);
  padding: 22px 0;
}
.faq-item summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--muted); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); font-size: 15px; margin-top: 12px; }

/* ============================================================
   套餐
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.plan {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan.featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-md);
}
.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-name { font-size: 15px; font-weight: 600; color: var(--muted); }
.plan-price { margin: 18px 0 6px; }
.plan-price .cur { font-size: 22px; vertical-align: top; }
.plan-price .num { font-size: 52px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.plan-price .per { font-size: 15px; color: var(--muted); }
.plan-desc { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.plan ul {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.plan li {
  font-size: 14.5px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.plan li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  flex: none;
}
.plan li.na { color: var(--muted-light); }
.plan li.na::before { content: "—"; color: var(--border); }
.plan .btn { justify-content: center; }
.plan-note {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-top: 28px;
}

/* ============================================================
   下载页
   ============================================================ */
.download-card {
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.download-card .plat { font-size: 40px; margin-bottom: 8px; }
.download-card h2 { font-size: 30px; }
.download-card .ver { color: var(--muted); font-size: 14px; margin: 8px 0 26px; }
.download-card .btn { justify-content: center; font-size: 17px; padding: 15px 34px; }

/* 多平台下载卡片网格 */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}
.download-grid .download-card {
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  padding: 36px 28px;
}
.download-grid .download-card h2 { font-size: 24px; }
.download-grid .download-card .btn { margin-top: auto; font-size: 16px; padding: 13px 26px; }
.download-card .note { color: var(--muted); font-size: 13px; margin-top: 16px; line-height: 1.6; }
.download-card .checksum { color: var(--muted); font-size: 12px; margin-top: 12px; text-align: left; line-height: 1.8; word-break: break-all; }
.download-card .checksum code { font-family: Consolas, Menlo, monospace; color: var(--text); font-size: 11px; }
@media (max-width: 860px) {
  .download-grid { grid-template-columns: 1fr; }
}

.req {
  max-width: 620px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}
.req b { color: var(--text); }

/* ============================================================
   CTA 尾段
   ============================================================ */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(30px, 4.5vw, 44px); }
.cta-band p { color: var(--muted-light); font-size: 18px; margin: 14px 0 30px; }

/* ============================================================
   页脚
   ============================================================ */
.footer {
  background: var(--bg-alt);
  padding: 48px 24px;
  border-top: 1px solid var(--border-soft);
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer .brand { font-size: 16px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 13.5px; }
.footer-links a:hover { color: var(--text); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted-light);
  font-size: 12.5px;
}
.footer-bottom a { color: var(--muted-light); }

/* ============================================================
   滚动入场动画
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 52px; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-soft);
    padding: 12px 24px;
    gap: 4px;
  }
  .nav-cta { margin-left: auto; }
  .features-grid, .steps, .stats, .pricing-grid { grid-template-columns: 1fr; }
  .feature-split { grid-template-columns: 1fr; gap: 28px; }
  .feature-split .visual { order: -1; min-height: 200px; }
  .float-chip.chip-1 { right: 0; top: -18px; }
  .float-chip.chip-2 { left: 0; bottom: -16px; }
  .footer-top { flex-direction: column; }
  .tutorial-step { flex-direction: column; }
}
