/* Orcastly — marketing site. Arabic-first (RTL), English at /en. */
:root {
  --blue: #0a66e8;
  --blue-600: #095be2;
  --sky: #0585f6;
  --ink: #102137;
  --muted: #5a6782;
  --line: #e1e6ef;
  --bg: #f5f7fb;
  --white: #fff;
  --abyss: #020b1d;
  --deep: #08142a;
  --deep-2: #0e1c35;
  --on-dark: #e8eef7;
  --on-dark-muted: #93a3bd;
  --ok: #12805c;
  --radius: 16px;
  --font: 'IBM Plex Sans Arabic', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1160px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--abyss);
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.7;
  font-size: 17px;
}
html[lang='en'] body {
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
h1,
h2,
h3 {
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font: 600 16px/1 var(--font);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.15s,
    border-color 0.15s;
  white-space: nowrap;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(10, 102, 232, 0.7);
}
.btn-primary:hover {
  background: var(--blue-600);
}
.btn-ghost {
  color: var(--on-dark);
  border-color: rgba(232, 238, 247, 0.28);
  background: rgba(255, 255, 255, 0.04);
}
.btn-ghost:hover {
  border-color: rgba(232, 238, 247, 0.55);
}
.btn-outline {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 15px;
  border-radius: 10px;
}
.wa::before {
  content: '';
  width: 18px;
  height: 18px;
  flex: none;
  background: currentColor;
  -webkit-mask: url('/site/whatsapp.svg') center / contain no-repeat;
  mask: url('/site/whatsapp.svg') center / contain no-repeat;
}

/* ------------------------------------------------------------ header */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(2, 11, 29, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.top .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}
.logo img {
  height: 34px;
  width: auto;
}
.nav {
  display: flex;
  gap: 24px;
  margin-inline-start: auto;
}
.nav a {
  color: var(--on-dark-muted);
  font-size: 15px;
  font-weight: 500;
}
.nav a:hover {
  color: #fff;
  text-decoration: none;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang {
  color: var(--on-dark-muted);
  font-size: 15px;
  font-weight: 500;
  padding: 6px 8px;
}
.lang:hover {
  color: #fff;
  text-decoration: none;
}
.signin {
  color: var(--on-dark);
  font-weight: 600;
  font-size: 15px;
  padding: 6px 8px;
}
.menu-btn {
  display: none;
}

/* ------------------------------------------------------------ hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(5, 133, 246, 0.35), transparent 60%),
    radial-gradient(700px 420px at 10% 30%, rgba(10, 102, 232, 0.18), transparent 60%), var(--abyss);
  color: var(--on-dark);
  padding: 72px 0 0;
}
html[dir='ltr'] .hero {
  background:
    radial-gradient(900px 480px at 15% -10%, rgba(5, 133, 246, 0.35), transparent 60%),
    radial-gradient(700px 420px at 90% 30%, rgba(10, 102, 232, 0.18), transparent 60%), var(--abyss);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8cc4ff;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  background: rgba(5, 133, 246, 0.12);
  border: 1px solid rgba(5, 133, 246, 0.28);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 4px rgba(5, 133, 246, 0.2);
}
.hero h1 {
  font-size: clamp(32px, 4vw, 50px);
  text-wrap: balance;
  font-weight: 700;
  color: #fff;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #5fb0ff, #0585f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  margin-top: 22px;
  font-size: 19px;
  color: #c3d0e4;
  max-width: 34em;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.fine {
  margin-top: 16px;
  font-size: 14px;
  color: var(--on-dark-muted);
}

/* the answer card — what an answer actually looks like */
.answer-card {
  background: linear-gradient(180deg, #0f1f3b, #0a1730);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 22px;
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.ac-q {
  margin-inline-start: auto;
  max-width: 85%;
  width: fit-content;
  background: var(--blue);
  color: #fff;
  padding: 12px 16px;
  border-radius: 16px;
  border-end-end-radius: 6px;
  font-weight: 500;
}
html[dir='rtl'] .ac-q {
  margin-inline-start: 0;
  margin-inline-end: auto;
  border-end-end-radius: 16px;
  border-end-start-radius: 6px;
}
.ac-a {
  margin-top: 16px;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  padding: 16px 18px;
  min-height: 108px;
}
.ac-a p {
  font-size: 16.5px;
}
.cite {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 6px;
  background: #e7f0fe;
  color: var(--blue);
  font: 700 12px/1 var(--font);
  vertical-align: 2px;
  margin-inline: 3px;
}
.ac-src {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px 4px 6px;
  color: var(--ink);
}
html[dir='rtl'] .chip {
  padding: 4px 6px 4px 10px;
}
.ac-quote {
  margin-top: 14px;
  font-size: 14px;
  color: #c3d0e4;
  border-inline-start: 3px solid var(--sky);
  padding-inline-start: 12px;
}
.ac-quote b {
  color: #fff;
  font-weight: 600;
}
.ac-meta {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--on-dark-muted);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.caret {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--blue);
  vertical-align: -3px;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.fade-in {
  animation: fadein 0.5s ease both;
}
@keyframes fadein {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-shot {
  margin-top: 72px;
  position: relative;
}
.frame {
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 0;
  box-shadow: 0 -20px 80px -20px rgba(5, 133, 246, 0.35);
}
.frame-bar {
  height: 36px;
  background: #eef2f8;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
}
.frame-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #cfd7e4;
}
.frame-bar span {
  margin-inline-start: 14px;
  font-size: 12.5px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 12px;
  direction: ltr;
}

/* ------------------------------------------------------------ strip */
.strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.strip ul {
  list-style: none;
  margin: 0 auto;
  padding: 22px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.strip li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
}
.strip svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--blue);
  margin-top: 2px;
}

/* ------------------------------------------------------------ sections */
section.block {
  padding: 96px 0;
}
section.alt {
  background: var(--bg);
}
.kicker {
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
}
html[lang='en'] .kicker {
  text-transform: uppercase;
}
.head {
  max-width: 720px;
  margin-bottom: 48px;
}
.head.center {
  margin-inline: auto;
  text-align: center;
}
.head h2 {
  font-size: clamp(28px, 3.3vw, 40px);
  margin-top: 10px;
  font-weight: 700;
}
.head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 18px;
}

/* problems */
.pains {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pain {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.pain .n {
  font: 700 13px/1 var(--font);
  color: #b7c2d4;
}
.pain h3 {
  font-size: 19px;
  margin: 12px 0 8px;
}
.pain p {
  color: var(--muted);
  font-size: 16px;
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: s;
  position: relative;
}
.step {
  position: relative;
  padding-top: 64px;
}
.step::before {
  counter-increment: s;
  content: counter(s);
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
  background: var(--abyss);
  color: #fff;
}
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22px;
  inset-inline-start: 60px;
  inset-inline-end: -14px;
  border-top: 2px dashed #c9d4e5;
}
.step h3 {
  font-size: 20px;
}
.step p {
  margin-top: 8px;
  color: var(--muted);
}

/* features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.feature:hover {
  border-color: #bcd3f7;
  box-shadow: 0 18px 40px -24px rgba(16, 33, 55, 0.35);
}
.ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #e9f1fe;
  color: var(--blue);
}
.ico svg {
  width: 24px;
  height: 24px;
}
.feature h3 {
  font-size: 18.5px;
  margin-top: 18px;
}
.feature p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
}

/* screens */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 56px;
  align-items: center;
}
.showcase + .showcase {
  margin-top: 88px;
}
.showcase.flip > .shot {
  order: -1;
}
.showcase h3 {
  font-size: 26px;
  margin-top: 8px;
}
.showcase p {
  margin-top: 12px;
  color: var(--muted);
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}
.ticks li {
  position: relative;
  padding-inline-start: 30px;
}
.ticks li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.45em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e3f5ee
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312805c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}
.shot img {
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(16, 33, 55, 0.45);
  background: #fff;
}

/* trust */
.trust {
  background: var(--abyss);
  color: var(--on-dark);
}
.trust .head h2 {
  color: #fff;
}
.trust .head p {
  color: var(--on-dark-muted);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.trust-item {
  background: var(--deep);
  border: 1px solid #1b2a46;
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  gap: 18px;
}
.trust-item .ico {
  background: rgba(5, 133, 246, 0.14);
  color: #7fbcff;
  flex: none;
}
.trust-item h3 {
  font-size: 18.5px;
  color: #fff;
}
.trust-item p {
  margin-top: 6px;
  color: var(--on-dark-muted);
  font-size: 16px;
}
.deploy {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.deploy > div {
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid #1b2a46;
  background: linear-gradient(160deg, #0e1c35, #08142a);
}
.deploy h3 {
  font-size: 20px;
  color: #fff;
}
.deploy p {
  margin-top: 8px;
  color: var(--on-dark-muted);
}
.tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: #8cc4ff;
  background: rgba(5, 133, 246, 0.14);
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 12px;
}

/* plans */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.plan.featured {
  border: 2px solid var(--blue);
  box-shadow: 0 30px 60px -34px rgba(10, 102, 232, 0.55);
  position: relative;
}
.plan .badge {
  position: absolute;
  top: -13px;
  inset-inline-start: 26px;
  background: var(--blue);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
}
.plan h3 {
  font-size: 22px;
}
.plan .for {
  color: var(--muted);
  margin-top: 6px;
  font-size: 15.5px;
  min-height: 3.2em;
}
.plan .price {
  margin: 18px 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
.plan .price small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 14px;
  margin-top: 2px;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 10px;
  font-size: 15.5px;
}
.plan li {
  position: relative;
  padding-inline-start: 26px;
}
.plan li::before {
  content: '✓';
  position: absolute;
  inset-inline-start: 0;
  color: var(--blue);
  font-weight: 700;
}
.plan .btn {
  margin-top: auto;
  width: 100%;
}
.plans-note {
  text-align: center;
  margin-top: 26px;
  color: var(--muted);
  font-size: 15.5px;
}

/* faq */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 22px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-weight: 600;
  font-size: 17.5px;
  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(--blue);
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding-bottom: 20px;
  color: var(--muted);
}

/* final cta */
.final {
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(5, 133, 246, 0.35), transparent 70%), var(--abyss);
  color: #fff;
  text-align: center;
  padding: 96px 0;
}
.final h2 {
  font-size: clamp(28px, 3.6vw, 44px);
}
.final p {
  margin: 14px auto 0;
  color: #c3d0e4;
  max-width: 36em;
  font-size: 18px;
}
.final .cta-row {
  justify-content: center;
}

/* footer */
footer {
  background: #010714;
  color: var(--on-dark-muted);
  padding: 48px 0 36px;
  font-size: 15px;
}
.foot {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}
.foot img {
  height: 30px;
  width: auto;
}
.foot p {
  margin-top: 12px;
  max-width: 26em;
}
.foot h4 {
  color: #fff;
  margin: 0 0 12px;
  font-size: 15px;
}
.foot ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.foot a {
  color: var(--on-dark-muted);
}
.foot a:hover {
  color: #fff;
}
.legal {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid #13213a;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  /* Safety net: everything below the hero is hidden until a script reveals it, so if the
     script is blocked or never loads the page would stay blank. This shows it anyway. */
  animation: reveal-fallback 0s 3s forwards;
}
@keyframes reveal-fallback {
  to {
    opacity: 1;
    transform: none;
  }
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .caret {
    animation: none;
  }
  .btn:hover {
    transform: none;
  }
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 1020px) {
  .nav {
    display: none;
  }
  .top-actions {
    margin-inline-start: auto;
  }
  .hero-grid,
  .showcase {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .showcase.flip > .shot {
    order: 0;
  }
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  .strip ul {
    grid-template-columns: repeat(2, 1fr);
  }
  .foot {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  body {
    font-size: 16px;
  }
  .wrap {
    padding: 0 16px;
  }
  .top .wrap {
    gap: 12px;
    height: 64px;
  }
  .logo img {
    height: 28px;
  }
  .top-actions .btn {
    display: none;
  }
  .hero {
    padding-top: 44px;
  }
  .hero .lead {
    font-size: 17px;
  }
  .cta-row .btn {
    flex: 1 1 100%;
  }
  .hero-shot {
    margin-top: 48px;
  }
  .frame-bar span {
    display: none;
  }
  section.block,
  .final {
    padding: 64px 0;
  }
  .pains,
  .steps,
  .features,
  .trust-grid,
  .deploy,
  .plans {
    grid-template-columns: 1fr;
  }
  .step:not(:last-child)::after {
    display: none;
  }
  .strip ul {
    grid-template-columns: 1fr;
  }
  .foot {
    grid-template-columns: 1fr;
  }
  .plan .for {
    min-height: 0;
  }
}

main {
  background: var(--white);
}

/* Business plan calculator: live price on top, sliders below */
.calc {
  margin: 14px 0 22px;
}
.calc-price {
  margin: 0 0 14px;
  font-size: 15px;
  color: var(--muted);
}
.calc-price strong {
  font-size: 34px;
  line-height: 1.15;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.calc-price small {
  display: block;
  font-size: 14px;
  margin-top: 2px;
}
.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
  font-weight: 600;
  margin-top: 10px;
}
.calc-row output {
  font-weight: 800;
  font-size: 17px;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.calc input[type='range'] {
  width: 100%;
  height: 28px;
  accent-color: var(--blue);
  margin: 4px 0 0;
  cursor: pointer;
}
.calc-scale {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.calc-note {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--muted);
}
