/* ============================================================
   نوسئو — استایل وب‌سایت عمومی
   طراحی بر اساس مدل alefsend.ir (توکن‌ها، گلس، گرادیان، تب‌بار)
   + اضافات بلاگ: کارت مقاله، prose، صفحه‌بندی
   ============================================================ */
:root {
  --radius: 1.15rem;
  --violet: oklch(53% .235 291);
  --violet-soft: oklch(72% .16 293);
  --azure: oklch(62% .185 253);
  --azure-soft: oklch(80% .1 235);
  --ember: oklch(73% .183 52);
  --ember-soft: oklch(86% .11 68);
  --ink: oklch(19% .035 285);
  --surface: oklch(98% .006 285);
  --background: oklch(99.5% .003 285);
  --foreground: oklch(19% .035 285);
  --card: oklch(100% 0 0);
  --card-foreground: oklch(19% .035 285);
  --muted: oklch(96.5% .008 285);
  --muted-foreground: oklch(53% .025 285);
  --accent: oklch(95% .03 290);
  --accent-foreground: oklch(35% .12 291);
  --border: oklch(92% .01 285);
  --primary: oklch(53% .235 291);
  --primary-foreground: oklch(99% .005 285);
  --gradient-brand: linear-gradient(120deg, var(--violet) 0%, var(--azure) 55%, var(--ember) 115%);
  --gradient-soft: linear-gradient(135deg, color-mix(in oklab, var(--violet) 12%, transparent), color-mix(in oklab, var(--azure) 10%, transparent) 50%, color-mix(in oklab, var(--ember) 12%, transparent));
  --shadow-soft: 0 1px 2px oklch(19% .035 285 / .04), 0 12px 32px -18px oklch(19% .035 285 / .28);
  --shadow-glow: 0 24px 70px -28px color-mix(in oklab, var(--violet) 60%, transparent);
  --font: "Vazirmatn", ui-sans-serif, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body {
  min-height: 100%;
  overflow-x: hidden;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body { overflow-x: hidden; }
h1, h2, h3, h4 { letter-spacing: -.02em; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.ix { display: inline-block; vertical-align: middle; flex-shrink: 0; width: 20px; height: 20px; }
/* نگاشت اندازه‌ها بدون Tailwind (سایت استاتیک است) */
.ix.w-3\.5 { width: 14px; height: 14px; }
.ix.w-4 { width: 16px; height: 16px; }
.ix.w-5 { width: 20px; height: 20px; }
.ix.w-6 { width: 24px; height: 24px; }
.ix.w-10 { width: 40px; height: 40px; }
.ix.w-12 { width: 48px; height: 48px; }
.wrap { width: min(1180px, 92%); margin-inline: auto; }
.muted { color: var(--muted-foreground); }
.text-gradient {
  background-image: var(--gradient-brand);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}
.bg-brand { background-image: var(--gradient-brand); }
.bg-brand-soft { background-image: var(--gradient-soft); }
.shadow-glow { box-shadow: var(--shadow-glow); }
.glass {
  background: color-mix(in oklab, var(--card) 72%, transparent);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid color-mix(in oklab, var(--border) 90%, transparent);
}
.surface-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-soft);
}
.aurora {
  position: absolute;
  border-radius: 9999px;
  filter: blur(80px);
  opacity: .5;
  pointer-events: none;
}
.grid-lines {
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--border) 70%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--border) 70%, transparent) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000, #0000);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, #0000);
}
.tone-violet { background: color-mix(in oklab, var(--violet) 12%, transparent); color: var(--violet); }
.tone-azure { background: color-mix(in oklab, var(--azure) 12%, transparent); color: var(--azure); }
.tone-ember { background: color-mix(in oklab, var(--ember) 15%, transparent); color: var(--ember); }

/* ---------- برند و هدر ---------- */
.lf-mark,
.lf-mark.bg-brand {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  flex: 0 0 48px; overflow: hidden;
  background-image: var(--gradient-brand);
  color: #fff; font-weight: 800; font-size: 1.35rem;
  box-shadow: var(--shadow-glow);
}
.lf-mark img { width: 42px; height: 42px; object-fit: contain; }
.lf-brand { display: flex; align-items: center; gap: 10px; }
.lf-brand strong { font-size: 1.125rem; font-weight: 800; }

.lf-header { position: sticky; top: 0; z-index: 50; width: 100%; }
.lf-nav {
  width: min(1180px, 94%);
  margin: 16px auto 0;
  display: flex; align-items: center; justify-content: space-between;
  border-radius: 999px; padding: 8px 12px 8px 16px;
}
.lf-links { display: none; align-items: center; gap: 4px; }
.lf-links a {
  border-radius: 999px; padding: 8px 14px;
  font-size: .875rem; font-weight: 500; color: var(--muted-foreground);
}
.lf-links a:hover { background: var(--accent); color: var(--accent-foreground); }
.lf-links a.active {
  background: var(--accent); color: var(--accent-foreground); font-weight: 700;
}
.lf-actions { display: flex; align-items: center; gap: 8px; }
.lf-actions .btn.login, .lf-actions .btn.brand { display: none; }
.lf-actions .btn.brand { padding: 8px 16px; font-weight: 600; }
.lf-signup {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 999px;
  color: var(--violet);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.lf-signup:hover { color: var(--azure); transform: none; }

/* ---------- تب‌بار موبایل ---------- */
.lf-tabbar {
  display: none;
  position: fixed; z-index: 60;
  right: 12px; left: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  align-items: center; gap: 2px;
  padding: 6px;
  border-radius: 28px;
  box-shadow: var(--shadow-glow), var(--shadow-soft);
}
.lf-tabbar a {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  gap: 6px;
  height: 46px;
  flex: 1 1 0; min-width: 0; width: auto;
  border-radius: 999px;
  color: var(--muted-foreground);
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  transition: flex .45s cubic-bezier(.22, 1, .36, 1), background .25s, color .25s, box-shadow .25s, padding .45s cubic-bezier(.22, 1, .36, 1);
}
.lf-tabbar a .ix { flex-shrink: 0; }
.lf-tabbar a span {
  max-width: 0; opacity: 0;
  font-size: 12px; font-weight: 800; white-space: nowrap;
  overflow: hidden;
  transition: max-width .45s cubic-bezier(.22, 1, .36, 1), opacity .25s;
}
.lf-tabbar a.active {
  flex: 2.4 1 0;
  padding: 0 12px;
  color: var(--primary-foreground);
  background-image: var(--gradient-brand);
  box-shadow: var(--shadow-glow);
}
.lf-tabbar a.active span { max-width: 8rem; opacity: 1; }
@keyframes lf-tabbar-in {
  from { opacity: 0; transform: translate3d(42%, 120%, 0) scale(.94); }
  to { opacity: 1; transform: none; }
}

/* ---------- دکمه‌ها ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 12px 24px;
  font-size: .875rem; font-weight: 700; border: 0; cursor: pointer;
  background-image: var(--gradient-brand); color: var(--primary-foreground);
  box-shadow: var(--shadow-glow);
  transition: transform .15s, background .15s;
}
.btn:hover { transform: scale(1.03); }
.btn.brand { color: var(--primary-foreground); }
.btn.ghost {
  border: 1px solid var(--border); background: var(--card); background-image: none;
  color: var(--foreground); font-weight: 600; box-shadow: var(--shadow-soft);
}
.btn.ghost:hover { transform: none; background: var(--accent); }
.btn.login {
  background: none; background-image: none; box-shadow: none;
  color: var(--foreground); font-weight: 600; padding: 8px 16px;
}
.btn.login:hover { transform: none; background: var(--accent); }
.btn.block { display: block; width: 100%; text-align: center; }
.btn.block:hover { transform: none; }
.price-card.hot .btn.block:hover { transform: scale(1.02); }
.btn.light { background: var(--card); background-image: none; color: var(--foreground); box-shadow: none; }
.btn.outline-light {
  border: 1px solid rgba(255,255,255,.35); color: #fff;
  background: transparent; background-image: none; box-shadow: none; font-weight: 600;
}
.btn.outline-light:hover { transform: none; }
.btn.dark { background: var(--ink); background-image: none; color: #fff; box-shadow: none; }

/* ---------- هیرو ---------- */
.hero { position: relative; padding: 64px 0 96px; overflow: hidden; }
@media (min-width: 640px) { .hero { padding-top: 96px; } }
.hero-grid { display: grid; align-items: center; gap: 56px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); background: var(--card);
  border-radius: 999px; padding: 6px 14px;
  font-size: .75rem; font-weight: 500; color: var(--muted-foreground);
  box-shadow: var(--shadow-soft);
}
.hero-badge i {
  width: 20px; height: 20px; border-radius: 999px;
  display: grid; place-items: center;
  background: color-mix(in oklab, var(--ember) 15%, transparent); color: var(--ember);
}
.hero h1 {
  margin-top: 24px; font-size: 2.25rem;
  font-weight: 900; line-height: 1.25; letter-spacing: -.025em;
}
@media (min-width: 640px) {
  .hero h1 { font-size: 3rem; line-height: 1.2; }
}
.hero-lead {
  margin-top: 20px; max-width: 36rem;
  font-size: .875rem; line-height: 2; color: var(--muted-foreground);
}
@media (min-width: 640px) {
  .hero-lead { font-size: 1rem; }
}
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-cta .btn.brand:hover .ix { transform: translateX(-4px); }
.hero-cta .btn.brand .ix { transition: transform .15s; }
.hero-pills {
  margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px 24px;
  font-size: .75rem; color: var(--muted-foreground);
}
.hero-pills span { display: inline-flex; align-items: center; gap: 6px; }
.hero-pills .ix { color: var(--violet); }

.chat-card { position: relative; }
.chat-card .surface-card { padding: 20px; overflow: hidden; }
.chat-head { display: flex; align-items: center; justify-content: space-between; }
.chat-who { display: flex; align-items: center; gap: 12px; }
.chat-who .lf-mark { width: 40px; height: 40px; flex-basis: 40px; font-size: 1.1rem; }
.chat-who p { margin: 0; }
.chat-who small { font-size: .75rem; color: var(--muted-foreground); }
.ai-pill {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 999px; padding: 4px 10px;
  background: color-mix(in oklab, var(--violet) 10%, transparent);
  color: var(--violet); font-size: 11px; font-weight: 600;
}
.bubbles { margin-top: 20px; display: grid; gap: 12px; }
.bubble-row { display: flex; }
.bubble-row.in { justify-content: flex-end; }
.bubble-row.out { justify-content: flex-start; }
.bubble {
  max-width: 80%; border-radius: 24px; padding: 10px 16px;
  font-size: 13px; line-height: 1.7;
}
.bubble.in { background: var(--muted); border-bottom-left-radius: 8px; }
.bubble.out {
  background-image: var(--gradient-brand); color: var(--primary-foreground);
  border-bottom-right-radius: 8px;
}
.mini-feats { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-feat {
  border: 1px solid var(--border); background: var(--surface);
  border-radius: 16px; padding: 12px;
}
.mini-feat i {
  width: 32px; height: 32px; border-radius: 12px;
  display: grid; place-items: center;
}
.mini-feat p { margin-top: 8px; font-size: 11px; font-weight: 600; }
.float-rate {
  position: absolute; bottom: -24px; left: 8px;
  border-radius: 24px; padding: 12px 16px;
  display: none; box-shadow: var(--shadow-soft);
  animation: float-y 6s ease-in-out infinite;
}
.float-rate p { margin: 0; font-size: 11px; color: var(--muted-foreground); }
.float-rate b { font-size: 1.25rem; font-weight: 900; }
@keyframes float-y { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.stats-card { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 32px; text-align: center; }
.stats-card b { font-size: clamp(1.4rem, 3vw, 1.875rem); font-weight: 900; }
.stats-card span { display: block; margin-top: 4px; font-size: .75rem; color: var(--muted-foreground); }

/* ---------- سکشن‌ها ---------- */
.lf-section { margin-top: 112px; scroll-margin-top: 112px; }
#features.lf-section { margin-top: 96px; }
.sec-head { max-width: 42rem; }
.sec-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center;
  border: 1px solid var(--border); background: var(--card);
  border-radius: 999px; padding: 4px 12px;
  font-size: .75rem; font-weight: 500; color: var(--muted-foreground);
}
.sec-head h2 { margin-top: 16px; font-size: clamp(1.7rem, 3vw, 2.25rem); font-weight: 800; }
.sec-head p { margin-top: 12px; font-size: .95rem; line-height: 1.85; color: var(--muted-foreground); }

.feat-grid { margin-top: 48px; display: grid; gap: 20px; }
.feat-card { padding: 24px; height: 100%; transition: transform .2s; }
.feat-card:hover { transform: translateY(-6px); }
.feat-ico {
  width: 48px; height: 48px; border-radius: 16px;
  display: grid; place-items: center;
}
.feat-card h3 { margin-top: 20px; font-size: 1rem; }
.feat-card p { margin-top: 8px; font-size: .875rem; line-height: 1.85; color: var(--muted-foreground); }

.ai-panel { padding: 32px; overflow: hidden; display: grid; gap: 40px; }
.ai-panel > .cfg-card { align-self: center; width: 100%; }
.ai-mini { margin-top: 32px; display: grid; gap: 16px; }
.ai-chip {
  display: flex; gap: 12px;
  border: 1px solid var(--border); background: color-mix(in oklab, var(--card) 70%, transparent);
  border-radius: 16px; padding: 16px;
}
.ai-chip i {
  width: 40px; height: 40px; border-radius: 12px; flex: 0 0 40px;
  display: grid; place-items: center;
  background: color-mix(in oklab, var(--violet) 12%, transparent); color: var(--violet);
}
.ai-chip p { margin: 0; font-size: .875rem; font-weight: 700; }
.ai-chip small { display: block; margin-top: 4px; font-size: .75rem; line-height: 1.6; color: var(--muted-foreground); font-weight: 400; }
.cfg-card { padding: 24px; }
.cfg-card > p { font-size: .75rem; font-weight: 600; color: var(--muted-foreground); }
.cfg-row {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--muted); border-radius: 16px; padding: 12px 16px; font-size: .875rem;
}
.cfg-rows { margin-top: 16px; display: grid; gap: 12px; }
.cfg-solve { margin-top: 20px; border-radius: 16px; padding: 16px; color: var(--primary-foreground); }
.cfg-solve p { margin: 0; font-size: .75rem; opacity: .8; }
.cfg-solve b { display: block; margin-top: 4px; font-size: 1.875rem; font-weight: 900; }
.cfg-channels { margin-top: 16px; }
.cfg-channels .ai-chip + .ai-chip { margin-top: 10px; }

.otp-panel {
  padding: 32px; overflow: hidden; display: grid; gap: 32px;
  background:
    radial-gradient(420px 240px at 0% 0%, color-mix(in oklab, var(--ember) 18%, transparent), transparent 70%),
    radial-gradient(360px 220px at 100% 100%, color-mix(in oklab, var(--azure) 16%, transparent), transparent 72%),
    var(--gradient-soft);
}
.otp-mini { margin-top: 28px; display: grid; gap: 14px; }
.otp-chip {
  display: flex; gap: 12px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--card) 78%, transparent);
  border-radius: 16px; padding: 16px;
}
.otp-chip i {
  width: 40px; height: 40px; border-radius: 12px; flex: 0 0 40px;
  display: grid; place-items: center;
  background: color-mix(in oklab, var(--ember) 14%, transparent); color: var(--ember);
}
.otp-chip p { margin: 0; font-size: .875rem; font-weight: 700; }
.otp-chip small { display: block; margin-top: 4px; font-size: .75rem; line-height: 1.6; color: var(--muted-foreground); font-weight: 400; }
.otp-price-card {
  padding: 28px; align-self: center;
  border: 1px solid color-mix(in oklab, var(--ember) 22%, var(--border));
  box-shadow: 0 18px 50px color-mix(in oklab, var(--ember) 12%, transparent);
}
.otp-digits {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 20px;
}
.otp-digits span {
  display: grid; place-items: center;
  height: 52px; border-radius: 12px;
  background: color-mix(in oklab, var(--ink) 92%, var(--ember));
  color: #fff; font-size: 1.25rem; font-weight: 800; letter-spacing: .04em;
}
.otp-price-kicker { margin: 0; font-size: .8rem; font-weight: 600; color: var(--muted-foreground); }
.otp-price-amt { display: block; margin-top: 8px; font-size: 2.15rem; font-weight: 900; line-height: 1.1; }
.otp-price-unit { display: block; margin-top: 6px; font-size: .85rem; color: var(--muted-foreground); }
.otp-feat { border-color: color-mix(in oklab, var(--ember) 28%, var(--border)); }

.ch-grid { display: grid; gap: 48px; align-items: center; }
.ch-list { margin-top: 16px; display: grid; gap: 12px; }
.ch-item {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--border); border-radius: 16px; padding: 14px;
}
.ch-item i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; }
.ch-item .flex-1 { flex: 1; min-width: 0; }
.ch-item p { margin: 0; font-size: .875rem; font-weight: 600; }
.ch-item small { font-size: .75rem; color: var(--muted-foreground); font-weight: 400; }
.ch-badge {
  border-radius: 999px; padding: 4px 10px;
  background: color-mix(in oklab, var(--azure) 12%, transparent);
  color: var(--azure); font-size: 11px; font-weight: 600;
}
.check-list { margin-top: 28px; display: grid; gap: 12px; list-style: none; }
.check-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .875rem; color: var(--muted-foreground);
}
.check-list .ix { margin-top: 2px; color: var(--azure); flex-shrink: 0; }

.api-grid { margin-top: 48px; display: grid; gap: 24px; }
.code-win { overflow: hidden; background: var(--ink); border-radius: calc(var(--radius) + 6px); }
.code-bar {
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,.1); padding: 12px 20px;
}
.dot { width: 10px; height: 10px; border-radius: 999px; }
.dot.ember { background: var(--ember); }
.dot.violet { background: var(--violet-soft); }
.dot.azure { background: var(--azure-soft); }
.code-bar span { margin-inline-start: 8px; font-size: 11px; color: rgba(255,255,255,.5); }
.code-win pre {
  overflow-x: auto; padding: 20px; font-size: 12.5px; line-height: 1.75;
  color: rgba(255,255,255,.85); font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  direction: ltr; text-align: left;
}
.api-side { display: grid; gap: 16px; }
.api-row { display: flex; gap: 16px; padding: 20px; }
.api-row i {
  width: 44px; height: 44px; border-radius: 16px; flex: 0 0 44px;
  display: grid; place-items: center;
}
.api-row p { margin: 0; font-size: .875rem; font-weight: 700; }
.api-row small { display: block; margin-top: 4px; font-size: .75rem; line-height: 1.6; color: var(--muted-foreground); font-weight: 400; }

.price-grid { margin-top: 48px; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.price-card { padding: 32px; height: 100%; position: relative; overflow: hidden; }
.price-card.hot { box-shadow: var(--shadow-glow); }
.price-card h3 { margin-top: 20px; font-size: 1.25rem; font-weight: 800; }
.price-card .lead { margin-top: 8px; font-size: .875rem; line-height: 1.85; color: var(--muted-foreground); }
.price-amt { margin-top: 24px; display: flex; align-items: flex-end; gap: 8px; }
.price-amt b { font-size: 2.25rem; font-weight: 900; line-height: 1; }
.price-amt span { padding-bottom: 6px; font-size: .875rem; color: var(--muted-foreground); }
.price-card ul { margin: 24px 0 0; display: grid; gap: 12px; list-style: none; }
.price-card li { display: flex; gap: 10px; font-size: .875rem; color: var(--muted-foreground); }
.price-card li .ix { margin-top: 2px; flex-shrink: 0; color: var(--azure); }
.price-card.hot li .ix { color: var(--violet); }
.badge-hot {
  border-radius: 999px; padding: 4px 12px;
  background: color-mix(in oklab, var(--ember) 15%, transparent);
  color: var(--ember); font-size: 11px; font-weight: 700;
}
.price-ico {
  width: 48px; height: 48px; border-radius: 16px;
  display: grid; place-items: center;
}

.faq-list { margin: 40px auto 0; max-width: 48rem; display: grid; gap: 16px; }
.faq-list details { padding: 20px; }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  cursor: pointer; font-size: .875rem; font-weight: 700; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ix { color: var(--violet); transition: transform .2s; }
.faq-list details[open] summary .ix { transform: rotate(90deg); }
.faq-list details p { margin-top: 12px; font-size: .875rem; line-height: 1.85; color: var(--muted-foreground); }

.final-cta {
  position: relative; overflow: hidden; border-radius: calc(var(--radius) + 28px);
  padding: 56px 32px; text-align: center; color: var(--primary-foreground);
}
.final-cta h2 { position: relative; font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 900; }
.final-cta p { position: relative; margin: 12px auto 0; max-width: 36rem; font-size: .875rem; line-height: 1.85; opacity: .85; }
.final-cta .acts { position: relative; margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- فوتر ---------- */
.lf-footer { margin-top: 96px; border-top: 1px solid var(--border); background: var(--surface); }
.foot-grid { display: grid; gap: 40px; padding: 56px 0; }
.foot-grid h3 { font-size: .875rem; }
.foot-grid ul { margin-top: 16px; display: grid; gap: 10px; list-style: none; font-size: .875rem; color: var(--muted-foreground); }
.foot-grid ul a:hover { color: var(--foreground); }
.foot-copy { border-top: 1px solid var(--border); padding: 20px 0; text-align: center; font-size: .75rem; color: var(--muted-foreground); }
.foot-contact li { display: flex; align-items: center; gap: 8px; }
.foot-about { margin-top: 16px; font-size: .875rem; line-height: 1.9; color: var(--muted-foreground); max-width: 28rem; }

/* ---------- هیرو صفحات داخلی (بلاگ/نوشته) ---------- */
.page-hero { position: relative; padding: 88px 0 48px; overflow: hidden; }
.page-hero .aurora { z-index: 0; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--border) 70%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--border) 70%, transparent) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000, #0000);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, #0000);
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; margin-top: 12px; }
.page-hero .kicker {
  display: inline-flex; align-items: center;
  border: 1px solid var(--border); background: var(--card);
  border-radius: 999px; padding: 4px 12px;
  font-size: .75rem; font-weight: 500; color: var(--muted-foreground);
}
.page-hero .muted { margin-top: 12px; max-width: 40rem; }
.page-block { padding: 8px 0 40px; scroll-margin-top: 120px; }

/* ---------- بلاگ ---------- */
.blog-tools { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 32px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chips a {
  border: 1px solid var(--border); background: var(--card);
  border-radius: 999px; padding: 8px 16px;
  font-size: .8rem; font-weight: 600; color: var(--muted-foreground);
  transition: background .15s, color .15s;
}
.filter-chips a:hover { background: var(--accent); color: var(--accent-foreground); }
.filter-chips a.active {
  background-image: var(--gradient-brand); color: var(--primary-foreground);
  border-color: transparent; box-shadow: var(--shadow-glow);
}
.search-box { display: flex; gap: 8px; align-items: center; }
.search-box input {
  width: min(280px, 100%); padding: 10px 16px;
  border: 1px solid var(--border); border-radius: 999px;
  background: var(--card); color: var(--foreground);
  font-size: .85rem; outline: none;
}
.search-box input:focus { border-color: var(--violet-soft); }
.search-box button {
  width: 42px; height: 42px; border-radius: 999px; border: 0; cursor: pointer;
  background-image: var(--gradient-brand); color: var(--primary-foreground);
  display: grid; place-items: center; box-shadow: var(--shadow-glow);
}

.post-grid { margin-top: 40px; display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.post-card {
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.post-card:hover { transform: translateY(-6px); }
.post-card figure { margin: 0; overflow: hidden; border-radius: calc(var(--radius) + 6px) calc(var(--radius) + 6px) 0 0; background: var(--gradient-soft); }
.post-card figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.post-card figure .ph { width: 100%; aspect-ratio: 16 / 9; display: grid; place-items: center; color: var(--violet-soft); }
.post-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.post-cats a {
  border-radius: 999px; padding: 3px 10px; font-size: 11px; font-weight: 700;
  background: color-mix(in oklab, var(--violet) 10%, transparent); color: var(--violet);
}
.post-card h3 { font-size: 1.05rem; font-weight: 800; line-height: 1.6; }
.post-card h3 a:hover { color: var(--violet); }
.post-card .excerpt {
  font-size: .85rem; line-height: 1.9; color: var(--muted-foreground);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-meta {
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 6px 16px;
  font-size: .75rem; color: var(--muted-foreground);
}
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta .ix { color: var(--violet-soft); }

.empty-state {
  margin-top: 40px; padding: 64px 32px; text-align: center;
}
.empty-state h3 { font-size: 1.1rem; font-weight: 800; }
.empty-state p { margin-top: 8px; font-size: .875rem; color: var(--muted-foreground); }

/* ---------- صفحه‌بندی ---------- */
.pager { margin-top: 48px; display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; }
.pager .pager-btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--border); background: var(--card);
  border-radius: 999px; padding: 8px 16px;
  font-size: .8rem; font-weight: 600; color: var(--muted-foreground);
}
.pager .pager-btn:hover { background: var(--accent); color: var(--accent-foreground); }
.pager .pager-btn.disabled { opacity: .45; pointer-events: none; }
.pager .page-num {
  display: inline-grid; place-items: center; min-width: 38px; height: 38px;
  border: 1px solid var(--border); background: var(--card);
  border-radius: 999px; font-size: .8rem; font-weight: 700; color: var(--muted-foreground);
}
.pager .page-num.active {
  background-image: var(--gradient-brand); color: var(--primary-foreground);
  border-color: transparent; box-shadow: var(--shadow-glow);
}

/* ---------- صفحه نوشته ---------- */
.post-article { max-width: 48rem; }
.post-cover { margin: -24px 0 32px; overflow: hidden; position: relative; z-index: 1; }
.post-cover img { width: 100%; max-height: 480px; object-fit: cover; display: block; }
.post-cover .ph { width: 100%; aspect-ratio: 21 / 9; display: grid; place-items: center; color: var(--violet-soft); background: var(--gradient-soft); }
.article-card { padding: 36px 32px; }
.prose { font-size: .95rem; line-height: 2.1; color: var(--foreground); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.4rem; font-weight: 800; margin-top: 1.8em; }
.prose h3 { font-size: 1.15rem; font-weight: 800; margin-top: 1.6em; }
.prose a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-inline-start: 1.4em; display: grid; gap: .4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--violet); }
.prose blockquote {
  border-inline-start: 4px solid var(--violet-soft);
  background: color-mix(in oklab, var(--violet) 6%, transparent);
  border-radius: 0 16px 16px 0; padding: 16px 20px; color: var(--muted-foreground);
}
.prose img { border-radius: 16px; box-shadow: var(--shadow-soft); }
.prose code {
  background: var(--muted); border-radius: 8px; padding: 2px 8px;
  font-size: .85em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  direction: ltr; display: inline-block;
}
.prose pre {
  background: var(--ink); color: rgba(255,255,255,.88); border-radius: 16px;
  padding: 16px; overflow-x: auto; font-size: .82rem; line-height: 1.7;
  direction: ltr; text-align: left;
}
.prose pre code { background: none; padding: 0; color: inherit; direction: ltr; }
.prose table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 14px; text-align: start; }
.prose th { background: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--border); }

.post-footer-meta { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); display: grid; gap: 14px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-row a {
  border: 1px solid var(--border); background: var(--surface);
  border-radius: 999px; padding: 5px 14px;
  font-size: .78rem; font-weight: 600; color: var(--muted-foreground);
}
.tag-row a:hover { background: var(--accent); color: var(--accent-foreground); }
.related { margin-top: 80px; }
.post-hero-meta {
  margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 20px;
  font-size: .8rem; color: var(--muted-foreground);
}
.post-hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-hero-meta .ix { color: var(--violet); }
.section-cta { margin-top: 80px; }

/* ---------- ریسپانسیو ---------- */
@media (min-width: 640px) {
  .float-rate { display: block; }
  .ai-mini { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .lf-links { display: flex; }
  .lf-actions .btn.login, .lf-actions .btn.brand { display: inline-flex; }
  .lf-signup { display: none; }
  .lf-tabbar { display: none !important; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .stats-card { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .feat-grid { grid-template-columns: repeat(3, 1fr); }
  .ai-panel { grid-template-columns: 1fr 1fr; padding: 48px; }
  .otp-panel { grid-template-columns: 1.1fr .9fr; padding: 48px; }
  .ch-grid { grid-template-columns: 1fr 1fr; }
  .api-grid { grid-template-columns: 1.1fr .9fr; }
}
@media (max-width: 767.98px) {
  .hero { overflow: hidden; }
  .lf-tabbar {
    display: flex;
    animation: lf-tabbar-in .55s cubic-bezier(.22, 1, .36, 1) both;
  }
  body { padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
  .lf-footer { margin-bottom: 12px; }
  .article-card { padding: 24px 20px; }
}
@media (max-width: 639px) {
  .hero-cta .btn { width: 100%; }
  .blog-tools { flex-direction: column; align-items: stretch; }
  .search-box input { width: 100%; }
}
