:root {
  color-scheme: dark;
  --bg: #0d0f10;
  --bg-soft: #111315;
  --section: #141719;
  --card: rgba(255, 255, 255, 0.03);
  --card-strong: rgba(255, 255, 255, 0.055);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f8fafc;
  --secondary: #94a3b8;
  --muted: #64748b;
  --button: #f8fafc;
  --button-text: #0f172a;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --purple: #8b5cf6;
  --green: #10b981;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
  --font-body: "Vazirmatn", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-hero: "Beiruti", "Vazirmatn", system-ui, sans-serif;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f8fb;
  --bg-soft: #ffffff;
  --section: #eef3f8;
  --card: rgba(255, 255, 255, 0.88);
  --card-strong: rgba(255, 255, 255, 0.98);
  --border: rgba(15, 23, 42, 0.11);
  --border-strong: rgba(15, 23, 42, 0.2);
  --text: #0f172a;
  --secondary: #475569;
  --muted: #64748b;
  --button: #0f172a;
  --button-text: #ffffff;
  --shadow: 0 26px 72px rgba(15, 23, 42, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: linear-gradient(180deg, #0d0f10 0%, #101214 42%, #0d0f10 100%);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.8;
  text-align: right;
}

:root[data-theme="light"] body {
  background: linear-gradient(180deg, #fbfdff 0%, #f6f8fb 42%, #edf3f9 100%);
}

.hero::before,
.hero .hero-glow {
  content: "";
  position: absolute;
  z-index: 0;
  width: 62rem;
  height: 62rem;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(8px);
  opacity: 0.9;
  will-change: transform;
}

.hero::before {
  top: -18rem;
  left: -8rem;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18), transparent 66%);
  animation: blueGlowMove 12s ease-in-out infinite alternate;
}

.hero .hero-glow {
  top: -12rem;
  right: -10rem;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.16), transparent 68%);
  animation: purpleGlowMove 14s ease-in-out infinite alternate;
}

:root[data-theme="light"] .hero::before {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.38), rgba(6, 182, 212, 0.12) 38%, transparent 68%);
}

:root[data-theme="light"] .hero .hero-glow {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.34), rgba(217, 70, 239, 0.1) 40%, transparent 68%);
}

@keyframes blueGlowMove {
  0% {
    transform: translate3d(0, 0, 0) scale(0.9);
  }
  50% {
    transform: translate3d(8rem, 5.5rem, 0) scale(1.22);
  }
  100% {
    transform: translate3d(15rem, 1.5rem, 0) scale(0.82);
  }
}

@keyframes purpleGlowMove {
  0% {
    transform: translate3d(0, 0, 0) scale(0.86);
  }
  50% {
    transform: translate3d(-8.5rem, 6rem, 0) scale(1.2);
  }
  100% {
    transform: translate3d(-16rem, 2rem, 0) scale(0.84);
  }
}

@keyframes iconSlideFade {
  0% {
    opacity: 0;
    filter: blur(7px);
    transform: translateX(0);
  }
  12% {
    opacity: 1;
    filter: blur(0);
  }
  76% {
    opacity: 1;
    filter: blur(0);
  }
  82% {
    opacity: 1;
    filter: blur(2px);
  }
  96%,
  100% {
    opacity: 0;
    filter: blur(7px);
    transform: translateX(calc(520px + 84px));
  }
}

@keyframes featureGlowMove {
  0% {
    opacity: 0.42;
    transform: translate3d(-14%, 10%, 0) scale(0.94);
  }
  45% {
    opacity: 0.78;
    transform: translate3d(10%, -7%, 0) scale(1.08);
  }
  100% {
    opacity: 0.52;
    transform: translate3d(18%, 12%, 0) scale(0.98);
  }
}

@keyframes stepsSlide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(50%);
  }
}

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

.container {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(13, 15, 16, 0.72);
  backdrop-filter: blur(18px);
}

:root[data-theme="light"] .site-header {
  border-bottom-color: rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.74);
}

.nav {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

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

.nav-menu {
  display: contents;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a,
.signin-link {
  color: var(--secondary);
  font-size: 12px;
  font-weight: 700;
}

.nav-links a:hover,
.signin-link:hover {
  color: var(--text);
}

.header-button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--button);
  color: var(--button-text);
  padding: 0 16px;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(248, 250, 252, 0.12);
}

.theme-toggle {
  direction: ltr;
  position: relative;
  display: inline-grid;
  grid-template-columns: repeat(2, 28px);
  width: 66px;
  height: 36px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--secondary);
  cursor: pointer;
  padding: 3px;
  font: inherit;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  transition: border-color 180ms ease, background 180ms ease;
}

.theme-toggle::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--button);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
  transform: translateX(30px);
  transition: transform 180ms ease, background 180ms ease;
}

:root[data-theme="light"] .theme-toggle::before {
  transform: translateX(0);
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: var(--border-strong);
}

.theme-toggle-icon {
  position: relative;
  z-index: 1;
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  transition: color 180ms ease;
}

.theme-toggle-icon:last-child,
:root[data-theme="light"] .theme-toggle-icon:first-child {
  color: var(--button-text);
}

:root[data-theme="light"] .theme-toggle-icon:last-child {
  color: var(--secondary);
}

.theme-toggle svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-toggle,
.nav-toggle-label {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 140px 0 104px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
}

.icon-trail {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: min(100%, 520px);
  height: 42px;
  margin: 56px 0 52px;
  overflow: hidden;
  padding: 0 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 18%, black 82%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 18%, black 82%, transparent 100%);
}

.icon-trail::before,
.icon-trail::after {
  content: none;
}

.icon-trail span {
  position: absolute;
  left: -42px;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--secondary);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2);
  opacity: 0;
  filter: blur(7px);
  animation: iconSlideFade 14s linear infinite;
}

:root[data-theme="light"] .icon-trail span {
  background: rgba(255, 255, 255, 0.48);
  box-shadow: none;
}

.icon-trail img {
  width: 21px;
  height: 21px;
  object-fit: contain;
  opacity: 0.92;
  filter: brightness(0) invert(1);
}

.icon-trail span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  width: 86px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.13));
  transform: translateY(-50%);
}

:root[data-theme="light"] .icon-trail span::after {
  background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.14));
}

.icon-trail span:nth-of-type(1) { animation-delay: -4.2s; }
.icon-trail span:nth-of-type(2) { animation-delay: -7s; }
.icon-trail span:nth-of-type(3) { animation-delay: -9.8s; }
.icon-trail span:nth-of-type(4) { animation-delay: -12.6s; }
.icon-trail span:nth-of-type(5) { animation-delay: -1.4s; }

.hero h1 {
  max-width: 840px;
  margin: 0;
  color: var(--text);
  font-family: var(--font-hero);
  font-size: clamp(48px, 7.6vw, 92px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.02;
}

.hero-headline {
  display: flex;
  flex-direction: column;
  gap: 0.08em;
}

/* .hero-line-1 {
  color: var(--secondary);
  font-weight: 600;
} */

.hero-line-2 {
  color: var(--text);
  font-weight: 900;
  letter-spacing: -0.01em;
}

.hero-brand {
  color: #d2995a;
  font-weight: 900;
}

.cta-brand {
  color: #2F5BFF;
  font-weight: 900;
}

.hero p {
  max-width: 640px;
  margin: 26px 0 0;
  color: var(--secondary);
  font-size: 17px;
  line-height: 1.9;
}

.primary-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  margin-top: 34px;
  background: var(--button);
  color: var(--button-text);
  padding: 0 24px;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(248, 250, 252, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-cta:hover,
.header-button:hover {
  transform: translateY(-1px);
}

.feature-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100%, 900px);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-top: 78px;
  background:
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.055), transparent 38%),
    rgba(255, 255, 255, 0.018);
  box-shadow: var(--shadow);
}

.feature-panel::before {
  content: "";
  position: absolute;
  inset: -35% -20%;
  background:
    radial-gradient(circle at 42% 78%, rgba(255, 255, 255, 0.072), transparent 24%),
    radial-gradient(circle at 68% 18%, rgba(37, 99, 235, 0.06), transparent 28%);
  filter: blur(18px);
  opacity: 0.72;
  pointer-events: none;
  animation: featureGlowMove 16s ease-in-out infinite alternate;
}

/* :root[data-theme="light"] .feature-panel {
  background:
    radial-gradient(circle at 50% 62%, rgba(14, 165, 233, 0.18), transparent 38%),
    radial-gradient(circle at 40% 48%, rgba(99, 102, 241, 0.09), transparent 30%),
    rgba(255, 255, 255, 0.76);
} */

:root[data-theme="light"] .feature-panel::before {
  background:
    radial-gradient(circle at 42% 58%, rgba(14, 165, 233, 0.2), transparent 24%),
    radial-gradient(circle at 68% 18%, rgba(99, 102, 241, 0.15), transparent 28%);
}

.feature-card {
  position: relative;
  z-index: 1;
  min-height: 174px;
  border-left: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  text-align: right;
  transition: background 180ms ease, transform 180ms ease;
}

.feature-card:nth-child(4n) {
  border-left: 0;
}

.feature-card:nth-last-child(-n + 4) {
  border-bottom: 0;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.045);
}

.card-icon,
.step-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.card-icon img,
.step-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  opacity: 0.92;
  filter: brightness(0) invert(1);
}

:root[data-theme="light"] .icon-trail img,
:root[data-theme="light"] .card-icon img,
:root[data-theme="light"] .step-icon img {
  filter: none;
}

.feature-card h2 {
  margin: 22px 0 7px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.45;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.section {
  padding: 96px 0;
}

.how-section {
  position: relative;
  border-top: 0;
  background: var(--section);
}

.section-heading {
  margin-bottom: 64px;
}

.section-heading h2,
.manager-title h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-hero);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.18;
}

.section-heading p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.steps-viewport {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 9%, black 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 9%, black 91%, transparent 100%);
}

.steps-track {
  display: flex;
  width: max-content;
  animation: stepsSlide 44s linear infinite;
  will-change: transform;
}

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

.step-card {
  flex: 0 0 295px;
  min-height: 230px;
  border-left: 1px solid var(--border);
  padding: 34px 30px;
}

.step-card small {
  display: block;
  margin-top: 34px;
  color: var(--secondary);
  font-size: 11px;
  font-weight: 900;
}

.step-card h3 {
  margin: 10px 0 0;
  color: var(--text);
  font-size: 15px;
}

.step-card p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.manager-section {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.045), transparent 30rem),
    var(--bg);
}

.manager-title {
  max-width: 560px;
  margin-bottom: 42px;
}

.visual-card {
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  min-height: 330px;
  padding: 0 0 24px;
}

.visual-art {
  position: relative;
  display: grid;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.16), transparent 28%),
    radial-gradient(circle at 78% 54%, rgba(139, 92, 246, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent);
}

.visual-art img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform 400ms ease, filter 400ms ease;
}

.visual-card:hover .visual-art img {
  filter: brightness(1.05);
  transform: scale(1.045);
}

.visual-art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(13, 15, 16, 0.02), rgba(13, 15, 16, 0.24)),
    linear-gradient(90deg, rgba(255,255,255,0.03), transparent 28%, transparent 72%, rgba(255,255,255,0.03));
  pointer-events: none;
}

:root[data-theme="light"] .visual-art::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(15, 23, 42, 0.05)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent 28%, transparent 72%, rgba(255, 255, 255, 0.16));
}

.visual-card h3,
.visual-card p {
  margin-right: 24px;
  margin-left: 24px;
}

.visual-card h3 {
  margin-top: 22px;
  margin-bottom: 0;
  color: var(--text);
  font-size: 18px;
}

.visual-card p {
  margin-top: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 12px;
}

.manager-feature-tabs {
  display: grid;
  grid-template-columns: minmax(250px, 0.68fr) minmax(0, 1.32fr);
  align-items: stretch;
  gap: 14px;
}

.manager-tab-list {
  display: grid;
  align-content: start;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.manager-tab {
  position: relative;
  display: grid;
  gap: 5px;
  min-height: 102px;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 24px;
  text-align: right;
  font: inherit;
  transition: background 220ms ease, color 220ms ease;
}

.manager-tab:last-child {
  border-bottom: 0;
}

.manager-tab::before {
  content: "";
  position: absolute;
  inset: 16px auto 16px 0;
  width: 2px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.72);
  box-shadow: 0 0 22px rgba(37, 99, 235, 0.4);
  opacity: 0;
  transform: scaleY(0.45);
  transition: opacity 220ms ease, transform 220ms ease;
}

.manager-tab span {
  color: var(--text);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.5;
}

.manager-tab small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.manager-tab:hover,
.manager-tab:focus-visible,
.manager-tab.is-active {
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.12), transparent 62%),
    rgba(255, 255, 255, 0.035);
}

.manager-tab.is-active::before {
  opacity: 1;
  transform: scaleY(1);
}

.manager-preview {
  display: grid;
  min-width: 0;
}

.manager-preview-panel {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(230px, 0.64fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  box-shadow: 0 16px 52px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-18px, 0, 0);
  transition: opacity 360ms ease, transform 360ms ease;
}

.manager-preview-panel.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.manager-preview-panel .visual-art {
  min-height: 410px;
  aspect-ratio: auto;
}

.manager-preview-copy {
  display: grid;
  align-content: start;
  gap: 12px;
  border-right: 1px solid var(--border);
  padding: 34px;
  background:
    radial-gradient(circle at 30% 22%, rgba(37, 99, 235, 0.08), transparent 22rem),
    rgba(255, 255, 255, 0.012);
}

.manager-preview-copy h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.5;
}

.manager-preview-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}

.manager-feature-carousel {
  display: none;
}

.manager-carousel-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.manager-carousel-track::-webkit-scrollbar {
  display: none;
}

.manager-slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
}

.manager-carousel-controls {
  direction: ltr;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.manager-carousel-controls button {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 25px;
  line-height: 1;
  transition: background 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.manager-carousel-controls button:hover,
.manager-carousel-controls button:focus-visible {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.08);
}

.manager-carousel-dots {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 8px;
}

.manager-carousel-dots button {
  width: 9px;
  height: 9px;
  min-height: 0;
  border: 0;
  background: rgba(148, 163, 184, 0.36);
  padding: 0;
  transition: width 220ms ease, background 220ms ease;
}

.manager-carousel-dots button.is-active {
  width: 24px;
  background: var(--text);
}

.cta-section {
  padding: 88px 0 118px;
  background: var(--section);
}

.cta-card {
  position: relative;
  display: grid;
  justify-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.055), transparent 30%),
    rgba(255, 255, 255, 0.025);
  padding: 72px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: -72% -46%;
  z-index: 0;
  background:
    radial-gradient(circle at 48% 52%, rgba(255, 255, 255, 0.12), transparent 28%),
    radial-gradient(circle at 62% 42%, rgba(37, 99, 235, 0.12), transparent 34%);
  filter: blur(24px);
  opacity: 0.92;
  pointer-events: none;
  animation: featureGlowMove 16s ease-in-out infinite alternate;
}

:root[data-theme="light"] .cta-card {
  background: rgba(255, 255, 255, 0.78);
}

:root[data-theme="light"] .cta-card::before {
  background:
    radial-gradient(circle at 48% 52%, rgba(14, 165, 233, 0.24), transparent 28%),
    radial-gradient(circle at 62% 42%, rgba(99, 102, 241, 0.17), transparent 34%);
}

.cta-card h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-hero);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
}

.cta-card p {
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--secondary);
}

.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 16px;
  margin-bottom: 22px;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.01em;
}

:root[data-theme="light"] .cta-eyebrow {
  background: rgba(15, 23, 42, 0.04);
}

.cta-button {
  gap: 10px;
  min-height: 52px;
  padding: 0 30px;
  font-size: 15px;
}

.cta-button-arrow {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transform: scaleX(-1);
  transition: transform 180ms ease;
}

.cta-button:hover .cta-button-arrow {
  transform: scaleX(-1) translateX(3px);
}

.cta-hint {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.cta-release {
  display: flex;
  flex-wrap: wrap;
  width: min(100%, 560px);
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.cta-release span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--secondary);
  padding: 0 15px;
  font-size: 12px;
  font-weight: 900;
}

.cta-release strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.8;
}

.trust-notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  background: #0d0f10;
  padding: 0 0 26px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto;
  gap: 36px;
  padding: 38px 0 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}

.footer-brand p {
  margin: 14px 0 0;
  max-width: 320px;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.footer-main h3 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.footer-links a {
  width: fit-content;
  color: var(--secondary);
  font-size: 13px;
  transition: color 0.18s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.footer-trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.trust-seals {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
}

/* Framed white card around each trust badge. Both Enamad and the (light) Zibal
   seal use light artwork, so a white card frames them consistently. */
.trust-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.trust-seal img {
  display: block;
  width: auto;
  height: 84px;
}

.footer-bottom {
  text-align: center;
  padding-top: 26px;
  color: var(--muted);
  font-size: 12px;
}

/* Admin-edited content pages (FAQ, about, …) rendered by the backend at
   /pages/<slug>/ — they reuse this stylesheet via nginx. */
.static-page {
  padding: 56px 0 80px;
}

.static-page .container {
  max-width: 820px;
}

.page-title {
  margin: 0 0 28px;
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 900;
  line-height: 1.4;
}

.page-content {
  color: var(--secondary);
  font-size: 15px;
  line-height: 2.1;
}

/* The admin's rich-text editor emits h1 for headings — the page <h1> is the
   title above, so render content headings at section size. */
.page-content h1,
.page-content h2,
.page-content h3 {
  margin: 30px 0 10px;
  color: var(--text);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.7;
}

.page-content p {
  margin: 0 0 14px;
}

.page-content a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-content ul,
.page-content ol {
  margin: 0 0 14px;
  padding-right: 22px;
}

.page-content li {
  margin-bottom: 6px;
}

.page-content blockquote {
  margin: 18px 0;
  padding: 4px 18px;
  border-right: 3px solid var(--blue);
  color: var(--text);
}

.page-content pre {
  overflow-x: auto;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  direction: ltr;
  text-align: left;
}

.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

:root[data-theme="light"] .header-button,
:root[data-theme="light"] .primary-cta {
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18);
}

:root[data-theme="light"] .feature-card:hover,
:root[data-theme="light"] .manager-carousel-controls button:hover,
:root[data-theme="light"] .manager-carousel-controls button:focus-visible {
  background: rgba(37, 99, 235, 0.07);
}

:root[data-theme="light"] .footer {
  border-top-color: rgba(15, 23, 42, 0.08);
  background: #edf3f9;
}

:root[data-theme="light"] .footer-main {
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

@media (max-width: 767px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .footer-brand p {
    margin-inline: auto;
  }

  .footer-brand .brand,
  .footer-links a {
    margin-inline: auto;
  }

  .trust-seals {
    justify-content: center;
  }
}

@media (max-width: 1023px) {
  .feature-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .manager-feature-tabs {
    display: none;
  }

  .manager-feature-carousel {
    display: block;
  }

  .feature-card:nth-child(4n) {
    border-left: 1px solid var(--border);
  }

  .feature-card:nth-child(2n) {
    border-left: 0;
  }

  .feature-card:nth-last-child(-n + 4) {
    border-bottom: 1px solid var(--border);
  }

  .feature-card:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .nav {
    min-height: 64px;
  }

  .nav-toggle-label {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-toggle-label span {
    width: 17px;
    height: 2px;
    border-radius: 999px;
    background: var(--secondary);
  }

  .nav-menu {
    position: absolute;
    top: 64px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(17, 19, 21, 0.96);
    box-shadow: var(--shadow);
  }

  :root[data-theme="light"] .nav-menu {
    background: rgba(255, 255, 255, 0.98);
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
  }

  .nav-links a {
    padding: 10px;
  }

  .nav-actions {
    justify-content: space-between;
    padding: 12px;
    border-top: 1px solid var(--border);
  }

  .nav-toggle:checked ~ .nav-menu {
    display: flex;
  }

  .hero {
    padding-top: 34px;
  }

  .icon-trail {
    width: min(100%, 300px);
    margin-bottom: 36px;
  }

  .icon-trail::before,
  .icon-trail::after {
    display: none;
  }

  .icon-trail span {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .hero h1 {
    font-size: clamp(38px, 13vw, 58px);
  }

  .hero p {
    font-size: 15px;
  }

  .feature-panel {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-card:nth-child(2n),
  .feature-card:nth-child(4n) {
    border-left: 0;
  }

  .feature-card,
  .feature-card:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .feature-card:last-child {
    border-bottom: 0;
  }

  .step-card {
    flex-basis: 260px;
  }

  .section {
    padding: 72px 0;
  }

  .visual-card {
    min-height: 300px;
  }

  .cta-card {
    padding: 52px 18px;
  }

  .cta-release {
    display: grid;
    gap: 8px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero .hero-glow,
  .hero::after,
  .feature-panel::before,
  .cta-card::before,
  .icon-trail span,
  .steps-track {
    animation: none;
  }

  .manager-preview-panel,
  .visual-art img {
    transition: none;
  }

  .manager-carousel-track {
    scroll-behavior: auto;
  }

  .icon-trail span {
    opacity: 1;
    transform: none;
  }
}
