/* 喵拆官网首页。共用的颜色、页头、页脚在 style.css 里。 */
:root {
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --glow-1: rgba(255, 140, 66, .34);
  --glow-2: rgba(255, 186, 120, .30);
  --glow-3: rgba(255, 120, 150, .16);
  --glass: rgba(255, 255, 255, .62);
  --glass-line: rgba(255, 255, 255, .8);
  --shadow-soft: 0 1px 2px rgba(80, 40, 10, .04), 0 12px 32px -12px rgba(120, 60, 20, .18);
}
@media (prefers-color-scheme: dark) {
  :root {
    --glow-1: rgba(255, 120, 40, .22);
    --glow-2: rgba(255, 160, 90, .12);
    --glow-3: rgba(255, 90, 130, .10);
    --glass: rgba(40, 32, 27, .6);
    --glass-line: rgba(255, 255, 255, .07);
    --shadow-soft: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 36px -14px rgba(0, 0, 0, .6);
  }
}

.wrap.wide { max-width: 1120px; position: relative; }

/* ---------- 背景光晕：缓慢漂移 ---------- */
.aura { position: absolute; inset: 0 0 auto 0; height: 1100px; pointer-events: none; z-index: -1; overflow: hidden; }
.aura span { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; }
.aura .a1 { width: 620px; height: 620px; left: -160px; top: -160px; background: var(--glow-1); animation: drift1 26s ease-in-out infinite alternate; }
.aura .a2 { width: 560px; height: 560px; right: -140px; top: 80px; background: var(--glow-2); animation: drift2 32s ease-in-out infinite alternate; }
.aura .a3 { width: 420px; height: 420px; left: 38%; top: 420px; background: var(--glow-3); animation: drift3 30s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(120px, 80px) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-100px, 120px) scale(.92); } }
@keyframes drift3 { to { transform: translate(-80px, -60px) scale(1.15); } }

/* ---------- 按钮 ---------- */
.cta { position: relative; display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(180deg, #ff9d3d, #f25c08); color: #fff; border-radius: 999px; padding: 15px 30px; font-weight: 700; font-size: 17px; text-decoration: none; box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 12px 28px -8px rgba(242, 92, 8, .55); transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); overflow: hidden; isolation: isolate; }
.cta svg { width: 20px; height: 20px; }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); z-index: -1; }
.cta:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 18px 36px -10px rgba(242, 92, 8, .6); }
.cta:hover::after { transform: translateX(120%); transition: transform .9s var(--ease-out); }
.cta:active { transform: translateY(0) scale(.98); }
.cta-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ---------- 首屏 ---------- */
.hero2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center; padding: 64px 0 40px; min-height: 640px; }
.hero-icon { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 16px 34px -10px rgba(242, 92, 8, .5); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 13px; font-weight: 600; color: var(--muted); box-shadow: var(--shadow-soft); }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 4px rgba(52, 199, 89, .18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(52, 199, 89, 0); } }
.hero2 h1 { font-size: clamp(28px, 4vw, 50px); line-height: 1.18; margin: 22px 0 18px; letter-spacing: -.5px; font-weight: 800; }
.hero2 h1 .line { white-space: nowrap; }
.grad { background: linear-gradient(100deg, #f25c08 10%, #ff9a1f 55%, #ff6a5a 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero2 .lead { font-size: 18px; color: var(--muted); margin: 0 0 30px; max-width: 500px; }

.hero-shots { position: relative; height: 600px; perspective: 1400px; }
.hero-shots .tilt { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .8s var(--ease-out); }
.hero-shots .phone { position: absolute; width: 262px; }
.hero-shots .front { left: 6%; top: 10px; z-index: 2; animation: float 7s ease-in-out infinite; }
.hero-shots .back { right: 0; top: 78px; animation: float-back 8s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes float-back { 0%, 100% { transform: rotate(6deg) translateY(0); } 50% { transform: rotate(6deg) translateY(10px); } }

/* ---------- 手机外框 ---------- */
.phone { position: relative; border-radius: 44px; padding: 10px; background: linear-gradient(145deg, #3a3532, #121010 55%, #2a2624); box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 1px 0 rgba(255, 255, 255, .18) inset, 0 40px 70px -30px rgba(70, 30, 0, .45), 0 18px 30px -18px rgba(0, 0, 0, .35); }
.phone img { display: block; width: 100%; height: auto; border-radius: 34px; }
.phone.landscape { border-radius: 36px; }
.phone.landscape img { border-radius: 27px; }

/* ---------- 四个承诺 ---------- */
.promises { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 0; margin: 8px 0 0; }
.promises li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 20px; background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--shadow-soft); font-size: 13px; color: var(--muted); line-height: 1.45; }
.promises strong { display: block; color: var(--ink); font-size: 16px; }
.promises svg { flex: none; width: 38px; height: 38px; padding: 8px; border-radius: 12px; color: var(--orange); background: rgba(242, 92, 8, .1); }

/* ---------- 格式跑马灯 ---------- */
.formats { margin: 56px -16px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.formats .track { display: flex; gap: 10px; width: max-content; animation: marquee 48s linear infinite; }
.formats:hover .track { animation-play-state: paused; }
.formats span { padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.formats span.hot { color: var(--orange); border-color: rgba(242, 92, 8, .3); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 功能分区 ---------- */
.feature { --tint: 242, 92, 8; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 96px 0; }
.feature.violet { --tint: 139, 92, 246; }
.feature.teal { --tint: 20, 160, 140; }
.feature.blue { --tint: 59, 130, 246; }
.feature.green { --tint: 34, 160, 90; }
.feature.reverse .feature-text { order: 2; }
.feature-shot { position: relative; display: flex; justify-content: center; }
.feature-shot::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(var(--tint), .26), rgba(var(--tint), 0) 68%); filter: blur(10px); z-index: -1; }
.feature-shot .phone { width: 280px; transition: transform .7s var(--ease-out); }
.feature-shot:hover .phone { transform: translateY(-6px) rotate(-1deg); }
.feature.wide-shot { grid-template-columns: .92fr 1.08fr; }
.feature.wide-shot .phone { width: 100%; max-width: 600px; }
.feature.wide-shot .feature-shot:hover .phone { transform: translateY(-6px); }
.kicker { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .5px; color: rgb(var(--tint)); background: rgba(var(--tint), .1); }
.kicker svg { width: 15px; height: 15px; }
.feature h2 { font-size: clamp(25px, 2.9vw, 36px); line-height: 1.28; margin: 16px 0 14px; letter-spacing: -.3px; text-wrap: balance; }
.feature p { color: var(--muted); margin: 0 0 12px; font-size: 16.5px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { position: relative; padding-left: 32px; margin: 12px 0; color: var(--ink); font-size: 15.5px; line-height: 1.6; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: rgba(var(--tint), .12); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 9px; width: 8px; height: 4.5px; border-left: 2px solid rgb(var(--tint)); border-bottom: 2px solid rgb(var(--tint)); transform: rotate(-45deg); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips span { border: 1px solid rgba(var(--tint), .25); background: rgba(var(--tint), .06); border-radius: 999px; padding: 3px 12px; font-size: 13px; color: rgb(var(--tint)); font-weight: 600; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }

/* ---------- 更多功能 ---------- */
.section-head { text-align: center; max-width: 560px; margin: 0 auto 36px; }
.section-head h2 { font-size: 34px; margin: 0 0 8px; letter-spacing: -.3px; }
.section-head p { color: var(--muted); margin: 0; }
.more { padding: 96px 0 24px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { position: relative; padding: 26px 26px 24px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-soft); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .5s ease; }
.tile:hover { transform: translateY(-4px); border-color: rgba(242, 92, 8, .28); box-shadow: 0 1px 2px rgba(80, 40, 10, .04), 0 24px 44px -18px rgba(150, 70, 20, .28); }
.tile svg { width: 44px; height: 44px; padding: 10px; border-radius: 14px; color: #fff; background: linear-gradient(145deg, #ffa24a, #f25c08); box-shadow: 0 8px 18px -8px rgba(242, 92, 8, .6); }
.tile h3 { margin: 18px 0 6px; font-size: 17px; }
.tile p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.7; }

/* ---------- 常见问题 ---------- */
.faq { padding: 88px 0 16px; max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); overflow: hidden; }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 44px 20px 4px; font-weight: 650; font-size: 16.5px; list-style: none; position: relative; transition: color .2s ease; }
.faq summary:hover { color: var(--orange); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 10px; top: 50%; width: 14px; height: 2px; border-radius: 2px; background: var(--orange); transition: transform .4s var(--ease-out); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq .answer p { margin: 0; padding: 0 44px 22px 4px; color: var(--muted); }
.faq-more { margin-top: 26px; text-align: center; color: var(--muted); font-size: 15px; }

/* ---------- 结尾 ---------- */
.final { position: relative; margin: 96px 0 8px; padding: 64px 24px; border-radius: 36px; text-align: center; color: #fff; overflow: hidden; isolation: isolate; background: linear-gradient(135deg, #ff9d3d 0%, #f25c08 55%, #e8484e 100%); box-shadow: 0 40px 80px -40px rgba(242, 92, 8, .7); }
.final::before, .final::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; background: rgba(255, 255, 255, .14); }
.final::before { width: 420px; height: 420px; right: -120px; top: -180px; }
.final::after { width: 300px; height: 300px; left: -100px; bottom: -160px; background: rgba(255, 255, 255, .1); }
.final img { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 18px 36px -12px rgba(80, 20, 0, .5); animation: float 7s ease-in-out infinite; }
.final h2 { font-size: 34px; margin: 22px 0 8px; letter-spacing: -.3px; }
.final p { margin: 0 0 28px; opacity: .88; }
.final .cta { background: #fff; color: #e2550a; box-shadow: 0 16px 32px -14px rgba(80, 20, 0, .55); }
.final .cta::after { background: linear-gradient(110deg, transparent 30%, rgba(255, 160, 80, .25) 50%, transparent 70%); }

/* ---------- 进入动画（有 JS 时才先隐藏） ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out), filter 1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
.js .reveal.zoom { transform: translateY(36px) scale(.94); }
.js .reveal.zoom.in { transform: none; }
.js .hero2 .reveal { transition-duration: 1.2s; }

@media (prefers-color-scheme: dark) {
  .phone { background: linear-gradient(145deg, #2c2826, #070606 55%, #1c1917); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 40px 70px -30px rgba(0, 0, 0, .8); }
  .final { box-shadow: 0 40px 80px -40px rgba(242, 92, 8, .45); }
}

@media (max-width: 900px) {
  .hero2 { grid-template-columns: 1fr; text-align: center; padding-top: 40px; gap: 16px; min-height: 0; }
  .hero2 .lead { margin-left: auto; margin-right: auto; }
  .hero-shots { height: 470px; max-width: 440px; margin: 0 auto; width: 100%; }
  .hero-shots .phone { width: 214px; }
  .hero-shots .front { left: 4%; }
  .hero-shots .back { right: 4%; top: 52px; }
  .promises { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature.wide-shot { grid-template-columns: 1fr; gap: 40px; padding: 72px 0; }
  .feature.reverse .feature-text { order: 0; }
  .feature-shot .phone { width: 250px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .hero2 h1 { letter-spacing: 0; }
  .hero2 .lead { font-size: 16px; }
  .hero-shots { height: 380px; }
  .hero-shots .phone { width: 170px; border-radius: 32px; padding: 7px; }
  .hero-shots .phone img { border-radius: 26px; }
  .promises { gap: 10px; }
  .promises li { flex-direction: column; text-align: center; gap: 8px; padding: 16px 10px; }
  .section-head h2 { font-size: 26px; }
  .feature-shot .phone { width: 230px; }
  .tiles { grid-template-columns: 1fr; }
  .final { padding: 52px 20px; border-radius: 28px; }
  .final h2 { font-size: 26px; }
}

/* 系统设置了“减弱动态效果”：去掉所有动画，内容直接显示 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
}
