@font-face { font-family: Vazirmatn; font-weight: 400; font-display: swap; src: url(app/fonts/vazirmatn_regular.ttf) format("truetype"); }
@font-face { font-family: Vazirmatn; font-weight: 500; font-display: swap; src: url(app/fonts/vazirmatn_medium.ttf) format("truetype"); }
@font-face { font-family: Vazirmatn; font-weight: 700; font-display: swap; src: url(app/fonts/vazirmatn_bold.ttf) format("truetype"); }
@font-face { font-family: Vazirmatn; font-weight: 800; font-display: swap; src: url(app/fonts/vazirmatn_extrabold.ttf) format("truetype"); }

:root {
  --canvas: #F5F4FB; --surface: #FFFFFF; --tint: #E6E4F7; --soft: #D8D4F3; --primary: #5A52B6; --on-primary: #fff;
  --ink: #1E1B3A; --muted: #6F6C92; --outline: #E6E3F3; --gold: #E0A12B; --dark: #1E1B3A;
  --r: 28px; --w: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 17px/1.95 Vazirmatn, system-ui, sans-serif; overflow-x: hidden; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.muted { color: var(--muted); }
.small { font-size: 13px; color: var(--muted); }
section, .foot-in { max-width: var(--w); margin-inline: auto; padding-inline: 20px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 12px; }

/* ── دکمه‌ها ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 26px; border-radius: 999px; font: 700 16px/1.4 Vazirmatn, system-ui, sans-serif; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn-lg { min-height: 56px; padding: 12px 32px; font-size: 17px; }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 10px 24px -10px rgba(90, 82, 182, .7); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--muted); }
.is-soon { opacity: .6; cursor: default; }

/* ── نوار بالا (شناور و گرد، مثل طرح مرجع) ── */
.nav-wrap { position: sticky; top: 0; z-index: 20; padding: 12px 16px 0; }
.nav { max-width: var(--w); margin: 0 auto; display: flex; align-items: center; gap: 16px; background: rgba(255, 255, 255, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--outline); border-radius: 999px; padding: 8px 12px 8px 12px; padding-inline-start: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; text-decoration: none; }
.brand img { border-radius: 10px; }
.links { display: flex; gap: 6px; margin-inline: auto; }
.links a { display: block; padding: 6px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; }
.links a:hover { background: var(--tint); color: var(--ink); }
.nav .btn { min-height: 42px; padding: 6px 22px; }

/* ── هیرو ── */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 24px; padding-block: 56px 36px; position: relative; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--outline); border-radius: 999px; padding: 2px 16px; font-size: 14px; color: var(--muted); }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.5; font-weight: 800; margin-block: 18px 14px; letter-spacing: -.5px; }
h1 em { font-style: normal; color: var(--primary); position: relative; white-space: nowrap; }
h1 em::after { content: ""; position: absolute; inset-inline: 0; bottom: 2px; height: 10px; background: var(--soft); z-index: -1; border-radius: 6px; }
.lead { font-size: 19px; color: var(--muted); max-width: 520px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 28px 30px; }
.proof { display: flex; gap: 12px; flex-wrap: wrap; }
.proof li { background: var(--surface); border: 1px solid var(--outline); border-radius: 20px; padding: 6px 22px; text-align: center; min-width: 96px; }
.proof b { display: block; font-size: 26px; font-weight: 800; line-height: 1.4; }
.proof span { font-size: 13px; color: var(--muted); }

.hero-visual { position: relative; min-height: 560px; display: grid; place-items: center; overflow: clip; }
.hero-visual::before { content: ""; position: absolute; inset: 4% 2%; border-radius: 48px; background: radial-gradient(120% 90% at 70% 20%, #DCD8F7 0%, #E6E4F7 45%, rgba(245, 244, 251, 0) 100%); z-index: 0; }
.rings { position: absolute; width: 100%; max-width: 520px; z-index: 0; }
.phone { position: relative; border-radius: 40px; background: #1E1B3A; padding: 9px; box-shadow: 0 40px 60px -28px rgba(30, 27, 58, .55), 0 2px 0 rgba(255, 255, 255, .25) inset; overflow: hidden; }
.phone img { border-radius: 32px; width: 100%; }
.phone-front { width: 252px; z-index: 2; transform: translateX(-34px) rotate(-3deg); }
.phone-back { position: absolute; width: 228px; z-index: 1; inset-inline-start: 4%; top: 50px; transform: rotate(6deg); opacity: .96; }
.chip-float { position: absolute; z-index: 3; background: var(--surface); border-radius: 999px; padding: 4px 18px; font-weight: 700; font-size: 14px; box-shadow: 0 18px 30px -16px rgba(30, 27, 58, .45); border: 1px solid var(--outline); display: inline-flex; align-items: center; gap: 8px; }
.chip-float i { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.chip-a { top: 14%; inset-inline-end: 2%; }
.chip-b { bottom: 14%; inset-inline-start: 0; }

/* ── نوار پنج مدار ── */
.strip { padding-block: 26px; text-align: center; }
.strip p { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.strip li { background: var(--surface); border: 1px solid var(--outline); border-radius: 999px; padding: 4px 20px; font-weight: 500; font-size: 15px; }
.strip li:nth-child(odd) { background: var(--tint); }

/* ── بخش دوستونه ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding-block: 72px; }
h2 { font-size: clamp(27px, 3.6vw, 40px); line-height: 1.55; font-weight: 800; margin-bottom: 10px; letter-spacing: -.3px; }
.split-text .muted { margin-bottom: 22px; }
.acc { display: flex; flex-direction: column; gap: 10px; }
details { background: var(--surface); border: 1px solid var(--outline); border-radius: 22px; padding: 4px 20px; }
details[open] { border-color: var(--soft); box-shadow: 0 14px 28px -22px rgba(30, 27, 58, .5); }
summary { cursor: pointer; font-weight: 700; padding: 10px 0; list-style: none; display: flex; align-items: center; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "＋"; margin-inline-start: auto; color: var(--primary); font-weight: 400; }
details[open] summary::after { content: "－"; }
details p { padding-bottom: 14px; color: var(--muted); font-size: 16px; }
details p a { color: var(--primary); }
.n { width: 32px; height: 32px; border-radius: 50%; background: var(--tint); color: var(--primary); display: inline-grid; place-items: center; font-size: 15px; }
.split-visual { position: relative; display: grid; place-items: center; padding-block: 12px; }
.split-visual::before { content: ""; position: absolute; inset: 0 6%; border-radius: 44px; background: linear-gradient(160deg, #EDEBFA 0%, #E6E4F7 55%, #D8D4F3 100%); }
.phone-single { width: 262px; z-index: 1; transform: rotate(-2deg); margin-block: 26px 46px; }
.stat-card { position: absolute; z-index: 2; bottom: 0; inset-inline: 6% auto; background: var(--surface); border-radius: 24px; padding: 8px 12px; display: flex; gap: 6px; box-shadow: 0 22px 36px -22px rgba(30, 27, 58, .5); border: 1px solid var(--outline); }
.stat-card div { padding: 2px 14px; text-align: center; }
.stat-card div + div { border-inline-start: 1px solid var(--outline); }
.stat-card b { display: block; font-size: 24px; font-weight: 800; line-height: 1.5; }
.stat-card span { font-size: 12px; color: var(--muted); }

/* ── کارت‌ها ── */
.cards { padding-block: 40px 64px; }
.cards h2 { text-align: center; margin-bottom: 32px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--outline); border-radius: var(--r); padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.card img { border-radius: 18px; margin-bottom: 10px; border: 1px solid var(--outline); aspect-ratio: 4 / 5; object-fit: cover; object-position: top; width: 100%; }
.card-wide img { object-fit: contain; background: var(--canvas); object-position: center; }
.card h3 { font-size: 19px; font-weight: 700; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.9; }

/* ── مسیر ── */
.path { padding-block: 40px 64px; }
.path > .muted { margin-bottom: 26px; }
.path ol { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: c; }
.path li { background: var(--surface); border: 1px solid var(--outline); border-radius: var(--r); padding: 20px; position: relative; counter-increment: c; }
.path li::before { content: counter(c, persian); position: absolute; top: 14px; inset-inline-end: 18px; font-size: 40px; font-weight: 800; color: var(--tint); line-height: 1; }
.path li:nth-child(even) { background: var(--tint); border-color: var(--soft); }
.days { display: inline-block; background: var(--primary); color: #fff; border-radius: 999px; padding: 0 12px; font-size: 13px; margin-bottom: 12px; }
.path h3 { font-size: 19px; margin-bottom: 4px; }
.path p { color: var(--muted); font-size: 15px; line-height: 1.9; }

/* ── شروع ── */
.start { padding-block: 24px 56px; }
.start h2 { text-align: center; margin-bottom: 26px; }
.start-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.start-card { background: var(--surface); border: 1px solid var(--outline); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.start-card.main { background: linear-gradient(150deg, #5A52B6 0%, #7A72D6 100%); border: 0; color: #fff; }
.start-card.main p { color: rgba(255, 255, 255, .9); }
.start-card.main .btn { background: #fff; color: var(--primary); box-shadow: none; }
.start-card p { color: var(--muted); flex: 1; }
.start-card h3 { font-size: 22px; }

/* ── پرسش‌ها ── */
.faq { padding-block: 24px 64px; max-width: 820px; }
.faq h2 { text-align: center; margin-bottom: 26px; }

.final { text-align: center; padding-block: 56px 80px; }
.final p { color: var(--muted); margin-block: 6px 26px; }

.foot { border-top: 1px solid var(--outline); background: var(--surface); padding-block: 36px 40px; }
.foot-in { display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; }
.foot a { color: var(--primary); }
.foot .brand { color: var(--ink); margin-bottom: 6px; }

/* ── موبایل ── */
@media (max-width: 900px) {
  .links { display: none; }
  .nav { justify-content: space-between; }
  .hero { grid-template-columns: 1fr; padding-top: 32px; text-align: start; }
  .hero-visual { min-height: 520px; order: 2; }
  .split { grid-template-columns: 1fr; padding-block: 48px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .path ol { grid-template-columns: 1fr 1fr; }
  .start-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .grid, .path ol { grid-template-columns: 1fr; }
  .phone-front { width: 220px; transform: translateX(-22px) rotate(-3deg); }
  .phone-back { width: 196px; }
  .cta .btn { width: 100%; }
  .proof li { flex: 1; min-width: 0; padding-inline: 10px; }
  .stat-card { inset-inline: 4% auto; }
}
@media (prefers-color-scheme: dark) { /* لندینگ عمداً روشن می‌ماند؛ هویت برند هلویی است */ }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
