/* =================================================================
   دستیار فروش یهو — Landing page design system
   Light & editorial, built on the product palette (indigo #535bf2)
   + Vazirmatn. Bento hierarchy, one dark showcase moment, RTL-first.
   No framework, plain CSS.
   ================================================================= */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Vazirmatn";
  src: url("assets/fonts/Vazir-Regular-FD.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("assets/fonts/Vazir-Medium-FD.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("assets/fonts/Vazir-Bold-FD.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  /* brand (from admin-panel / chat-widget) */
  --brand-50: #f4f5ff;
  --brand-100: #e9ebff;
  --brand-200: #d7dbff;
  --brand-300: #b9bffb;
  --brand-400: #818cf8;
  --brand-500: #535bf2;
  --brand-600: #4349d6;
  --brand-700: #3237a8;
  --brand-800: #262a80;

  /* surfaces */
  --surface: #ffffff;
  --surface-base: #f7f8fc;
  --surface-muted: #eef1f8;

  /* dark showcase ink (the single dark moment) */
  --ink-900: #0b1020;
  --ink-850: #121834;

  /* logo-derived accents — used only as low-opacity ambient glows on the
     dark cards, so the brand gradient (violet→magenta→orange→blue) reads
     without turning the surfaces loud. Stored as RGB triplets for rgba(). */
  --logo-violet: 139, 92, 246; /* #8b5cf6 */
  --logo-magenta: 232, 57, 158; /* #e8399e */
  --logo-orange: 249, 115, 22; /* #f97316 */
  --logo-blue: 79, 124, 246; /* #4f7cf6 */

  /* ink + lines */
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e7e9f2;
  --line-strong: #d9ddec;

  /* positive accent (for the free / discount story) */
  --go-50: #ecfdf5;
  --go-600: #059669;
  --go-700: #047857;

  /* warm accent (urgency / stock) */
  --warn-50: #fffbeb;
  --warn-600: #d97706;
  --warn-700: #b45309;

  /* radii */
  --r-sm: 0.625rem;
  --r: 1rem;
  --r-lg: 1.5rem;
  --r-xl: 2rem;
  --r-2xl: 2.5rem;
  --r-full: 999px;

  /* shadows — soft, layered, restrained */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 10px -4px rgba(15, 23, 42, 0.1);
  --shadow: 0 12px 34px -14px rgba(15, 23, 42, 0.16);
  --shadow-lg: 0 30px 60px -28px rgba(15, 23, 42, 0.28);
  --shadow-brand: 0 30px 70px -26px rgba(83, 91, 242, 0.5);

  /* subtle tiling grain for dark surfaces */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  --container: 1160px;
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Vazirmatn", "IRANSans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink-soft);
  background: var(--surface);
  line-height: 1.8;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.22;
  letter-spacing: -0.015em;
  margin: 0;
  font-weight: 700;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: rgba(83, 91, 242, 0.18);
}

:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: clamp(60px, 8.5vw, 116px);
}

.section--tint {
  background: var(--surface-base);
  border-block: 1px solid var(--line);
}

.section--flush {
  padding-block: clamp(24px, 5vw, 56px) clamp(60px, 8.5vw, 116px);
}

.section__head {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 68px);
}
.section__head--start {
  margin-inline: 0;
  text-align: start;
  max-width: 680px;
}

.section__title {
  font-size: clamp(1.75rem, 3.8vw, 2.7rem);
  letter-spacing: -0.025em;
}

.section__lead {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.075rem;
}

/* eyebrow / kicker — editorial, with an index number chip */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-700);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.eyebrow__no {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding-inline: 6px;
  border-radius: 8px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--brand-600);
  font-size: 0.78rem;
  letter-spacing: 0;
}
.section__head:not(.section__head--start) .eyebrow {
  justify-content: center;
}

/* ---------- Pills / badges ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border-radius: var(--r-full);
  font-size: 0.86rem;
  font-weight: 600;
  background: var(--surface);
  color: var(--brand-700);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-xs);
}
.pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--go-600);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.16);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.22); }
  50% { box-shadow: 0 0 0 5px rgba(5, 150, 105, 0); }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand-600);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: var(--r-full);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.22s ease, background 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn svg {
  width: 19px;
  height: 19px;
  flex: none;
}

.btn--primary {
  background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(67, 73, 214, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn--primary:hover {
  background: linear-gradient(180deg, var(--brand-600), var(--brand-700));
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -14px rgba(67, 73, 214, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--brand-300);
  background: var(--brand-50);
  color: var(--brand-700);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 16px 30px;
  font-size: 1.05rem;
}

.btn--sm {
  padding: 8px 16px;
  font-size: 0.9rem;
  gap: 7px;
}
.btn--sm svg {
  width: 16px;
  height: 16px;
}

.btn--block {
  width: 100%;
}

.btn--light {
  background: #fff;
  color: var(--brand-700);
  box-shadow: 0 14px 34px -14px rgba(2, 6, 23, 0.6);
}
.btn--light:hover {
  background: var(--brand-50);
  transform: translateY(-2px);
}

/* arrow nudges toward the start (left in RTL) on hover */
.btn .arrow {
  transition: transform 0.2s ease;
}
.btn:hover .arrow {
  transform: translateX(-3px);
}

/* =================================================================
   Header / nav
   ================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}
.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.12rem;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links > a {
  padding: 8px 14px;
  border-radius: var(--r-full);
  color: var(--ink-soft);
  font-size: 0.96rem;
  font-weight: 500;
  transition: color 0.18s ease, background 0.18s ease;
}
.nav-links > a:hover {
  color: var(--brand-700);
  background: var(--brand-50);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* =================================================================
   Hero
   ================================================================= */
.hero {
  position: relative;
  padding-block: clamp(52px, 7.5vw, 112px);
  overflow: hidden;
}
/* refined backdrop: fine grid lines fading out + one soft brand glow */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset-block-start: -260px;
  inset-inline-start: 8%;
  width: min(760px, 90%);
  height: 620px;
  background: radial-gradient(closest-side, rgba(83, 91, 242, 0.2), transparent 72%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}
.hero__title {
  font-size: clamp(2.2rem, 5.6vw, 3.85rem);
  line-height: 1.24;
  letter-spacing: -0.035em;
  margin-top: 4px;
}
.hero__title .accent {
  position: relative;
  color: var(--brand-600);
  white-space: nowrap;
}
/* hand-drawn-ish underline under the accent word */
.hero__title .accent::after {
  content: "";
  position: absolute;
  inset-inline: -2px;
  inset-block-end: -0.12em;
  height: 0.5em;
  background: linear-gradient(180deg, transparent 62%, rgba(83, 91, 242, 0.22) 62%);
  border-radius: 4px;
  z-index: -1;
}
.hero__title-dot {
  color: var(--brand-400);
}
.hero__lead {
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 40ch;
}
.hero__lead b {
  color: var(--ink-soft);
  font-weight: 700;
}
.hero__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero__trust {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  color: var(--muted);
  font-size: 0.9rem;
}
.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__trust svg {
  width: 17px;
  height: 17px;
  color: var(--go-600);
  flex: none;
}

/* ---------- Hero chat mock (shows the product, not sci-fi) ---------- */
.hero__visual {
  position: relative;
}
.mock {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-brand), var(--shadow-lg);
  padding: 20px;
}
/* soft glow puddle beneath the card */
.hero__visual::before {
  content: "";
  position: absolute;
  inset: 12% -6% -12%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(83, 91, 242, 0.28), transparent 70%);
  filter: blur(10px);
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.mock__ava {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
  box-shadow: 0 6px 14px -6px rgba(67, 73, 214, 0.7);
}
.mock__ava svg {
  width: 20px;
  height: 20px;
}
.mock__who {
  line-height: 1.4;
}
.mock__who b {
  color: var(--ink);
  font-size: 0.95rem;
}
.mock__who small {
  color: var(--go-600);
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mock__who small::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--go-600);
}
.mock__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bubble {
  max-width: 86%;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.7;
}
.bubble--user {
  align-self: flex-start;
  background: var(--surface-muted);
  color: var(--ink-soft);
  border-end-start-radius: 5px;
}
.bubble--bot {
  align-self: flex-end;
  background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
  color: #fff;
  border-end-end-radius: 5px;
  box-shadow: 0 8px 18px -10px rgba(67, 73, 214, 0.7);
}
/* product mini-card inside the conversation */
.mini-card {
  align-self: flex-end;
  width: 86%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.mini-card__thumb {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-100), var(--brand-50));
  display: grid;
  place-items: center;
  color: var(--brand-600);
  flex: none;
}
.mini-card__thumb svg {
  width: 22px;
  height: 22px;
}
.mini-card__info {
  flex: 1;
  min-width: 0;
}
.mini-card__name {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
}
.mini-card__price {
  color: var(--brand-700);
  font-weight: 700;
  font-size: 0.92rem;
  margin-top: 2px;
}
.mini-card__stock {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--warn-700);
  background: var(--warn-50);
  border: 1px solid #fde68a;
  padding: 2px 8px;
  border-radius: var(--r-full);
}
/* typing dots */
.typing {
  align-self: flex-end;
  display: inline-flex;
  gap: 4px;
  padding: 12px 16px;
  background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
  border-radius: 16px;
  border-end-end-radius: 5px;
}
.typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  animation: typing 1.2s ease-in-out infinite;
}
.typing i:nth-child(2) {
  animation-delay: 0.2s;
}
.typing i:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes typing {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  40% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

/* floating channel chips on the mock */
.mock__chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--r-full);
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  animation: float 5s ease-in-out infinite;
}
.mock__chip svg {
  width: 16px;
  height: 16px;
  color: var(--brand-600);
}
.mock__chip--a {
  inset-block-start: -16px;
  inset-inline-end: -14px;
}
.mock__chip--b {
  inset-block-end: -16px;
  inset-inline-start: -12px;
  animation-delay: 1.4s;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* =================================================================
   Channels strip
   ================================================================= */
.strip {
  border-block: 1px solid var(--line);
  background: var(--surface);
}
.strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 26px;
  padding-block: 24px;
}
.strip__label {
  color: var(--muted);
  font-size: 0.9rem;
}
.strip__items {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
}
.strip__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.96rem;
}
.strip__item svg {
  width: 19px;
  height: 19px;
  color: var(--brand-600);
}
.strip__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line-strong);
}

/* =================================================================
   Steps (how it works) — connected editorial timeline
   ================================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
  position: relative;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.22s ease, border-color 0.2s ease;
}
.step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--brand-200);
}
.step__num {
  counter-increment: step;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  box-shadow: 0 10px 20px -10px rgba(67, 73, 214, 0.7);
}
.step__num::before {
  content: counter(step, persian);
}
.step h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.step p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* =================================================================
   Feature bento grid — size signals importance
   ================================================================= */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.bento__cell {
  grid-column: span 2;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  transition: transform 0.2s ease, box-shadow 0.22s ease, border-color 0.2s ease;
}
.bento__cell:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brand-200);
}
/* the two cells next to the hero span 3 cols each */
.bento__cell:nth-child(2),
.bento__cell:nth-child(3) {
  grid-column: span 3;
}
/* hero cell: dark showcase, spans 3 cols and both rows */
.bento__cell--hero {
  grid-column: span 3;
  grid-row: span 2;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  background:
    radial-gradient(100% 80% at 100% 0%, rgba(var(--logo-violet), 0.34), transparent 56%),
    radial-gradient(85% 80% at 0% 100%, rgba(var(--logo-magenta), 0.16), transparent 58%),
    linear-gradient(160deg, var(--ink-850), var(--ink-900));
  border-color: rgba(255, 255, 255, 0.08);
  padding: 34px 32px;
  overflow: hidden;
}
.bento__cell--hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  opacity: 0.05;
  mix-blend-mode: screen;
}
.bento__cell--hero:hover {
  border-color: rgba(var(--logo-violet), 0.42);
}
.bento__cell--hero h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.bento__cell--hero p {
  color: rgba(226, 232, 240, 0.82);
  font-size: 1rem;
  max-width: 42ch;
}
.bento__hero-copy { position: relative; }

/* mini chat inside the hero cell */
.chatlet {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 16px;
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(2px);
}
.chatlet__row {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.65;
}
.chatlet__row--user {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  border-end-start-radius: 4px;
}
.chatlet__row--bot {
  align-self: flex-end;
  background: linear-gradient(180deg, rgb(var(--logo-violet)), var(--brand-500));
  color: #fff;
  border-end-end-radius: 4px;
}
.chatlet__row--soft {
  opacity: 0.9;
  font-size: 0.85rem;
}

/* feature icon (shared with bento cells) */
.feature__icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--brand-50);
  color: var(--brand-600);
  border: 1px solid var(--brand-100);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.feature__icon svg {
  width: 26px;
  height: 26px;
}
.feature__icon--light {
  background: rgba(var(--logo-violet), 0.18);
  border-color: rgba(var(--logo-violet), 0.32);
  color: #ddd6fe;
}
.feature__icon--warn {
  background: var(--warn-50);
  border-color: #fde68a;
  color: var(--warn-600);
}
.bento__cell h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}
.bento__cell p {
  color: var(--muted);
  font-size: 0.98rem;
}

.more-line {
  margin-top: 34px;
  text-align: center;
  color: var(--muted);
  font-size: 0.97rem;
}
.more-line b {
  color: var(--ink-soft);
  font-weight: 700;
}

/* =================================================================
   Pricing
   ================================================================= */
.pricing {
  display: grid;
  place-items: center;
}
.price-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 42px 38px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  overflow: hidden;
}
.price-card::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-400), var(--brand-600), var(--brand-800));
}
.price-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--go-50);
  color: var(--go-700);
  border: 1px solid #a7f3d0;
  border-radius: var(--r-full);
  padding: 7px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.price-card__name {
  font-size: 1.35rem;
  margin-bottom: 6px;
}
.price-card__name + p {
  color: var(--muted);
  font-size: 0.95rem;
}
.price {
  margin: 26px 0;
}
.price__old {
  display: inline-block;
  color: var(--muted);
  font-size: 1.05rem;
  text-decoration: line-through;
  text-decoration-color: rgba(100, 116, 139, 0.6);
  text-decoration-thickness: 2px;
}
.price__now {
  font-size: clamp(2.8rem, 8vw, 3.6rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  margin-top: 6px;
  letter-spacing: -0.03em;
}
.price__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 7px 16px;
  border-radius: var(--r-full);
}
.price-card .features-list {
  text-align: start;
  margin: 28px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 13px;
}
.features-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.features-list svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--go-600);
}
.price-card__note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.85rem;
}

/* =================================================================
   FAQ — asymmetric: sticky head + list
   ================================================================= */
.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.faq-layout__head {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  margin-bottom: 0;
}
.faq {
  display: grid;
  gap: 14px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 4px 22px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq details[open] {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 600;
  color: var(--ink);
  font-size: 1.04rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .chev {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--brand-600);
  transition: transform 0.25s ease;
}
.faq details[open] summary .chev {
  transform: rotate(180deg);
}
.faq summary + div {
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.85;
}

/* =================================================================
   Final CTA band
   ================================================================= */
.cta-band {
  position: relative;
  isolation: isolate;
  border-radius: var(--r-2xl);
  padding: clamp(48px, 6.5vw, 92px) clamp(28px, 5vw, 64px);
  text-align: center;
  color: #fff;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(70% 130% at 90% -12%, rgba(var(--logo-violet), 0.42), transparent 54%),
    radial-gradient(62% 120% at 10% 116%, rgba(var(--logo-magenta), 0.26), transparent 55%),
    radial-gradient(55% 120% at 52% 128%, rgba(var(--logo-orange), 0.12), transparent 60%),
    linear-gradient(160deg, var(--ink-850), var(--ink-900));
  box-shadow: var(--shadow-lg);
}
/* fine grain + dot texture */
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1.4px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 18%, transparent 74%);
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 18%, transparent 74%);
}
.cta-band__inner {
  position: relative;
  z-index: 1;
}

/* glassy eyebrow badge */
.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  margin-bottom: 20px;
  border-radius: var(--r-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.cta-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6ee7b7;
  box-shadow: 0 0 0 4px rgba(110, 231, 183, 0.22);
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.75rem, 4.2vw, 2.6rem);
  letter-spacing: -0.025em;
}
.cta-band p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}
.cta-band .btn {
  margin-top: 30px;
}
.cta-band .cta-note {
  margin-top: 18px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

/* =================================================================
   Footer
   ================================================================= */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding-block: 46px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-brand {
  max-width: 340px;
}
.footer-brand .brand {
  margin-bottom: 12px;
}
.footer-brand p {
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.footer-links a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.18s ease;
}
.footer-links a:hover {
  color: var(--brand-700);
}
.footer-bottom {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 0.86rem;
}

/* =================================================================
   Scroll-reveal (progressive enhancement — content shows w/o JS)
   ================================================================= */
.reveal-init {
  opacity: 0;
  transform: translateY(18px);
}
.reveal-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =================================================================
   Anchor offset for sticky header
   ================================================================= */
[id] {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

/* =================================================================
   Responsive
   ================================================================= */

/* --- tablet / small desktop --- */
@media (max-width: 1000px) {
  .bento {
    grid-template-columns: repeat(4, 1fr);
  }
  .bento__cell {
    grid-column: span 2;
  }
  .bento__cell--hero {
    grid-column: span 4;
    grid-row: auto;
    flex-direction: row;
    align-items: center;
  }
  .bento__cell--hero .bento__hero-copy {
    flex: 1;
  }
  .bento__cell--hero .bento__hero-visual {
    flex: 1;
    min-width: 0;
  }
  .bento__cell:nth-child(2),
  .bento__cell:nth-child(3) {
    grid-column: span 2;
  }
}

/* --- collapse to single column + enable mobile nav --- */
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    max-width: 420px;
    margin-inline: auto;
  }
  .hero__lead {
    max-width: none;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .faq-layout {
    grid-template-columns: 1fr;
  }
  .faq-layout__head {
    position: static;
  }

  /* mobile nav: drop the section links, keep the ورود button */
  .nav-links {
    display: none;
  }
}

/* --- phones --- */
@media (max-width: 620px) {
  .container {
    padding-inline: 18px;
  }
  .hero {
    padding-block: 32px 44px;
  }
  .hero__title {
    font-size: clamp(1.95rem, 8.4vw, 2.6rem);
    line-height: 1.28;
  }
  .hero__actions {
    gap: 10px;
  }
  .hero__actions .btn {
    flex: 1 1 100%;
  }
  .hero__trust {
    gap: 10px 18px;
    font-size: 0.86rem;
  }

  .mock {
    padding: 16px;
  }
  .bubble,
  .mini-card {
    max-width: 92%;
    width: auto;
  }
  .mini-card {
    width: 92%;
  }
  /* keep floating chips fully inside the frame on small screens */
  .mock__chip {
    font-size: 0.74rem;
    padding: 6px 11px;
  }
  .mock__chip--a {
    inset-block-start: -12px;
    inset-inline-end: 6px;
  }
  .mock__chip--b {
    inset-block-end: -12px;
    inset-inline-start: 6px;
  }

  .strip__inner {
    flex-direction: column;
    gap: 14px;
  }

  /* bento → single column, hero cell back to vertical */
  .bento {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .bento__cell,
  .bento__cell--hero,
  .bento__cell:nth-child(2),
  .bento__cell:nth-child(3) {
    grid-column: span 1;
  }
  .bento__cell--hero {
    flex-direction: column;
    align-items: stretch;
    padding: 28px 24px;
  }
  .bento__cell--hero h3 {
    font-size: 1.3rem;
  }

  .price-card {
    padding: 32px 22px;
  }
  .price-card .features-list {
    margin: 24px 0;
  }

  .section__head {
    margin-bottom: 34px;
  }

  .cta-band {
    padding: 38px 22px;
  }
  .cta-eyebrow {
    margin-bottom: 15px;
    padding: 6px 13px;
    font-size: 0.8rem;
  }
  .cta-band h2 {
    font-size: 1.42rem;
    line-height: 1.35;
  }
  .cta-band p {
    margin-top: 12px;
    font-size: 0.97rem;
  }
  .cta-band .btn {
    margin-top: 22px;
    padding: 13px 24px;
    font-size: 0.98rem;
  }
  .cta-band .cta-note {
    margin-top: 14px;
    font-size: 0.82rem;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* very small phones */
@media (max-width: 380px) {
  .brand span {
    display: none; /* logo only, keep header from wrapping */
  }
  .hero__title {
    font-size: 1.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-init {
    opacity: 1;
    transform: none;
  }
}
