:root {
  --bg: oklch(0.985 0.006 85);
  --sand: oklch(0.955 0.02 85);
  --ink: oklch(0.24 0.03 165);
  --muted: oklch(0.5 0.025 160);
  --primary: oklch(0.38 0.075 162);
  --primary-ink: oklch(0.985 0.01 90);
  --deep: oklch(0.27 0.05 163);
  --deeper: oklch(0.22 0.04 165);
  --gold: oklch(0.74 0.12 78);
  --gold-ink: oklch(0.28 0.05 70);
  --border: oklch(0.91 0.016 85);
  --radius: 14px;
  --shadow: 0 1px 2px rgb(0 0 0 / 4%), 0 24px 60px -20px rgb(14 52 40 / 28%);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.022em; margin: 0; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 650; max-width: 22ch; }
h3 { font-size: 1.12rem; font-weight: 600; }
p { margin: 0; }

.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 48px); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.35rem; border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .55rem 1.05rem; font-size: .9rem; }
.btn-primary { background: var(--primary); color: var(--primary-ink); box-shadow: 0 8px 20px -10px var(--primary); }
.btn-primary:hover { background: var(--deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { background: var(--sand); }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { background: oklch(0.78 0.12 80); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in oklab, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; gap: 2rem; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-name { font-weight: 650; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand-ar { font-family: "IBM Plex Sans Arabic", sans-serif; opacity: .65; font-size: .95rem; }
.nav-links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: .95rem; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }

/* Hero */
.hero { padding: clamp(3.5rem, 8vw, 6.5rem) 0 0; background:
  radial-gradient(60% 50% at 50% 0%, oklch(0.94 0.04 85) 0%, transparent 70%),
  radial-gradient(40% 40% at 85% 30%, oklch(0.93 0.04 162 / .55) 0%, transparent 70%); overflow: hidden; }
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .9rem; border: 1px solid var(--border); background: #fff; border-radius: 999px; font-size: .85rem; color: var(--muted); font-weight: 500; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px oklch(0.74 0.12 78 / .2); }
.hero h1 { margin-top: 1.5rem; font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 680; max-width: 17ch; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--primary); white-space: nowrap; }
.lede { margin-top: 1.4rem; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 60ch; }
.cta-row { margin-top: 2.2rem; display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; }
.hero-shot { margin-top: clamp(3rem, 6vw, 4.5rem); }
.frame { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); cursor: zoom-in; }
.frame-hero { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; transform: perspective(2000px) rotateX(4deg); transform-origin: bottom; }
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--sand); border-bottom: 1px solid var(--border); }
.frame-bar span { width: 10px; height: 10px; border-radius: 50%; background: oklch(0.85 0.02 85); }
.frame-bar i { margin-left: 10px; font-style: normal; font-size: .78rem; color: var(--muted); }

/* Sections */
section { scroll-margin-top: 70px; }
.section-kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--primary); margin-bottom: .9rem; }
.section-kicker.light { color: var(--gold); }
.section-lede { margin-top: 1rem; color: var(--muted); font-size: 1.1rem; max-width: 62ch; }

.why { background: var(--deep); color: var(--primary-ink); padding: clamp(4rem, 8vw, 6rem) 0; }
.why .section-kicker { color: var(--gold); }
.why .section-lede { color: oklch(0.85 0.02 90); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.8rem; }
.why-card { padding: 1.7rem; border-radius: var(--radius); background: oklch(0.32 0.055 163); border: 1px solid oklch(0.38 0.05 163); }
.why-card .num { font-size: .85rem; font-weight: 600; color: var(--gold); }
.why-card h3 { margin: .8rem 0 .5rem; }
.why-card p { color: oklch(0.85 0.02 90); font-size: .97rem; }

.platform { padding: clamp(4.5rem, 9vw, 7rem) 0 2rem; }
.feature { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin-top: clamp(3.5rem, 7vw, 6rem); }
.feature.reverse .feature-copy { order: 2; }
.feature .tag { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--gold-ink); background: oklch(0.94 0.04 85); padding: .3rem .7rem; border-radius: 999px; }
.feature h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); font-weight: 650; margin: 1rem 0 .9rem; }
.feature-copy > p { color: var(--muted); font-size: 1.04rem; }
.pill { font-size: .85em; background: oklch(0.94 0.05 85); color: var(--gold-ink); padding: .05rem .35rem; border-radius: 4px; white-space: nowrap; }
.ticks { list-style: none; padding: 0; margin: 1.3rem 0 0; display: grid; gap: .6rem; }
.ticks li { position: relative; padding-left: 1.7rem; font-size: .98rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: oklch(0.38 0.075 162 / .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2317503f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; }
.ticks.light li::before { background-color: oklch(0.74 0.12 78 / .2); 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.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23d4a24c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

.trust { margin-top: clamp(4rem, 8vw, 6rem); padding: clamp(4rem, 8vw, 6rem) 0; background: var(--deeper); color: var(--primary-ink); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 2.8rem; }
.trust-grid > div { border-top: 2px solid var(--gold); padding-top: 1.2rem; }
.trust-grid p { margin-top: .5rem; color: oklch(0.82 0.02 90); font-size: .96rem; }

.how { padding: clamp(4.5rem, 9vw, 7rem) 0; }
.steps { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; }
.steps li span { display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--primary); color: var(--primary-ink); font-weight: 600; font-size: .95rem; }
.steps h3 { margin: 1rem 0 .45rem; }
.steps p { color: var(--muted); font-size: .96rem; }

.faq { padding: 0 0 clamp(4.5rem, 9vw, 7rem); }
.faq h2 { margin-bottom: 2rem; }
details { border-bottom: 1px solid var(--border); padding: 1.15rem 0; }
summary { cursor: pointer; font-weight: 600; font-size: 1.06rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 400; font-size: 1.4rem; line-height: 1; color: var(--primary); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: .7rem; color: var(--muted); max-width: 65ch; }

/* Inquire */
.inquire { background: var(--deep); color: var(--primary-ink); padding: clamp(4.5rem, 9vw, 7rem) 0; background-image: radial-gradient(50% 60% at 100% 0%, oklch(0.74 0.12 78 / .16), transparent 70%); }
.inquire-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.inquire-copy > p { margin-top: 1.1rem; color: oklch(0.85 0.02 90); font-size: 1.08rem; }
.form { background: #fff; color: var(--ink); border-radius: 18px; padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; gap: 1rem; box-shadow: 0 30px 80px -30px rgb(0 0 0 / 50%); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: .4rem; font-size: .88rem; font-weight: 550; }
.opt { color: var(--muted); font-weight: 400; }
.form input, .form select, .form textarea { font: inherit; font-size: .97rem; font-weight: 400; padding: .72rem .85rem; border: 1px solid oklch(0.88 0.018 85); border-radius: 10px; background: var(--bg); color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid oklch(0.55 0.08 162 / .5); outline-offset: 1px; border-color: var(--primary); background: #fff; }
.form [aria-invalid="true"] { border-color: oklch(0.56 0.2 27); }
.form textarea { resize: vertical; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--muted); text-align: center; }
.form-status { font-size: .95rem; text-align: center; min-height: 1.2em; }
.form-status.ok { color: var(--primary); font-weight: 600; }
.form-status.err { color: oklch(0.5 0.18 27); }
.form.sent { text-align: center; padding-block: 3rem; }

.footer { background: var(--deeper); color: oklch(0.85 0.02 90); padding: 2rem 0; font-size: .92rem; }
.footer-inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.footer-inner p:first-of-type { margin-left: auto; }
.footer .muted { opacity: .6; }
.footer a { color: var(--gold); }
.footer .brand { color: var(--primary-ink); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgb(10 30 24 / .86); display: grid; place-items: center; padding: 3vw; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 92vh; border-radius: 10px; box-shadow: 0 30px 80px rgb(0 0 0 / .5); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .btn:hover { transform: none; } }

@media (max-width: 960px) {
  .feature, .feature.reverse, .inquire-grid { grid-template-columns: 1fr; }
  .feature.reverse .feature-copy { order: 0; }
  .why-grid { grid-template-columns: 1fr; }
  .trust-grid, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .nav-links { display: none; }
  .nav-inner .btn { margin-left: auto; }
  .row2, .trust-grid, .steps { grid-template-columns: 1fr; }
  .frame-hero { transform: none; }
  .footer-inner p:first-of-type { margin-left: 0; }
}
