/* Ghollak Landing ? offline fonts */
@font-face {
  font-family: "Dana";
  src: url("../fonts/dana/dana-medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/vazirmatn/vazirmatn-arabic-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/vazirmatn/vazirmatn-arabic-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/vazirmatn/vazirmatn-latin-ext-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/vazirmatn/vazirmatn-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/vazirmatn/vazirmatn-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/vazirmatn/vazirmatn-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --fg: #020617;
  --muted: #64748b;
  --border: #e2e8f0;
  --primary: #0f172a;
  --primary-fg: #ffffff;
  --gold: #a16207;
  --gold-bright: #d97706;
  --gold-soft: #fffbeb;
  --surface: #ffffff;
  --radius: 14px;
  --max: 1160px;
  --font: "Vazirmatn", Tahoma, sans-serif;
  --font-display: "Dana", "Vazirmatn", Tahoma, sans-serif;
  --section-y: 2.75rem;
}

h1,
h2,
h3,
.hero h1,
.section-head h2,
.cta-box h2,
.pillar-title h3 {
  font-family: var(--font-display);
  font-weight: 500;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

.skip-link {
  position: absolute;
  inset-inline-start: -999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  inset-inline-start: 1rem;
}

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

/* ??? Header ??? */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  gap: 1rem;
  padding-block: 0.35rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  padding: 0.35rem 0.2rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--fg);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg);
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
  font-family: inherit;
  cursor: pointer;
}

/* ??? Buttons ??? */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #0f172a;
  color: #fff;
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b, #a16207);
  color: #fff;
  box-shadow: 0 8px 24px rgba(161, 98, 7, 0.35);
}

.btn-gold:hover {
  box-shadow: 0 12px 28px rgba(161, 98, 7, 0.45);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--fg);
}

.btn-ghost-dark {
  background: transparent;
  border-color: var(--border);
  color: var(--fg);
}

.btn-nav {
  background: linear-gradient(135deg, #f59e0b, #a16207);
  color: #fff !important;
  padding: 0.55rem 1rem !important;
  border-radius: 999px;
}

/* ??? Hero light ??? */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  padding: 3.25rem 0 2.5rem;
  color: var(--fg);
  background:
    radial-gradient(ellipse 70% 55% at 85% 15%, rgba(161, 98, 7, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(15, 23, 42, 0.04), transparent 50%),
    #ffffff;
  overflow: hidden;
}

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

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}

.hero-glow {
  position: absolute;
  width: 55vw;
  height: 55vw;
  max-width: 720px;
  max-height: 720px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
}

.hero-glow-a {
  top: -15%;
  inset-inline-end: -10%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.35), transparent 65%);
  animation: floatGlow 10s ease-in-out infinite;
}

.hero-glow-b {
  bottom: -20%;
  inset-inline-start: -8%;
  background: radial-gradient(circle, rgba(148, 163, 184, 0.25), transparent 65%);
  animation: floatGlow 12s ease-in-out infinite reverse;
}

.hero-scan {
  position: absolute;
  inset-inline: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(161, 98, 7, 0.35), transparent);
  animation: scan 5.5s linear infinite;
  opacity: 0.5;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }
}

.hero-copy .logo-row {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1rem;
}

.hero-copy .logo-row img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: 0;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2.1rem, 4.6vw, 3.55rem);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.02em;
  max-width: 14ch;
  color: var(--fg);
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.hero-lead {
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--border);
  margin-top: 0.25rem;
}

.hero-metrics div {
  min-width: 6.5rem;
}

.hero-metrics strong {
  display: block;
  font-size: 1.05rem;
  color: var(--fg);
}

.hero-metrics span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Tech panel */
.hero-panel {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 24px 48px rgba(15, 23, 42, 0.08);
  padding: 1.25rem;
  overflow: hidden;
  min-height: 340px;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(161, 98, 7, 0.08), transparent 40%),
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: auto, 24px 24px, 24px 24px;
  pointer-events: none;
}

.panel-top {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #15803d;
}

.live-dot i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: pulse 1.8s infinite;
}

.panel-balance {
  position: relative;
  margin-bottom: 1.1rem;
}

.panel-balance .label {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.panel-balance .value {
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.panel-balance .sub {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 0.25rem;
}

.panel-stream {
  position: relative;
  display: grid;
  gap: 0.45rem;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.72rem;
  color: #0f766e;
  direction: ltr;
  text-align: left;
  opacity: 0.95;
}

.panel-stream span {
  white-space: nowrap;
  overflow: hidden;
  border-inline-end: 2px solid transparent;
  animation: typeFade 4s ease-in-out infinite;
}

.panel-stream span:nth-child(2) {
  animation-delay: 0.4s;
  color: var(--gold);
}

.panel-stream span:nth-child(3) {
  animation-delay: 0.8s;
  color: #15803d;
}

.panel-chart {
  position: relative;
  margin-top: 1.1rem;
  height: 72px;
}

.panel-chart svg {
  width: 100%;
  height: 100%;
}

/* ??? Sections tight ??? */
section {
  padding: var(--section-y) 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.35rem;
}

.section-head h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-transform: uppercase;
}

/* Clients marquee */
.clients {
  background: var(--surface);
  border-block: 1px solid var(--border);
  padding: 1.5rem 0 1.35rem;
}

.clients .section-head {
  text-align: center;
  margin-inline: auto;
  margin-bottom: 1rem;
}

.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: marquee 28s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track .bank-logo {
  flex: 0 0 auto;
  height: 56px;
  width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.marquee-track .bank-logo img {
  max-height: 40px;
  max-width: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.marquee-track .bank-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

/* ??? Stats ??? */
.stats {
  background: #ffffff;
}

.stats-grid {
  display: grid;
  gap: 0.85rem;
}

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

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 168px;
}

.stat-card-top {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.live-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 1.8s infinite;
}

.stat-value {
  font-size: clamp(1.55rem, 2.4vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}

.stat-unit {
  color: var(--muted);
  font-size: 0.8rem;
}

.stat-card canvas {
  width: 100%;
  height: 72px;
  display: block;
}

/* ??? Testimonials ??? */
.testimonials {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.testimonial-viewport {
  overflow: hidden;
  border-radius: var(--radius);
  direction: ltr;
}

.testimonial-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.45s ease;
}

.testimonial-card {
  flex: 0 0 100%;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  direction: rtl;
  text-align: right;
}

@media (min-width: 800px) {
  .testimonial-card {
    flex-basis: calc((100% - 1rem) / 2);
  }
}

@media (min-width: 1100px) {
  .testimonial-card {
    flex-basis: calc((100% - 2rem) / 3);
  }
}

.testimonial-card .quote {
  margin: 0;
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.85;
  text-align: right;
  direction: rtl;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: right;
  direction: rtl;
}

.testimonial-card .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fef3c7, #f59e0b);
  color: #78350f;
  font-weight: 800;
}

.testimonial-card .author strong {
  display: block;
  font-size: 0.95rem;
}

.testimonial-card .author span {
  color: var(--muted);
  font-size: 0.8rem;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.slider-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--fg);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.slider-btn:hover {
  border-color: rgba(161, 98, 7, 0.4);
  background: var(--gold-soft);
}

.slider-dots {
  display: flex;
  gap: 0.35rem;
}

.slider-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #cbd5e1;
  cursor: pointer;
}

.slider-dots button.active {
  background: var(--gold);
  width: 18px;
  border-radius: 999px;
}

/* Problem / how / trust */
.problem {
  background: transparent;
}

.split {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
  }
}

/* Product pillars ? premium alternating feature cards */
.pillars {
  background: #ffffff;
}

.pillars-intro {
  margin-bottom: 1.5rem;
}

.pillar-card {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
  margin-bottom: 1rem;
  padding: 1.35rem 1.25rem;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e8ecf1;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 32px rgba(15, 23, 42, 0.05);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.pillar-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #fbbf24, #a16207);
  opacity: 0.95;
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(161, 98, 7, 0.28);
  box-shadow:
    0 8px 18px rgba(15, 23, 42, 0.06),
    0 22px 48px rgba(15, 23, 42, 0.08);
}

.pillar-card:last-child {
  margin-bottom: 0;
}

@media (min-width: 800px) {
  .pillar-card {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    padding: 1.75rem 1.75rem 1.75rem 1.9rem;
    margin-bottom: 1.15rem;
  }

  /* RTL: first col = right ? copy right, title left */
  .pillar-card .pillar-copy {
    order: 1;
    display: flex;
    align-items: center;
  }

  .pillar-card .pillar-title {
    order: 2;
  }

  .pillar-card--flip .pillar-copy {
    order: 2;
  }

  .pillar-card--flip .pillar-title {
    order: 1;
  }

  .pillar-card--flip::before {
    inset: 0 0 0 auto;
  }
}

.pillar-title {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  justify-content: center;
  padding: 0.35rem 0;
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #a16207;
  background:
    linear-gradient(145deg, #fff7ed, #fef3c7);
  border: 1px solid rgba(251, 191, 36, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.pillar-index {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #b45309;
  font-variant-numeric: tabular-nums;
}

.pillar-title h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #0f172a;
}

.pillar-copy p {
  margin: 0;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.95;
  max-width: 36rem;
}

.feature-grid {
  display: grid;
  gap: 0.85rem;
}

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

.feature {
  padding: 1.15rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature:hover {
  border-color: rgba(161, 98, 7, 0.35);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.feature .icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  color: var(--gold);
  margin-bottom: 0.7rem;
}

.feature h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
}

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

.trust-strip {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .trust-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item {
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.trust-item strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.85rem;
}

.cta {
  padding-bottom: 2.5rem;
}

.cta-box {
  padding: 1.75rem 1.35rem;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
  color: var(--fg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-box h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.cta-box p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ??? Dense footer ??? */
.site-footer {
  background: #ffffff;
  color: var(--muted);
  padding: 2.5rem 0 1.25rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.4fr repeat(4, 1fr);
  }
}

.footer-brand p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 18rem;
}

.footer-col h4 {
  margin: 0 0 0.75rem;
  color: var(--fg);
  font-size: 0.92rem;
  font-family: var(--font-display);
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-col a {
  color: var(--muted);
  font-size: 0.86rem;
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Motion */
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes scan {
  0% {
    top: 8%;
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    top: 90%;
    opacity: 0;
  }
}

@keyframes floatGlow {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-3%, 4%) scale(1.06);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

@keyframes typeFade {
  0%,
  100% {
    opacity: 0.35;
  }
  40%,
  70% {
    opacity: 1;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 899px) {
  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    position: absolute;
    inset: 4.5rem 1rem auto;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee-track,
  .hero-scan,
  .hero-glow-a,
  .hero-glow-b,
  .live-dot i,
  .panel-stream span {
    animation: none !important;
  }

  .btn:hover {
    transform: none;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ??? Ghollak Card hero ??? */
.hero-card-stage {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.card-flow {
  position: relative;
  width: min(100%, 420px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.ghollak-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1.586 / 1;
  border-radius: 22px;
  padding: 1.35rem 1.45rem;
  color: #fff;
  background:
    radial-gradient(420px 180px at 90% 0%, rgba(251, 191, 36, 0.35), transparent 55%),
    linear-gradient(145deg, #0f172a 0%, #1e293b 45%, #422006 100%);
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transform: rotate(-2deg);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.card-flow[data-mode="spend"] .ghollak-card {
  transform: rotate(2deg);
}

.gc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.4rem;
}

.gc-brand {
  font-size: 0.95rem;
  letter-spacing: 0;
  font-weight: 800;
  color: #fde68a;
  direction: rtl;
  font-family: inherit;
}

.gc-chip {
  width: 42px;
  height: 32px;
  border-radius: 6px;
  background: linear-gradient(135deg, #fbbf24, #a16207 60%, #78350f);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
}

.gc-number {
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  letter-spacing: 0.14em;
  font-weight: 600;
  margin-bottom: 1.25rem;
  direction: ltr;
  text-align: left;
}

.gc-mid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.gc-label {
  display: block;
  font-size: 0.68rem;
  color: #94a3b8;
  margin-bottom: 0.25rem;
}

.gc-gold,
.gc-toman {
  font-size: 0.95rem;
  font-weight: 700;
}

.gc-gold { color: #fbbf24; }
.gc-toman { color: #e2e8f0; }

.gc-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: #94a3b8;
  letter-spacing: 0.06em;
}

.gc-name {
  color: #f8fafc;
  font-weight: 600;
}

.gc-convert {
  position: absolute;
  inset-inline: 18%;
  top: 42%;
  text-align: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.95);
  color: #422006;
  font-size: 0.78rem;
  font-weight: 800;
  opacity: 0;
  transform: scale(0.85);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.gc-convert.show {
  opacity: 1;
  transform: scale(1);
}

.flow-chip {
  position: absolute;
  z-index: 3;
  top: -0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.15);
  animation: chipDrop 3.6s ease-in-out infinite;
}

.flow-chip.flow-in {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.flow-chip.flow-out {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.card-caption {
  margin: 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 22rem;
  line-height: 1.6;
}

@keyframes chipDrop {
  0% { transform: translateY(-18px); opacity: 0; }
  18% { opacity: 1; }
  45% { transform: translateY(42px); opacity: 1; }
  70% { transform: translateY(58px); opacity: 0.35; }
  100% { transform: translateY(70px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .flow-chip { animation: none; opacity: 1; transform: none; position: static; }
  .ghollak-card { transform: none; }
}

.cta-box--with-card {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 800px) {
  .cta-box--with-card {
    grid-template-columns: minmax(200px, 280px) 1fr;
  }
}

.cta-card-visual {
  display: flex;
  justify-content: center;
}

.ghollak-card--cta {
  width: min(100%, 280px);
  transform: rotate(-4deg);
}

.cta-copy .btn {
  margin-top: 1rem;
  display: inline-flex;
}

.cta-copy p + p {
  margin-top: 0.35rem;
}
