/* ===== Dialo landing — night-sky editorial, mobile-first ===== */
/* وزیرمتن خودمیزبان (static woff2) — بدون وابستگی به CDN خارجی */
@font-face {
  font-family: "Vazirmatn";
  src: url("./fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("./fonts/Vazirmatn-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("./fonts/Vazirmatn-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("./fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("./fonts/Vazirmatn-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0e0e2e;
  --bg-2: #151544;
  --bg-3: #1c1c55;
  --ink: #f4f2ff;
  --muted: #b9b6dd;
  --faint: #8a87b5;
  --amber: #fbbf24;
  --amber-2: #f59e0b;
  --amber-soft: rgba(251, 191, 36, 0.14);
  --card: rgba(255, 255, 255, 0.055);
  --card-border: rgba(255, 255, 255, 0.12);
  --radius: 20px;
  --max: 1160px;
  --font: "Vazirmatn", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.35; margin: 0 0 0.5em; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--amber); color: #1a1405; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.container--narrow { width: min(100% - 2.5rem, 780px); }
.section { padding: 4.5rem 0; }
.kicker {
  display: inline-block; font-size: 0.85rem; font-weight: 700; color: var(--amber);
  background: var(--amber-soft); border: 1px solid rgba(251,191,36,.35);
  padding: 0.25rem 0.9rem; border-radius: 999px; margin: 0 0 1rem;
}
.kicker--amber { background: rgba(0,0,0,.25); }
.section__title { font-size: clamp(1.5rem, 4.5vw, 2.5rem); font-weight: 900; }
.section__sub { color: var(--muted); max-width: 60ch; margin-bottom: 2.5rem; }
.hl { color: var(--amber); font-style: normal; position: relative; }

.skip {
  position: absolute; top: -60px; right: 16px; background: var(--amber); color: #111;
  padding: 0.5rem 1rem; border-radius: 10px; z-index: 99; transition: top .2s;
}
.skip:focus { top: 10px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  text-decoration: none; font-weight: 800; border-radius: 14px;
  padding: 0.7rem 1.4rem; font-size: 0.95rem; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn--sm { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn--lg { padding: 0.85rem 1.8rem; font-size: 1rem; }
.btn--amber { background: linear-gradient(135deg, #ffd34d, var(--amber-2)); color: #221503; box-shadow: 0 8px 30px rgba(251,191,36,.35); }
.btn--amber:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(251,191,36,.45); }
.btn--glass { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; backdrop-filter: blur(8px); }
.btn--glass:hover { transform: translateY(-2px); background: rgba(255,255,255,.14); }
.btn--ghost { border-color: rgba(255,255,255,.22); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--outline-light { border-color: rgba(255,255,255,.5); color: #fff; padding: 0.85rem 1.6rem; }
.btn--outline-light:hover { background: rgba(255,255,255,.12); }

/* ===== Nav ===== */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(14,14,46,.82); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav__inner { display: flex; align-items: center; gap: 1rem; padding: 0.7rem 0; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; margin-left: auto; }
.brand__mark { display: grid; place-items: center; }
.brand__name { font-weight: 900; font-size: 1.35rem; }
.brand__tag { font-size: 0.7rem; color: var(--faint); border: 1px solid rgba(255,255,255,.15); padding: 0.1rem 0.6rem; border-radius: 999px; }
.nav__links { display: none; gap: 1.4rem; margin-inline: auto; }
.nav__links a { text-decoration: none; color: var(--muted); font-size: 0.92rem; font-weight: 600; }
.nav__links a:hover { color: var(--amber); }
.nav__actions { display: flex; gap: 0.6rem; align-items: center; }
.nav__cta-mobile { display: inline-flex; }
.nav__burger { display: grid; gap: 5px; background: none; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; padding: 0.6rem; cursor: pointer; }
.nav__burger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; }
.mobile-menu { display: flex; flex-direction: column; gap: 0.4rem; padding: 0.5rem 1.25rem 1.25rem; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { text-decoration: none; padding: 0.6rem 0.2rem; border-bottom: 1px solid rgba(255,255,255,.07); color: var(--ink); font-weight: 700; }

/* ===== Hero ===== */
.hero { position: relative; overflow: clip; padding: 3rem 0 0; background: radial-gradient(1100px 500px at 80% -10%, #2b2b7a 0%, transparent 60%), radial-gradient(800px 420px at 10% 20%, #3b1d6e 0%, transparent 55%), var(--bg); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hero__glow--a { width: 420px; height: 420px; background: rgba(99,102,241,.35); top: -120px; left: -120px; }
.hero__glow--b { width: 360px; height: 360px; background: rgba(251,191,36,.16); bottom: 10%; right: -100px; }
.hero__inner { position: relative; display: grid; gap: 2.5rem; padding: 2rem 0 3rem; }
.countdown-chip {
  display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; font-weight: 700;
  background: rgba(255,255,255,.07); border: 1px solid rgba(251,191,36,.4);
  padding: 0.45rem 1rem; border-radius: 999px; color: #ffe9ad; max-width: 100%;
}
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(251,191,36,.7); animation: pulse 2s infinite; flex-shrink: 0; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(251,191,36,0); } 100% { box-shadow: 0 0 0 0 rgba(251,191,36,0); } }
.hero__title { font-size: clamp(2.1rem, 7.5vw, 3.9rem); font-weight: 900; line-height: 1.4; margin: 1.2rem 0 0.8rem; }
.title-arc { display: block; width: min(320px, 70%); height: 22px; margin-top: 0.1rem; }
.hero__sub { color: var(--muted); font-size: clamp(0.98rem, 2.6vw, 1.15rem); max-width: 56ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.4rem 0; }
.hero__ctas--center { justify-content: center; }
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; margin: 1.6rem 0 0.6rem; padding: 0; }
.stat { background: var(--card); border: 1px solid var(--card-border); border-radius: 16px; padding: 0.9rem 0.6rem; text-align: center; backdrop-filter: blur(6px); }
.stat dt { font-size: 0.75rem; color: var(--muted); order: 2; }
.stat dd { margin: 0; font-size: clamp(1.3rem, 5vw, 1.9rem); font-weight: 900; color: var(--amber); }
.hero__note { color: var(--faint); font-size: 0.8rem; }

/* Orbit visual */
.hero__visual { display: grid; place-items: center; }
.orbit-card {
  position: relative; width: min(100%, 420px); aspect-ratio: 1;
  background: radial-gradient(circle at 50% 55%, rgba(60,60,150,.55), rgba(14,14,46,.2) 70%);
  border: 1px solid rgba(255,255,255,.12); border-radius: 28px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.orbit-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit-badge {
  position: absolute; top: 9%; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #fff3c4, var(--amber)); color: #231602;
  border-radius: 18px; padding: 0.7rem 1.2rem; text-align: center; min-width: 170px;
  box-shadow: 0 12px 40px rgba(251,191,36,.5); animation: float 4.5s ease-in-out infinite;
}
.orbit-badge strong { display: block; font-size: 1.05rem; font-weight: 900; }
.orbit-badge span { font-size: 0.75rem; font-weight: 700; opacity: 0.8; }
.orbit-badge__ring { position: absolute; top: -14px; right: -14px; width: 34px; height: 34px; display: grid; place-items: center; background: #12123d; color: var(--amber); border-radius: 50%; border: 2px solid var(--amber); }
@keyframes float { 50% { transform: translateX(-50%) translateY(-8px); } }
.orbit-chip { position: absolute; background: rgba(10,10,35,.85); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 0.55rem 0.9rem; font-size: 0.75rem; backdrop-filter: blur(8px); }
.orbit-chip b { display: block; color: var(--amber); font-size: 0.95rem; }
.orbit-chip span { color: var(--muted); }
.orbit-chip--a { bottom: 16%; right: 6%; }
.orbit-chip--b { bottom: 5%; left: 6%; }
.orbit-planet { position: absolute; width: 120px; height: 120px; border-radius: 50%; left: 50%; top: 52%; transform: translate(-50%,-50%); background: radial-gradient(circle at 35% 35%, #3d3da8, #151544 70%); border: 1px solid rgba(255,255,255,.2); box-shadow: 0 0 60px rgba(251,191,36,.25); }

/* Marquee */
.hero__marquee { position: relative; border-block: 1px solid rgba(255,255,255,.1); background: rgba(0,0,0,.3); overflow: hidden; }
.marquee__track { display: flex; gap: 1.5rem; width: max-content; padding: 0.7rem 0; animation: marquee 22s linear infinite; color: var(--amber); font-weight: 800; font-size: 0.9rem; }
@keyframes marquee { to { transform: translateX(50%); } }

/* ===== Path steps ===== */
.path { background: linear-gradient(var(--bg), var(--bg-2)); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: s; }
.step { position: relative; background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 1.6rem 1.4rem; overflow: hidden; transition: transform .2s ease, border-color .2s ease; }
.step:hover { transform: translateY(-4px); border-color: rgba(251,191,36,.5); }
.step__no { position: absolute; top: 0.4rem; left: 1rem; font-size: 4rem; font-weight: 900; color: rgba(255,255,255,.06); }
.step__icon { font-size: 1.8rem; background: var(--amber-soft); width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; border: 1px solid rgba(251,191,36,.35); }
.step h3 { margin: 0.9rem 0 0.4rem; font-size: 1.25rem; }
.step p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.8rem; }
.step__meta { font-size: 0.78rem; color: var(--amber); font-weight: 700; background: rgba(0,0,0,.3); padding: 0.2rem 0.7rem; border-radius: 999px; display: inline-block; }

/* ===== Features ===== */
.features { background: var(--bg-2); }
.grid { display: grid; gap: 1rem; }
.card { background: rgba(255,255,255,.05); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 1.5rem 1.3rem; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.card:hover { transform: translateY(-4px); border-color: rgba(251,191,36,.55); background: rgba(251,191,36,.06); }
.card__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg, var(--amber), var(--amber-2)); color: #221503; font-weight: 900; font-size: 1.2rem; }
.card h3 { margin: 0.9rem 0 0.4rem; font-size: 1.08rem; }
.card p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ===== Consultant band ===== */
.band { background: linear-gradient(135deg, #2a1503, #4a2408 45%, #12123d 100%); border-block: 1px solid rgba(251,191,36,.3); padding: 4rem 0; position: relative; overflow: hidden; }
.band__inner { display: grid; gap: 2rem; align-items: center; }
.band__copy h2 { font-size: clamp(1.5rem, 4.5vw, 2.3rem); font-weight: 900; }
.band__copy p { color: #e8dcc3; }
.band__rates { list-style: none; display: flex; flex-wrap: wrap; gap: 1.2rem; margin: 1.4rem 0; padding: 0; }
.band__rates li { display: grid; }
.band__rates strong { font-size: 1.7rem; color: var(--amber); font-weight: 900; }
.band__rates span { font-size: 0.8rem; color: #d9c9a8; }
.band__ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.band__card { display: grid; place-items: center; }
.mini-card { width: min(100%, 340px); background: rgba(10,10,30,.85); border: 1px solid rgba(251,191,36,.4); border-radius: 20px; padding: 1.4rem; box-shadow: 0 24px 60px rgba(0,0,0,.5); transform: rotate(-2deg); transition: transform .25s ease; }
.mini-card:hover { transform: rotate(0deg) translateY(-4px); }
.mini-card__label { color: var(--muted); font-size: 0.8rem; margin: 0; }
.mini-card__sample { display: inline-block; font-size: 0.68rem; font-weight: 800; color: #231602; background: var(--amber); border-radius: 999px; padding: 0.05rem 0.55rem; margin-right: 0.4rem; vertical-align: middle; }
.mini-card__amount { font-size: 1.6rem; font-weight: 900; color: var(--amber); margin: 0.2rem 0 0.8rem; }
.mini-card__bar { height: 10px; background: rgba(255,255,255,.1); border-radius: 999px; overflow: hidden; }
.mini-card__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--amber-2), var(--amber)); border-radius: 999px; }
.mini-card__rows { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: 0.5rem; font-size: 0.85rem; }
.mini-card__rows li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed rgba(255,255,255,.12); padding-bottom: 0.5rem; }
.mini-card__rows b { color: #fff; }
.mini-card__foot { color: var(--amber); font-size: 0.78rem; font-weight: 700; margin: 0; }

/* ===== Pricing ===== */
.pricing { background: linear-gradient(var(--bg-2), var(--bg)); }
.price-grid { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; }
.price-grid > .price { min-width: 78%; scroll-snap-align: center; }
.price { position: relative; background: var(--card); border: 1px solid var(--card-border); border-radius: 22px; padding: 1.8rem 1.5rem; display: flex; flex-direction: column; gap: 0.4rem; }
.price .btn { margin-top: auto; }
.price--hot { border-color: rgba(251,191,36,.6); background: linear-gradient(180deg, rgba(251,191,36,.12), rgba(255,255,255,.04)); box-shadow: 0 20px 60px rgba(251,191,36,.15); }
.price__badge { position: absolute; top: -14px; right: 18px; background: var(--amber); color: #231602; font-size: 0.75rem; font-weight: 900; padding: 0.25rem 0.9rem; border-radius: 999px; }
.price h3 { font-size: 1.3rem; margin: 0; }
.price__desc { color: var(--muted); font-size: 0.88rem; margin: 0; }
.price__amount { font-size: 1.9rem; font-weight: 900; margin: 0.5rem 0 0; }
.price__amount small { font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.price__amount s.price__old { font-size: 0.55em; color: var(--faint); text-decoration: line-through; font-weight: 600; }
.price__save { color: var(--amber); font-weight: 800; font-size: 0.85rem; margin: 0; }
.price ul { list-style: none; margin: 1rem 0 1.4rem; padding: 0; display: grid; gap: 0.55rem; color: var(--muted); font-size: 0.92rem; }
.price ul li::before { content: "✓ "; color: var(--amber); font-weight: 900; }
.pricing__foot { color: var(--faint); font-size: 0.78rem; text-align: center; margin-top: 1.5rem; }

/* ===== FAQ ===== */
.faq { background: var(--bg); }
.accordion { display: grid; gap: 0.8rem; margin-top: 2rem; }
.acc { background: var(--card); border: 1px solid var(--card-border); border-radius: 16px; overflow: hidden; transition: border-color .2s; }
.acc[data-open="true"] { border-color: rgba(251,191,36,.55); }
.acc__btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: none; border: 0; color: var(--ink); font-family: inherit; font-weight: 800; font-size: 0.98rem; padding: 1.1rem 1.3rem; cursor: pointer; text-align: right; }
.acc__icon { flex-shrink: 0; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--amber-soft); border: 1px solid rgba(251,191,36,.4); color: var(--amber); font-size: 1.2rem; transition: transform .25s ease; }
.acc[data-open="true"] .acc__icon { transform: rotate(45deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.acc[data-open="true"] .acc__panel { grid-template-rows: 1fr; }
.acc__panel > p { overflow: hidden; margin: 0; padding: 0 1.3rem; color: var(--muted); font-size: 0.92rem; }
.acc[data-open="true"] .acc__panel > p { padding-bottom: 1.2rem; }
.acc__panel a { color: var(--amber); }

/* ===== Final + footer ===== */
.final { background: radial-gradient(600px 300px at 50% 0%, rgba(251,191,36,.2), transparent 70%), #0a0a24; padding: 4.5rem 0; text-align: center; border-top: 1px solid rgba(255,255,255,.08); }
.final h2 { font-size: clamp(1.7rem, 5.5vw, 2.8rem); font-weight: 900; }
.final p { color: var(--muted); }
.footer { border-top: 1px solid rgba(255,255,255,.08); background: #0a0a24; padding: 2.5rem 0; }
.footer__inner { display: grid; gap: 1.2rem; text-align: center; justify-items: center; }
.footer__brand p { color: var(--faint); font-size: 0.85rem; margin: 0.3rem 0 0; }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center; }
.footer__links a { color: var(--muted); text-decoration: none; font-size: 0.88rem; }
.footer__links a:hover { color: var(--amber); }
.footer__copy { color: var(--faint); font-size: 0.78rem; margin: 0; }

/* ===== Reveal motion ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (min-width: 760px) {
  .nav__links { display: flex; }
  .nav__burger, .mobile-menu { display: none; }
  .hero__inner { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step__line { position: absolute; top: 44px; right: -1rem; width: 1rem; border-top: 2px dashed rgba(251,191,36,.4); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .band__inner { grid-template-columns: 1.1fr 0.9fr; }
  .price-grid { display: grid; grid-template-columns: repeat(2, 1fr); align-items: stretch; max-width: 820px; margin-inline: auto; overflow: visible; }
  .price-grid > .price { min-width: 0; }
  .footer__inner { text-align: right; justify-items: stretch; }
  .footer__links { justify-content: flex-start; }
}
@media (min-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .price-grid { grid-template-columns: repeat(4, 1fr); max-width: none; }
  .section { padding: 5.5rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
