/* 简笔画涂鸦板官网 —— 零外部资源，纯 HTML/CSS
   ⚠️ 内容红线：全年龄绘画工具。禁止出现儿童定位、Kids Mode、COPPA 暗示。
   ⚠️ 所有产品图为真机截图，禁止用 CSS 伪造 App UI。 */

:root {
  --bg:        #fbf7f0;
  --bg-alt:    #f3ece1;
  --card:      #ffffff;
  --ink:       #1f1b16;
  --ink-soft:  #5c5347;
  --ink-mute:  #8a7f70;
  --line:      #e4dacb;
  --brand:     #e07a3f;
  --brand-dk:  #c25f28;
  --brand-sf:  #fdf1e8;
  --radius:    18px;
  --wrap:      1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

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

a { color: var(--brand-dk); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,247,240,.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 9px;
  font-weight: 700; color: var(--ink); text-decoration: none;
}
.brand img { border-radius: 7px; }
.nav nav { display: flex; gap: 22px; }
.nav nav a {
  color: var(--ink-soft); text-decoration: none; font-size: 15px;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav nav a:hover { color: var(--brand-dk); border-bottom-color: var(--brand); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 84px; overflow: hidden; }
.hero-in {
  display: grid; grid-template-columns: 1fr 460px;
  gap: 56px; align-items: center;
}
.eyebrow {
  margin: 0 0 14px; font-size: 13px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--brand);
}
.hero h1 {
  margin: 0 0 18px; font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.15; letter-spacing: -.02em;
}
.lede { margin: 0 0 28px; font-size: 18px; color: var(--ink-soft); max-width: 30em; }

.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  border: 2px solid transparent; transition: transform .12s ease, background .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dk); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-dk); }
/* CTA 区的下载按钮：这是全站唯一的目标动作，做得更大更显眼 */
.btn-lg { padding: 17px 40px; font-size: 19px; }
.cta-center { justify-content: center; margin-bottom: 20px; }

.facts {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.facts li {
  font-size: 13.5px; color: var(--ink-soft);
  background: var(--card); border: 1px solid var(--line);
  padding: 5px 13px; border-radius: 999px;
}
.facts li::before { content: "✓ "; color: var(--brand); font-weight: 700; }

/* hero 双机叠放
   ⚠️ 移动端踩过的坑：用固定 height + 绝对定位时，窄屏下手机图会溢出容器右侧被裁切，
      容器下方还会留一大片空白。改成 grid 叠放（两张图占同一格）+ aspect-ratio
      让容器高度由内容决定，任何宽度都不会溢出。 */
.hero-shots {
  display: grid;
  grid-template-areas: "stack";
  place-items: center;
  aspect-ratio: 460 / 540;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}
.shot {
  grid-area: stack;
  border-radius: 26px;
  border: 8px solid #17130f;
  box-shadow: 0 26px 60px rgba(31,27,22,.22);
  background: #fff;
  max-width: 100%;
}
.shot-back  { width: 300px; transform: rotate(-6deg); z-index: 1;
              justify-self: start; align-self: start; margin-top: 34px; }
.shot-front { width: 268px; transform: rotate(4deg);  z-index: 2;
              justify-self: end;   align-self: end;   margin-bottom: 8px; }

/* ---------- section ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  margin: 0 0 10px; font-size: clamp(26px, 3.6vw, 38px);
  letter-spacing: -.02em; text-align: center;
}
.section-sub {
  margin: 0 auto 44px; max-width: 40em; text-align: center;
  color: var(--ink-soft); font-size: 16.5px;
}

/* ---------- feature grid ---------- */
.grid {
  display: grid; gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .16s ease, box-shadow .16s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(31,27,22,.1); }
.card img { width: 100%; aspect-ratio: 1290/2796; object-fit: cover; object-position: top; }
.card-body { padding: 20px 22px 24px; }
.card-body h3 { margin: 0 0 8px; font-size: 19px; }
.card-body p  { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* 回放是本版主线功能，图比文字多，给整行宽度。
   ⚠️ 用 grid-column: 1 / -1 而不是 span 2：auto-fit 网格的列数随宽度变，
      写死 span 2 在窄屏会多留一列空白。 */
.card-wide { grid-column: 1 / -1; }
@media (max-width: 900px) {
  /* 窄屏下整行卡片里的手机截图会过大过细长，改成左右并排 */
  .card-wide { flex-direction: row; align-items: stretch; }
  .card-wide img { width: 46%; aspect-ratio: auto; object-fit: cover; }
  .card-wide .card-body { flex: 1; display: flex; flex-direction: column;
                          justify-content: center; padding: 22px; }
}

/* ---------- privacy ---------- */
.privacy-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.privacy-item {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 22px 24px;
}
.privacy-item h3 { margin: 0 0 7px; font-size: 17px; color: var(--brand-dk); }
.privacy-item p  { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* ---------- pricing ---------- */
.pricing {
  display: grid; gap: 26px; max-width: 780px; margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.plan {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 28px 30px;
}
.plan-pro { border-color: var(--brand); box-shadow: 0 14px 34px rgba(224,122,63,.16); }
.plan h3 { margin: 0 0 6px; font-size: 18px; color: var(--ink-soft); }
.plan-pro h3 { color: var(--brand-dk); }
.price { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
.price-note {
  display: block; font-size: 12.5px; font-weight: 500;
  color: var(--ink-mute); margin-top: 6px; letter-spacing: 0;
}
.plan ul { margin: 0; padding-left: 20px; color: var(--ink-soft); font-size: 15.5px; }
.plan li { margin-bottom: 7px; }
.plan strong { color: var(--brand-dk); }

/* ---------- faq ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 16px 20px; margin-bottom: 11px;
}
.faq summary {
  cursor: pointer; font-weight: 700; font-size: 16.5px;
  list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 21px; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 12px 0 0; color: var(--ink-soft); font-size: 15.5px; }

/* ---------- cta ---------- */
.cta-section { text-align: center; }
.store-note {
  margin: 0 auto 18px; max-width: 34em;
  font-size: 17px; color: var(--ink-soft);
}
.store-note.small { display: flex; align-items: flex-end; justify-content: center; gap: 14px; flex-wrap: wrap; }
.inline-ipad {
  width: 150px; border-radius: 12px; border: 5px solid #17130f;
  box-shadow: 0 12px 28px rgba(31,27,22,.18);
}

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 30px 0; color: var(--ink-mute); font-size: 14.5px;
}
.footer-in { text-align: center; }
.footer-in p { margin: 0 0 7px; }
.footer-links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.footer-links a { color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--brand-dk); text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { padding: 48px 0 60px; }
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .hero-shots { max-width: 400px; aspect-ratio: 400 / 460; }
  .shot-back  { width: 250px; }
  .shot-front { width: 224px; }
  .section { padding: 58px 0; }
}

@media (max-width: 620px) {
  .nav nav { gap: 14px; }
  .nav nav a { font-size: 14px; }
  .hero h1 { font-size: 32px; }
  .lede { font-size: 16.5px; }
  .hero-shots { max-width: 320px; aspect-ratio: 320 / 380; }
  .shot-back  { width: 196px; margin-top: 24px; border-width: 6px; border-radius: 20px; }
  .shot-front { width: 172px; border-width: 6px; border-radius: 20px; }
  .btn { padding: 12px 22px; font-size: 15px; }
  .btn-lg { padding: 15px 30px; font-size: 17px; }
  .section-sub { margin-bottom: 32px; font-size: 15.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn { transition: none; }
}
