/* Landing page — Rahatsell (v3) */

:root {
  --ink: #16181d;
  --ink-soft: #5c6370;
  --paper: #ffffff;
  --surface: #f4f5f8;
  --surface-2: #eceef3;
  --primary: #6338d9;
  --primary-2: #7c52e8;
  --primary-glow: rgba(99, 56, 217, 0.22);
  --accent: #14b8a6;
  --accent-soft: rgba(20, 184, 166, 0.12);
  --line: #e2e5ec;
  --shadow-sm: 0 2px 8px rgba(22, 24, 29, 0.05);
  --shadow: 0 12px 40px rgba(22, 24, 29, 0.08);
  --shadow-lg: 0 24px 64px rgba(22, 24, 29, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1120px;
  --font: 'Vazirmatn', Tahoma, sans-serif;
  --header-h: 68px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-2); }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* ── Announcement ── */
.announce-bar {
  background: linear-gradient(90deg, #4a28c4 0%, var(--primary) 40%, var(--primary-2) 100%);
  color: #fff;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.55rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.announce-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7dffb8;
  flex-shrink: 0;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 4px 24px rgba(22, 24, 29, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.logo:hover { color: var(--ink); opacity: 0.92; }

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo:hover {
  color: var(--ink);
  opacity: 0.92;
}

.brand-logo-icon {
  display: block;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
}

.brand-logo-text {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}

.brand-logo-full {
  display: block;
  width: auto;
  max-width: min(220px, 58vw);
  height: auto;
}

.brand-logo-rahats { color: var(--primary); }
.brand-logo-sell { color: var(--accent); }

.footer-logo.brand-logo .brand-logo-icon {
  width: 44px;
  height: 44px;
}

.footer-logo.brand-logo {
  margin-bottom: 0.75rem;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--primary) 0%, #8b6cf0 100%);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.logo-icon svg { width: 20px; height: 20px; }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-desktop a:not(.btn) {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-desktop a:not(.btn):hover {
  color: var(--ink);
  background: var(--surface);
}

.nav-desktop .btn { margin-inline-start: 0.5rem; }

.nav-desktop .btn-outline {
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  align-items: center;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem 0 1.25rem;
  border-top: 1px solid var(--line);
}

.nav-mobile.is-open { display: flex; }

.nav-mobile a:not(.btn) {
  padding: 0.75rem 0.5rem;
  color: var(--ink);
  font-weight: 500;
  border-radius: 8px;
}

.nav-mobile a:not(.btn):hover { background: var(--surface); }

@media (min-width: 960px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s, border-color 0.2s;
  text-align: center;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #6d45e0 100%);
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #6d45e0 0%, var(--primary-2) 100%);
  color: #fff;
  box-shadow: 0 8px 28px var(--primary-glow);
}

.btn-outline {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(91, 52, 214, 0.04);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }

.btn-block { width: 100%; }

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

[dir="rtl"] .btn-primary svg { transform: scaleX(-1); }

/* ── Sections ── */
section { padding: 5rem 0; }

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: clamp(1.625rem, 4vw, 2.25rem);
  font-weight: 800;
  margin: 0 0 0.85rem;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.section-header p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(91, 52, 214, 0.08);
  border: 1px solid rgba(91, 52, 214, 0.15);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: 3.5rem 0 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.hero-blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(91, 52, 214, 0.35) 0%, transparent 70%);
  top: -120px;
  left: -100px;
}

.hero-blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(20, 184, 138, 0.25) 0%, transparent 70%);
  bottom: -80px;
  right: -60px;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.18;
  margin: 0 0 1.15rem;
  letter-spacing: -0.03em;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: var(--ink-soft);
  font-size: 1.0625rem;
  margin: 0 0 2rem;
  max-width: 500px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.trust-badge-icon {
  font-size: 0.9rem;
  line-height: 1;
}

.platform-tags {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.platform-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

/* Phone mockup */
.phone-wrap {
  position: relative;
  justify-self: center;
  width: min(300px, 100%);
}

.phone-glow {
  position: absolute;
  inset: 10% -10%;
  background: radial-gradient(ellipse, var(--primary-glow) 0%, transparent 70%);
  z-index: 0;
}

.phone-frame {
  position: relative;
  z-index: 1;
  background: linear-gradient(160deg, #2a2d35 0%, #16181d 100%);
  border-radius: 40px;
  padding: 14px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.phone-notch {
  width: 90px;
  height: 24px;
  background: #16181d;
  border-radius: 0 0 16px 16px;
  margin: -2px auto 10px;
}

.phone-screen {
  background: #f8f9fb;
  border-radius: 28px;
  aspect-ratio: 9 / 19;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Chat demo inside phone */
.chat-demo {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #f3f2f8;
  font-size: 10px;
}

.chat-demo-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  flex-shrink: 0;
}

.chat-demo-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  object-fit: cover;
  flex-shrink: 0;
}

.chat-demo-meta strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.chat-demo-status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 8px;
  opacity: 0.85;
  margin-top: 1px;
}

.chat-demo-online-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.chat-demo-thread {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px 10px 6px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 0;
  transition: opacity 0.3s ease;
}

.chat-demo-thread.is-fading {
  opacity: 0;
}

.chat-demo-typing {
  padding: 0 10px 8px;
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
}

.chat-msg-row {
  display: flex;
  width: 100%;
}

.chat-msg-row--user {
  justify-content: flex-start;
}

.chat-msg-row--bot,
.chat-msg-row--buttons {
  justify-content: flex-end;
}

.chat-bubble {
  max-width: 82%;
  padding: 7px 10px;
  line-height: 1.55;
  font-size: 9.5px;
  word-break: break-word;
}

.chat-bubble--user {
  background: rgba(99, 56, 217, 0.14);
  color: var(--ink);
  border-radius: 14px 14px 4px 14px;
}

.chat-bubble--bot {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(22, 24, 29, 0.06);
  border-radius: 14px 14px 14px 4px;
}

.chat-bubble--typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  min-width: 42px;
}

.chat-typing-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink-soft);
  opacity: 0.45;
  animation: chat-typing-bounce 1.2s ease-in-out infinite;
}

.chat-typing-dot:nth-child(2) { animation-delay: 0.15s; }
.chat-typing-dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes chat-typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.45; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat-bubble--image {
  padding: 5px;
  overflow: hidden;
}

.chat-bubble--image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  object-position: top center;
  max-height: 120px;
}

.chat-bubble-caption {
  margin: 5px 4px 2px;
  font-size: 9px;
  line-height: 1.45;
}

.chat-bubble-buttons {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: 88%;
}

.chat-inline-btn {
  font-family: var(--font);
  font-size: 8.5px;
  font-weight: 600;
  padding: 7px 10px;
  border: none;
  border-radius: 10px;
  background: rgba(99, 56, 217, 0.1);
  color: var(--primary);
  cursor: default;
  text-align: center;
  transition: background 0.15s ease;
}

.chat-inline-btn:hover {
  background: rgba(99, 56, 217, 0.18);
}

.chat-msg-enter {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.chat-msg-enter--visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 959px) {
  .phone-wrap {
    transform: scale(0.88);
    transform-origin: top center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chat-msg-enter {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .chat-typing-dot {
    animation: none;
  }
}

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 2rem; }
  .phone-wrap { order: -1; }
}

/* ── Stats / Proof ── */
.stats-bar,
.proof-bar { padding: 0; margin-top: -2rem; position: relative; z-index: 2; }

.stats-card,
.proof-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
}

.stats-label,
.proof-label {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  margin: 0 0 1.75rem;
}

.stats-grid,
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.stat-item,
.proof-item {
  text-align: center;
  padding: 0.5rem 0.75rem;
  position: relative;
}

.stat-item + .stat-item::before,
.proof-item + .proof-item::before {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--line);
}

.stat-item strong,
.proof-item strong {
  display: block;
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.stat-item span,
.proof-item span { font-size: 0.8125rem; color: var(--ink-soft); }

@media (max-width: 640px) {
  .proof-grid,
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .stat-item + .stat-item::before,
  .proof-item + .proof-item::before { display: none; }
}

/* ── Cards ── */
.cards-grid { display: grid; gap: 1.25rem; }
.cards-grid.cols-2, .cards-grid.cols-3, .cards-grid.cols-4 { grid-template-columns: 1fr; }

@media (min-width: 600px) {
  .cards-grid.cols-2, .cards-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .cards-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.65rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(91, 52, 214, 0.2);
}

.card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

.card-icon-wrap.purple { background: rgba(91, 52, 214, 0.1); border-color: rgba(91, 52, 214, 0.15); }
.card-icon-wrap.green { background: var(--accent-soft); border-color: rgba(20, 184, 138, 0.2); }
.card-icon-wrap.amber { background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.2); }
.card-icon-wrap.blue { background: rgba(59, 130, 246, 0.1); border-color: rgba(59, 130, 246, 0.15); }

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

.card p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; line-height: 1.65; }

/* Pain cards */
.card-pain { border-right: 3px solid var(--primary); }

/* ── Steps ── */
.steps-wrap { position: relative; }

.steps {
  display: grid;
  gap: 1rem;
  position: relative;
}

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
  .steps::before {
    content: '';
    position: absolute;
    top: 28px;
    right: 12%;
    left: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0.2;
    z-index: 0;
  }
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}

.step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.step h3 { font-size: 0.95rem; font-weight: 700; margin: 0 0 0.45rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: 0.85rem; }

/* ── Chips ── */
.templates-section {
  background: linear-gradient(180deg, var(--paper) 0%, var(--surface) 100%);
}

.chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.chip {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  transition: all 0.2s;
  cursor: default;
}

.chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(91, 52, 214, 0.05);
  transform: translateY(-1px);
}

/* ── Showcase bots ── */
.showcase-bots-section {
  padding: 5.5rem 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(99, 56, 217, 0.04) 0%, transparent 55%),
    linear-gradient(180deg, var(--surface) 0%, var(--paper) 100%);
}

.showcase-bots-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .showcase-bots-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .showcase-bots-grid { grid-template-columns: repeat(3, 1fr); }
}

.showcase-bot-card {
  --showcase-accent: #00b894;
  --showcase-accent-dark: #007a63;
  --showcase-accent-bg: rgba(0, 184, 148, 0.1);
  --showcase-accent-border: rgba(0, 184, 148, 0.32);
  --showcase-accent-shadow: rgba(0, 184, 148, 0.2);
  --showcase-accent-glow: rgba(0, 184, 148, 0.14);

  position: relative;
  background: linear-gradient(165deg, var(--showcase-accent-bg) 0%, var(--paper) 42%);
  border: 2px solid var(--showcase-accent-border);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--showcase-accent-glow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  display: flex;
  flex-direction: column;
}

.showcase-bot-card--telegram {
  --showcase-accent: #2aabee;
  --showcase-accent-dark: #157bb8;
  --showcase-accent-bg: rgba(42, 171, 238, 0.1);
  --showcase-accent-border: rgba(42, 171, 238, 0.32);
  --showcase-accent-shadow: rgba(42, 171, 238, 0.22);
  --showcase-accent-glow: rgba(42, 171, 238, 0.14);
}

.showcase-bot-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px var(--showcase-accent-shadow);
  border-color: var(--showcase-accent);
}

.showcase-bot-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--showcase-accent-dark), var(--showcase-accent));
  flex-shrink: 0;
}

.showcase-bot-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface);
  margin: 0.85rem 0.85rem 0;
  border-radius: calc(var(--radius-sm) - 2px);
  border: 1px solid var(--showcase-accent-border);
}

.showcase-bot-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.showcase-bot-card:hover .showcase-bot-media img {
  transform: scale(1.06);
}

.showcase-bot-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(22, 24, 29, 0.35) 100%);
  pointer-events: none;
}

.showcase-bot-platform {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--showcase-accent-dark);
  border: 1px solid var(--showcase-accent-border);
  box-shadow: 0 2px 10px rgba(22, 24, 29, 0.08);
  backdrop-filter: blur(6px);
}

.showcase-bot-platform svg {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
}

.showcase-bot-body {
  padding: 1.15rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
}

.showcase-bot-body h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.4;
}

.showcase-bot-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.7;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.showcase-bot-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  color: var(--showcase-accent-dark);
  background: var(--showcase-accent-bg);
  border: 1.5px solid var(--showcase-accent-border);
  transition: background 0.22s, color 0.22s, border-color 0.22s, transform 0.22s;
}

.showcase-bot-cta:hover {
  color: #fff;
  background: var(--showcase-accent);
  border-color: var(--showcase-accent);
  transform: translateY(-1px);
}

.showcase-bot-cta svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

[dir="rtl"] .showcase-bot-cta svg {
  transform: scaleX(-1);
}

.showcase-bots-actions {
  margin-top: 2.5rem;
  text-align: center;
}

.showcase-bots-actions .btn {
  min-width: 220px;
  padding-inline: 1.75rem;
}

.showcase-page .showcase-hero {
  padding: calc(var(--header-h) + 2.5rem) 0 2rem;
  background:
    radial-gradient(ellipse 70% 60% at 50% -10%, rgba(99, 56, 217, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, var(--paper) 100%);
}

.showcase-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.showcase-empty p { margin: 0 0 1.25rem; }

.showcase-page .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 0;
}

/* ── Payment spotlight ── */
.payment-spotlight {
  position: relative;
  background: linear-gradient(135deg, #12141a 0%, #1e2129 50%, #16181d 100%);
  color: #fff;
  padding: 5rem 0;
  overflow: hidden;
}

.payment-spotlight::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(20, 184, 138, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.payment-spotlight::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 50%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(91, 52, 214, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.payment-inner { position: relative; z-index: 1; }

.payment-spotlight h2 {
  font-size: clamp(1.625rem, 4vw, 2.35rem);
  font-weight: 800;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.payment-inner .section-label { color: var(--accent); }
.payment-inner .section-label::before {
  background: linear-gradient(90deg, var(--accent), rgba(255, 255, 255, 0.5));
}

.payment-inner > p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 2.5rem;
  max-width: 540px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.payment-points { display: grid; gap: 1rem; }

@media (min-width: 640px) {
  .payment-points { grid-template-columns: repeat(3, 1fr); }
}

.payment-point {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  transition: background 0.25s, border-color 0.25s;
}

.payment-point:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(20, 184, 138, 0.35);
}

.payment-point-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(20, 184, 138, 0.15);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
}

.payment-point strong {
  display: block;
  color: var(--accent);
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.payment-point span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); line-height: 1.6; }

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
  }
}

.pricing-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.65rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.pricing-card:hover { box-shadow: var(--shadow); }

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 16px 48px var(--primary-glow);
  position: relative;
  background: linear-gradient(180deg, #faf9ff 0%, var(--paper) 40%);
}

@media (min-width: 900px) {
  .pricing-card.featured { transform: scale(1.04); z-index: 1; }
  .pricing-card.featured:hover { transform: scale(1.04) translateY(-4px); }
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.pricing-card h3 { font-size: 1.1rem; font-weight: 800; margin: 0 0 0.75rem; }

.pricing-price {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.pricing-card.featured .pricing-price { color: var(--primary); }

.pricing-price small {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.pricing-desc {
  color: var(--ink-soft);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.45rem 0;
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-note {
  text-align: center;
  color: var(--ink-soft);
  margin-top: 2.5rem;
  font-size: 0.95rem;
  padding: 1rem 1.5rem;
  background: rgba(91, 52, 214, 0.06);
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(91, 52, 214, 0.2);
}

/* ── Testimonials ── */
.testimonial-card {
  text-align: right;
  position: relative;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 0.85rem;
}

.testimonial-quote {
  position: absolute;
  top: 1rem;
  left: 1.25rem;
  font-size: 3rem;
  line-height: 1;
  color: rgba(91, 52, 214, 0.1);
  font-family: Georgia, serif;
  pointer-events: none;
}

.testimonial-text {
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
  font-size: 0.925rem;
  line-height: 1.75;
  position: relative;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.testimonial-name { font-weight: 700; margin: 0; font-size: 0.9rem; }
.testimonial-role { font-size: 0.8rem; color: var(--ink-soft); margin: 0.15rem 0 0; }

/* ── FAQ ── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item.is-open {
  border-color: rgba(91, 52, 214, 0.25);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: right;
  padding: 1.1rem 1.25rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--primary); }

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--surface);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--primary);
  transition: transform 0.25s, background 0.25s;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: rgba(91, 52, 214, 0.1);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }

.faq-answer-inner {
  overflow: hidden;
  padding: 0 1.25rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.75;
}

.faq-item.is-open .faq-answer-inner { padding-bottom: 1.1rem; }

/* ── CTA / Form ── */
.cta-section {
  position: relative;
  background: linear-gradient(180deg, var(--surface) 0%, var(--paper) 100%);
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
}

.cta-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .cta-grid { grid-template-columns: 1fr 1.1fr; gap: 3rem; }
  .cta-text { text-align: right; padding-top: 1rem; }
  .section-header.cta-header { text-align: right; margin: 0; max-width: none; }
}

.cta-perks {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.cta-perks li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0;
  color: var(--ink-soft);
  font-size: 0.925rem;
}

.cta-perks li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.7rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
}

.form-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius) + 1px);
  background: linear-gradient(135deg, rgba(91, 52, 214, 0.3), rgba(20, 184, 138, 0.2));
  z-index: -1;
  opacity: 0.5;
}

.form-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
}

.form-grid {
  display: grid;
  gap: 0 1rem;
}

@media (min-width: 520px) {
  .form-grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .form-grid .span-2 { grid-column: 1 / -1; }
}

.form-row { margin-bottom: 1rem; }

.form-row.is-hidden {
  display: none;
}

.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.8125rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.landing-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.landing-input:hover { border-color: #cdd1da; }

.landing-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(91, 52, 214, 0.1);
}

.landing-textarea { resize: vertical; min-height: 96px; }

.form-error { color: #dc2626; font-size: 0.78rem; margin-top: 0.3rem; }

.alert {
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.alert-success {
  background: var(--accent-soft);
  color: #0a6b50;
  border: 1px solid rgba(20, 184, 138, 0.3);
}

.alert-error {
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* ── Footer ── */
.site-footer {
  background: linear-gradient(180deg, #12141a 0%, var(--ink) 100%);
  color: rgba(255, 255, 255, 0.7);
  padding: 3.25rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem 2.5rem;
  margin-bottom: 2rem;
  align-items: start;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .footer-trust {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr auto;
  }
  .footer-trust {
    grid-column: auto;
    justify-self: end;
  }
}

.footer-brand .logo,
.footer-brand .brand-logo { color: #fff; margin-bottom: 0.85rem; }
.footer-brand p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.75;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.58);
}

.footer-links h4,
.footer-col-title {
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  margin: 0 0 0.9rem;
  letter-spacing: 0.02em;
}

.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.45rem; }
.footer-links a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }

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

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.footer-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  background: #fff;
  border-radius: 10px;
  line-height: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease;
}

.footer-badge:hover {
  transform: translateY(-2px);
}

.footer-badge a {
  display: inline-block;
  line-height: 0;
}

.footer-badge img {
  display: block;
  width: 90px;
  height: auto;
  max-height: 98px;
  object-fit: contain;
  background: #000;
  border-radius: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.42);
}

/* ── Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.19s; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.26s; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.33s; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.4s; opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
  .card:hover, .step:hover, .showcase-bot-card:hover { transform: none; }
  .showcase-bot-card:hover .showcase-bot-media img { transform: none; }
  .announce-dot { animation: none; }
}

/* ── Legal / Terms page ── */
.legal-page {
  padding-top: 5.5rem;
  padding-bottom: 3rem;
}

.legal-hero {
  padding: 2.5rem 0 1.5rem;
}

.legal-hero h1 {
  margin-bottom: 0.75rem;
}

.legal-updated {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.legal-content-section {
  padding-bottom: 3rem;
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
}

.legal-content h2 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
  margin: 2rem 0 0.85rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: #334155;
  line-height: 1.9;
  font-size: 0.95rem;
}

.legal-content p {
  margin: 0 0 1rem;
}

.legal-content ul {
  margin: 0 0 1rem;
  padding-right: 1.25rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-preview-body h2 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 1.25rem 0 0.5rem;
}

.legal-preview-body h2:first-child {
  margin-top: 0;
}

.legal-preview-body p,
.legal-preview-body li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}
