/* Iyadati product website. Hand written, no framework, no outside requests. */
@font-face { font-family: 'Inter'; src: url('fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Plex Arabic'; src: url('fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'Plex Arabic'; src: url('fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'Plex Arabic'; src: url('fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'Plex Arabic'; src: url('fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }

:root {
  --bg: #f7f9f8; --surface: #ffffff; --surface-2: #eef3f1; --line: #e1e7e4;
  --ink: #0d1b1a; --ink-2: #47565a; --ink-3: #7c8a8c;
  --brand: #0f766e; --brand-strong: #0a5a54; --brand-ink: #ffffff;
  --mint: #d9f7ec; --mint-ink: #0b5f58; --accent: #5eead4;
  --shadow: 0 1px 2px rgb(13 27 26 / 0.05), 0 12px 32px -12px rgb(13 27 26 / 0.16);
  --shadow-lg: 0 2px 6px rgb(13 27 26 / 0.06), 0 40px 80px -24px rgb(13 60 54 / 0.35);
  --radius: 18px; --wrap: 1180px;
  color-scheme: light;
}
:root[data-theme='dark'] {
  --bg: #08110f; --surface: #0f1b19; --surface-2: #162522; --line: #20322e;
  --ink: #ecf4f2; --ink-2: #a7b8b4; --ink-3: #6f827e;
  --brand: #2bb5a6; --brand-strong: #46c9ba; --brand-ink: #04211e;
  --mint: #12332e; --mint-ink: #7fe3d2;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 12px 32px -12px rgb(0 0 0 / 0.6);
  --shadow-lg: 0 2px 6px rgb(0 0 0 / 0.4), 0 40px 80px -24px rgb(0 0 0 / 0.8);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Inter', 'Plex Arabic', system-ui, sans-serif; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html[lang='ar'] body { font-family: 'Plex Arabic', 'Inter', system-ui, sans-serif; line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.12; }
html[lang='ar'] :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.35; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding-inline: 24px; border-radius: 14px; font-weight: 650; font-size: 16px; white-space: nowrap; border: 1px solid transparent; cursor: pointer; transition: transform 160ms cubic-bezier(.22,1,.36,1), background-color 160ms, box-shadow 160ms, border-color 160ms; font-family: inherit; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 10px 24px -10px color-mix(in oklab, var(--brand) 80%, transparent); }
.btn-primary:hover { background: var(--brand-strong); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-wa { background: #1faa59; color: #fff; box-shadow: 0 10px 24px -10px rgb(31 170 89 / 0.8); }
.btn-wa:hover { background: #17924b; transform: translateY(-1px); }
.btn-sm { height: 42px; padding-inline: 16px; font-size: 14.5px; border-radius: 11px; }
.btn svg { flex: none; }
[dir='rtl'] .flip { transform: scaleX(-1); }

/* ---------------------------------------------------------------- nav */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in oklab, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color 200ms; }
.nav.is-stuck { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 18px; height: 72px; }
.nav .logo img { height: 40px; width: auto; }
.logo .on-dark { display: none; }
:root[data-theme='dark'] .logo .on-light { display: none; }
:root[data-theme='dark'] .logo .on-dark { display: block; }
.nav-links { display: flex; gap: 4px; margin-inline-start: 18px; }
.nav-links a { padding: 8px 12px; border-radius: 10px; font-size: 15px; font-weight: 550; color: var(--ink-2); transition: color 150ms, background-color 150ms; }
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-end { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn { display: inline-grid; place-items: center; height: 42px; min-width: 42px; padding-inline: 10px; gap: 6px; border-radius: 11px; color: var(--ink-2); background: transparent; border: 0; cursor: pointer; font: inherit; font-size: 14.5px; font-weight: 600; grid-auto-flow: column; }
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.theme .sun { display: none; }
:root[data-theme='dark'] .theme .sun { display: block; }
:root[data-theme='dark'] .theme .moon { display: none; }
@media (max-width: 900px) { .nav-links { display: none; } .nav .wrap { height: 64px; gap: 8px; } .nav .logo img { height: 34px; } .nav .btn span.long { display: none; } }

/* --------------------------------------------------------------- hero */
.hero { position: relative; padding: 56px 0 0; }
.hero::before { content: ''; position: absolute; inset: -120px 0 auto; height: 760px; z-index: -1; background:
  radial-gradient(60% 55% at 78% 18%, color-mix(in oklab, var(--accent) 34%, transparent), transparent 70%),
  radial-gradient(50% 50% at 12% 8%, color-mix(in oklab, var(--mint) 95%, transparent), transparent 72%); }
.hero-grid { display: grid; gap: 40px; align-items: center; grid-template-columns: minmax(0, 1fr); }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand) 22%, transparent); }
.hero h1 { margin-top: 22px; font-size: clamp(2.5rem, 6.2vw, 4.4rem); font-weight: 780; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { margin-top: 20px; max-width: 34em; font-size: clamp(1.06rem, 1.6vw, 1.28rem); color: var(--ink-2); }
.hero-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { margin: 30px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14.5px; font-weight: 550; color: var(--ink-2); }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts svg { color: var(--brand); }

.stage { position: relative; margin-top: 8px; padding-bottom: 40px; }
.browser { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding-inline: 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.browser-bar span { margin-inline: auto; padding: 3px 14px; border-radius: 7px; background: var(--surface); font-size: 12px; color: var(--ink-3); direction: ltr; }
.browser img { width: 100%; height: auto; }
.phone { position: absolute; inset-inline-end: -6px; bottom: 0; width: clamp(128px, 24%, 230px); border-radius: 28px; padding: 7px; background: #0c1513; box-shadow: var(--shadow-lg); border: 1px solid #25332f; }
.phone img { border-radius: 22px; width: 100%; }
@media (min-width: 1000px) {
  .hero { padding-top: 72px; }
  .hero-grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 56px; }
  .stage { margin-inline-end: -110px; padding-bottom: 56px; }
  .phone { inset-inline-end: auto; inset-inline-start: -46px; bottom: -6px; width: 190px; }
}

/* ----------------------------------------------------------- sections */
section { padding: 88px 0; }
.eyebrow { display: inline-block; font-size: 13.5px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--brand); }
html[lang='ar'] .eyebrow { letter-spacing: 0; font-size: 15px; }
.head { max-width: 46rem; }
.head.center { margin-inline: auto; text-align: center; }
.head h2 { margin-top: 12px; font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 760; }
.head p { margin-top: 14px; font-size: 1.1rem; color: var(--ink-2); }

.features { margin-top: 44px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.feature { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform 220ms cubic-bezier(.22,1,.36,1), box-shadow 220ms, border-color 220ms; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in oklab, var(--brand) 40%, var(--line)); }
.feature .ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--mint); color: var(--mint-ink); }
.feature h3 { margin-top: 16px; font-size: 1.13rem; font-weight: 700; letter-spacing: -0.01em; }
.feature p { margin-top: 7px; font-size: 0.97rem; color: var(--ink-2); }

.split { display: grid; gap: 40px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } .split.rev > :first-child { order: 2; } }
.ticks { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.ticks li b { color: var(--ink); font-weight: 650; }
.ticks svg { flex: none; margin-top: 4px; color: var(--brand); }
.phones { position: relative; display: flex; justify-content: center; gap: 18px; padding: 34px 14px; border-radius: 28px; background: linear-gradient(160deg, var(--mint), color-mix(in oklab, var(--accent) 30%, var(--surface))); }
.phones .ph { width: min(44%, 230px); border-radius: 30px; padding: 7px; background: #0c1513; box-shadow: var(--shadow-lg); }
.phones .ph img { border-radius: 24px; }
.phones .ph:nth-child(2) { margin-top: 44px; }

/* tour */
.tour { background: var(--surface); border-block: 1px solid var(--line); }
.tabs { margin: 34px auto 0; display: flex; gap: 6px; padding: 6px; border-radius: 16px; background: var(--surface-2); width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; height: 42px; padding-inline: 18px; border-radius: 11px; border: 0; background: transparent; color: var(--ink-2); font: inherit; font-size: 15px; font-weight: 620; cursor: pointer; transition: background-color 160ms, color 160ms, box-shadow 160ms; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected='true'] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgb(13 27 26 / 0.14); }
.panel { margin-top: 26px; }
.panel[hidden] { display: none; }
.panel p { max-width: 44rem; margin: 0 auto 22px; text-align: center; color: var(--ink-2); font-size: 1.05rem; }
.panel .browser { max-width: 1040px; margin-inline: auto; }

/* waiting room */
.dark-band { background: #07130f; color: #eaf4f1; border-radius: 0; }
.dark-band .eyebrow { color: #5eead4; }
.dark-band .head p, .dark-band .ticks li { color: #a9bdb8; }
.dark-band .ticks li b { color: #fff; }
.dark-band .ticks svg { color: #5eead4; }
.tv { border-radius: 18px; padding: 9px; background: #000; border: 1px solid #1d2d29; box-shadow: 0 40px 90px -30px rgb(94 234 212 / 0.35); }
.tv img { border-radius: 10px; }

/* saudi grid */
.cards { margin-top: 44px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.card .ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--mint); color: var(--mint-ink); }
.card h3 { font-size: 1.06rem; font-weight: 700; letter-spacing: -0.01em; }
.card p { margin-top: 5px; font-size: 0.96rem; color: var(--ink-2); }

/* hosting */
.options { margin-top: 44px; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.option { position: relative; padding: 30px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.option.featured { background: linear-gradient(165deg, #0f766e, #0a4f4a); color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); }
.option h3 { font-size: 1.4rem; font-weight: 740; }
.option > p { margin-top: 8px; color: var(--ink-2); }
.option.featured > p { color: #c7ebe4; }
.option .ticks li { color: var(--ink-2); }
.option.featured .ticks li { color: #d8f1ec; }
.option.featured .ticks svg { color: #5eead4; }

/* steps */
.steps { margin-top: 44px; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.step { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-weight: 750; font-size: 1.05rem; }
.step h3 { margin-top: 16px; font-size: 1.15rem; font-weight: 700; }
.step p { margin-top: 7px; color: var(--ink-2); font-size: 0.98rem; }

/* faq */
.faq { margin: 40px auto 0; max-width: 820px; display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); padding: 0 22px; transition: border-color 200ms; }
.faq details[open] { border-color: color-mix(in oklab, var(--brand) 45%, var(--line)); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 0; font-weight: 650; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 11px; height: 11px; border-inline-end: 2.2px solid var(--ink-3); border-bottom: 2.2px solid var(--ink-3); transform: rotate(45deg); transition: transform 220ms; margin-top: -5px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 5px; }
.faq details p { padding: 0 0 20px; color: var(--ink-2); }

/* cta */
.cta { padding: 0 0 88px; }
.cta-box { position: relative; overflow: hidden; border-radius: 30px; padding: clamp(36px, 6vw, 72px); background: linear-gradient(150deg, #14958a, #0a4f4a); color: #fff; text-align: center; }
.cta-box::before { content: ''; position: absolute; inset: auto -10% -60% auto; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgb(94 234 212 / 0.35), transparent); }
.cta-box > * { position: relative; }
.cta-box h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 770; }
.cta-box p { margin: 14px auto 0; max-width: 36rem; color: #cfeee8; font-size: 1.1rem; }
.cta-box .hero-cta { justify-content: center; }
.cta-box .btn-ghost { background: rgb(255 255 255 / 0.12); color: #fff; border-color: rgb(255 255 255 / 0.28); }
.cta-box .btn-ghost:hover { background: rgb(255 255 255 / 0.2); color: #fff; border-color: #fff; }
.cta-box .btn-primary { background: #fff; color: #0a4f4a; box-shadow: none; }
.cta-box .btn-primary:hover { background: #eafaf6; }
.contact-line { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; font-size: 15.5px; color: #d8f1ec; }
.contact-line a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.contact-line a:hover { color: #fff; text-decoration: underline; }

footer { border-top: 1px solid var(--line); padding: 30px 0 40px; font-size: 14.5px; color: var(--ink-3); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
footer .logo img { height: 34px; width: auto; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer nav a:hover { color: var(--ink); }

.wa-float { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 60; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #1faa59; color: #fff; box-shadow: 0 14px 30px -10px rgb(31 170 89 / 0.9); transition: transform 180ms cubic-bezier(.22,1,.36,1); }
.wa-float:hover { transform: scale(1.08); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms cubic-bezier(.22,1,.36,1), transform 700ms cubic-bezier(.22,1,.36,1); transition-delay: calc(var(--d, 0) * 70ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.phone { animation: floaty 6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .reveal { opacity: 1; transform: none; } }
@media (max-width: 640px) { section { padding: 64px 0; } body { font-size: 16px; } .hero-cta .btn { flex: 1 1 100%; } .cta { padding-bottom: 64px; } }
