/* ════════════════════════════════════════════════════════════
   HumaWatch — وب‌سایت عمومی (نسخه ۲)
   مستقل از Vite: بدون نیاز به build
   ════════════════════════════════════════════════════════════ */

:root {
  --navy: #0B1026;
  --navy-2: #121A3F;
  --navy-3: #1B2456;
  --brand: #3547E6;
  --brand-2: #6E7BFF;
  --brand-3: #A5ADFF;
  --brand-tint: #EEF0FF;
  --mint: #17B26A;
  --mint-2: #32D583;
  --mint-tint: #DCFAE6;
  --amber: #F79009;
  --amber-tint: #FFF6E6;
  --rose: #F04438;
  --rose-tint: #FEF3F2;
  --ink: #0B1026;
  --text: #1D2939;
  --text-2: #475467;
  --muted: #667085;
  --line: #E4E7EC;
  --line-2: #F2F4F7;
  --bg: #F6F7FB;
  --white: #fff;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 24px 48px -24px rgba(14, 19, 48, .18);
  --shadow-lg: 0 40px 80px -30px rgba(14, 19, 48, .35);
  --container: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.site {
  margin: 0;
  font-family: 'Vazirmatn', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  font-feature-settings: 'ss01';
  color: var(--text);
  background: var(--white);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.45; margin: 0; font-weight: 800; letter-spacing: -.2px; text-wrap: balance; }
.lead { text-wrap: pretty; }
p { margin: 0; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 3px solid rgba(53, 71, 230, .35); outline-offset: 2px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.wrap-sm { max-width: 820px; }
.wrap-md { max-width: 1000px; }

/* ───────── دکمه‌ها ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 14px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s, color .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 18px; height: 18px; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; border-radius: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(53, 71, 230, .75); }
.btn-primary:hover { background: #2B3CD0; box-shadow: 0 16px 32px -12px rgba(53, 71, 230, .8); transform: translateY(-1px); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-3); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-light:hover { border-color: #D0D5DD; background: #FCFCFD; }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { color: var(--ink); background: var(--line-2); }
.btn-glass { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .14); }
.btn-mint { background: var(--mint); color: #fff; }
.link { color: var(--brand); font-weight: 600; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ───────── برچسب‌ها ───────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 12px;
  border-radius: 999px; background: var(--brand-tint); color: var(--brand);
  font-size: 13px; font-weight: 700;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(53, 71, 230, .15); }
.eyebrow.on-dark { background: rgba(110, 123, 255, .14); color: var(--brand-3); border: 1px solid rgba(165, 173, 255, .18); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--line-2); color: var(--text-2); }
.chip-brand { background: var(--brand-tint); color: var(--brand); }
.chip-mint { background: var(--mint-tint); color: #067647; }
.chip-amber { background: var(--amber-tint); color: #93370D; }
.chip-rose { background: var(--rose-tint); color: #B42318; }

/* ───────── هدر ───────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(14, 19, 48, .25); background: rgba(255, 255, 255, .9); }
.site-header .bar { height: 72px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); font-size: 19px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  box-shadow: 0 8px 18px -8px rgba(53, 71, 230, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.brand-mark svg { width: 22px; height: 22px; color: #fff; }
.brand small { display: block; font-size: 10.5px; font-weight: 600; color: var(--muted); letter-spacing: .3px; margin-top: -4px; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: 8px; }
.nav a { padding: 8px 14px; border-radius: 10px; color: var(--text-2); font-weight: 600; font-size: 15px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); background: var(--line-2); }
.nav a.active { color: var(--brand); background: var(--brand-tint); }
.header-cta { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; place-items: center; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .3s var(--ease), background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ''; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.nav-open .menu-btn span { background: transparent; }
.nav-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { display: none; }

@media (max-width: 960px) {
  .nav, .header-cta .hide-m { display: none; }
  .menu-btn { display: grid; }
  .mobile-nav {
    display: block; position: fixed; inset: 72px 0 0 0; background: #fff; z-index: 49;
    padding: 20px; transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .25s, transform .3s var(--ease); overflow-y: auto;
  }
  .nav-open .mobile-nav { opacity: 1; transform: none; pointer-events: auto; }
  .mobile-nav a.m-link { display: flex; justify-content: space-between; align-items: center; padding: 16px 6px; border-bottom: 1px solid var(--line-2); font-weight: 700; font-size: 17px; color: var(--ink); }
  .mobile-nav .m-actions { display: grid; gap: 10px; margin-top: 24px; }
  body.nav-open { overflow: hidden; }
}

/* ───────── بخش‌ها ───────── */
.section { padding: 110px 0; position: relative; }
.section-sm { padding: 72px 0; }
.section-tint { background: var(--bg); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; display: grid; gap: 14px; justify-items: center; }
.section-head.start { text-align: start; justify-items: start; margin-inline: 0; }
.h-display { font-size: clamp(30px, 4.4vw, 54px); line-height: 1.35; letter-spacing: -1px; }
.h-1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.35; letter-spacing: -.6px; }
.h-2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.45; }
.h-3 { font-size: 20px; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--text-2); line-height: 2; }
.grad-text { background: linear-gradient(90deg, var(--brand) 0%, #7A5CFF 55%, var(--brand-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text-light { background: linear-gradient(90deg, #fff, var(--brand-3) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }

/* ───────── هیرو ───────── */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(110, 123, 255, .35), transparent 60%),
    radial-gradient(700px 420px at 0% 30%, rgba(53, 71, 230, .30), transparent 60%),
    radial-gradient(600px 400px at 60% 110%, rgba(23, 178, 106, .12), transparent 60%),
    var(--navy);
  padding: 90px 0 120px;
  isolation: isolate;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 75%);
}
.hero h1 { color: #fff; }
.hero .lead { color: #B8BFE6; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero-copy > * { max-width: 100%; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 10px; color: #A9B1DC; font-size: 14px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--mint-2); }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 560px; }
.hero-rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.hero-rings i { position: absolute; border-radius: 50%; border: 1px solid rgba(165, 173, 255, .16); animation: ring 6s var(--ease) infinite; }
.hero-rings i:nth-child(1) { width: 360px; height: 360px; }
.hero-rings i:nth-child(2) { width: 480px; height: 480px; animation-delay: 1s; }
.hero-rings i:nth-child(3) { width: 600px; height: 600px; animation-delay: 2s; }
@keyframes ring { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.04); opacity: .45; } }

/* گوشی نمایشی (همون طراحی اپ) */
.phone {
  position: relative; width: 290px; height: 590px; border-radius: 48px; padding: 12px;
  background: linear-gradient(160deg, #2A3160, #0E1330 45%, #1C2250);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .08), var(--shadow-lg), 0 50px 120px -30px rgba(53, 71, 230, .55);
  transform: rotate(-4deg);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-14px); } }
.phone-screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: var(--bg); color: var(--ink); display: flex; flex-direction: column; }
.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; border-radius: 20px; background: #05070F; z-index: 3; }
.ps-head { background: var(--navy); color: #fff; padding: 48px 20px 64px; border-radius: 0 0 28px 28px; position: relative; overflow: hidden; }
.ps-head::after { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .1); top: -120px; left: -110px; box-shadow: 0 0 0 40px rgba(255, 255, 255, .03); }
.ps-hello { font-size: 11px; color: #A9B1DC; }
.ps-name { font-size: 14px; font-weight: 800; }
.ps-clock { font-size: 40px; font-weight: 800; letter-spacing: 1px; margin-top: 8px; font-variant-numeric: tabular-nums; }
.ps-shift { display: inline-flex; margin-top: 6px; font-size: 11px; padding: 4px 10px; border-radius: 9px; background: rgba(255, 255, 255, .09); }
.ps-btn { margin: -52px auto 0; width: 132px; height: 132px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; position: relative; z-index: 2; }
.ps-btn::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; border: 5px dashed rgba(53, 71, 230, .22); }
.ps-btn-in { width: 100px; height: 100px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-2), var(--brand)); display: grid; place-items: center; color: #fff; text-align: center; font-size: 12px; font-weight: 800; box-shadow: 0 14px 30px -10px rgba(53, 71, 230, .8); }
.ps-btn-in svg { width: 34px; height: 34px; margin: 0 auto 2px; }
.ps-status { text-align: center; font-size: 11.5px; color: var(--text-2); font-weight: 700; margin-top: 10px; }
.ps-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 14px 0; }
.ps-tile { background: #fff; border-radius: 14px; padding: 9px; box-shadow: var(--shadow-sm); }
.ps-tile b { display: block; font-size: 10.5px; }
.ps-tile small { color: var(--muted); font-size: 9.5px; }
.ps-tile i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; margin-bottom: 6px; }
.ps-tile i svg { width: 14px; height: 14px; }
.ps-nav { margin: auto 12px 12px; height: 54px; border-radius: 20px; background: var(--navy); display: flex; justify-content: space-around; align-items: center; }
.ps-nav span { width: 20px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .25); }
.ps-nav span.on { background: var(--brand-2); width: 28px; }

.float-card {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 18px; background: rgba(255, 255, 255, .96); color: var(--ink);
  box-shadow: 0 24px 48px -18px rgba(0, 0, 0, .45); font-size: 13px; font-weight: 700; white-space: nowrap;
  animation: bob 6s ease-in-out infinite;
}
.float-card small { display: block; font-weight: 600; color: var(--muted); font-size: 11.5px; }
.float-card .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; }
.float-card .ic svg { width: 20px; height: 20px; }
.float-card.fc-1 { top: 60px; left: -10px; }
.float-card.fc-2 { top: 300px; right: -24px; animation-delay: 1.5s; }
.float-card.fc-3 { bottom: 30px; left: 10px; animation-delay: 3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 960px) {
  .hero { padding: 56px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { text-align: center; justify-items: center; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-visual { min-height: 520px; }
  .float-card.fc-1 { left: 0; top: 30px; }
  .float-card.fc-2 { right: 0; }
}
@media (max-width: 420px) { .h-display { font-size: 25px; } }
@media (max-width: 480px) {
  .phone { width: 250px; height: 510px; }
  .float-card { font-size: 12px; padding: 10px 12px; }
  .float-card .ic { width: 32px; height: 32px; }
  .float-card.fc-1 { top: 6px; left: 4px; }
  .float-card.fc-2 { top: auto; bottom: 40px; right: 4px; }
  .float-card.fc-3 { display: none; }
}

/* نوار روش‌ها */
.methods-strip { margin-top: -44px; position: relative; z-index: 5; }
.methods-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line-2);
  display: grid; grid-template-columns: repeat(5, 1fr); overflow: hidden;
}
.methods-card > div { padding: 22px 20px; display: flex; gap: 12px; align-items: center; border-inline-start: 1px solid var(--line-2); }
.methods-card > div:first-child { border-inline-start: 0; }
.methods-card .ic { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); }
.methods-card .ic svg { width: 22px; height: 22px; }
.methods-card b { display: block; font-size: 15px; color: var(--ink); }
.methods-card small { color: var(--muted); font-size: 12.5px; }
@media (max-width: 960px) {
  .methods-card { grid-template-columns: 1fr 1fr; }
  .methods-card > div { border-inline-start: 0; border-top: 1px solid var(--line-2); }
  .methods-card > div:nth-child(-n+2) { border-top: 0; }
  .methods-card > div:last-child { grid-column: 1 / -1; }
}

/* ───────── کارت‌ها و گرید ویژگی‌ها ───────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 18.5px; margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 15px; line-height: 1.95; }
.icon-box { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; background: var(--brand-tint); color: var(--brand); }
.icon-box svg { width: 26px; height: 26px; }
.icon-box.mint { background: var(--mint-tint); color: #067647; }
.icon-box.amber { background: var(--amber-tint); color: #B54708; }
.icon-box.rose { background: var(--rose-tint); color: #B42318; }
.icon-box.navy { background: var(--navy); color: #fff; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento > .card { grid-column: span 2; }
.bento > .card.span-3 { grid-column: span 3; }
.bento > .card.span-4 { grid-column: span 4; }
.bento .card.feature-dark {
  background: radial-gradient(500px 260px at 100% 0%, rgba(110, 123, 255, .35), transparent 60%), var(--navy);
  color: #fff; border-color: transparent;
}
.bento .card.feature-dark h3 { color: #fff; }
.bento .card.feature-dark p { color: #B8BFE6; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } .bento > .card, .bento > .card.span-3, .bento > .card.span-4 { grid-column: span 2; } }
@media (min-width: 641px) and (max-width: 960px) { .bento > .card { grid-column: span 1; } }

.mini-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.mini-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: inherit; }
.mini-list li::before {
  content: ''; flex: none; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%;
  background: var(--mint-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23067647' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
}
.feature-dark .mini-list li::before { background-color: rgba(50, 213, 131, .18); }

/* نمایش شیفت (در بنتو) */
.rota { display: grid; grid-template-columns: 70px repeat(7, 1fr); gap: 6px; margin-top: 18px; font-size: 11.5px; }
.rota span { height: 30px; border-radius: 8px; display: grid; place-items: center; font-weight: 700; }
.rota .n { justify-content: start; color: #B8BFE6; font-weight: 600; background: none; }
.rota .m { background: rgba(110, 123, 255, .25); color: #D6DAFF; }
.rota .e { background: rgba(247, 144, 9, .22); color: #FEC84B; }
.rota .x { background: rgba(255, 255, 255, .05); color: #6B739E; }
.rota .h { color: #8C95C8; background: none; }

/* ───────── مراحل ───────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before {
  counter-increment: s; content: counter(s, persian);
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 18px;
}
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--text-2); font-size: 14.5px; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ───────── ارقام ───────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.stats > div { background: #fff; padding: 30px 24px; text-align: center; }
.stats b { display: block; font-size: 38px; font-weight: 800; color: var(--ink); line-height: 1.3; }
.stats b em { font-style: normal; color: var(--brand); }
.stats span { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stats b { font-size: 26px; } .stats > div { padding: 22px 14px; } }

/* ───────── دو ستونه با تصویر ───────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.rev > :first-child { order: 0; } }

.panel-visual {
  border-radius: var(--radius-lg); padding: 28px; min-height: 380px; position: relative; overflow: hidden;
  background: radial-gradient(500px 300px at 100% 0%, rgba(110, 123, 255, .35), transparent 60%), var(--navy); color: #fff;
}
.pv-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); margin-bottom: 10px; }
.pv-row .av { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: rgba(110, 123, 255, .3); font-weight: 800; font-size: 14px; }
.pv-row b { font-size: 14px; }
.pv-row small { display: block; color: #A9B1DC; font-size: 12px; }
.pv-row .tag { margin-inline-start: auto; font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.tag-mint { background: rgba(50, 213, 131, .18); color: #75E0A7; }
.tag-amber { background: rgba(247, 144, 9, .2); color: #FEC84B; }
.tag-brand { background: rgba(110, 123, 255, .25); color: #C7CCFF; }

/* ───────── قیمت‌گذاری ───────── */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: 32px 28px;
  border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan.featured { background: radial-gradient(420px 240px at 100% 0%, rgba(110, 123, 255, .4), transparent 60%), var(--navy); color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); }
.plan.featured h3, .plan.featured .price b { color: #fff; }
.plan.featured .plan-desc, .plan.featured .price span, .plan.featured .plan-cap { color: #B8BFE6; }
.plan-badge { position: absolute; top: -13px; right: 24px; padding: 5px 14px; border-radius: 999px; background: linear-gradient(90deg, var(--mint), var(--mint-2)); color: #fff; font-size: 12.5px; font-weight: 800; box-shadow: 0 8px 18px -8px rgba(23, 178, 106, .8); }
.plan h3 { font-size: 21px; }
.plan-desc { color: var(--text-2); font-size: 14.5px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font-size: 40px; font-weight: 800; color: var(--ink); line-height: 1.2; letter-spacing: -1px; }
.price span { color: var(--muted); font-size: 14px; }
.plan-cap { font-size: 14px; font-weight: 700; color: var(--brand); }
.plan .mini-list { margin: 0; flex: 1; }
.plan-foot { display: grid; gap: 8px; }

/* ───────── سوالات متداول ───────── */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: rgba(53, 71, 230, .35); box-shadow: 0 16px 36px -24px rgba(53, 71, 230, .5); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 16px; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 30px; height: 30px; border-radius: 10px; background: var(--line-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1026' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/14px no-repeat;
  transition: transform .3s var(--ease), background-color .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--brand-tint); }
.faq .ans { padding: 0 24px 22px; color: var(--text-2); font-size: 15px; line-height: 2; }

/* ───────── CTA ───────── */
.cta {
  position: relative; overflow: hidden; border-radius: 32px; padding: 64px 56px; color: #fff;
  background: radial-gradient(600px 300px at 0% 100%, rgba(23, 178, 106, .25), transparent 60%), radial-gradient(700px 360px at 100% 0%, rgba(110, 123, 255, .45), transparent 60%), var(--navy);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
}
.cta::after { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .08); left: -120px; top: -180px; box-shadow: 0 0 0 60px rgba(255, 255, 255, .02), 0 0 0 120px rgba(255, 255, 255, .015); }
.cta h2 { color: #fff; }
.cta p { color: #B8BFE6; margin-top: 12px; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; position: relative; z-index: 1; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; padding: 44px 28px; text-align: center; } .cta .actions { justify-content: center; } }

/* ───────── هدر صفحه‌های داخلی ───────── */
.page-hero {
  position: relative; overflow: hidden; color: #fff; padding: 84px 0 96px; isolation: isolate;
  background: radial-gradient(700px 360px at 90% 0%, rgba(110, 123, 255, .35), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(53, 71, 230, .3), transparent 60%), var(--navy);
}
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(#000, transparent); -webkit-mask-image: linear-gradient(#000, transparent); }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #B8BFE6; max-width: 680px; }
.page-hero .inner { display: grid; gap: 16px; justify-items: start; }
.page-hero.center .inner { justify-items: center; text-align: center; }
.page-hero.center .lead { margin-inline: auto; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: #8C95C8; }
.crumbs a:hover { color: #fff; }
.crumbs span.sep { opacity: .5; }
.overlap { margin-top: -56px; position: relative; z-index: 3; }

/* ───────── فرم‌ها ───────── */
.form-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 36px; }
@media (max-width: 560px) { .form-card { padding: 24px 18px; border-radius: 22px; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label, .label { font-size: 14px; font-weight: 700; color: var(--text); }
.field label .req { color: var(--rose); }
.field .hint { font-size: 12.5px; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff;
  font-size: 15px; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
}
.textarea { height: auto; min-height: 130px; padding: 14px 16px; resize: vertical; line-height: 1.9; }
.select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") left 14px center/18px no-repeat; padding-left: 40px; }
.input:hover, .select:hover, .textarea:hover { border-color: #D0D5DD; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(53, 71, 230, .12); }
.input.ltr { direction: ltr; text-align: left; }
.input::placeholder, .textarea::placeholder { color: #98A2B3; }
.is-invalid { border-color: var(--rose) !important; }
.err { color: #B42318; font-size: 12.5px; font-weight: 600; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; font-size: 14.5px; font-weight: 600; line-height: 1.9; }
.alert svg { flex: none; width: 20px; height: 20px; margin-top: 3px; }
.alert-error { background: var(--rose-tint); color: #B42318; }
.alert-success { background: var(--mint-tint); color: #067647; }
.alert-info { background: var(--brand-tint); color: #2433C4; }
.alert-warn { background: var(--amber-tint); color: #93370D; }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.choice { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); cursor: pointer; font-size: 14px; font-weight: 600; color: var(--text); transition: border-color .2s, background .2s; user-select: none; }
.choice:hover { border-color: #C7CCFF; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .box { flex: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #D0D5DD; display: grid; place-items: center; transition: all .2s; }
.choice input[type=radio] + .box { border-radius: 50%; }
.choice input:checked + .box { background: var(--brand); border-color: var(--brand); box-shadow: inset 0 0 0 3px #fff; }
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); }
.choice input:focus-visible + .box { box-shadow: 0 0 0 4px rgba(53, 71, 230, .2); }

.stepper-num { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; height: 50px; }
.stepper-num button { width: 50px; height: 100%; border: 0; background: var(--line-2); font-size: 20px; cursor: pointer; color: var(--ink); }
.stepper-num button:hover { background: var(--brand-tint); color: var(--brand); }
.stepper-num input { border: 0; height: 100%; flex: 1; text-align: center; font-size: 17px; font-weight: 800; outline: none; min-width: 0; }
.range-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.range-chips button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 12px; font-size: 12.5px; font-weight: 700; color: var(--text-2); cursor: pointer; }
.range-chips button:hover, .range-chips button.on { border-color: var(--brand); color: var(--brand); background: var(--brand-tint); }

.captcha-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.captcha-row img { height: 50px; border-radius: 12px; border: 1px solid var(--line); }
.captcha-row .input { width: 150px; }

/* ───────── تماس ───────── */
.contact-cards { display: grid; gap: 14px; }
.c-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: border-color .2s, transform .3s var(--ease); }
a.c-item:hover { border-color: #C7CCFF; transform: translateY(-2px); }
.c-item .ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); }
.c-item .ic svg { width: 22px; height: 22px; }
.c-item small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.c-item b { font-size: 15.5px; color: var(--ink); word-break: break-word; }
.map-frame { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); height: 320px; background: var(--line-2); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ───────── بلاگ ───────── */
.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
@media (max-width: 960px) { .blog-layout { grid-template-columns: 1fr; } }
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.post-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .post-grid.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .post-grid, .post-grid.three { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); height: 100%; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-thumb { aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy-3), var(--navy)); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-thumb .ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .85); font-weight: 800; font-size: 22px; padding: 20px; text-align: center; line-height: 1.6;
  background: radial-gradient(300px 160px at 100% 0%, rgba(110, 123, 255, .5), transparent 60%), radial-gradient(260px 140px at 0% 100%, rgba(23, 178, 106, .25), transparent 60%); }
.post-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-body h3 { font-size: 18px; line-height: 1.7; }
.post-body p { color: var(--text-2); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin-top: auto; padding-top: 6px; }
.post-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: #D0D5DD; }
.post-card.lead-post { grid-column: 1 / -1; flex-direction: row; }
.post-card.lead-post .post-thumb { flex: 1.1; aspect-ratio: auto; min-height: 320px; }
.post-card.lead-post .post-body { flex: 1; padding: 34px; justify-content: center; }
.post-card.lead-post h3 { font-size: 26px; }
@media (max-width: 760px) { .post-card.lead-post { flex-direction: column; } .post-card.lead-post .post-thumb { min-height: 200px; } .post-card.lead-post h3 { font-size: 20px; } }

.side-box { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.side-box + .side-box { margin-top: 18px; }
.side-box h4 { font-size: 16px; margin-bottom: 14px; }
.cat-list { display: grid; gap: 4px; }
.cat-list a { display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 12px; font-size: 14.5px; font-weight: 600; color: var(--text-2); }
.cat-list a:hover, .cat-list a.on { background: var(--brand-tint); color: var(--brand); }
.cat-list a span { font-size: 12px; background: var(--line-2); padding: 1px 9px; border-radius: 999px; }
.side-cta { background: radial-gradient(300px 200px at 100% 0%, rgba(110, 123, 255, .45), transparent 60%), var(--navy); color: #fff; border: 0; }
.side-cta h4 { color: #fff; }
.side-cta p { color: #B8BFE6; font-size: 14px; margin-bottom: 16px; }

.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; font-weight: 700; color: var(--text-2); }
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager .on { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager .off { opacity: .45; }

/* مقاله */
.article-hero { padding: 64px 0 40px; background: linear-gradient(180deg, var(--bg), #fff); }
.article-hero .inner { max-width: 820px; margin: 0 auto; display: grid; gap: 18px; }
.article-hero h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.5; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; color: var(--muted); font-size: 14px; }
.article-meta .who { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; }
.article-meta .who i { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: #fff; font-style: normal; font-weight: 800; }
.article-cover { max-width: 1000px; margin: 0 auto; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 8; background: var(--navy); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-wrap { display: grid; grid-template-columns: 1fr 240px; gap: 56px; max-width: 1080px; margin: 48px auto 0; align-items: start; }
@media (max-width: 960px) { .article-wrap { grid-template-columns: 1fr; gap: 24px; } .toc-box { order: -1; } }
.toc-box { position: sticky; top: 96px; }
.toc-box ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; border-inline-start: 2px solid var(--line); }
.toc-box ol a { display: block; padding: 6px 14px; margin-inline-start: -2px; border-inline-start: 2px solid transparent; font-size: 14px; color: var(--text-2); line-height: 1.8; }
.toc-box ol a:hover, .toc-box ol a.on { color: var(--brand); border-inline-start-color: var(--brand); }
.share { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.share a, .share button { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--text-2); }
.share a:hover, .share button:hover { color: var(--brand); border-color: var(--brand); }
.share svg { width: 18px; height: 18px; }

.prose { font-size: 17.5px; line-height: 2.2; color: #26303F; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 26px; margin-top: 1.9em; scroll-margin-top: 96px; }
.prose h3 { font-size: 21px; margin-top: 1.6em; scroll-margin-top: 96px; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--brand); }
.prose blockquote { margin: 1.6em 0; padding: 18px 22px; border-radius: 16px; background: var(--brand-tint); border-inline-start: 4px solid var(--brand); color: #2433C4; font-weight: 600; }
.prose img { border-radius: 18px; margin: 1.6em auto; }
.prose code { background: var(--line-2); padding: 2px 8px; border-radius: 8px; font-size: .9em; direction: ltr; unicode-bidi: embed; }
.prose pre { background: var(--navy); color: #E4E7EC; padding: 18px; border-radius: 16px; overflow-x: auto; direction: ltr; text-align: left; }
.prose pre code { background: none; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: start; }
.prose th { background: var(--bg); }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }

/* ───────── درباره ما ───────── */
.values .card { padding: 26px; }
.timeline { display: grid; gap: 0; position: relative; }
.timeline::before { content: ''; position: absolute; top: 8px; bottom: 8px; right: 21px; width: 2px; background: linear-gradient(var(--brand), var(--mint)); border-radius: 2px; }
.tl-item { position: relative; padding: 0 64px 32px 0; }
.tl-item::before { content: ''; position: absolute; right: 12px; top: 6px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); }
.tl-item h4 { font-size: 17px; }
.tl-item p { color: var(--text-2); font-size: 15px; }

/* ───────── صفحه‌های متنی (قوانین/حریم خصوصی) ───────── */
.legal { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 44px; box-shadow: var(--shadow); }
@media (max-width: 640px) { .legal { padding: 26px 20px; } }
.legal .prose { font-size: 16px; line-height: 2.1; }
.legal .prose h2 { font-size: 20px; }

/* ───────── فوتر ───────── */
.site-footer { background: var(--navy); color: #A9B1DC; position: relative; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; width: 700px; height: 700px; border-radius: 50%; left: -300px; bottom: -420px; background: radial-gradient(circle, rgba(53, 71, 230, .35), transparent 65%); pointer-events: none; }
.footer-top { padding: 72px 0 44px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; position: relative; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; gap: 32px; } }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: #8C95C8; }
.f-about p { margin: 16px 0 20px; font-size: 14.5px; line-height: 2; }
.site-footer h5 { color: #fff; font-size: 15.5px; font-weight: 800; margin-bottom: 18px; }
.f-links { display: grid; gap: 10px; }
.f-links a { font-size: 14.5px; transition: color .2s, transform .2s; display: inline-block; }
.f-links a:hover { color: #fff; transform: translateX(-3px); }
.f-contact { display: grid; gap: 12px; font-size: 14.5px; }
.f-contact div { display: flex; gap: 10px; align-items: flex-start; }
.f-contact svg { flex: none; width: 18px; height: 18px; margin-top: 5px; color: var(--brand-3); }
.f-contact a:hover { color: #fff; }
.socials { display: flex; gap: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); color: #C7CCFF; transition: background .2s, transform .2s; }
.socials a:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.trust-row > * { background: #fff; border-radius: 14px; padding: 6px; display: grid; place-items: center; min-width: 96px; min-height: 96px; }
.trust-row img { max-height: 90px; width: auto; }
.footer-bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: #8C95C8; }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }
.f-app { margin-top: 18px; display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; font-weight: 700; font-size: 14px; }
.f-app svg { width: 24px; height: 24px; color: var(--mint-2); }
.f-app small { display: block; font-size: 11.5px; color: #8C95C8; font-weight: 600; }

/* ───────── انیمیشن ورود ───────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ───────── صفحه‌ی ورود ───────── */
body.auth { min-height: 100vh; background: var(--bg); }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1fr 1.05fr; }
.auth-side {
  position: relative; overflow: hidden; color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; isolation: isolate;
  background: radial-gradient(700px 400px at 100% 0%, rgba(110, 123, 255, .45), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(23, 178, 106, .2), transparent 60%), var(--navy);
}
.auth-side::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%); }
.auth-side .brand { color: #fff; }
.auth-side .brand small { color: #8C95C8; }
.auth-side h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); line-height: 1.5; }
.auth-side p { color: #B8BFE6; margin-top: 12px; max-width: 460px; }
.auth-points { display: grid; gap: 12px; margin-top: 28px; }
.auth-points div { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); max-width: 440px; font-weight: 600; font-size: 14.5px; }
.auth-points i { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: rgba(110, 123, 255, .25); color: #D6DAFF; flex: none; }
.auth-points svg { width: 18px; height: 18px; }
.auth-foot { font-size: 13px; color: #8C95C8; }
.auth-main { display: grid; place-items: center; padding: 40px 24px; position: relative; }
.auth-card { width: 100%; max-width: 440px; }
.auth-card .top-links { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.auth-card h1 { font-size: 28px; }
.auth-card .sub { color: var(--muted); margin: 6px 0 28px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 16px; background: #EAECF0; margin-bottom: 24px; position: relative; }
.seg button { position: relative; z-index: 1; height: 44px; border: 0; background: none; border-radius: 12px; font-weight: 700; font-size: 14.5px; color: var(--text-2); cursor: pointer; transition: color .25s; }
.seg button.on { color: var(--ink); }
.seg .pill { position: absolute; top: 5px; bottom: 5px; width: calc(50% - 5px); right: 5px; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(16, 24, 40, .1); transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.seg[data-tab="sms"] .pill { transform: translateX(-100%); }
.auth-pane { display: none; }
.auth-pane.on { display: grid; gap: 18px; animation: fadeUp .45s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.input-icon { position: relative; }
.input-icon svg { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: #98A2B3; pointer-events: none; }
.input-icon .input { padding-right: 46px; }
.input-icon .eye { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; background: none; border-radius: 10px; cursor: pointer; color: #98A2B3; display: grid; place-items: center; }
.input-icon .eye svg { position: static; transform: none; }
.input-icon .eye:hover { background: var(--line-2); color: var(--ink); }
.otp-boxes { display: flex; gap: 10px; direction: ltr; justify-content: center; }
.otp-boxes input { width: 58px; height: 66px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; text-align: center; font-size: 26px; font-weight: 800; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.otp-boxes input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(53, 71, 230, .12); }
.otp-boxes input.filled { background: var(--brand-tint); border-color: #C7CCFF; }
@media (max-width: 420px) { .otp-boxes input { width: 50px; height: 58px; } }
.test-code { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--amber-tint); border: 1px solid #FEDF89; color: #93370D; }
.test-code b { font-size: 24px; letter-spacing: 6px; direction: ltr; display: block; }
.test-code small { font-weight: 700; font-size: 12px; }
.tenant-opt { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.tenant-opt:hover { border-color: #C7CCFF; transform: translateY(-1px); }
.tenant-opt:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); }
.tenant-opt input { accent-color: var(--brand); width: 18px; height: 18px; }
.tenant-opt i { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: #fff; font-style: normal; font-weight: 800; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 6px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
@media (min-width: 961px) { .auth-card .top-links .brand { visibility: hidden; } }
@media (max-width: 960px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-main { padding-top: 28px; align-items: start; }
}

/* ───────── خرید اشتراک (مراحل) ───────── */
.checkout-steps { display: flex; justify-content: center; gap: 0; margin-bottom: 28px; }
.checkout-steps div { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: #8C95C8; }
.checkout-steps div + div::before { content: ''; width: 44px; height: 2px; background: rgba(255, 255, 255, .15); margin: 0 10px; border-radius: 2px; }
.checkout-steps i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.checkout-steps .on { color: #fff; }
.checkout-steps .on i { background: var(--brand); border-color: var(--brand); }
.checkout-steps .done i { background: var(--mint); border-color: var(--mint); }
@media (max-width: 520px) { .checkout-steps div span { display: none; } .checkout-steps div + div::before { width: 28px; } }
.summary { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.summary div { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; font-size: 15px; }
.summary div + div { border-top: 1px solid var(--line-2); }
.summary span { color: var(--muted); }
.summary b { color: var(--ink); text-align: left; }
.summary .total { background: var(--brand-tint); }
.summary .total b { color: var(--brand); font-size: 19px; }
.bank-card { border-radius: 22px; padding: 24px; color: #fff; position: relative; overflow: hidden; background: radial-gradient(360px 200px at 100% 0%, rgba(110, 123, 255, .6), transparent 60%), linear-gradient(135deg, var(--navy-3), var(--navy)); box-shadow: var(--shadow); }
.bank-card .num { font-size: 22px; font-weight: 800; letter-spacing: 3px; direction: ltr; text-align: left; margin: 18px 0 12px; font-variant-numeric: tabular-nums; }
.bank-card small { color: #A9B1DC; display: block; font-size: 12px; }
.bank-card .copy { position: absolute; top: 18px; left: 18px; }
.file-drop { display: grid; place-items: center; gap: 8px; text-align: center; padding: 28px; border: 2px dashed #C7CCFF; border-radius: 18px; background: var(--brand-tint); cursor: pointer; color: var(--brand); font-weight: 700; transition: background .2s, border-color .2s; }
.file-drop:hover { background: #E3E6FF; border-color: var(--brand); }
.file-drop input { display: none; }
.file-drop small { color: var(--muted); font-weight: 600; }
.status-hero { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 8px 0 22px; }
.status-hero .ring { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; }
.status-hero .ring svg { width: 40px; height: 40px; }
