/* =========================================================
   官网落地页样式
   品牌主色：#FF4B5C（项目设计系统品牌红）
   纯 CSS，无框架，移动优先 + ≥768px 多列。
   托管：hengee.cn 自有域名根路径（Caddy 静态托管）。资源相对路径。
   ========================================================= */

:root {
  --brand: #FF4B5C;          /* 品牌红 */
  --brand-dark: #E03A4A;     /* 按钮 hover/深色 */
  --brand-soft: #FFF1F2;     /* 品牌红浅底 */
  --ink: #1F2329;            /* 主文字 */
  --ink-2: #6B7280;          /* 次级文字（设计 §4） */
  --line: #ECEEF1;           /* 分隔线 */
  --bg: #FFFFFF;             /* 页面底色 */
  --bg-2: #F7F8FA;           /* 分区底（设计 §4） */
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 8px 28px rgba(31, 35, 41, 0.08);
  --shadow-soft: 0 4px 16px rgba(31, 35, 41, 0.06);
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

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

/* ---------- ① 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}
.nav .brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
}
.nav-links {
  display: none;                 /* 移动优先：默认隐藏次级导航 */
  gap: 24px;
  font-size: 15px;
  color: var(--ink-2);
}
.nav-links a:hover { color: var(--brand); }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 75, 92, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255, 75, 92, 0.38); }
.btn-ghost {
  background: #fff;
  color: var(--brand);
  border-color: var(--brand);
}
.btn-ghost:hover { background: var(--brand-soft); }
.btn.is-disabled {
  background: rgba(255, 255, 255, 0.55);
  color: var(--brand);
  cursor: default;
  pointer-events: none;
  opacity: 0.85;
}

/* ---------- ② Hero 首屏 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff7f8 0%, #fff 72%);
  padding: 56px 0 52px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.hero-logo {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 36px;
  line-height: 1.2;
  margin: 0 0 10px;
  letter-spacing: 0;
}
.hero .slogan {
  font-size: 19px;
  color: var(--brand);
  font-weight: 600;
  margin: 0 0 16px;
}
.hero .lead {
  font-size: 16px;
  color: var(--ink-2);
  max-width: 560px;
  margin: 0 0 26px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-2);
}
.hero-visual img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius);
}

/* ---------- 区块通用 ---------- */
.section { padding: 60px 0; }
.section.alt { background: var(--bg-2); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.section-head h2 { font-size: 27px; margin: 0 0 12px; }
.section-head p { color: var(--ink-2); margin: 0; font-size: 15px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ---------- ③ 平台简介 / ⑧′ 关于我们 正文 ---------- */
.prose {
  max-width: 780px;
  margin: 0 auto;
}
.prose p {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.9;
  margin: 0 0 14px;
}
.prose strong { color: var(--brand); }
.prose .about-company {
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}
.business-license-row a {
  color: var(--brand);
  font-weight: 600;
}

/* ---------- ④ 功能卡片 ---------- */
.features-illus {
  max-width: 720px;
  margin: 0 auto 32px;
}
.features-illus img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 14px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

/* ---------- ⑤ 业务闭环流程图 ---------- */
.flow {
  display: flex;
  flex-direction: column;   /* 移动端竖排 */
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.flow .node {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}
.flow .arrow { color: var(--brand); font-weight: 700; transform: rotate(90deg); }

/* ---------- ⑥ 为谁而做（四角色） ---------- */
.roles-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
.roles-illus img {
  width: 100%;
  max-width: 460px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius);
}
.roles-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.role {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  box-shadow: var(--shadow-soft);
}
.role h3 { margin: 0 0 6px; font-size: 16px; color: var(--brand); }
.role p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

/* ---------- ⑦ App 截图区 ---------- */
.shots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  justify-items: center;
}
.phone {
  width: 100%;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.phone .placeholder,
.phone .phone-shot {
  width: 100%;
  aspect-ratio: 9 / 19;
  border: 10px solid #1F2329;
  border-radius: 34px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.phone .placeholder {
  background: linear-gradient(160deg, #fff, var(--brand-soft));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink-2);
  font-size: 13px;
  padding: 0 12px;
}
.phone .placeholder .ph-title { font-weight: 700; color: var(--brand); margin-bottom: 4px; }
.phone .phone-shot {
  object-fit: cover;
  display: block;
  background: #fff;
}
.phone .phone-caption {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
}

/* ---------- ⑧ 下载区 CTA ---------- */
.cta {
  text-align: center;
  background: var(--brand);
  color: #fff;
  border-radius: 24px;
  padding: 48px 24px;
  box-shadow: var(--shadow);
}
.cta h2 { margin: 0 0 10px; font-size: 25px; }
.cta p { margin: 0 0 24px; opacity: 0.94; font-size: 15px; }
.cta .btn-light {
  background: #fff;
  color: var(--brand);
}
.cta .btn-light:hover { transform: translateY(-2px); }
.cta .cta-note { margin-top: 16px; font-size: 13px; opacity: 0.85; }

/* ---------- ⑨ FAQ ---------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 20px;
  box-shadow: var(--shadow-soft);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 24px 14px 0;
  font-size: 16px;
  font-weight: 600;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  font-size: 20px;
  font-weight: 700;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin: 0 0 14px;
  color: var(--ink-2);
  font-size: 14.5px;
}
.faq-item a { color: var(--brand); }

/* ---------- ⑩ 页脚 ---------- */
.site-footer {
  background: #1F2329;
  color: #C4CAD3;
  padding: 40px 0 28px;
  font-size: 14px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-bottom: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.footer-brand img { width: 28px; height: 28px; border-radius: 7px; }
.footer-tagline { margin-top: 10px; }
.footer-col p { margin: 4px 0; }
.footer-col .label { color: #8A93A0; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #2C313A;
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  color: #8A93A0;
  font-size: 13px;
}
.footer-bottom a:hover { color: #fff; }

/* ---------- 官网首页：易剪视频审核版 ---------- */
.review-home {
  --review-surface: #171820;
  --review-surface-2: #232531;
  overflow-x: hidden;
}

.review-home .nav .brand,
.review-home .nav .btn-sm {
  min-height: 44px;
}

.review-home .nav .btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.review-home .hero {
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 75, 92, 0.16), transparent 34%),
    linear-gradient(180deg, #fff7f8 0%, #ffffff 78%);
}

.review-home .hero-copy {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 13px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 75, 92, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.review-home .hero .lead {
  line-height: 1.85;
}

.editor-visual {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.editor-window {
  position: relative;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: var(--review-surface);
  box-shadow: 0 28px 70px rgba(31, 35, 41, 0.22);
}

.editor-toolbar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 4px 10px;
}

.editor-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4b4d5b;
}

.editor-dot:first-child { background: var(--brand); }

.editor-title {
  margin-left: auto;
  color: #aeb1c2;
  font-size: 11px;
  font-weight: 600;
}

.editor-preview {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 55%),
    linear-gradient(135deg, #ff6a78 0%, #d53467 48%, #7646d8 100%);
}

.editor-preview::before,
.editor-preview::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.editor-preview::before {
  width: 170px;
  height: 170px;
  top: -72px;
  right: -30px;
}

.editor-preview::after {
  width: 120px;
  height: 120px;
  left: -48px;
  bottom: -48px;
}

.editor-preview-glow {
  position: absolute;
  inset: 25% 18%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
  filter: blur(24px);
}

.editor-play {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 30px rgba(62, 24, 74, 0.2);
  backdrop-filter: blur(8px);
}

.editor-play::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #fff;
}

.editor-time {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 1;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(20, 20, 28, 0.62);
  color: #fff;
  font-size: 10px;
}

.editor-timeline {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 14px 4px 4px;
}

.timeline-scale {
  display: flex;
  justify-content: space-between;
  padding: 0 2px;
}

.timeline-scale span {
  width: 1px;
  height: 5px;
  background: #4c4e5c;
}

.timeline-track {
  display: flex;
  gap: 4px;
  height: 24px;
  padding: 3px;
  border-radius: 6px;
  background: var(--review-surface-2);
}

.timeline-track-short {
  width: 72%;
  height: 18px;
}

.timeline-clip {
  display: block;
  border-radius: 4px;
}

.clip-primary {
  flex: 1.25;
  background: linear-gradient(90deg, #f65e6e, #ff8994);
}

.clip-secondary {
  flex: 0.75;
  background: linear-gradient(90deg, #7e5ce0, #aa8df4);
}

.clip-audio {
  width: 86%;
  background: repeating-linear-gradient(90deg, #53c2b2 0 3px, #388f86 3px 5px);
}

.timeline-cursor {
  position: absolute;
  top: 13px;
  bottom: 2px;
  left: 43%;
  width: 2px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(31, 35, 41, 0.24);
}

.timeline-cursor::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
}

.product-card {
  display: grid;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.product-statement {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.product-statement p {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.9;
}

.statement-mark {
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 16px;
}

.product-facts {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--line);
}

.fact-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 16px;
  background: #fff;
}

.fact-row dt {
  color: var(--ink-2);
  font-size: 14px;
}

.fact-row dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.about-panel {
  display: grid;
  gap: 22px;
  max-width: 820px;
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.about-badge {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand), #d93969);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(255, 75, 92, 0.24);
}

.review-home a:focus-visible,
.review-home summary:focus-visible {
  outline: 3px solid rgba(255, 75, 92, 0.3);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .review-home *,
  .review-home *::before,
  .review-home *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- 法律子页（privacy / agreement） ---------- */
.legal-main {
  max-width: 820px;
  padding-top: 40px;
  padding-bottom: 56px;
  min-height: 60vh;
}
.legal-main h1 {
  font-size: 26px;
  margin: 0 0 8px;
}
.legal-updated {
  color: var(--ink-2);
  font-size: 13px;
  margin: 0 0 24px;
}
.legal-content {
  white-space: pre-wrap;   /* 后端 content 为纯文本 */
  color: var(--ink);
  font-size: 15px;
  line-height: 1.9;
}
.legal-footer { padding: 24px 0; }
.legal-footer .footer-bottom { border-top: none; padding-top: 0; }

/* ---------- ≥768px 多列 ---------- */
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .hero { padding: 72px 0 64px; }
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; }
  .hero h1 { font-size: 46px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(4, 1fr); }
  .flow { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
  .flow .arrow { transform: none; }
  .roles-layout { grid-template-columns: 0.9fr 1.1fr; }
  .roles-list { grid-template-columns: repeat(2, 1fr); }
  .review-home .hero h1 { font-size: 52px; }
  .product-card { grid-template-columns: 1.15fr 0.85fr; align-items: center; padding: 34px; }
  .about-panel { grid-template-columns: auto 1fr; align-items: start; padding: 34px; }
  .review-home .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 992px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
  .review-home .footer-top { grid-template-columns: 1.2fr 1fr 1fr 0.8fr; }
}
