/* Public landing page for Vazin SMM.
   Built on the shared vazin-ui tokens so it belongs to the same product.
   Every effect is CSS: the site's content policy forbids inline styles and
   third-party assets, and motion is switched off wholesale for anyone who
   asks for reduced motion. */

@font-face {
  font-family: "Vazirmatn";
  src: url("/landing-assets/Vazirmatn.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --lp-max: 1120px;
  --lp-grad: linear-gradient(135deg, var(--v-ui-primary), #0f766e);
}

body.landing {
  margin: 0;
  font-family: var(--v-ui-font);
  background: var(--v-ui-bg);
  color: var(--v-ui-text);
  line-height: 1.8;
  overflow-x: clip;
}

body.landing h1,
body.landing h2,
body.landing h3 { line-height: 1.35; margin: 0; }

body.landing p { margin: 0; }

body.landing a { color: inherit; }

/* ---------- top bar ---------- */

.lp-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--v-ui-space-4);
  padding: var(--v-ui-space-3) clamp(16px, 5vw, 64px);
  border-bottom: 1px solid var(--v-ui-border);
  background: color-mix(in srgb, var(--v-ui-surface) 88%, transparent);
  backdrop-filter: blur(14px);
}

.lp-brand { display: inline-flex; align-items: center; gap: var(--v-ui-space-3); text-decoration: none; }
.lp-brand-text strong, .lp-brand-text small { display: block; line-height: 1.3; }
.lp-brand-text small { color: var(--v-ui-muted); font-size: .78rem; }

.lp-mark {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: var(--v-ui-radius-md);
  color: #fff;
  font-weight: 800;
  background: var(--lp-grad);
  background-size: 200% 200%;
  animation: lp-shift 9s ease-in-out infinite;
}

.lp-nav { display: flex; align-items: center; gap: var(--v-ui-space-4); }
.lp-nav > a { text-decoration: none; color: var(--v-ui-muted); font-size: .92rem; }
.lp-nav > a:hover { color: var(--v-ui-text); }
.lp-nav > a.lp-button { color: #fff; }

@media (max-width: 720px) {
  .lp-nav > a:not(.lp-button) { display: none; }
}

/* ---------- buttons ---------- */

.lp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--lp-grad);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 26px color-mix(in srgb, var(--v-ui-primary) 30%, transparent);
  transition: transform .22s ease, box-shadow .22s ease;
}
.lp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px color-mix(in srgb, var(--v-ui-primary) 38%, transparent);
}

/* Keep unavailable login actions hidden and maintain CTA contrast. */
body.landing a.lp-button:not(.lp-button-ghost) { color: #fff; }
body.landing a.lp-button[hidden] { display: none !important; }
.lp-button-small { padding: 9px 18px; font-size: .9rem; }
.lp-button-ghost {
  background: transparent;
  color: var(--v-ui-text);
  border-color: var(--v-ui-border);
  box-shadow: none;
}
.lp-button-ghost:hover { border-color: var(--v-ui-primary); box-shadow: none; }

/* ---------- hero ---------- */

.lp-hero {
  position: relative;
  /* Clips the glow below; `clip` rather than `hidden` so the hero does not
     become a scroll container and sticky positioning stays intact. */
  overflow: clip;
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: clamp(48px, 9vw, 104px) clamp(16px, 5vw, 32px) clamp(32px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(24px, 5vw, 56px);
}

.lp-hero-glow {
  position: absolute;
  inset-inline-end: -12%;
  top: -18%;
  width: min(620px, 78vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--v-ui-primary) 26%, transparent),
    transparent 68%
  );
  filter: blur(14px);
  pointer-events: none;
  animation: lp-breathe 12s ease-in-out infinite;
}

.lp-eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .76rem;
  font-weight: 700;
  color: var(--v-ui-primary);
  margin-bottom: var(--v-ui-space-3);
}

.lp-hero h1 {
  font-size: clamp(2.1rem, 5.6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.01em;
}

.lp-gradient {
  background: var(--lp-grad);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: lp-shift 8s ease-in-out infinite;
}

.lp-lead {
  margin-top: var(--v-ui-space-4);
  font-size: clamp(1rem, 2.1vw, 1.16rem);
  color: var(--v-ui-muted);
  max-width: 46ch;
}

.lp-cta { display: flex; gap: var(--v-ui-space-3); flex-wrap: wrap; margin-top: var(--v-ui-space-8); }
.lp-cta-center { justify-content: center; margin-top: var(--v-ui-space-12); }
.lp-note { margin-top: var(--v-ui-space-4); font-size: .85rem; color: var(--v-ui-muted); }

/* ---------- the orbiting hub ---------- */

.lp-hero-visual { display: grid; place-items: center; }

.lp-orbit {
  position: relative;
  width: min(420px, 82vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.lp-orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed color-mix(in srgb, var(--v-ui-primary) 28%, transparent);
}
.lp-orbit-ring-1 { inset: 16%; animation: lp-spin 34s linear infinite; }
.lp-orbit-ring-2 { inset: 2%; animation: lp-spin 52s linear infinite reverse; }

.lp-hub {
  position: relative;
  display: grid;
  place-items: center;
  width: 33%;
  aspect-ratio: 1;
  border-radius: 50%;
  color: #fff;
  background: var(--lp-grad);
  background-size: 200% 200%;
  box-shadow: 0 18px 44px color-mix(in srgb, var(--v-ui-primary) 34%, transparent);
  animation: lp-shift 9s ease-in-out infinite;
}
.lp-hub-mark { font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 800; }
.lp-hub-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--v-ui-primary) 45%, transparent);
  animation: lp-pulse 3.2s ease-out infinite;
}

/* Seven nodes pinned around the circle; each one drifts on its own clock so
   the group never looks mechanically synchronised. */
.lp-node {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 52px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--v-ui-text);
  background: var(--v-ui-surface);
  border: 1px solid var(--v-ui-border);
  box-shadow: var(--v-ui-shadow);
  animation: lp-float 6s ease-in-out infinite;
}
.lp-node-1 { top: 2%;  inset-inline-start: 38%; animation-delay: -.2s; }
.lp-node-2 { top: 20%; inset-inline-end: 2%;    animation-delay: -1.1s; }
.lp-node-3 { top: 52%; inset-inline-end: 0;     animation-delay: -2.0s; }
.lp-node-4 { bottom: 12%; inset-inline-end: 16%; animation-delay: -2.9s; }
.lp-node-5 { bottom: 2%;  inset-inline-start: 36%; animation-delay: -3.7s; }
.lp-node-6 { top: 52%; inset-inline-start: 0;   animation-delay: -4.4s; }
.lp-node-7 { top: 18%; inset-inline-start: 1%;  animation-delay: -5.2s; }

@media (max-width: 860px) {
  .lp-hero { grid-template-columns: 1fr; }
  .lp-hero-visual { order: -1; }
  .lp-lead { max-width: none; }
}

/* ---------- network strip ---------- */

.lp-strip {
  border-block: 1px solid var(--v-ui-border);
  background: color-mix(in srgb, var(--v-ui-surface) 60%, transparent);
}
.lp-strip-inner {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: var(--v-ui-space-4) clamp(16px, 5vw, 32px);
  display: flex;
  flex-wrap: wrap;
  gap: var(--v-ui-space-2);
  justify-content: center;
}
.lp-chip {
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--v-ui-border);
  background: var(--v-ui-surface);
  font-size: .86rem;
  color: var(--v-ui-muted);
}

/* ---------- sections ---------- */

.lp-section {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 92px) clamp(16px, 5vw, 32px);
}
.lp-section-alt {
  max-width: none;
  background: color-mix(in srgb, var(--v-ui-surface) 55%, transparent);
  border-block: 1px solid var(--v-ui-border);
}
.lp-section-alt > * { max-width: var(--lp-max); margin-inline: auto; }

.lp-section-head { text-align: center; margin-bottom: clamp(28px, 5vw, 52px); }
.lp-section-head h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 800; }

/* ---------- feature cards ---------- */

.lp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: var(--v-ui-space-4);
}

.lp-card {
  padding: var(--v-ui-space-6);
  border-radius: var(--v-ui-radius-lg);
  border: 1px solid var(--v-ui-border);
  background: var(--v-ui-surface);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.lp-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--v-ui-primary) 40%, var(--v-ui-border));
  box-shadow: var(--v-ui-shadow);
}
.lp-card h3 { font-size: 1.08rem; margin-bottom: var(--v-ui-space-2); }
.lp-card p { color: var(--v-ui-muted); font-size: .94rem; }

.lp-card-icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: var(--v-ui-space-4);
  border-radius: var(--v-ui-radius-md);
  color: var(--v-ui-primary);
  background: color-mix(in srgb, var(--v-ui-primary) 12%, transparent);
}
.lp-card-icon svg { width: 22px; height: 22px; }

/* ---------- steps ---------- */

.lp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--v-ui-space-4);
}
.lp-step {
  position: relative;
  padding: var(--v-ui-space-6);
  border-radius: var(--v-ui-radius-lg);
  border: 1px solid var(--v-ui-border);
  background: var(--v-ui-surface);
}
.lp-step-num {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  margin-bottom: var(--v-ui-space-4);
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  background: var(--lp-grad);
}
.lp-step h3 { font-size: 1.05rem; margin-bottom: var(--v-ui-space-2); }
.lp-step p { color: var(--v-ui-muted); font-size: .94rem; }
.lp-mono { font-family: var(--v-ui-code-font); direction: ltr; unicode-bidi: isolate; }

/* ---------- panel explainer ---------- */

.lp-panelbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--v-ui-space-6);
  flex-wrap: wrap;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--v-ui-radius-xl);
  border: 1px solid var(--v-ui-border);
  background: var(--v-ui-surface);
}
.lp-panelbox h2 { font-size: clamp(1.3rem, 2.8vw, 1.7rem); margin-bottom: var(--v-ui-space-3); }
.lp-panelbox p { color: var(--v-ui-muted); max-width: 62ch; }

/* ---------- footer ---------- */

.lp-footer { border-top: 1px solid var(--v-ui-border); }
.lp-footer-inner {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: var(--v-ui-space-6) clamp(16px, 5vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--v-ui-space-4);
  flex-wrap: wrap;
  color: var(--v-ui-muted);
  font-size: .85rem;
  letter-spacing: .04em;
}
.lp-footer-links { display: flex; gap: var(--v-ui-space-4); }
.lp-footer-links a { text-decoration: none; }
.lp-footer-links a:hover { color: var(--v-ui-text); }

/* ---------- entrance motion ----------
   Elements start hidden and are revealed once, either immediately (above the
   fold) or when scrolled into view. Without JavaScript nothing would ever be
   shown, so the no-js rule below keeps the page readable regardless. */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-in { opacity: 1; transform: none; }

.reveal-1 { transition-delay: .08s; }
.reveal-2 { transition-delay: .16s; }
.reveal-3 { transition-delay: .24s; }
.reveal-4 { transition-delay: .32s; }
.reveal-5 { transition-delay: .40s; }
.reveal-6 { transition-delay: .48s; }

html.no-js .reveal { opacity: 1; transform: none; }

/* ---------- keyframes ---------- */

@keyframes lp-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

@keyframes lp-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes lp-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

@keyframes lp-pulse {
  0%   { transform: scale(1);    opacity: .7; }
  70%  { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

@keyframes lp-breathe {
  0%, 100% { transform: scale(1);    opacity: .85; }
  50%      { transform: scale(1.12); opacity: 1; }
}

/* ---------- complementary ChatGPT tools: independent public product listings ---------- */
.lp-tool-section { padding-inline: clamp(16px, 5vw, 32px); scroll-margin-top: 96px; }
@media (max-width: 980px) { .lp-tool-section { scroll-margin-top: 220px; } }
.lp-tool-section .lp-section-head { max-width: 780px; margin-inline: auto; }
.lp-tool-intro { max-width: 720px; margin: var(--v-ui-space-4) auto 0; color: var(--v-ui-muted); font-size: .95rem; }
.lp-tool-grid { max-width: var(--lp-max); margin-inline: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 26px); }
.lp-tool-card {
  min-width: 0; display: flex; flex-direction: column; gap: var(--v-ui-space-4);
  padding: clamp(22px, 3.5vw, 32px); background: var(--v-ui-surface);
  border: 1px solid var(--v-ui-border); border-radius: var(--v-ui-radius-xl);
  box-shadow: var(--v-ui-shadow);
}
.lp-tool-card-top { display: flex; align-items: center; gap: var(--v-ui-space-4); min-width: 0; }
.lp-tool-card-top > div { min-width: 0; }
.lp-tool-card h3 { font-size: clamp(1.06rem, 2vw, 1.24rem); overflow-wrap: anywhere; }
.lp-tool-card > p { margin: 0; color: var(--v-ui-muted); font-size: .94rem; }
.lp-tool-category { font-size: .81rem; color: var(--v-ui-muted); }
.lp-tool-mark { display: grid; place-items: center; flex: 0 0 52px; width: 52px; height: 52px;
  border-radius: var(--v-ui-radius-md); color: #fff; font-size: 1rem; font-weight: 850; background: #2563eb; direction: ltr; }
.lp-tool-mark-tg { background: #6652c5; }
.lp-tool-state { align-self: flex-start; margin-top: auto; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--v-ui-border); color: var(--v-ui-muted); font-size: .77rem; font-weight: 650; }
.lp-tool-disclaimer { max-width: var(--lp-max); margin: 22px auto 0; text-align: center;
  color: var(--v-ui-muted); font-size: .78rem; }
@media (max-width: 720px) {
  .lp-tool-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-tool-card { padding: 22px; }
  .lp-tool-card-top { align-items: flex-start; }
  .lp-tool-mark { flex-basis: 46px; width: 46px; height: 46px; }
}

/* ---------- reduced motion ----------
   Nothing moves, and every revealed element is simply present. */

@media (prefers-reduced-motion: reduce) {
  body.landing *,
  body.landing *::before,
  body.landing *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
