/* ==========================================================
   JingleJungle — 餐厅 AI 电话接单助手 官网样式
   ========================================================== */

:root {
  --orange: #ff7a1a;
  --orange-soft: #fff1e6;
  --pink: #ff3d7f;
  --pink-soft: #ffe8f0;
  --green: #2ed47a;
  --green-soft: #e3f9ec;
  --blue: #3d8bff;
  --blue-soft: #e7f0ff;
  --yellow: #ffc93c;
  --yellow-soft: #fff6d9;

  --ink: #1d1b3a;
  --ink-2: #4a4870;
  --ink-3: #8a88a8;
  --bg: #fffaf4;
  --white: #ffffff;
  --line: #f0e6da;
  --night: #1d1b3a;

  --grad: linear-gradient(120deg, var(--orange) 0%, var(--pink) 100%);
  --radius: 22px;
  --shadow: 0 14px 40px -18px rgba(60, 30, 10, .28);
  --shadow-lg: 0 30px 70px -28px rgba(60, 30, 10, .4);

  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC",
          system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 40px); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 16px;
  border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(255, 61, 127, .7); }
.btn--primary:hover { box-shadow: 0 16px 30px -10px rgba(255, 61, 127, .8); }
.btn--ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 244, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0,0,0,.3); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.logo b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo--light { color: #fff; }
.nav__links { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.nav__links a:not(.btn):hover { color: var(--orange); }
.nav__links .btn { color: #fff; }
.nav__links .lang {
  font-size: 13px; font-weight: 800; padding: 5px 12px; border-radius: 999px;
  border: 2px solid var(--line); color: var(--ink-2);
}
.nav__links .lang:hover { border-color: var(--orange); }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 3px; border-radius: 3px; background: var(--ink); margin: 4px 0; transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 70px 0 90px; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: 0; }
.blob--1 { width: 420px; height: 420px; background: var(--yellow); top: -120px; right: 8%; }
.blob--2 { width: 360px; height: 360px; background: #ffb3cc; bottom: -140px; right: 30%; }
.blob--3 { width: 300px; height: 300px; background: #a8f0c6; top: 40px; left: -120px; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.pill {
  display: inline-block; padding: 7px 16px; border-radius: 999px; background: var(--white);
  font-weight: 700; font-size: 14px; color: var(--orange); box-shadow: var(--shadow); margin-bottom: 22px;
}
.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 900; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 24px; }
.hero__ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.hero__ticks li::first-letter { color: var(--green); }

/* 电话演示 */
.hero__demo { position: relative; min-height: 520px; }
.phone {
  position: relative; width: min(360px, 100%); margin-left: auto; margin-right: 40px;
  background: var(--white); border-radius: 34px; padding: 18px; box-shadow: var(--shadow-lg);
  border: 8px solid var(--ink);
}
.phone__top {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px;
  background: var(--green-soft); margin-bottom: 14px;
}
.phone__top strong { display: block; font-size: 14px; }
.phone__top small { color: #16a35a; font-weight: 600; font-size: 12px; font-variant-numeric: tabular-nums; }
.phone__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(46,212,122,.6); animation: ping 1.6s infinite; flex: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(46,212,122,.6); } 100% { box-shadow: 0 0 0 12px rgba(46,212,122,0); } }
.wave { margin-left: auto; display: flex; gap: 3px; align-items: center; height: 22px; }
.wave i { width: 3px; border-radius: 3px; background: var(--green); animation: wave 1s ease-in-out infinite; }
.wave i:nth-child(1) { animation-delay: 0s; } .wave i:nth-child(2) { animation-delay: .15s; }
.wave i:nth-child(3) { animation-delay: .3s; } .wave i:nth-child(4) { animation-delay: .45s; }
.wave i:nth-child(5) { animation-delay: .6s; }
@keyframes wave { 0%, 100% { height: 5px; } 50% { height: 20px; } }

.chat { display: flex; flex-direction: column; gap: 10px; height: 360px; overflow: hidden; justify-content: flex-end; }
.msg {
  max-width: 84%; padding: 10px 14px; border-radius: 18px; font-size: 14px; line-height: 1.5;
  animation: pop .35s cubic-bezier(.2,1.4,.4,1) both;
}
.msg--user { align-self: flex-start; background: #f3f1f8; border-bottom-left-radius: 6px; }
.msg--ai { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 6px; }
.msg--ai::before { content: "🤖 "; }
.msg--typing { display: flex; gap: 4px; padding: 14px 16px; }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.9); animation: blink 1s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .2s; } .msg--typing i:nth-child(3) { animation-delay: .4s; }
.msg--typing::before { content: none; }
@keyframes blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.92); } to { opacity: 1; transform: none; } }

.ticket {
  position: absolute; left: 0; bottom: 10px; width: 250px; background: var(--white);
  border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow-lg); font-size: 14px;
  border-top: 6px solid var(--yellow);
  opacity: 0; transform: translateY(30px) rotate(-6deg) scale(.9); transition: .6s cubic-bezier(.2,1.3,.4,1);
}
.ticket.is-on { opacity: 1; transform: translateY(0) rotate(-4deg) scale(1); }
.ticket__head { display: flex; justify-content: space-between; align-items: center; font-weight: 800; margin-bottom: 8px; }
.ticket ul { list-style: none; padding: 0; margin: 0 0 8px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.ticket li { display: flex; justify-content: space-between; }
.ticket p { margin: 2px 0; color: var(--ink-2); }
.ticket__foot { margin-top: 10px; font-size: 12px; font-weight: 700; color: #16a35a; background: var(--green-soft); border-radius: 8px; padding: 5px 8px; text-align: center; }

.chip { display: inline-block; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.chip--hot { background: var(--pink-soft); color: var(--pink); }
.chip--warm { background: var(--yellow-soft); color: #c98a00; }
.chip--cool { background: var(--blue-soft); color: var(--blue); }

/* ---------- 数字条 ---------- */
.strip { background: var(--grad); color: #fff; padding: 30px 0; }
.strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.strip b { display: block; font-size: 34px; font-weight: 900; line-height: 1.1; }
.strip span { font-size: 15px; opacity: .92; font-weight: 600; }

/* ---------- 通用版块 ---------- */
.section { padding: 100px 0; position: relative; }
.section--tint { background: linear-gradient(180deg, #fff3e6 0%, #fff8ef 100%); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 900; }
.section__head p { color: var(--ink-2); font-size: 17px; }
.eyebrow {
  display: inline-block; font-size: 14px; font-weight: 800; letter-spacing: .08em;
  color: var(--pink); background: var(--pink-soft); padding: 5px 14px; border-radius: 999px; margin-bottom: 16px;
}
.eyebrow--light { background: rgba(255,255,255,.12); color: var(--yellow); }

.grid { display: grid; gap: 22px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card h3 { font-size: 20px; }
.card p { color: var(--ink-2); margin: 0; font-size: 15px; }
.card--pain .emoji { font-size: 40px; margin-bottom: 12px; }

.feature__icon {
  width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center;
  font-size: 30px; margin-bottom: 18px;
}
.feature--orange .feature__icon { background: var(--orange-soft); }
.feature--green .feature__icon { background: var(--green-soft); }
.feature--pink .feature__icon { background: var(--pink-soft); }
.feature--blue .feature__icon { background: var(--blue-soft); }
.feature--orange { border-top: 5px solid var(--orange); }
.feature--green { border-top: 5px solid var(--green); }
.feature--pink { border-top: 5px solid var(--pink); }
.feature--blue { border-top: 5px solid var(--blue); }

/* ---------- 步骤 ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 4px; border-radius: 4px;
  background: repeating-linear-gradient(90deg, var(--orange) 0 14px, transparent 14px 24px);
  opacity: .4; z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; padding: 0 10px; }
.step__num {
  display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 20px;
  border-radius: 50%; font-size: 28px; font-weight: 900; color: #fff;
  box-shadow: 0 0 0 8px var(--bg), var(--shadow);
}
.step:nth-child(1) .step__num { background: var(--orange); }
.step:nth-child(2) .step__num { background: var(--pink); }
.step:nth-child(3) .step__num { background: var(--green); }
.step:nth-child(4) .step__num { background: var(--blue); }
.step h3 { font-size: 20px; }
.step p { color: var(--ink-2); font-size: 15px; }

/* ---------- 看板 ---------- */
.section--dark { background: var(--night); color: #fff; overflow: hidden; }
.section--dark::after {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,61,127,.35), transparent 70%); right: -160px; top: -120px;
}
.dash__wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.dash__copy h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 900; }
.dash__copy p { color: rgba(255,255,255,.75); font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.checks li::before {
  content: "✓"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--green); color: var(--night); font-weight: 900; font-size: 14px;
}

.dash {
  background: #fff; color: var(--ink); border-radius: 24px; padding: 18px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
  transform: perspective(1200px) rotateY(-6deg) rotateX(3deg); transition: transform .5s ease;
}
.dash:hover { transform: none; }
.dash__bar { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-3); font-weight: 600; margin-bottom: 16px; }
.dash__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff6159; }
.dash__bar i:nth-child(2) { background: #ffbd2e; } .dash__bar i:nth-child(3) { background: #28c941; }
.dash__bar span { margin-left: 8px; }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.kpi { border-radius: 16px; padding: 14px 16px; }
.kpi small { display: block; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.kpi b { font-size: 26px; font-weight: 900; font-variant-numeric: tabular-nums; }
.kpi--orange { background: var(--orange-soft); } .kpi--orange b { color: var(--orange); }
.kpi--green { background: var(--green-soft); } .kpi--green b { color: #16a35a; }
.kpi--pink { background: var(--pink-soft); } .kpi--pink b { color: var(--pink); }
.dash__body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.dash__chart, .dash__queue { background: #faf8fc; border-radius: 16px; padding: 14px 16px; }
.dash__body small { display: block; font-size: 12px; font-weight: 700; color: var(--ink-2); margin-bottom: 10px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 130px; }
.bars span {
  flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--pink), var(--orange));
  transform-origin: bottom; transform: scaleY(0); transition: transform .8s cubic-bezier(.2,1,.3,1);
}
.bars span:nth-child(even) { background: linear-gradient(180deg, #ffb36b, var(--yellow)); }
.dash.is-visible .bars span { transform: scaleY(1); }
.bars span:nth-child(2) { transition-delay: .05s; } .bars span:nth-child(3) { transition-delay: .1s; }
.bars span:nth-child(4) { transition-delay: .15s; } .bars span:nth-child(5) { transition-delay: .2s; }
.bars span:nth-child(6) { transition-delay: .25s; } .bars span:nth-child(7) { transition-delay: .3s; }
.bars span:nth-child(8) { transition-delay: .35s; } .bars span:nth-child(9) { transition-delay: .4s; }
.bars span:nth-child(10) { transition-delay: .45s; }
.bars__labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); margin-top: 6px; }
.q { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 10px; padding: 8px 10px; font-size: 13px; font-weight: 600; margin-bottom: 8px; box-shadow: 0 2px 8px -4px rgba(0,0,0,.12); }
.q:last-child { margin-bottom: 0; }

/* ---------- 场景 ---------- */
.scenes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.scene {
  background: var(--white); border: 2px solid var(--line); border-radius: 20px; padding: 24px 10px;
  text-align: center; font-weight: 700; transition: .25s;
}
.scene span { display: block; font-size: 42px; margin-bottom: 8px; transition: transform .3s; }
.scene:hover { border-color: var(--orange); background: var(--orange-soft); }
.scene:hover span { transform: scale(1.18) rotate(-8deg); }

/* ---------- 价格 ---------- */
.hardware {
  display: flex; align-items: center; gap: 24px; background: var(--white); border-radius: var(--radius);
  padding: 24px 30px; box-shadow: var(--shadow); border: 2px dashed #ffc9a3; margin-bottom: 28px;
}
.hardware__icon { font-size: 44px; width: 76px; height: 76px; flex: none; display: grid; place-items: center; background: var(--yellow-soft); border-radius: 22px; }
.hardware__text { flex: 1; }
.hardware__text h3 { font-size: 20px; margin-bottom: 4px; }
.hardware__text p { margin: 0; color: var(--ink-2); }
.hardware__price { text-align: right; }
.hardware__price small { display: block; color: var(--ink-3); font-weight: 700; font-size: 13px; }
.hardware__price b { font-size: 30px; font-weight: 900; color: var(--orange); white-space: nowrap; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  position: relative; background: var(--white); border-radius: var(--radius); padding: 34px 28px;
  box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column;
}
.plan h3 { font-size: 22px; margin-bottom: 4px; }
.plan__desc { color: var(--ink-3); font-size: 14px; }
.plan__price { margin: 8px 0 20px; }
.plan__price b { font-size: 44px; font-weight: 900; }
.plan__price span { color: var(--ink-3); font-weight: 600; margin-left: 4px; }
.plan__price b.plan__ask { font-size: 28px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 10px; color: var(--ink-2); font-size: 15px; }
.plan li::before { content: "●"; color: var(--green); font-size: 10px; line-height: 2.3; }
.plan--hot { background: var(--night); color: #fff; transform: scale(1.04); border: 0; box-shadow: var(--shadow-lg); }
.plan--hot .plan__desc, .plan--hot .plan__price span { color: rgba(255,255,255,.6); }
.plan--hot li { color: rgba(255,255,255,.85); }
.plan--hot li::before { color: var(--yellow); }
.plan--hot .plan__price b { background: linear-gradient(120deg, var(--yellow), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: var(--grad); color: #fff; font-size: 13px; font-weight: 800; padding: 6px 16px; border-radius: 999px;
}
.fineprint { text-align: center; color: var(--ink-3); font-size: 13px; margin: 28px 0 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 0 24px;
  box-shadow: 0 6px 18px -14px rgba(0,0,0,.25); transition: border-color .2s;
}
.faq details[open] { border-color: #ffc9a3; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 36px 20px 0; font-weight: 700; font-size: 17px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange-soft); color: var(--orange); font-size: 20px; font-weight: 800; transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-2); margin: 0; padding: 0 0 20px; }

/* ---------- 联系 ---------- */
.cta { background: var(--grad); color: #fff; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(255,255,255,.2) 0 120px, transparent 121px),
              radial-gradient(circle at 90% 90%, rgba(255,201,60,.35) 0 180px, transparent 181px);
}
.cta__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cta__copy h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 900; }
.cta__copy p { font-size: 18px; opacity: .92; }
.form { background: #fff; color: var(--ink); border-radius: 26px; padding: 32px; box-shadow: var(--shadow-lg); display: grid; gap: 16px; }
.form label span { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--ink-2); }
.form input, .form select {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 16px; border-radius: 14px;
  border: 2px solid var(--line); background: #fffdfa; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,122,26,.15); }
.form input.is-invalid { border-color: var(--pink); }
.form__msg { margin: 0; min-height: 1.5em; font-weight: 700; text-align: center; font-size: 15px; }
.form__msg.ok { color: #16a35a; }
.form__msg.err { color: var(--pink); }

/* ---------- 页脚 ---------- */
.footer { background: var(--night); color: rgba(255,255,255,.7); padding: 44px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer p { margin: 0; font-size: 14px; }
.footer__copy { width: 100%; text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px !important; }

/* ---------- 滚动出现 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.grid .reveal:nth-child(2), .steps .reveal:nth-child(2), .plans .reveal:nth-child(2), .scenes .reveal:nth-child(2) { transition-delay: .08s; }
.grid .reveal:nth-child(3), .steps .reveal:nth-child(3), .plans .reveal:nth-child(3), .scenes .reveal:nth-child(3) { transition-delay: .16s; }
.grid .reveal:nth-child(4), .steps .reveal:nth-child(4), .scenes .reveal:nth-child(4) { transition-delay: .24s; }
.scenes .reveal:nth-child(5) { transition-delay: .32s; }
.scenes .reveal:nth-child(6) { transition-delay: .4s; }
.card.reveal.is-visible:hover { transform: translateY(-6px); }
.plan--hot.reveal.is-visible { transform: scale(1.04); }
.dash.reveal.is-visible { transform: perspective(1200px) rotateY(-6deg) rotateX(3deg); }
.dash.reveal.is-visible:hover { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .bars span { transform: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .scenes { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .steps::before { display: none; }
}

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
    box-shadow: 0 20px 30px -20px rgba(0,0,0,.25);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav__links .btn { margin-top: 14px; }
  .nav__links .lang { align-self: flex-start; margin-top: 14px; border-bottom: 2px solid var(--line) !important; padding: 5px 14px !important; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 40px 0 70px; }
  .hero__inner, .dash__wrap, .cta__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__demo { min-height: 500px; }
  .phone { margin: 0 auto; }
  .ticket { left: auto; right: 0; bottom: -10px; width: 220px; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan--hot, .plan--hot.reveal.is-visible { transform: none; }
  .dash, .dash.reveal.is-visible { transform: none; }
  .strip__inner { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 72px 0; }
}

@media (max-width: 560px) {
  .container, .container--narrow { width: calc(100% - 32px); }
  .grid--4 { grid-template-columns: 1fr; }
  .scenes { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .phone { border-width: 6px; padding: 14px; }
  .chat { height: 330px; }
  .ticket { width: 200px; font-size: 13px; right: -4px; }
  .hardware { flex-direction: column; text-align: center; padding: 26px 20px; }
  .hardware__price { text-align: center; }
  .dash__kpis { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .kpi { padding: 10px; } .kpi b { font-size: 18px; }
  .dash__body { grid-template-columns: 1fr; }
  .form { padding: 24px 20px; }
  .strip b { font-size: 28px; }
}
