:root {
  --bg: #F6F7FA; --surface: #FFFFFF; --ink: #141A2E; --muted: #5A6378; --line: #DDE1EA;
  --accent: #2340D8; --accent-dark: #1A30A8; --soft: #E6EAFD; --night: #141A2E; --night-2: #1F2850;
  --now: #C2363B;
  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --body: "IBM Plex Sans", "Helvetica Neue", system-ui, sans-serif;
  --arabic: "IBM Plex Sans Arabic", "Geeza Pro", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--body); }
html[lang="ar"] body { font-family: var(--arabic); line-height: 1.75; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid #7D93FF; outline-offset: 2px; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(20px, 4vw); padding-right: max(20px, 4vw); }
.disp { font-family: var(--display); }
html[lang="ar"] .disp { font-family: var(--arabic); font-weight: 700; }
.mono { font-family: var(--mono); }
.ar { font-family: var(--arabic); }
.eyebrow { font: 500 13px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
html[lang="ar"] .eyebrow { font: 600 14px var(--arabic); letter-spacing: 0; text-transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3 { text-wrap: balance; }
section { scroll-margin-top: 80px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(246,247,250,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 22px var(--display); letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand b { color: var(--accent); font-weight: 800; }
.navlinks { display: flex; gap: 28px; font-size: 15px; flex: 1; }
.navlinks a { color: var(--muted); text-decoration: none; }
.navlinks a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 12px; margin-inline-start: auto; }
.lang { background: var(--soft); border-radius: 999px; padding: 8px 14px; font-weight: 600; text-decoration: none; font-size: 15px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border: 0; border-radius: 14px; padding: 0 22px; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; }
.btn-dark { background: var(--ink); color: #fff; min-height: 42px; border-radius: 12px; padding: 0 18px; font-size: 15px; }
.btn-dark:hover { color: #fff; background: #000; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-white { background: #fff; color: var(--accent); font-weight: 700; font-size: 17px; min-height: 54px; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero h1 { margin: 0; font-size: clamp(42px, 6vw, 68px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; }
html[lang="ar"] .hero h1 { line-height: 1.25; letter-spacing: 0; }
.lede { margin: 0; font-size: 20px; color: var(--muted); max-width: 34ch; }
.beta-form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 480px; }
.beta-form input[type=email] { flex: 1 1 220px; min-height: 52px; border: 1px solid var(--line); border-radius: 14px; padding: 0 16px; font-size: 16px; background: #fff; color: var(--ink); direction: ltr; }
.beta-form .btn { min-height: 52px; }
.fineprint { display: flex; gap: 10px 18px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }

/* phone mock */
.phone-wrap { display: flex; justify-content: center; }
.phone { width: 330px; max-width: 100%; border-radius: 44px; background: var(--night); padding: 12px; box-shadow: 0 30px 60px -20px rgba(20,26,46,.35); }
.screen { border-radius: 34px; background: var(--bg); padding: 28px 18px 22px; display: flex; flex-direction: column; gap: 14px; min-height: 600px; }
.screen-top { display: flex; align-items: center; justify-content: space-between; }
.screen-brand { font: 800 24px var(--display); letter-spacing: -.02em; }
.screen-tag { font-size: 12px; color: var(--muted); }
.chip { background: var(--soft); color: var(--accent); border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 600; font-family: var(--arabic); }
.mock-input { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; font-size: 15px; min-height: 72px; }
.mock-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.mock-row span { text-align: center; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 8px 0; font-size: 12px; font-weight: 600; }
.mock-place { background: var(--accent); color: #fff; text-align: center; border-radius: 12px; padding: 12px 0; font-weight: 700; }
.event { display: flex; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.event-day { width: 58px; flex: none; background: var(--accent); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 0; }
.event-day small { font: 500 10px var(--mono); letter-spacing: .1em; }
.event-day b { font: 800 24px/1.1 var(--display); }
.event-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.event-body strong { font-size: 15px; }
.event-body span { font-size: 13px; color: var(--muted); }
.event-body em { margin-top: 6px; align-self: flex-start; background: var(--accent); color: #fff; border-radius: 8px; padding: 6px 10px; font-size: 12px; font-weight: 600; font-style: normal; }
.dots { display: flex; justify-content: center; gap: 2px; margin-top: auto; }
.dots button { width: 32px; height: 32px; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.dots span { display: block; width: 8px; height: 8px; border-radius: 4px; background: #C7CDDB; transition: width .2s; }
.dots button[aria-current="true"] span { width: 22px; background: var(--accent); }

/* bands */
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.works { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.works div { display: flex; flex-wrap: wrap; gap: 12px 28px; font-weight: 600; font-size: 16px; }

.section { padding-top: 88px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 32px; }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 680px; }
.section h2 { margin: 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -.03em; }
html[lang="ar"] .section h2 { line-height: 1.35; letter-spacing: 0; }

.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.card-head { display: flex; align-items: center; gap: 10px; }
.num { width: 36px; height: 36px; border-radius: 10px; background: var(--soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font: 700 15px var(--mono); }
.card h3 { margin: 0; font: 700 22px var(--display); }
html[lang="ar"] .card h3 { font-family: var(--arabic); }
.card p { margin: 0; color: var(--muted); }
.example { background: var(--bg); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.example .out { font-family: var(--mono); font-size: 14px; color: var(--ink); }
html[lang="ar"] .example .out { font-family: var(--arabic); }
.example .out::before { content: "→ "; color: var(--accent); font-weight: 700; }
html[lang="ar"] .example .out::before { content: "← "; }

.gulf-outer { padding-top: 56px; padding-bottom: 56px; }
.gulf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; background: var(--night); color: #fff; border-radius: 28px; padding: 56px max(24px, 4vw); }
.gulf .eyebrow { color: #9DB0FF; }
.gulf h2 { margin: 0; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.1; letter-spacing: -.03em; }
html[lang="ar"] .gulf h2 { line-height: 1.35; letter-spacing: 0; }
.gulf ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; color: #C9D0E3; font-size: 17px; }
.gulf li::before { content: "✓  "; color: #9DB0FF; }
.gulf-demo { display: flex; flex-direction: column; gap: 14px; font-family: var(--arabic); }
.bubble { background: var(--night-2); border-radius: 16px; padding: 18px; font-size: 19px; }
.gulf .event { color: var(--ink); border: 0; }
.gulf .event-day { width: 70px; }
.gulf .event-day small { font: 12px var(--arabic); letter-spacing: 0; }
.gulf .event-day b { font-size: 28px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { border-top: 3px solid var(--accent); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.step:last-child { border-top-color: var(--now); }
.step .mono { color: var(--accent); font-size: 13px; }
html[lang="ar"] .step .mono { font-family: var(--arabic); font-size: 14px; font-weight: 600; }
.step:last-child .mono { color: var(--now); }
.step p { margin: 0; font-size: 17px; }

.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.price { border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; background: #fff; }
.price.featured { border: 2px solid var(--accent); background: #F8F9FF; }
.price-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.price h3 { margin: 0; font: 700 22px var(--display); }
html[lang="ar"] .price h3 { font-family: var(--arabic); }
.badge { background: var(--accent); color: #fff; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; }
.amount { font: 800 38px var(--display); }
html[lang="ar"] .amount { font-family: var(--arabic); font-weight: 700; font-size: 32px; }
.per { color: var(--muted); }
.price ul { margin: 0; padding-inline-start: 18px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }

.privacy { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.privacy p { margin: 0; font-size: 17px; color: var(--muted); }

.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { border: 1px solid var(--line); background: #fff; border-radius: 16px; }
.faq summary { padding: 18px 20px; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; min-height: 56px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 20px; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

.cta { background: var(--accent); color: #fff; margin-top: 48px; }
.cta .wrap { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { margin: 0; font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.03em; max-width: 18ch; }
html[lang="ar"] .cta h2 { letter-spacing: 0; line-height: 1.35; }

.site-footer { padding-top: 28px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; color: var(--muted); font-size: 14px; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

/* simple pages */
.simple { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding-top: 64px; padding-bottom: 64px; max-width: 720px; }
.simple h1 { margin: 0; font: 800 clamp(36px, 5vw, 56px)/1.08 var(--display); letter-spacing: -.03em; }
html[lang="ar"] .simple h1 { font-family: var(--arabic); letter-spacing: 0; line-height: 1.3; }
.simple p { margin: 0; font-size: 18px; color: var(--muted); }

@media (max-width: 900px) {
  .hero, .gulf, .ways, .steps, .prices { grid-template-columns: 1fr; }
  .navlinks { display: none; }
  .hero { padding-top: 40px; gap: 40px; }
  .lede { font-size: 18px; }
}
@media (max-width: 420px) {
  .btn-dark { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dots span { transition: none; }
}
