:root {
  color-scheme: light;
  --navy: #0b1828;
  --navy-soft: #183047;
  --blue: #2f79b7;
  --blue-bright: #76b9ec;
  --paper: #f4f0e7;
  --paper-deep: #e8e1d3;
  --white: #fffdf8;
  --ink: #122033;
  --muted: #5e6b78;
  --line: rgba(18, 32, 51, 0.14);
  --success: #176a55;
  --shadow: 0 28px 80px rgba(11, 24, 40, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 8%, rgba(118, 185, 236, 0.23), transparent 27rem),
    radial-gradient(circle at 10% 35%, rgba(232, 225, 211, 0.8), transparent 32rem),
    var(--white);
  font-family: "Avenir Next", "Trebuchet MS", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

html[dir="rtl"] body {
  font-family: "Geeza Pro", "Noto Kufi Arabic", Tahoma, sans-serif;
}

a { color: inherit; }
img { max-width: 100%; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.announcement {
  padding: 9px 20px;
  color: #dceaf5;
  background: var(--navy);
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: 23px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 9px 24px rgba(11, 24, 40, 0.18);
}

.brand-name {
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-name span { color: var(--blue); }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a {
  color: var(--navy-soft);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.site-nav a:hover { color: var(--blue); }
.language-link {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(390px, 0.97fr);
  align-items: center;
  gap: 64px;
  min-height: 680px;
  padding: 48px 0 80px;
}

.hero-copy { animation: rise 0.7s ease-out both; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
}

h1, h2, h3 { color: var(--navy); }
h1, h2 {
  font-family: Georgia, "Palatino Linotype", serif;
  font-weight: 700;
  letter-spacing: -0.045em;
}
html[dir="rtl"] h1,
html[dir="rtl"] h2 {
  font-family: "Geeza Pro", "Noto Kufi Arabic", Tahoma, sans-serif;
  letter-spacing: 0;
}
h1 {
  max-width: 760px;
  margin: 0 0 24px;
  font-size: clamp(46px, 6.2vw, 76px);
  line-height: 1.01;
}
.hero-lead {
  max-width: 690px;
  margin: 0 0 30px;
  color: #34465a;
  font-size: clamp(18px, 2vw, 21px);
}
.actions { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 23px;
  border: 1px solid var(--navy);
  border-radius: 10px;
  color: #fff;
  background: var(--navy);
  box-shadow: 0 13px 30px rgba(11, 24, 40, 0.18);
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.button:hover {
  transform: translateY(-2px);
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 17px 36px rgba(47, 121, 183, 0.28);
}
.button.secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line);
  box-shadow: none;
}
.button.secondary:hover { color: #fff; background: var(--navy); }
.button-arrow { font-size: 19px; }
.cta-note {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.cta-note span::before { content: "✓"; margin-inline-end: 6px; color: var(--success); }

.product-stage {
  position: relative;
  animation: rise 0.75s 0.12s ease-out both;
}
.product-stage::before {
  content: "";
  position: absolute;
  inset: -45px -38px auto auto;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: repeating-linear-gradient(135deg, rgba(47,121,183,.17) 0 2px, transparent 2px 12px);
  z-index: -1;
}
.product-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  color: #edf5fb;
  background: var(--navy);
  box-shadow: var(--shadow);
}
.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: #a8bdd0;
  font-size: 12px;
  font-weight: 800;
}
.window-brand { display: flex; align-items: center; gap: 9px; color: #fff; }
.window-brand img { width: 25px; height: 25px; border-radius: 7px; }
.live-dot { display: inline-flex; align-items: center; gap: 7px; }
.live-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #64d4ae;
  box-shadow: 0 0 0 5px rgba(100,212,174,.1);
}
.window-body { display: grid; grid-template-columns: 112px 1fr; min-height: 410px; }
.window-side {
  padding: 22px 13px;
  border-inline-end: 1px solid rgba(255,255,255,.09);
  background: #0e2133;
}
.side-step {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 19px;
  color: #8298aa;
  font-size: 10px;
  font-weight: 800;
}
.side-step b {
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  height: 22px;
  border-radius: 50%;
  color: #b7c9d9;
  border: 1px solid rgba(255,255,255,.17);
}
.side-step.active { color: #fff; }
.side-step.active b { color: var(--navy); background: var(--blue-bright); border-color: transparent; }
.workspace { padding: 27px 25px; }
.workspace-kicker { margin: 0 0 6px; color: var(--blue-bright); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.workspace h3 { margin: 0 0 18px; color: #fff; font-size: 21px; }
.upload-box {
  padding: 17px;
  border: 1px dashed rgba(118,185,236,.45);
  border-radius: 13px;
  background: rgba(118,185,236,.06);
}
.file-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-block: 9px; color: #d8e6f1; font-size: 12px; }
.file-row + .file-row { border-top: 1px solid rgba(255,255,255,.08); }
.file-type { color: var(--blue-bright); font-weight: 900; }
.workflow-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 15px;
  padding: 16px;
  border-radius: 13px;
  background: #f2eee4;
  color: var(--navy);
}
.workflow-card strong { font-size: 13px; }
.workflow-card p { margin: 4px 0 0; color: #627181; font-size: 11px; }
.workflow-tag { align-self: start; padding: 5px 8px; border-radius: 999px; color: #fff; background: var(--success); font-size: 9px; font-weight: 900; }
.output-line { display: flex; gap: 8px; margin-top: 15px; color: #adbfcd; font-size: 11px; }
.output-line span { color: #64d4ae; }
.preview-caption { margin: 12px 8px 0; color: var(--muted); font-size: 12px; text-align: center; }

.trust-strip {
  border-block: 1px solid var(--line);
  background: rgba(244, 240, 231, 0.6);
}
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 22px 25px; font-size: 13px; font-weight: 900; text-align: center; }
.trust-item + .trust-item { border-inline-start: 1px solid var(--line); }

.section { padding: 105px 0; }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading .eyebrow { margin-bottom: 16px; }
h2 { margin: 0 0 18px; font-size: clamp(38px, 5vw, 58px); line-height: 1.06; }
.section-lead { margin: 0; color: var(--muted); font-size: 18px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  position: relative;
  min-height: 270px;
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
}
.step-number { color: var(--blue); font: 700 42px/1 Georgia, serif; }
.step h3 { margin: 55px 0 10px; font-size: 21px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.demo-section { color: #e9f1f7; background: var(--navy); }
.demo-grid { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: 78px; align-items: center; }
.video-frame { width: min(360px, 100%); margin-inline: auto; padding: 11px; border: 1px solid rgba(255,255,255,.14); border-radius: 30px; background: #020a12; box-shadow: 0 28px 75px rgba(0,0,0,.35); }
.video-frame video { display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 21px; background: #000; object-fit: cover; }
.demo-copy h2 { color: #fff; }
.demo-copy .section-lead { color: #b8c8d5; }
.check-list { display: grid; gap: 14px; margin: 30px 0 34px; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 12px; color: #dce8f1; font-size: 15px; }
.check-list li::before { content: "✓"; color: #64d4ae; font-weight: 900; }
.demo-section .button { color: var(--navy); background: var(--blue-bright); border-color: var(--blue-bright); box-shadow: none; }

.safety-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.safety-mark { display: grid; place-items: center; width: 82px; height: 82px; margin-bottom: 28px; border-radius: 22px; color: #fff; background: var(--blue); font: 700 35px Georgia, serif; }
.safety-card { padding: 34px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.safety-card h3 { margin: 0 0 12px; font-size: 23px; }
.safety-card p { margin: 0; color: var(--muted); }
.safety-card .check-list { margin-bottom: 0; }
.safety-card .check-list li { color: var(--ink); }

.final-cta { padding: 40px 0 110px; }
.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 35px;
  padding: 48px;
  border-radius: 24px;
  color: #e8f2fa;
  background:
    linear-gradient(120deg, rgba(47,121,183,.25), transparent 55%),
    var(--navy);
  box-shadow: var(--shadow);
}
.cta-panel h2 { max-width: 740px; margin-bottom: 10px; color: #fff; font-size: clamp(34px, 4.2vw, 50px); }
.cta-panel p { margin: 0; color: #b9cad7; }
.cta-panel .button { color: var(--navy); background: #fff; border-color: #fff; box-shadow: none; white-space: nowrap; }

footer { padding: 32px 0 100px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { font-weight: 800; text-decoration: none; }
.mobile-cta { display: none; }
.arabic-note { margin-top: 12px; color: #8a6333; font-size: 13px; font-weight: 800; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

@media (max-width: 960px) {
  .site-nav a:not(.language-link) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 58px; padding-top: 30px; }
  .hero-copy { text-align: center; }
  .eyebrow, .actions, .cta-note { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .product-stage { width: min(620px, 100%); margin-inline: auto; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-inline-start: 0; border-top: 1px solid var(--line); }
  .trust-item:nth-child(4) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step h3 { margin-top: 28px; }
  .demo-grid, .safety-grid { grid-template-columns: 1fr; }
  .demo-copy { text-align: center; }
  .demo-copy .check-list { width: fit-content; margin-inline: auto; text-align: start; }
  .cta-panel { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1180px); }
  .announcement { font-size: 10px; letter-spacing: .09em; }
  .site-header { padding-block: 17px; }
  .brand img { width: 38px; height: 38px; border-radius: 10px; }
  .brand-name { font-size: 20px; }
  .language-link { font-size: 12px !important; }
  .hero { padding: 34px 0 62px; }
  h1 { font-size: clamp(40px, 12vw, 56px); }
  .hero-lead { font-size: 17px; }
  .actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .cta-note { display: grid; gap: 6px; }
  .window-body { grid-template-columns: 76px 1fr; min-height: 355px; }
  .window-side { padding-inline: 8px; }
  .side-step { display: block; text-align: center; font-size: 8px; }
  .side-step b { margin: 0 auto 5px; }
  .workspace { padding: 20px 14px; }
  .workflow-card { grid-template-columns: 1fr; }
  .trust-item { padding: 17px 10px; font-size: 11px; }
  .section { padding: 78px 0; }
  .section-heading { margin-bottom: 34px; }
  h2 { font-size: 38px; }
  .step { padding: 24px; }
  .demo-grid { gap: 48px; }
  .safety-card { padding: 25px; }
  .cta-panel { padding: 34px 24px; }
  footer { padding-bottom: 110px; }
  .mobile-cta {
    display: block;
    position: fixed;
    z-index: 30;
    inset: auto 12px 12px;
    padding: 9px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 15px;
    background: rgba(11,24,40,.94);
    box-shadow: 0 16px 40px rgba(11,24,40,.28);
    backdrop-filter: blur(12px);
  }
  .mobile-cta .button { min-height: 48px; color: var(--navy); background: var(--blue-bright); border-color: var(--blue-bright); }
}
