:root {
  --bg: #0e0d12;
  --card: #17151f;
  --card-2: #1f1c29;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f5f4f8;
  --muted: #a19eac;
  --violet: #7b61ff;
  --violet-2: #a493ff;
  --orange: #ff9a3d;
  --green: #3ddc97;
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
html.ar body { font-family: "Cairo", "Inter", system-ui, sans-serif; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* Language switching: both languages are in the markup, one is hidden. */
html.en .ar, html.ar .en { display: none !important; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding-block: 96px 0; }
.narrow { max-width: 820px; }

/* Background light */
.glow { position: fixed; z-index: -1; width: 620px; height: 620px; border-radius: 50%; filter: blur(120px); opacity: 0.32; pointer-events: none; }
.glow-a { background: var(--violet); top: -260px; inset-inline-start: -180px; }
.glow-b { background: var(--orange); top: 120px; inset-inline-end: -320px; opacity: 0.16; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  background: #fff; color: #0e0d12; font-weight: 600; font-size: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(164, 147, 255, 0.35); }
.btn-ghost { background: rgba(255, 255, 255, 0.05); color: var(--text); border: 1px solid var(--line-2); }
.btn-ghost:hover { box-shadow: none; background: rgba(255, 255, 255, 0.09); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); background: rgba(14, 13, 18, 0.72); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Inter", sans-serif; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; direction: ltr; }
.brand b { font-weight: 400; color: var(--muted); margin-inline-start: 4px; }
.brand.small { font-size: 15px; }
.nav-links { display: flex; gap: 30px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang { border: 1px solid var(--line-2); background: transparent; color: var(--text); border-radius: 999px; height: 40px; padding: 0 14px; font: inherit; font-size: 14px; cursor: pointer; }
.lang:hover { background: rgba(255, 255, 255, 0.06); }
html.en .lang { font-family: "Cairo", sans-serif; }
html.ar .lang { font-family: "Inter", sans-serif; }

/* Hero */
.hero { padding-top: 84px; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); font-size: 13px; color: #d9d6e2; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--violet), var(--orange)); box-shadow: 0 0 12px var(--violet); }
.hero h1 { margin: 26px auto 0; max-width: 900px; font-size: clamp(40px, 6.4vw, 78px); line-height: 1.04; font-weight: 600; letter-spacing: -0.035em; }
html.ar .hero h1 { letter-spacing: 0; line-height: 1.25; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--violet-2), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 24px auto 0; max-width: 640px; color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); }
.hero-cta { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Product preview */
.stage { margin-top: 72px; display: grid; grid-template-columns: 1fr 70px 1fr; align-items: center; direction: ltr; text-align: start; }
.mock { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); animation: rise 0.8s ease both; }
.mock-vertex { animation-delay: 0.15s; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--muted); font-family: "Inter", sans-serif; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2c2937; }
.mock-bar span { margin-left: 8px; }
.lp { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; padding: 18px; min-height: 230px; background: radial-gradient(120% 90% at 0% 0%, rgba(123, 97, 255, 0.28), transparent 60%); }
.lp-tag { display: inline-block; font-size: 10px; padding: 4px 9px; border-radius: 99px; background: rgba(123, 97, 255, 0.22); color: #d5ccff; }
.lp-h { height: 14px; border-radius: 6px; background: #ece9f5; margin-top: 14px; width: 92%; }
.lp-h.short { width: 64%; margin-top: 8px; opacity: 0.7; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.lp-chips span { font-size: 10px; padding: 5px 8px; border-radius: 7px; border: 1px solid var(--line-2); color: #d9d6e2; }
.lp-form { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); border-radius: 12px; padding: 12px; align-self: start; }
.lp-f-title { font-size: 11px; font-weight: 600; margin-bottom: 9px; }
.lp-input { height: 24px; border-radius: 7px; background: rgba(255, 255, 255, 0.08); margin-bottom: 7px; }
.lp-btn { height: 28px; border-radius: 7px; background: var(--violet); display: grid; place-items: center; font-size: 11px; font-weight: 600; }
.link-line { position: relative; height: 2px; background: linear-gradient(90deg, var(--violet), var(--orange)); opacity: 0.6; }
.link-line span { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px #fff; animation: travel 2.6s ease-in-out infinite; }
.vx { padding: 18px; min-height: 230px; background: radial-gradient(120% 90% at 100% 0%, rgba(255, 154, 61, 0.16), transparent 60%); }
.vx-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vx-kpis div { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.vx-kpis small { display: block; font-size: 9px; color: var(--muted); }
.vx-kpis b { font-size: 14px; font-weight: 600; }
.vx-chart { width: 100%; height: 70px; margin-top: 12px; display: block; }
.vx-line { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.8s 0.4s ease forwards; }
.vx-bars { display: grid; gap: 7px; margin-top: 10px; }
.vx-bars div { display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 8px; font-size: 10px; color: var(--muted); }
.vx-bars i { display: block; height: 6px; width: var(--w); border-radius: 6px; background: linear-gradient(90deg, var(--orange), #ffc58e); transform-origin: left; animation: grow 1s 0.5s ease both; }

/* Section heads */
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet-2); }
html.ar .eyebrow { letter-spacing: 0; }
.sec-head h2 { margin-top: 12px; font-size: clamp(30px, 4vw, 46px); line-height: 1.12; font-weight: 600; letter-spacing: -0.025em; }
html.ar .sec-head h2 { letter-spacing: 0; line-height: 1.35; }
.sec-head p:not(.eyebrow) { margin-top: 14px; color: var(--muted); }

/* Products */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.product { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); overflow: hidden; scroll-margin-top: 90px; }
.product::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; }
.p-landify::before { background: linear-gradient(90deg, transparent, var(--violet), transparent); }
.p-vertex::before { background: linear-gradient(90deg, transparent, var(--orange), transparent); }
.p-landify { background: radial-gradient(90% 60% at 0% 0%, rgba(123, 97, 255, 0.14), transparent 70%), var(--card); }
.p-vertex { background: radial-gradient(90% 60% at 100% 0%, rgba(255, 154, 61, 0.1), transparent 70%), var(--card); }
.p-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 32px; }
.p-logo { height: 28px; width: auto; display: block; }
.vx-logo { display: inline-flex; align-items: center; gap: 9px; font-family: "Inter", sans-serif; font-weight: 800; letter-spacing: 0.14em; font-size: 17px; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 99px; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.live { color: var(--green); background: rgba(61, 220, 151, 0.1); }
.status.live i { animation: pulse 2s infinite; }
.status.soon { color: var(--orange); background: rgba(255, 154, 61, 0.1); }
.product h3 { margin-top: 26px; font-size: 24px; line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; }
html.ar .product h3 { letter-spacing: 0; line-height: 1.45; }
.p-body { margin-top: 12px; color: var(--muted); }
.feats { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; font-size: 15px; }
.feats li { position: relative; padding-inline-start: 28px; color: #dcd9e4; }
.feats li::before { content: ""; position: absolute; inset-inline-start: 0; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: rgba(123, 97, 255, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%23a493ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.p-vertex .feats li::before { background-color: rgba(255, 154, 61, 0.15); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%23ff9a3d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.p-cta { margin-top: auto; padding-top: 32px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; min-height: 82px; }
.text-link { font-size: 15px; font-weight: 500; color: #dcd9e4; }
.text-link:hover { color: #fff; }
html.ar .arrow { display: inline-block; transform: scaleX(-1); }
.soon-note { font-size: 14px; color: var(--muted); padding: 13px 18px; border: 1px dashed var(--line-2); border-radius: 14px; }

/* Flow */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.flow li { padding: 26px 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.flow b { font-family: "Inter", sans-serif; font-size: 13px; font-weight: 600; color: var(--violet-2); }
.flow li:nth-child(n + 3) b { color: var(--orange); }
.flow h4 { margin-top: 14px; font-size: 19px; font-weight: 600; }
.flow p { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* Audience */
.who { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.who div { padding: 28px 24px; }
.who div + div { border-inline-start: 1px solid var(--line); }
.who h4 { font-size: 17px; font-weight: 600; }
.who p { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--card); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--muted); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--muted); }

/* Final CTA */
.final { text-align: center; padding: 64px 24px; border-radius: 28px; border: 1px solid var(--line-2); background: radial-gradient(70% 120% at 20% 0%, rgba(123, 97, 255, 0.3), transparent 60%), radial-gradient(60% 120% at 90% 100%, rgba(255, 154, 61, 0.18), transparent 60%), var(--card); }
.final h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 28px; line-height: 1.2; }
html.ar .final h2 { letter-spacing: 0; line-height: 1.4; }

/* Footer */
.foot { margin-top: 96px; border-top: 1px solid var(--line); padding: 30px 0; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.foot nav { display: flex; gap: 22px; }
.foot nav a:hover { color: var(--text); }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes travel { 0% { left: 0; } 50% { left: calc(100% - 10px); } 100% { left: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pulse { 50% { opacity: 0.35; } }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .stage { grid-template-columns: 1fr; gap: 0; max-width: 560px; margin-inline: auto; }
  .link-line { width: 2px; height: 40px; margin: 0 auto; background: linear-gradient(180deg, var(--violet), var(--orange)); }
  .link-line span { display: none; }
  .products { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .who { grid-template-columns: 1fr 1fr; }
  .who div:nth-child(3) { border-inline-start: 0; }
  .who div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .section { padding-top: 72px; }
  .hero { padding-top: 56px; }
  .nav-actions .btn-sm { display: none; }
  .hero-cta .btn { width: 100%; }
  .lp { grid-template-columns: 1fr; }
  .product { padding: 24px 20px; }
  .flow, .who { grid-template-columns: 1fr; }
  .who div + div { border-inline-start: 0; border-top: 1px solid var(--line); }
  .foot-in { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  html { scroll-behavior: auto; }
}

/* Legal pages */
.legal { max-width: 760px; padding-block: 72px 0; }
.legal h1 { margin-top: 12px; font-size: clamp(34px, 5vw, 48px); line-height: 1.1; font-weight: 600; letter-spacing: -0.025em; }
.legal .updated { margin-top: 10px; color: var(--muted); font-size: 14px; }
.legal h2 { margin-top: 44px; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.legal p, .legal ul { margin-top: 14px; color: #d6d3de; }
.legal ul { padding-inline-start: 22px; display: grid; gap: 8px; }
.legal a { color: var(--violet-2); text-decoration: underline; text-underline-offset: 3px; }
.legal code { font-size: 0.9em; background: var(--card-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; word-break: break-all; }
.legal .callout { border: 1px solid var(--line-2); background: var(--card); border-radius: 16px; padding: 16px 20px; color: var(--text); }
