:root {
  --ink: #06050e;
  --ink-2: #0d0b1c;
  --panel: #12102a;
  --panel-2: #191635;
  --indigo: #5648f5;
  --violet: #7b6cff;
  --lav: #bdb8ff;
  --paper: #f3f2ff;
  --mist: #9c9ac0;
  --mint: #7cf2b6;
  --amber: #ffd166;
  --red: #ff6b81;
  --line: rgba(189, 184, 255, 0.12);
  --line-strong: rgba(189, 184, 255, 0.24);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 16px 44px rgba(0, 0, 0, 0.28);
  --r: 18px;
  --rc: 12px;
  --max: 1220px;
  --mono: ui-monospace, "Cascadia Code", "JetBrains Mono", Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-x: clip;
  font-family: "Readex Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--paper);
  background:
    radial-gradient(1100px 560px at 8% -12%, rgba(86, 72, 245, 0.28), transparent 62%),
    radial-gradient(900px 520px at 102% -6%, rgba(123, 108, 255, 0.16), transparent 58%),
    radial-gradient(760px 520px at 50% 112%, rgba(124, 242, 182, 0.07), transparent 60%),
    var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: #fff;
  background: rgba(86, 72, 245, 0.72);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--lav);
  outline-offset: 3px;
  border-radius: 6px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(189, 184, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(189, 184, 255, 0.045) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(circle at 50% 18%, #000 0%, transparent 72%);
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.mono {
  font-family: var(--mono);
}

.muted {
  color: var(--mist);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--ink);
  background: var(--paper);
  font-size: 13px;
  font-weight: 600;
  transform: translate(-50%, -160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

.ico {
  width: 18px;
  height: 18px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ico-sm {
  width: 15px;
  height: 15px;
}

.ico-lg {
  width: 22px;
  height: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #fff;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #7b6cff 0%, #5648f5 55%, #4536dd 100%);
  box-shadow:
    0 10px 30px rgba(86, 72, 245, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary:hover {
  box-shadow:
    0 16px 38px rgba(86, 72, 245, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-ghost {
  color: var(--paper);
  background: rgba(189, 184, 255, 0.06);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: rgba(189, 184, 255, 0.11);
}

.btn-soft {
  color: var(--mint);
  background: rgba(124, 242, 182, 0.1);
  border-color: rgba(124, 242, 182, 0.25);
}

.btn-sm {
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 13px;
}

.btn-icon {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 11px;
  color: var(--mist);
  background: rgba(189, 184, 255, 0.06);
  border: 1px solid var(--line);
}

.btn-icon:hover {
  color: var(--paper);
  background: rgba(189, 184, 255, 0.12);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--mist);
  background: rgba(189, 184, 255, 0.05);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.pill.ok {
  color: var(--mint);
  background: rgba(124, 242, 182, 0.08);
  border-color: rgba(124, 242, 182, 0.28);
}

.pill.warn {
  color: var(--amber);
  background: rgba(255, 209, 102, 0.08);
  border-color: rgba(255, 209, 102, 0.3);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.glass {
  background: linear-gradient(160deg, rgba(25, 22, 53, 0.78), rgba(11, 10, 26, 0.78));
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(6, 5, 14, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled::before {
  background: rgba(6, 5, 14, 0.9);
  border-bottom-color: var(--line);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.32);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: var(--paper);
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(86, 72, 245, 0.45);
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-name span {
  color: var(--lav);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline-start: 10px;
}

.nav-links a {
  padding: 9px 13px;
  border-radius: 10px;
  color: var(--mist);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-links a:hover {
  color: var(--paper);
  background: rgba(189, 184, 255, 0.07);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: auto;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--lav);
  background: rgba(189, 184, 255, 0.05);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.lang-btn:hover {
  background: rgba(189, 184, 255, 0.11);
  border-color: var(--line-strong);
}

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--paper);
  background: rgba(189, 184, 255, 0.06);
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: start center;
  padding: 92px 20px 30px;
  background: rgba(6, 5, 14, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  backdrop-filter: blur(20px);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-inner {
  position: relative;
  width: min(420px, 100%);
  padding: 58px 18px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(25, 22, 53, 0.96), rgba(11, 10, 26, 0.96));
  box-shadow: var(--shadow);
}

.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--paper);
  font-size: 15px;
  font-weight: 500;
}

.mobile-menu a:last-of-type {
  border-bottom: 0;
}

.mobile-menu .btn {
  width: 100%;
  margin-top: 10px;
}

.mobile-close {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  display: inline-flex;
}

.hero {
  position: relative;
  z-index: 1;
  padding: 66px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  margin: 20px 0 18px;
  font-size: clamp(46px, 6.2vw, 76px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

:lang(ar) .hero h1 {
  line-height: 1.14;
  letter-spacing: -0.01em;
}

.hero-visual {
  position: relative;
  min-width: 0;
  perspective: 1400px;
}

.terminal {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(189, 184, 255, 0.16);
  border-radius: 20px;
  background: linear-gradient(170deg, #0b0a1a, #05040c 60%);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(86, 72, 245, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.8s var(--ease), box-shadow 0.8s var(--ease);
  animation: terminalFloat 9s ease-in-out infinite;
}

@keyframes terminalFloat {
  0%,
  100% {
    transform: perspective(1200px) rotateY(-5deg) rotateX(2deg) translateY(0);
  }
  50% {
    transform: perspective(1200px) rotateY(4deg) rotateX(-1deg) translateY(-8px);
  }
}

.terminal:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
  box-shadow:
    0 50px 120px rgba(0, 0, 0, 0.6),
    0 0 110px rgba(86, 72, 245, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.terminal::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(600px 200px at 70% 0%, rgba(86, 72, 245, 0.12), transparent 70%);
}

.term-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(189, 184, 255, 0.09);
  background: rgba(255, 255, 255, 0.02);
}

.term-dots {
  display: flex;
  gap: 6px;
}

.term-dots i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2a2747;
}

.term-dots i:nth-child(1) {
  background: #ff6b81;
}

.term-dots i:nth-child(2) {
  background: #ffd166;
}

.term-dots i:nth-child(3) {
  background: #7cf2b6;
}

.term-title {
  margin-inline-start: 6px;
  color: var(--mist);
  font-family: var(--mono);
  font-size: 11px;
  direction: ltr;
}

.term-live {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-inline-start: auto;
  color: var(--mint);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.term-body {
  position: relative;
  padding: 18px 20px 8px;
}

.term-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.term-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--mist);
  background: rgba(189, 184, 255, 0.035);
  font-size: 10.5px;
}

.term-status-row b {
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  direction: ltr;
}

.term-status-row .ok {
  color: var(--mint);
}

.term-chart-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--mist);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.term-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 74px;
  padding-bottom: 8px;
}

.term-chart i {
  display: block;
  flex: 1;
  min-height: 6px;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, rgba(123, 108, 255, 0.95), rgba(86, 72, 245, 0.18));
  opacity: 0.85;
  transform-origin: bottom;
  animation: barPulse 4.8s ease-in-out infinite alternate;
}

.term-chart i:nth-child(3n) {
  background: linear-gradient(180deg, rgba(124, 242, 182, 0.8), rgba(124, 242, 182, 0.12));
}

.term-chart i:nth-child(4n) {
  animation-delay: -1.4s;
}

.term-chart i:nth-child(5n) {
  animation-delay: -2.6s;
}

@keyframes barPulse {
  from {
    transform: scaleY(0.82);
  }
  to {
    transform: scaleY(1);
  }
}

.term-console {
  margin-top: 12px;
  padding: 12px 0 4px;
  border-top: 1px solid var(--line);
  color: #c9c5ec;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.9;
  direction: ltr;
  text-align: left;
}

.term-console div {
  display: flex;
  gap: 8px;
  white-space: nowrap;
}

.term-console .p {
  color: var(--violet);
}

.term-console .ok {
  color: var(--mint);
}

.term-console .c {
  color: #6e6a92;
}

.cursor {
  display: inline-block;
  width: 6px;
  height: 12px;
  background: var(--violet);
  vertical-align: -1px;
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.term-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 20px 16px;
  color: var(--mist);
  font-family: var(--mono);
  font-size: 10px;
}

.float-badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(13, 11, 28, 0.9);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  animation: float 6s ease-in-out infinite;
}

.float-badge .fb-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  color: var(--mint);
  background: rgba(124, 242, 182, 0.1);
  border: 1px solid rgba(124, 242, 182, 0.2);
}

.float-badge .fb-val {
  display: block;
  color: var(--paper);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
}

.float-badge .fb-lbl {
  display: block;
  color: var(--mist);
  font-size: 9px;
  line-height: 1.4;
}

.fb-left {
  top: -54px;
  left: 20px;
}

.fb-right {
  right: 20px;
  bottom: -54px;
  animation-delay: -3s;
}

.fb-right .fb-icon {
  color: var(--lav);
  background: rgba(123, 108, 255, 0.12);
  border-color: rgba(123, 108, 255, 0.24);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

.section {
  position: relative;
  z-index: 1;
  padding: 74px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

:lang(ar) .section-head h2 {
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.section-head p {
  max-width: 440px;
  margin: 0;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.7;
}

.phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  perspective: 1400px;
}

.phone-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.16;
  letter-spacing: -0.04em;
}

:lang(ar) .phone-copy h2 {
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.phone-copy p {
  max-width: 430px;
  margin-bottom: 24px;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.75;
}

.phone-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.phone-stage {
  display: flex;
  justify-content: center;
  perspective: 1200px;
  transform-style: preserve-3d;
  animation: phoneFloat 6s ease-in-out infinite;
  will-change: transform;
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: translateY(0) rotateY(-11deg) rotateX(3deg);
  }
  25% {
    transform: translateY(-11px) rotateY(0deg) rotateX(-2deg);
  }
  50% {
    transform: translateY(-18px) rotateY(11deg) rotateX(3deg);
  }
  75% {
    transform: translateY(-8px) rotateY(0deg) rotateX(-2deg);
  }
}

.phone-frame {
  position: relative;
  width: min(300px, 82vw);
  padding: 9px;
  border: 2px solid rgba(189, 184, 255, 0.24);
  border-radius: 42px;
  background: linear-gradient(160deg, #191635, #0b0a1a);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(86, 72, 245, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow 0.7s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}

.phone-notch {
  position: absolute;
  top: 15px;
  left: 50%;
  z-index: 3;
  width: 86px;
  height: 20px;
  border-radius: 999px;
  background: #05040c;
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 19.2;
  border-radius: 34px;
  background:
    radial-gradient(420px 240px at 80% 0%, rgba(86, 72, 245, 0.32), transparent 65%),
    #080711;
}

.phone-ui {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 38px 14px 16px;
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.phone-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
}

.phone-brand img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}

.phone-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid rgba(124, 242, 182, 0.24);
  border-radius: 999px;
  color: var(--mint);
  background: rgba(124, 242, 182, 0.08);
  font-size: 8px;
  font-weight: 600;
}

.phone-title {
  margin-bottom: 12px;
}

.phone-title small {
  display: block;
  margin-bottom: 4px;
  color: var(--mist);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.phone-title b {
  font-size: 20px;
  letter-spacing: -0.03em;
}

.phone-metrics {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.phone-metric {
  padding: 8px 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(189, 184, 255, 0.035);
}

.phone-metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
  color: var(--mist);
  font-size: 8px;
}

.phone-meter {
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(189, 184, 255, 0.1);
}

.phone-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--indigo), var(--violet));
}

.phone-meter.mint i {
  background: linear-gradient(90deg, #2fc98d, var(--mint));
}

.phone-console {
  flex: 1;
  overflow: hidden;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #05040c;
  font-family: var(--mono);
  font-size: 7.5px;
  line-height: 1.9;
  color: #9f9ac4;
  direction: ltr;
  text-align: left;
}

.phone-console .ok {
  color: var(--mint);
}

.phone-console .p {
  color: var(--violet);
}

.phone-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 10px;
}

.phone-bottom span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--mist);
  background: rgba(189, 184, 255, 0.05);
  font-size: 8px;
  font-weight: 600;
}

.phone-bottom span:first-child {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--violet), var(--indigo));
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 48px;
  align-items: start;
}

.faq-copy {
  position: sticky;
  top: 108px;
}

.faq-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.16;
  letter-spacing: -0.04em;
}

:lang(ar) .faq-copy h2 {
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.faq-copy p {
  max-width: 380px;
  margin-bottom: 22px;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.75;
}

.faq-tools {
  display: flex;
  gap: 8px;
}

.faq-list {
  display: grid;
  gap: 8px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(18, 16, 42, 0.46);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-item.open {
  border-color: rgba(123, 108, 255, 0.36);
  background: rgba(25, 22, 53, 0.6);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  border: 0;
  color: var(--paper);
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  text-align: start;
  cursor: pointer;
}

.faq-q .ico {
  flex: none;
  color: var(--mist);
  transition: transform 0.25s ease, color 0.25s ease;
}

.faq-item.open .faq-q .ico {
  color: var(--lav);
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}

.faq-a-inner {
  padding: 0 20px 18px;
  color: var(--mist);
  font-size: 13px;
  line-height: 1.75;
}

.cta-section {
  padding-top: 30px;
  padding-bottom: 50px;
}

.cta-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  overflow: hidden;
  padding: 44px;
  border: 1px solid rgba(189, 184, 255, 0.3);
  border-radius: 22px;
  background: linear-gradient(145deg, #6a5ffa 0%, #3a31b8 55%, #17124f 100%);
  box-shadow: 0 30px 80px rgba(42, 35, 128, 0.4);
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(600px 280px at 85% 0%, rgba(255, 255, 255, 0.18), transparent 60%);
}

.cta-band h2 {
  position: relative;
  margin: 0 0 8px;
  font-size: clamp(26px, 3.2vw, 36px);
  letter-spacing: -0.03em;
}

.cta-band p {
  position: relative;
  margin: 0;
  color: rgba(243, 242, 255, 0.78);
  font-size: 14px;
}

.cta-band .cta-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta-band .btn-primary {
  color: #241c6e;
  background: var(--paper);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}

.cta-band .btn-ghost {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
}

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 30px;
  padding: 48px 0 26px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 0.7fr 0.7fr;
  gap: 34px;
  padding-bottom: 36px;
}

.footer-brand p {
  max-width: 320px;
  margin: 14px 0 0;
  color: var(--mist);
  font-size: 12.5px;
  line-height: 1.75;
}

.footer-col h3 {
  margin: 2px 0 14px;
  color: var(--paper);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  padding: 4px 0;
  color: var(--mist);
  font-size: 12.5px;
  transition: color 0.18s ease;
}

.footer-col a:hover {
  color: var(--paper);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--mist);
  font-size: 11.5px;
}

.footer-bottom a {
  color: var(--lav);
}

.footer-bottom .credit a {
  color: var(--lav);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.progress {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  z-index: 100;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--indigo), var(--violet), var(--mint));
  box-shadow: 0 0 12px rgba(123, 108, 255, 0.6);
}

.legal-hero {
  position: relative;
  z-index: 1;
  padding: 54px 0 64px;
  background: linear-gradient(180deg, rgba(143, 137, 255, 0.3) 0%, rgba(75, 64, 216, 0.16) 38%, transparent 100%);
}

.legal-eyebrow {
  margin: 0 0 10px;
  color: var(--lav);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

:lang(ar) .legal-hero h1 {
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.legal-updated {
  margin: 12px 0 0;
  color: rgba(243, 242, 255, 0.68);
  font-size: 13px;
}

.legal-main {
  position: relative;
  z-index: 1;
  padding-bottom: 90px;
}

.legal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin: -26px 0 40px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ink-2);
}

.legal-tab {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border: 0;
  border-radius: 8px;
  color: var(--mist);
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.legal-tab:hover {
  color: var(--paper);
}

.legal-tab[aria-current="page"],
.legal-tab[aria-selected="true"] {
  color: #fff;
  background: var(--indigo);
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 96px;
  display: block;
  font-size: 13px;
}

.legal-toc h2 {
  margin: 0 0 10px;
  color: var(--mist);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-toc ol {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-toc a {
  padding: 7px 12px;
  border-inline-start: 2px solid var(--line);
  color: var(--mist);
}

.legal-toc a:hover {
  color: var(--paper);
  border-color: var(--lav);
}

.legal-doc {
  min-width: 0;
  font-size: 15.5px;
  line-height: 1.85;
}

.legal-intro {
  max-width: 46em;
  margin-bottom: 30px;
  color: var(--mist);
}

.legal-doc section {
  padding-bottom: 22px;
  scroll-margin-top: 100px;
}

.legal-doc h2 {
  margin: 0 0 10px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
}

.legal-doc section:first-of-type h2 {
  padding-top: 0;
  border-top: 0;
}

.legal-doc ol {
  display: grid;
  gap: 7px;
  max-width: 52em;
  margin: 0;
  padding-inline-start: 1.5em;
}

.legal-doc li {
  padding-inline-start: 0.2em;
}

.legal-doc li::marker {
  color: var(--lav);
  font-family: var(--mono);
  font-size: 0.85em;
}

.legal-note {
  max-width: 52em;
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--mist);
  background: var(--panel);
  font-size: 13px;
}

.legal-note a {
  color: var(--lav);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-back {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 34px;
  color: var(--mist);
  font-size: 13px;
}

.legal-back:hover {
  color: var(--paper);
}


/* ---------- Hero copy ---------- */
.hero h1 {
  max-width: 14em;
  margin: 0 0 18px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

:lang(ar) .hero h1 {
  line-height: 1.35;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 30em;
  margin-bottom: 28px;
  color: var(--mist);
  font-size: 17px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--mist);
  font-size: 13px;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-points .ico {
  width: 16px;
  height: 16px;
  color: var(--mint);
}

/* ---------- Shared pieces ---------- */
.icon-box {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(123, 108, 255, 0.28);
  border-radius: 12px;
  color: var(--lav);
  background: rgba(86, 72, 245, 0.14);
}

/* ---------- Plans ---------- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 16px;
}

.plan-spec {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0 0 22px;
  padding: 12px 0;
  border-block: 1px solid var(--line);
  color: var(--mist);
  font-size: 13.5px;
}

.plan-spec b {
  color: var(--paper);
  font-weight: 600;
  direction: ltr;
}

.plan-spec i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line-strong);
}

.plan-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(25, 22, 53, 0.82), rgba(11, 10, 26, 0.78));
  box-shadow: var(--shadow-soft);
}

.plan-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.plan-top h3 {
  margin: 0 0 4px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.4;
}

.plan-top p {
  margin: 0;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.7;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 26px 0 20px;
}

.plan-price b {
  color: var(--paper);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  direction: ltr;
}

.plan-price small {
  color: var(--mist);
  font-size: 14px;
  font-weight: 400;
}

.specs {
  margin: 0 0 26px;
  border-top: 1px solid var(--line);
}

.specs div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.specs dt {
  color: var(--mist);
}

.specs dd {
  margin: 0;
  color: var(--paper);
  font-weight: 600;
  direction: ltr;
}

.plan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.plan-actions .btn {
  flex: 1 1 auto;
}

.plan-note {
  margin: 14px 0 0;
  color: var(--mist);
  font-size: 12.5px;
}

.pay-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 22px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--mist);
  background: rgba(18, 16, 42, 0.4);
  font-size: 13px;
}

.pay-row ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pay-row li {
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--paper);
  background: rgba(189, 184, 255, 0.05);
  font-size: 12.5px;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(18, 16, 42, 0.5);
}

.step-num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border: 1px solid rgba(123, 108, 255, 0.4);
  border-radius: 50%;
  color: var(--lav);
  background: rgba(86, 72, 245, 0.16);
  font-size: 15px;
  font-weight: 600;
}

.steps h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.steps p {
  margin: 0;
  color: var(--mist);
  font-size: 14px;
  line-height: 1.75;
}

/* ---------- Control panel features ---------- */
.features-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.features-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.35;
}

.features-copy p {
  max-width: 30em;
  margin-bottom: 26px;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.8;
}

.features-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-grid li {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(18, 16, 42, 0.5);
}

.feature-grid h3 {
  margin: 18px 0 6px;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.5;
}

.feature-grid p {
  margin: 0;
  color: var(--mist);
  font-size: 13.5px;
  line-height: 1.75;
}

.phone-copy h2,
.faq-copy h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.35;
  letter-spacing: 0;
}

.cta-band h2 {
  line-height: 1.4;
  letter-spacing: 0;
}

.cta-section {
  padding-top: 20px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .hero-grid {
    gap: 36px;
  }

  .fb-left {
    top: -44px;
    left: 10px;
  }

  .fb-right {
    right: 10px;
    bottom: -44px;
  }

  .features-layout,
  .faq-layout {
    gap: 32px;
  }
}

@media (max-width: 980px) {
  .nav-links,
  .hide-md {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-grid,
  .features-layout,
  .phone-grid,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: 2;
    max-width: 600px;
    margin-inline: auto;
    width: 100%;
  }

  .hero-copy {
    order: 1;
  }

  .phone-copy {
    order: 1;
    text-align: center;
  }

  .phone-copy p {
    margin-inline: auto;
  }

  .phone-actions {
    justify-content: center;
  }

  .phone-stage {
    order: 2;
  }

  .faq-copy {
    position: static;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .legal-toc {
    position: static;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .legal-toc h2 {
    display: none;
  }

  .legal-toc ol {
    display: flex;
    gap: 8px;
    width: max-content;
  }

  .legal-toc a {
    white-space: nowrap;
    border: 1px solid var(--line);
    border-radius: 99px;
    padding: 6px 13px;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(var(--max), calc(100% - 28px));
  }

  .site-header {
    padding: 10px 0;
  }

  .brand-name {
    font-size: 16px;
  }

  .section {
    padding: 52px 0;
  }

  .section-head {
    display: block;
    margin-bottom: 22px;
  }

  .section-head p {
    margin-top: 10px;
  }

  .hero-lead {
    font-size: 15.5px;
  }

  .plans-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .plan-card {
    padding: 24px;
  }

  .plan-price b {
    font-size: 40px;
  }

  .cta-band {
    display: block;
    padding: 30px 24px;
  }

  .cta-band .cta-actions {
    margin-top: 20px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom > * {
    display: block;
    margin-top: 8px;
  }

  .legal-tabs {
    width: 100%;
  }

  .legal-tab {
    flex: 1 1 auto;
    padding: 10px 12px;
  }

  .float-badge {
    display: none;
  }

  .terminal {
    transform: none;
  }
}

@media (max-width: 480px) {
  .hero-cta .btn,
  .phone-actions .btn,
  .features-actions .btn {
    width: 100%;
  }

  .term-status {
    grid-template-columns: 1fr;
  }

  .term-title {
    display: none;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .nav-actions {
    gap: 6px;
  }

  .btn-sm {
    padding: 0 11px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
