/* ═══════════════════════════════════════════════════════
   مالینو v2 — «هیولای حساب‌وکتاب، از صدای تو می‌ترسه»
   One dark canvas. The page is a voice memo you scrub.
   ═══════════════════════════════════════════════════════ */

@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/Vazirmatn-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
/* توکن‌های پایه به anyar-tokens.css منتقل شدند؛ آن فایل پیش از این استایل بارگذاری می‌شود. */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.95;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::after { /* film grain */
  content: "";
  position: fixed; inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
}
::selection { background: var(--lime); color: #0a1411; }
img, svg, canvas { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 900; letter-spacing: -0.02em; line-height: 1.3; }
p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { max-width: 1080px; margin-inline: auto; padding-inline: clamp(22px, 5vw, 48px); }

/* ── reveal ── */
[data-reveal] { opacity: 1; transform: none; transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); transition-delay: calc(var(--i, 0) * 110ms); }
[data-reveal].in { opacity: 1; transform: none; }

/* ── top progress ── */
.scroll-progress {
  position: fixed; top: 0; right: 0; left: 0;
  height: 3px; z-index: 120;
  background: linear-gradient(90deg, #9ed32f, var(--lime));
  transform: scaleX(0);
  transform-origin: right;
}

/* ═══════════ Voice rail (desktop) ═══════════ */
.rail {
  position: fixed;
  left: 26px; top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  width: 54px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rail-label { display: grid; gap: 1px; text-align: left; }
.rail-label b { font-size: 11px; font-weight: 800; color: var(--lime); line-height: 1.5; }
.rail-label span { font-size: 10px; color: var(--faint); letter-spacing: 0.02em; }
.rail-track { position: relative; flex: 1; min-height: 280px; max-height: 480px; display: flex; flex-direction: column; justify-content: space-between; padding-block: 4px; }
.rail-track i {
  display: block;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
  transition: background 0.25s ease, width 0.25s ease;
}
.rail-track i.on { background: var(--lime); }
.rail-ph {
  position: absolute;
  right: -6px; left: -6px;
  height: 2px;
  border-radius: 99px;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(217, 255, 93, 0.65);
}

/* ═══════════ Header ═══════════ */
.site-header { position: fixed; top: 16px; right: 0; left: 0; z-index: 100; padding-inline: clamp(14px, 3vw, 40px); }
.header-inner {
  max-width: 1080px;
  margin-inline: auto;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding-inline: 12px 12px 12px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 20, 17, 0.62);
  box-shadow: 0 12px 34px -20px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.site-header.scrolled .header-inner {
  background: rgba(10, 20, 17, 0.88);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.65);
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-logo {
  border-radius: 13px;
  box-shadow: 0 0 0 1px rgba(217, 255, 93, 0.22), 0 0 22px -4px rgba(217, 255, 93, 0.4);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.brand:hover .brand-logo { transform: rotate(-3deg) scale(1.06); }
.footer-logo { border-radius: 11px; }
.brand-name { font-size: 20px; font-weight: 900; letter-spacing: -0.5px; }
.nav { display: flex; gap: 4px; margin-inline: auto; }
.nav a {
  padding: 9px 15px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s, background 0.25s;
}
.nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }
.menu-btn {
  display: none;
  width: 44px; height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  cursor: pointer;
}
.menu-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }

/* ── buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  border-radius: 14px;
  padding: 13px 22px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.btn-lg { padding: 16px 30px; font-size: 16px; border-radius: 16px; }
.btn-sm { padding: 11px 19px; font-size: 14px; }
.btn-lime {
  background: linear-gradient(180deg, #e6ff85, #cdf24f);
  color: #0a1411;
  box-shadow: 0 14px 34px -10px rgba(217, 255, 93, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.btn-lime:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -10px rgba(217, 255, 93, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-2px); }

/* ═══════════ Chapters ═══════════ */
.chapter { position: relative; padding-block: clamp(100px, 13vw, 170px); }
.chapter + .chapter { border-top: 1px solid var(--line); }
.chapter-head { margin-bottom: clamp(44px, 6vw, 72px); }
.chapter-time {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--lime);
  margin-bottom: 16px;
}
.chapter-time::before { content: ""; width: 22px; height: 2px; border-radius: 99px; background: var(--lime); }
.chapter-head h2 { font-size: clamp(30px, 4.4vw, 56px); }
.chapter-sub { color: var(--muted); margin-top: 16px; font-size: 16px; max-width: 520px; }

/* ═══════════ Hero ═══════════ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 70px;
  background:
    radial-gradient(ellipse 55% 45% at 50% 0%, rgba(217, 255, 93, 0.06), transparent 70%),
    radial-gradient(ellipse 40% 35% at 85% 80%, rgba(20, 120, 95, 0.12), transparent 70%);
  overflow: hidden;
}
/* نورپردازی: گوی‌های نور شناور */
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.orb-lime {
  width: 460px; height: 460px;
  top: -140px; right: 8%;
  background: rgba(217, 255, 93, 0.09);
  animation: orbDrift 13s ease-in-out infinite alternate;
}
.orb-teal {
  width: 520px; height: 520px;
  bottom: -200px; left: -120px;
  background: rgba(24, 150, 118, 0.14);
  animation: orbDrift 17s ease-in-out -6s infinite alternate-reverse;
}
.orb-mint {
  width: 300px; height: 300px;
  top: 30%; left: 22%;
  background: rgba(143, 235, 200, 0.06);
  animation: orbDrift 11s ease-in-out -3s infinite alternate;
}
@keyframes orbDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(50px, 36px) scale(1.12); }
}
.hero-inner { position: relative; max-width: 1000px; margin-inline: auto; padding-inline: clamp(22px, 5vw, 48px); text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 26px;
}
.eyebrow.center { justify-content: center; }
.pulse { width: 8px; height: 8px; border-radius: 99px; background: var(--lime); animation: pulse 2.2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(217, 255, 93, 0.45); }
  70% { box-shadow: 0 0 0 12px rgba(217, 255, 93, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 255, 93, 0); }
}
.hero-title { display: grid; gap: 10px; }
.line-big { display: block; font-size: clamp(48px, 8vw, 118px); line-height: 1.25; }
.line-sub {
  display: block;
  font-size: clamp(24px, 3.2vw, 48px);
  font-weight: 800;
  color: #c3d5c8;
  line-height: 1.45;
}
.line-sub em { font-style: normal; color: var(--lime); }
.hero-title em { font-style: normal; color: var(--lime); }
.hero-sub {
  margin: 30px auto 0;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 17.5px);
}
.hero-actions { display: flex; justify-content: center; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.play {
  width: 34px; height: 34px;
  margin-inline-start: -8px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}
.play svg { width: 13px; height: 13px; margin-inline-start: 2px; fill: var(--lime); }

/* ── باکس تعاملی صدا ── */
.voice-demo { margin-top: clamp(44px, 6vw, 72px); }
.mic-big {
  position: relative;
  width: 92px; height: 92px;
  margin-inline: auto;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: radial-gradient(circle at 32% 28%, #eaffa0, var(--lime) 45%, #8fce35 100%);
  box-shadow:
    0 0 40px rgba(217, 255, 93, 0.35),
    0 0 110px rgba(217, 255, 93, 0.16),
    inset 0 -6px 16px rgba(60, 100, 20, 0.35),
    inset 0 5px 12px rgba(255, 255, 255, 0.6);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}
.mic-big svg { width: 36px; height: 36px; stroke: #14330f; stroke-width: 1.9; fill: none; stroke-linecap: round; stroke-linejoin: round; position: relative; z-index: 1; }
.mic-big:hover { transform: scale(1.06); box-shadow: 0 0 55px rgba(217, 255, 93, 0.5), 0 0 140px rgba(217, 255, 93, 0.22), inset 0 -6px 16px rgba(60, 100, 20, 0.35), inset 0 5px 12px rgba(255, 255, 255, 0.6); }
.mic-big:active { transform: scale(0.96); }
.mic-ring {
  position: absolute;
  inset: -6px;
  border: 1.5px solid rgba(217, 255, 93, 0.5);
  border-radius: 50%;
  opacity: 0;
  animation: micPulse 2.6s ease-out infinite;
  pointer-events: none;
}
.mic-ring.r2 { animation-delay: 0.85s; }
.mic-ring.r3 { animation-delay: 1.7s; }
@keyframes micPulse {
  0% { transform: scale(0.92); opacity: 0; }
  25% { opacity: 0.85; }
  100% { transform: scale(1.55); opacity: 0; }
}
.mic-big.listening { animation: micListen 0.5s ease; }
@keyframes micListen { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.1); } }
.voice-hint {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-top: 16px;
}
#heroWave { width: 100%; height: 120px; margin-top: 18px; cursor: crosshair; touch-action: none; }
.cycle { margin-top: 16px; text-align: center; }
.cycle-quote {
  font-size: clamp(15px, 1.8vw, 19px);
  font-weight: 700;
  color: #c3d5c8;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.cycle.swap .cycle-quote { opacity: 0; transform: translateY(8px); }
.cycle-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 800;
  color: var(--lime);
  background: var(--lime-soft);
  border: 1px solid rgba(217, 255, 93, 0.22);
  transition: opacity 0.35s ease 0.05s;
}
.cycle.swap .cycle-tag { opacity: 0; }

/* ═══════════ Worries (کارت‌های نگرانی) ═══════════ */
.worries { position: relative; }
.worries::before {
  content: "";
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: min(720px, 90%);
  height: 320px;
  background: radial-gradient(ellipse at center, rgba(217, 255, 93, 0.06), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.worry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.worry {
  position: relative;
  padding: 28px 26px 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.008));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.4s ease;
  overflow: hidden;
}
.worry::before {
  content: "";
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 255, 93, 0.35), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.worry:hover { transform: translateY(-5px); border-color: rgba(217, 255, 93, 0.28); box-shadow: 0 24px 60px -28px rgba(217, 255, 93, 0.14); }
.worry:hover::before { opacity: 1; }
.worry-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--lime-soft);
  border: 1px solid rgba(217, 255, 93, 0.18);
  margin-bottom: 20px;
}
.worry-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--lime); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.worry-quote {
  position: relative;
  display: inline-block;
  font-size: clamp(19px, 2.4vw, 26px);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #b7c9bc;
  transition: color 0.6s ease 0.35s;
}
.worry-quote::after {
  content: "";
  position: absolute;
  right: -2%; left: -2%;
  top: 55%;
  height: 0.09em;
  border-radius: 99px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}
.worry.in .worry-quote { color: #5f776c; }
.worry.in .worry-quote::after { transform: scaleX(1); }
.worry-answer {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s ease 0.85s, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.85s;
}
.worry.in .worry-answer { opacity: 1; transform: none; }
.worry-answer strong { flex-shrink: 0; font-size: 24px; font-weight: 900; color: var(--lime); line-height: 1; }
.worry-answer span { color: var(--muted); font-size: 13.5px; }

/* ═══════════ Journey (سه قدم، با ویژوال) ═══════════ */
.journey {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
}
.journey::before {
  content: "";
  position: absolute;
  top: 54px;
  right: 10%; left: 10%;
  border-top: 2px dashed rgba(255, 255, 255, 0.14);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.j-step {
  position: relative;
  padding: 26px 26px 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.008));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}
.j-step:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.2); }
.j-no {
  position: absolute;
  top: 22px; left: 22px;
  font-size: 13px;
  font-weight: 900;
  color: #4a5f55;
}
.j-visual {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
/* قدم ۱: موج زنده */
.j-step:nth-child(1) .j-visual { display: flex; align-items: center; justify-content: space-between; padding-inline: 26px; }
.j-step:nth-child(1) .j-visual i {
  width: 4px;
  border-radius: 99px;
  background: linear-gradient(180deg, rgba(217, 255, 93, 0.35), var(--lime));
  animation: waveBar var(--d, 1.1s) ease-in-out var(--dl, 0s) infinite alternate;
  transform-origin: center;
}
.j-step:nth-child(1) .j-visual i:nth-child(4n + 1) { height: 26px; --d: 0.9s; --dl: 0s; }
.j-step:nth-child(1) .j-visual i:nth-child(4n + 2) { height: 44px; --d: 1.3s; --dl: 0.2s; }
.j-step:nth-child(1) .j-visual i:nth-child(4n + 3) { height: 18px; --d: 1s; --dl: 0.4s; }
.j-step:nth-child(1) .j-visual i:nth-child(4n + 4) { height: 34px; --d: 1.5s; --dl: 0.6s; }
/* قدم ۲: چیپ تراکنش */
.j-chip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 13px 20px;
  border-radius: 14px;
  background: var(--lime-soft);
  border: 1px solid rgba(217, 255, 93, 0.25);
  position: relative;
  overflow: hidden;
}
.j-chip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(217, 255, 93, 0.18) 50%, transparent 60%);
  transform: translateX(150%);
  animation: shimmer 2.6s ease 1.2s infinite;
}
@keyframes shimmer { to { transform: translateX(-150%); } }
.j-chip b { font-size: 13.5px; font-weight: 800; color: var(--ink); }
.j-chip strong { font-size: 15px; font-weight: 900; color: var(--lime); }
/* قدم ۳: تیک */
.j-check { width: 60px; height: 60px; }
.j-check circle {
  fill: none;
  stroke: rgba(217, 255, 93, 0.35);
  stroke-width: 2.5;
  stroke-dasharray: 145;
  stroke-dashoffset: 145;
  transition: stroke-dashoffset 0.9s 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.j-check path {
  fill: none;
  stroke: var(--lime);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 34;
  stroke-dashoffset: 34;
  transition: stroke-dashoffset 0.5s 1.1s ease;
}
.j-step.in .j-check circle, .in .j-check circle { stroke-dashoffset: 0; }
.j-step.in .j-check path, .in .j-check path { stroke-dashoffset: 0; }
.j-step h3 { font-size: 19px; margin-bottom: 6px; }
.j-step p { color: var(--muted); font-size: 13.5px; }

/* ═══════════ Demo / chat ═══════════ */
.demo { background: linear-gradient(180deg, transparent, rgba(217, 255, 93, 0.025) 40%, transparent); }
.chat-panel {
  max-width: 560px;
  margin-inline: auto;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 40px 90px -35px rgba(0, 0, 0, 0.6);
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
}
.chat-head b { display: block; font-size: 14px; }
.chat-head small { color: var(--faint); font-size: 11px; }
.chat-avatar {
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(217, 255, 93, 0.2), 0 0 16px -4px rgba(217, 255, 93, 0.35);
}
.live-dot { margin-inline-start: auto; width: 9px; height: 9px; border-radius: 99px; background: #ff7a7a; animation: pulse-red 1.6s infinite; }
@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(255, 122, 122, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(255, 122, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 122, 122, 0); }
}
.chat-body {
  height: 480px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 11px;
  overflow: hidden;
  transition: opacity 0.45s ease;
}
.chat-body.fade { opacity: 0; }
.msg { display: flex; align-items: flex-end; gap: 9px; max-width: 90%; animation: msgIn 0.55s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes msgIn { from { opacity: 0; transform: translateY(16px) scale(0.97); } to { opacity: 1; transform: none; } }
.msg.user { align-self: flex-start; }
.msg.bot { align-self: flex-end; flex-direction: row-reverse; }
.msg.note { align-self: flex-end; }
.msg-avatar {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
}
.msg.user .msg-avatar { background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line); color: var(--muted); }
.msg.bot .msg-avatar { background: linear-gradient(145deg, var(--lime), #9ed32f); color: #0a1411; }
.bubble {
  padding: 11px 15px;
  border-radius: 18px 18px 18px 5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.85;
  max-width: 400px;
}
.msg.user .bubble { border-radius: 18px 18px 5px 18px; background: rgba(217, 255, 93, 0.05); border-color: rgba(217, 255, 93, 0.14); }
.bubble .wave { display: flex; align-items: center; justify-content: space-between; height: 30px; margin: 2px 0 8px; padding-inline: 8px; }
.bubble .wave b { width: 3px; border-radius: 99px; background: linear-gradient(180deg, #b8e986, var(--lime)); animation: waveBar var(--d, 1.1s) ease-in-out var(--dl, 0s) infinite alternate; }
@keyframes waveBar { from { transform: scaleY(0.3); } to { transform: scaleY(1); } }
.msg.typing .bubble { display: flex; gap: 5px; align-items: center; padding: 15px 18px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 99px; background: var(--muted); animation: typing 1.1s ease-in-out infinite; }
.msg.typing i:nth-child(2) { animation-delay: 0.18s; }
.msg.typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-5px); opacity: 1; } }
.bubble.txn { padding: 14px 16px; max-width: 430px; }
.txn-label { display: block; font-size: 11px; font-weight: 800; color: var(--muted); margin-bottom: 11px; }
.txn-row { display: flex; align-items: center; gap: 11px; }
.txn-row b { display: block; font-size: 14px; }
.txn-row small { color: var(--faint); font-size: 11px; }
.txn-row strong { margin-inline-start: auto; font-size: 16px; white-space: nowrap; }
.txn-row strong em { font-style: normal; font-size: 10px; font-weight: 500; color: var(--faint); }
.bubble[data-type="income"] strong { color: var(--lime); }
.bubble[data-type="expense"] strong { color: #f2b84b; }
.bubble[data-type="reminder"] strong { color: #a78bfa; }
.txn-actions { display: flex; gap: 8px; margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line); }
.txn-actions button {
  cursor: pointer;
  padding: 8px 15px;
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 700;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--muted);
  transition: all 0.3s ease;
}
.txn-actions button.ok { margin-inline-start: auto; background: var(--lime); border-color: var(--lime); color: #0a1411; font-weight: 800; }
.txn-actions button.ok.done { background: #1f6b46; border-color: #1f6b46; color: #d9ffe9; }
.bubble.insight {
  background: var(--lime-soft);
  border-color: rgba(217, 255, 93, 0.18);
  border-radius: 18px 18px 5px 18px;
}
.msg.note .bubble {
  font-size: 11.5px;
  color: #b8e986;
  background: rgba(217, 255, 93, 0.05);
  border-color: rgba(217, 255, 93, 0.12);
  border-radius: 12px;
}
.chat-input {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-top: 1px solid var(--line);
}
.fake-text { flex: 1; font-size: 12.5px; color: var(--faint); }
.fake-mic {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--lime), #9ed32f);
}
.fake-mic svg { width: 17px; height: 17px; stroke: #14330f; stroke-width: 1.9; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ═══════════ Ledger (features) ═══════════ */
.features { position: relative; }
.features::before {
  content: "";
  position: absolute;
  top: 120px; right: -100px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(24, 150, 118, 0.1), transparent 65%);
  filter: blur(30px);
  pointer-events: none;
}
.ledger-row {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(40px, 6vw, 60px);
  border-top: 1px solid var(--line);
}
.ledger-row:first-child { border-top: 0; padding-top: 0; }
.ledger-copy h3 { font-size: clamp(26px, 3.2vw, 40px); margin-bottom: 10px; }
.ledger-copy p { color: var(--muted); font-size: 15.5px; max-width: 480px; }
.ledger-copy > small { display: inline-block; margin-top: 20px; font-size: 12px; font-weight: 700; color: var(--lime); background: var(--lime-soft); border: 1px solid rgba(217, 255, 93, 0.2); padding: 6px 13px; border-radius: 99px; }
.ring { position: relative; width: 170px; height: 170px; margin-inline: auto; }
.ring::before {
  content: "";
  position: absolute;
  inset: -34px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 255, 93, 0.1), transparent 65%);
  pointer-events: none;
}
.budget-alert {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  padding: 9px 16px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  color: #f2b84b;
  background: rgba(242, 184, 75, 0.07);
  border: 1px solid rgba(242, 184, 75, 0.28);
  box-shadow: 0 0 24px -6px rgba(242, 184, 75, 0.18);
  animation: alertGlow 2.6s ease-in-out infinite;
}
@keyframes alertGlow {
  0%, 100% { box-shadow: 0 0 24px -6px rgba(242, 184, 75, 0.18); }
  50% { box-shadow: 0 0 34px -4px rgba(242, 184, 75, 0.32); }
}
.budget-alert i { width: 7px; height: 7px; border-radius: 99px; background: #f2b84b; box-shadow: 0 0 10px rgba(242, 184, 75, 0.8); animation: pulse 2s infinite; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: rgba(255, 255, 255, 0.09); stroke-width: 10; }
.ring-fill {
  fill: none;
  stroke: var(--lime);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 364.4;
  stroke-dashoffset: 364.4;
  transition: stroke-dashoffset 1.6s 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 0 8px rgba(217, 255, 93, 0.4));
}
.in .ring-fill { stroke-dashoffset: 72.9; }
.ring b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 900;
  color: var(--lime);
}
.sparkline { width: 100%; height: auto; }
.spark-line {
  fill: none;
  stroke: var(--lime);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  transition: stroke-dashoffset 2s 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.spark-area { opacity: 0; transition: opacity 1s 1.6s ease; }
.in .spark-line { stroke-dashoffset: 0; }
.in .spark-area { opacity: 1; }
.mini-list { margin-top: 22px; display: grid; gap: 0; }
.mini-list > div {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13.5px;
  padding-block: 12px;
  border-top: 1px solid var(--line);
}
.mini-list > div:last-child { border-bottom: 1px solid var(--line); }
.mini-list span { font-weight: 700; }
.mini-list b { margin-inline-start: auto; color: var(--muted); font-weight: 600; font-size: 12.5px; }
.dot { width: 8px; height: 8px; border-radius: 99px; background: var(--lime); flex-shrink: 0; }
.dot.dim { background: rgba(255, 255, 255, 0.25); }

/* ═══════════ Plans ═══════════ */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px 28px;
  background: rgba(255, 255, 255, 0.015);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}
.plan:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.2); }
.plan-tag { font-size: 12px; font-weight: 800; color: var(--muted); }
.plan h3 { font-size: 20px; margin: 8px 0 4px; }
.price { font-size: 27px; font-weight: 900; margin: 14px 0 20px; }
.price span { font-size: 12px; color: var(--faint); font-weight: 500; margin-inline-start: 6px; }
.plan ul { display: grid; gap: 12px; padding: 20px 0 26px; margin-bottom: 24px; border-top: 1px solid var(--line); flex: 1; }
.plan li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #c3d5c8; }
.plan li::before {
  content: "✓";
  flex-shrink: 0;
  width: 21px; height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime-soft);
  color: var(--lime);
  font-size: 10.5px;
  font-weight: 900;
}
.plan .btn { width: 100%; }
.plan.featured {
  border-color: rgba(217, 255, 93, 0.4);
  background: radial-gradient(ellipse 90% 60% at 50% 0%, rgba(217, 255, 93, 0.07), transparent 70%), rgba(255, 255, 255, 0.02);
}
.plan.featured:hover { border-color: rgba(217, 255, 93, 0.6); }
.popular {
  position: absolute;
  top: -13px; right: 24px;
  padding: 6px 14px;
  border-radius: 99px;
  background: var(--lime);
  color: #0a1411;
  font-size: 11.5px;
  font-weight: 900;
  box-shadow: 0 8px 22px -6px rgba(217, 255, 93, 0.5);
}

/* ═══════════ Waitlist ═══════════ */
.waitlist { text-align: center; }
.wait-wrap { max-width: 680px; }
.wait-title { font-size: clamp(34px, 5.4vw, 68px); }
.wait-title em { font-style: normal; color: var(--lime); }
.wait-sub { color: var(--muted); margin-top: 18px; font-size: 16.5px; }
#waitlist-form { margin-top: 36px; }
.phone-field {
  display: flex;
  align-items: center;
  gap: 6px;
  direction: rtl;
  max-width: 470px;
  margin-inline: auto;
  padding: 6px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.phone-field:focus-within { border-color: rgba(217, 255, 93, 0.5); box-shadow: 0 0 0 5px rgba(217, 255, 93, 0.09); }
.phone-field span {
  direction: ltr;
  unicode-bidi: isolate;
  padding-inline: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.phone-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  direction: rtl;
  text-align: right;
}
.phone-field input::placeholder { color: rgba(94, 119, 108, 0.8); }
.form-status { min-height: 26px; margin-top: 14px; font-size: 13px; font-weight: 700; }
.form-status.ok { color: var(--lime); }
.form-status.err { color: #ff9d9d; }
.wait-wave {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(340px, 72%);
  height: 54px;
  margin: 54px auto 0;
}
.wait-wave i { width: 4px; border-radius: 99px; background: var(--lime); opacity: 0.85; animation: waveBar var(--d, 1.2s) ease-in-out var(--dl, 0s) infinite alternate; }
.wait-wave i:nth-child(odd) { height: 16px; --d: 1s; }
.wait-wave i:nth-child(even) { height: 34px; --d: 1.4s; }
.wait-wave i:nth-child(3n) { height: 24px; --d: 0.9s; }
.wait-wave i:nth-child(4n) { height: 42px; --d: 1.6s; }

/* ═══════════ Footer ═══════════ */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 44px; }
.footer-inner { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.footer-line { color: var(--muted); font-size: 13px; margin-inline-end: auto; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; transition: color 0.25s; }
.footer-nav a:hover { color: var(--lime); }
.footer-copy { font-size: 12px; color: var(--faint); }

/* ═══════════ Mobile overlay menu ═══════════ */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(9, 17, 14, 0.99);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: grid;
  place-items: center;
  animation: menuIn 0.35s ease;
}
@keyframes menuIn { from { opacity: 0; } to { opacity: 1; } }
.menu-overlay[hidden] { display: none; }
body.menu-open { overflow: hidden; }
.menu-overlay nav { display: grid; gap: 6px; text-align: center; padding: 20px; }
.menu-overlay nav a {
  text-decoration: none;
  font-size: 25px;
  font-weight: 900;
  padding: 10px 20px;
  border-radius: 14px;
  transition: color 0.25s, background 0.25s;
}
.menu-overlay nav a:hover { color: var(--lime); background: rgba(255, 255, 255, 0.04); }
.menu-overlay nav a small {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--lime);
  opacity: 0.75;
  margin-inline-start: 10px;
}
.menu-overlay .menu-cta { color: var(--lime); }
.menu-logo {
  position: absolute;
  top: 24px; right: 24px;
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(217, 255, 93, 0.22), 0 0 26px -4px rgba(217, 255, 93, 0.45);
}
.menu-close {
  position: absolute;
  top: 22px; left: 22px;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  cursor: pointer;
}
.menu-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* ═══════════ Mobile sticky CTA ═══════════ */
.mobile-cta {
  position: fixed;
  right: 0; left: 0; bottom: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(10, 20, 17, 0.92);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateY(110%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-cta.show { transform: translateY(0); }
.mobile-cta span { font-size: 12.5px; font-weight: 700; color: var(--muted); }

/* ═══════════ Responsive ═══════════ */
@media (max-width: 1180px) {
  .rail { display: none; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .header-cta { margin-inline-start: auto; }
  .plan-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .plan.featured { order: -1; }
  .ledger-row { grid-template-columns: 1fr; gap: 28px; }
  .ledger-visual { max-width: 340px; }
  .chat-body { height: 440px; }
  .worry-grid { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr; }
  .journey::before { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .hero { padding-top: 120px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  #heroWave { height: 96px; }
  .voice-hint { display: none; }
  .mic-big { width: 78px; height: 78px; }
  .mic-big svg { width: 30px; height: 30px; }
  .cycle-tag { font-size: 11px; }
  .chat-panel { border-radius: 20px; }
  .chat-body { height: 460px; padding: 16px 12px; }
  .msg { max-width: 96%; }
  .bubble { font-size: 12.5px; max-width: 320px; }
  .j-no { top: 18px; left: 18px; }
  .j-visual { height: 80px; }
  .phone-field { flex-wrap: wrap; }
  .phone-field .btn { width: 100%; }
  .mobile-cta { display: flex; }
  .footer-inner { flex-direction: column; text-align: center; gap: 18px; }
  .footer-line { margin-inline: 0; }
  .wait-wave { margin-top: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .ring-fill { stroke-dashoffset: 72.9; }
  .spark-line { stroke-dashoffset: 0; }
  .spark-area { opacity: 1; }
  .worry .worry-quote { color: #5f776c; }
  .worry .worry-quote::after { transform: scaleX(1); }
  .worry .worry-answer { opacity: 1; transform: none; }
  .j-check circle, .j-check path { stroke-dashoffset: 0 !important; }
}

/* ═══════════════════════════════════════════════════════
   لایه‌ی لاو لب — اجزای جدید (v3)
   ═══════════════════════════════════════════════════════ */

/* ── Hero stats ── */
.hero-stats {
  margin-top: clamp(40px, 5vw, 60px);
  display: inline-flex;
  align-items: stretch;
  gap: clamp(18px, 3.4vw, 44px);
  padding: 18px clamp(22px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.stat { display: grid; gap: 2px; text-align: center; }
.stat b { font-size: clamp(20px, 2.4vw, 28px); font-weight: 900; color: var(--lime); letter-spacing: -0.02em; }
.stat small { font-size: 12px; color: var(--muted); font-weight: 600; }
.stat-sep { width: 1px; background: var(--line); }

/* ── Marquee ── */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 16px;
  background: rgba(255, 255, 255, 0.015);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marqueeMove 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  color: var(--faint);
  transition: color 0.3s ease;
}
.marquee-track span:hover { color: var(--ink); }
.marquee-track span b { color: var(--lime); font-weight: 800; margin-inline-start: 8px; }
@keyframes marqueeMove {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

/* ── Statement: کلمه‌به‌کلمه با اسکرول ── */
.statement { text-align: center; }
.statement-text {
  max-width: 860px;
  margin-inline: auto;
  font-size: clamp(22px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.9;
  letter-spacing: -0.03em;
}
.statement-text .w {
  color: rgba(242, 247, 241, 0.16);
  transition: color 0.5s ease;
}
.statement-text .w.lit { color: var(--ink); }
.statement-text .w.lit.hl { color: var(--lime); }

/* ── Card spotlight ── */
.worry, .plan { position: relative; overflow: hidden; }
.worry::before, .plan::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(217, 255, 93, 0.09), transparent 65%);
}
.worry:hover::before, .plan:hover::before { opacity: 1; }

/* ═══════════════════════════════════════════════════════
   لایه‌ی پالیش v3 — عمق، شیشه، نور، ریتم
   ═══════════════════════════════════════════════════════ */

/* توکن‌های لایه پالیش به anyar-tokens.css منتقل شدند. */

/* بوم اصلی: نور محیطی نرم */
body {
  background:
    radial-gradient(900px 520px at 82% -8%, rgba(214, 255, 92, 0.10), transparent 62%),
    radial-gradient(760px 520px at 10% 12%, rgba(55, 198, 192, 0.10), transparent 60%),
    radial-gradient(1000px 700px at 50% 105%, rgba(111, 227, 180, 0.07), transparent 65%),
    var(--bg);
  background-attachment: fixed;
  letter-spacing: -0.005em;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: radial-gradient(circle at 50% 22%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 22%, #000 0%, transparent 72%);
}
body::after { opacity: 0.035; }
main, .site-header, .site-footer { position: relative; z-index: 1; }

h1, h2, h3 { letter-spacing: -0.035em; }
::selection { background: var(--lime); color: #07100e; }

/* هدر شیشه‌ای */
.site-header { backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); transition: background .4s ease, border-color .4s ease, box-shadow .4s ease; }
.site-header.scrolled {
  background: color-mix(in oklab, var(--bg) 72%, transparent);
  box-shadow: 0 18px 50px -34px rgba(0, 0, 0, 0.95);
}
.brand-name { letter-spacing: -0.05em; }
.brand-logo { border-radius: 14px; box-shadow: 0 0 0 1px rgba(214, 255, 92, 0.22), 0 10px 26px -14px rgba(214, 255, 92, 0.6); }
.nav a { position: relative; opacity: .78; transition: opacity .25s ease, color .25s ease; }
.nav a::after {
  content: ""; position: absolute; inset-inline: 15px; bottom: 5px; height: 2px; border-radius: 99px;
  background: var(--lime); transform: scaleX(0); transform-origin: right; transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.nav a:hover { opacity: 1; color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* دکمه‌ها: گرد با گرادیان */
.btn { border-radius: 999px; will-change: transform; }
.btn-lime {
  background: var(--grad-lime);
  color: #07100e;
  box-shadow: 0 14px 34px -16px rgba(214, 255, 92, 0.75);
}
.btn-lime:hover { transform: translateY(-3px); box-shadow: 0 22px 46px -18px rgba(214, 255, 92, 0.9); filter: saturate(1.05); }
.btn-ghost { background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { transform: translateY(-3px); background: var(--glass-strong); border-color: rgba(214, 255, 92, 0.35); }
.btn:active { transform: translateY(-1px) scale(.985); }

/* ریل صدا */
.rail-track { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.rail-track i { transition: background .35s ease, opacity .35s ease, transform .35s ease; }
.rail-track i.on { background: var(--lime); box-shadow: 0 0 12px rgba(214, 255, 92, .45); }
.scroll-progress { height: 2px; background: linear-gradient(90deg, var(--mint), var(--lime)); box-shadow: 0 0 18px rgba(214, 255, 92, .55); }

/* هیرو */
.hero-inner { padding-block: clamp(20px, 4vh, 50px) clamp(10px, 2vh, 30px); }
.orb { opacity: .5; }
.eyebrow {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
}
.hero-title { font-size: clamp(40px, 7.4vw, 84px); line-height: 1.18; }
.hero-title .line-big { background: var(--grad-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-title em {
  font-style: normal;
  background: var(--grad-lime); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-title .line-sub { color: color-mix(in oklab, var(--ink) 78%, transparent); }

.voice-demo {
  margin-top: clamp(34px, 6vw, 56px);
  padding: clamp(22px, 4vw, 38px);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}
.mic-big { box-shadow: 0 20px 50px -20px rgba(214, 255, 92, .6); }
.hero-stats { border-radius: var(--r-lg); }
.stat b { background: var(--grad-ink); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -0.04em; }
.stat small { color: var(--faint); }

/* سرفصل فصل‌ها */
.chapter-time {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--line);
  color: var(--faint);
  font-size: 12.5px;
  letter-spacing: .04em;
}
.chapter-time::before { display: none; }
.chapter-head h2 { background: var(--grad-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chapter-sub { color: var(--muted); max-width: 62ch; }

/* کارت‌های شیشه‌ای عمومی */
.worry, .plan, .chat-panel, .ledger-row, .j-step {
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.014));
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
  transition: transform .45s cubic-bezier(.16,1,.3,1), border-color .45s ease, box-shadow .45s ease, background .45s ease;
}
.worry:hover, .plan:hover, .j-step:hover, .ledger-row:hover {
  transform: translateY(-6px);
  border-color: rgba(214, 255, 92, 0.24);
  box-shadow: 0 34px 80px -38px rgba(0,0,0,.95), 0 0 0 1px rgba(214,255,92,.10);
}
.features .ledger-row:first-child { padding-top: clamp(22px, 3.4vw, 38px); }
.worry-icon {
  border-radius: 16px;
  background: radial-gradient(circle at 30% 20%, rgba(214,255,92,.20), rgba(214,255,92,.05));
  border: 1px solid rgba(214,255,92,.16);
}
.worry-answer { border-top: 1px dashed var(--line); }

/* سه قدم */
.j-no {
  background: var(--grad-lime); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-size: clamp(34px, 5vw, 52px); opacity: .9;
}
.j-chip { border-radius: 16px; background: var(--glass-strong); border: 1px solid var(--line); }

/* پنل گفتگو */
.chat-head { background: rgba(255,255,255,.03); }
.live-dot { box-shadow: 0 0 0 6px rgba(214,255,92,.10); }
.chat-input { background: rgba(255,255,255,.03); }
.fake-mic { background: var(--grad-lime); }

/* قابلیت‌ها */
.ledger-row { padding: clamp(22px, 3.4vw, 38px); }
.ledger-copy h3 { font-size: clamp(20px, 2.6vw, 28px); }
.ring-fill { stroke: var(--lime); filter: drop-shadow(0 0 10px rgba(214,255,92,.45)); }
.ring b { background: var(--grad-lime); -webkit-background-clip: text; background-clip: text; color: transparent; }
.budget-alert { border-radius: 999px; }
.mini-list > div { border-radius: 16px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.mini-list .dot { background: var(--lime); box-shadow: 0 0 10px rgba(214,255,92,.6); }
.mini-list .dot.dim { background: var(--faint); box-shadow: none; }
.spark-line { stroke: var(--lime); filter: drop-shadow(0 6px 14px rgba(214,255,92,.35)); }

/* پلن‌ها */
.plan.featured {
  background: linear-gradient(165deg, rgba(214,255,92,.12), rgba(255,255,255,.02));
  border-color: rgba(214,255,92,.30);
  box-shadow: var(--shadow-glow);
}
.popular { border-radius: 999px; background: var(--grad-lime); color: #07100e; }
.plan { overflow: visible; }
.plan.featured { padding-top: calc(clamp(24px, 3vw, 34px) + 16px); }
.popular { top: -15px; padding: 6px 16px; font-size: 12.5px; box-shadow: 0 10px 26px -12px rgba(214,255,92,.8); }
.price { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.04em; }
.price span { color: var(--faint); font-size: 15px; }

/* لیست انتظار */
.wait-title { font-size: clamp(32px, 5.6vw, 66px); background: var(--grad-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wait-title em { font-style: normal; background: var(--grad-lime); -webkit-background-clip: text; background-clip: text; color: transparent; }
.phone-field {
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}
.phone-field:focus-within { border-color: rgba(214,255,92,.45); box-shadow: 0 0 0 4px rgba(214,255,92,.10), var(--shadow-soft); }

/* پابرگ و CTA موبایل */
.site-footer { background: linear-gradient(180deg, transparent, rgba(255,255,255,.025)); }
.mobile-cta {
  border-radius: 999px 999px 0 0;
  background: color-mix(in oklab, var(--bg-2) 86%, transparent);
  border: 1px solid var(--line);
  border-bottom: 0;
  box-shadow: 0 20px 50px -26px rgba(0,0,0,.95);
}
.menu-overlay { background: color-mix(in oklab, var(--bg) 92%, transparent); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }

/* حرکت نرم‌تر */
[data-reveal] { transform: translateY(30px) scale(.985); }
[data-reveal].in { transform: none; }

/* موبایل: آمار و بیانیه */
@media (max-width: 600px) {
  .hero-stats { display: grid; grid-template-columns: 1fr; gap: 14px; width: 100%; }
  .stat-sep { display: none; }
  .statement-text { line-height: 2; }
  body { background-attachment: scroll; }
}

/* ═══════════════════════════════════════════════════════
   لایه‌ی حرکت v4 — ورود سینمایی + hoverهای زنده
   ═══════════════════════════════════════════════════════ */

[data-mo] {
  opacity: 0;
  transition:
    opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--mo-d, 0ms);
  will-change: opacity, transform;
}
[data-mo="up"]    { transform: translateY(34px); }
[data-mo="down"]  { transform: translateY(-26px); }
[data-mo="right"] { transform: translateX(38px); }
[data-mo="left"]  { transform: translateX(-38px); }
[data-mo="zoom"]  { transform: scale(0.94) translateY(14px); filter: blur(6px); }
[data-mo="fade"]  { transform: none; }
[data-mo].mo-in { opacity: 1; transform: none; filter: none; }

@keyframes heroRise {
  from { opacity: 0; transform: translateY(30px); filter: blur(8px); }
  to   { opacity: 1; transform: none; filter: none; }
}
.hero .eyebrow,
.hero .hero-title,
.hero .hero-sub,
.hero .hero-actions,
.hero .voice-demo,
.hero .hero-stats {
  animation: heroRise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero .eyebrow      { animation-delay: 0.05s; }
.hero .hero-title   { animation-delay: 0.18s; }
.hero .hero-sub     { animation-delay: 0.38s; }
.hero .hero-actions { animation-delay: 0.52s; }
.hero .voice-demo   { animation-delay: 0.66s; }
.hero .hero-stats   { animation-delay: 0.82s; }

/* برق لغزان دکمه‌ها */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 55%;
  right: -70%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-18deg);
  transition: right 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.btn:hover::after { right: 120%; }
.btn:active { transform: translateY(0) scale(0.97); }

/* آیکن کارت‌ها هنگام hover می‌پرد */
.worry-icon, .worry-icon svg, .j-visual { transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.worry:hover .worry-icon { transform: translateY(-4px) rotate(-4deg) scale(1.08); }
.j-step:hover .j-visual { transform: scale(1.03); }
.j-step:hover .j-chip { animation: chipPop 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes chipPop { 0% { transform: scale(1); } 45% { transform: scale(1.06); } 100% { transform: scale(1); } }

/* ردیف‌های مینی‌لیست */
.mini-list > div { transition: background 0.3s ease, padding-inline 0.3s ease, transform .3s ease; border-radius: 10px; }
.mini-list > div:hover { background: rgba(255, 255, 255, 0.05); padding-inline: 14px; }

/* لینک‌های فوتر */
.footer-nav a { display: inline-block; transition: color 0.25s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.footer-nav a:hover { transform: translateY(-2px); }

/* پنل چت: عمق بیشتر هنگام hover */
.chat-panel { transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.6s ease; }
.chat-panel:hover { transform: translateY(-4px); box-shadow: 0 54px 110px -40px rgba(0, 0, 0, 0.75); }

/* فیلد موبایل: لرزش خطا / پاپ موفقیت */
.form-status { transition: opacity 0.4s ease, transform 0.4s ease; }
.form-status.err { animation: shakeX 0.45s ease; }
@keyframes shakeX {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(5px); }
  50% { transform: translateX(-5px); }
  75% { transform: translateX(3px); }
}
.form-status.ok { animation: okPop 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes okPop { from { transform: scale(0.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ورود پلکانی منوی موبایل */
.menu-overlay nav a { opacity: 0; transform: translateY(18px); animation: menuItemIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.menu-overlay nav a:nth-child(1) { animation-delay: 0.06s; }
.menu-overlay nav a:nth-child(2) { animation-delay: 0.12s; }
.menu-overlay nav a:nth-child(3) { animation-delay: 0.18s; }
.menu-overlay nav a:nth-child(4) { animation-delay: 0.24s; }
.menu-overlay nav a:nth-child(5) { animation-delay: 0.3s; }
.menu-overlay nav a:nth-child(6) { animation-delay: 0.36s; }
@keyframes menuItemIn { to { opacity: 1; transform: none; } }

/* اسکرول‌بار ظریف */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(214, 255, 92, 0.18); border-radius: 99px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: rgba(214, 255, 92, 0.35); }

@media (prefers-reduced-motion: reduce) {
  [data-mo] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero .eyebrow, .hero .hero-title, .hero .hero-sub,
  .hero .hero-actions, .hero .voice-demo, .hero .hero-stats,
  .menu-overlay nav a { animation: none !important; opacity: 1 !important; }
  .btn::after { display: none; }
}
