/* منارة — landing page. Light, product-first look in the spirit of
   Apple's pages: off-white and light-gray sections, near-black type,
   oversized headlines, white tiles with soft shadows, one accent
   (Manara teal), restrained motion. RTL-first; logical properties. */
:root {
  --bg: #fbfbfd;
  --bg-2: #f5f5f7;
  --tile: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --ink-3: #6e6e73;
  --ink-4: #86868b;
  --accent: #0a7d6e;
  --accent-2: #0f9d8a;
  --accent-soft: rgba(10, 125, 110, .08);
  --gold: #c8891a;
  --line: rgba(0, 0, 0, .08);
  --radius: 28px;
  --shadow-1: 0 2px 6px rgba(0, 0, 0, .04), 0 12px 32px rgba(0, 0, 0, .06);
  --shadow-2: 0 4px 12px rgba(0, 0, 0, .06), 0 30px 70px rgba(0, 0, 0, .12);
  --wrap: 1120px;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "SF Arabic", "SF Pro Arabic", -apple-system, BlinkMacSystemFont, "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
h1, h2, h3 { line-height: 1.12; margin: 0; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 8px; }

/* ── Buttons & links ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 999px; font-weight: 500; font-size: 17px;
  border: 0; cursor: pointer; white-space: nowrap;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.btn--sm { padding: 6px 15px; font-size: 13px; }
.btn--lg { padding: 15px 30px; font-size: 18px; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-2); }
.btn--primary:active { transform: scale(.98); }
.link-more { color: var(--accent); font-size: 17px; display: inline-flex; align-items: center; gap: 4px; }
.link-more::after { content: "‹"; font-size: 1.25em; line-height: 1; transition: transform .3s var(--ease); }
.link-more:hover { text-decoration: underline; }
.link-more:hover::after { transform: translateX(-3px); }

/* ── Nav (translucent bar) ───────────────────────────────── */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  background: rgba(251, 251, 253, .72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.is-scrolled { border-color: var(--line); background: rgba(251, 251, 253, .85); }
.nav__in { display: flex; align-items: center; gap: 28px; height: 52px; }
.brand { display: flex; align-items: center; gap: 8px; }
.brand__mark { width: 28px; height: 28px; border-radius: 7px; }
.brand__name { font-size: 19px; font-weight: 700; }
.brand__by { font-size: 12px; color: var(--ink-4); }
.nav__links { display: flex; gap: 26px; margin-inline-start: auto; font-size: 13px; color: var(--ink-2); }
.nav__links a { opacity: .85; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; color: var(--ink); }
.nav__burger { display: none; margin-inline-start: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mnav { display: none; }

/* ── Hero (centered headline, product below) ─────────────── */
.hero { position: relative; padding: 130px 0 40px; overflow: hidden; text-align: center; background: var(--bg); }
.hero__glow { position: absolute; inset-inline: 0; top: 46%; height: 70%; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(15, 157, 138, .16), rgba(245, 184, 61, .08) 45%, transparent 75%); }
.hero__in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero__copy { max-width: 820px; display: flex; flex-direction: column; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 21px; margin-bottom: 8px; }
.hero h1 { font-size: clamp(48px, 8vw, 96px); font-weight: 700; letter-spacing: -.03em; }
.grad { background: linear-gradient(90deg, #0a7d6e, #12a58f 45%, #c8891a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--ink-3); font-size: clamp(19px, 2vw, 24px); line-height: 1.45; margin-top: 18px; max-width: 30em; font-weight: 400; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 30px; margin-top: 28px; }
.hero__badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; list-style: none; padding: 0; margin: 26px 0 0; color: var(--ink-3); font-size: 14px; }
.hero__badges li { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); }

/* product: portrait stand */
.hero__art { position: relative; width: 100%; height: 640px; display: grid; place-items: center; margin-top: 30px; }
.stand { position: relative; animation: float 8s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.stand__screen {
  position: relative; width: 290px; height: 516px; border-radius: 18px; overflow: hidden;
  border: 12px solid #fdfdfd; background: #0b2734;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06), var(--shadow-2);
}
.stand__base { width: 130px; height: 16px; margin: 0 auto; background: linear-gradient(#f2f2f4, #d6d6da); border-radius: 0 0 12px 12px; box-shadow: 0 18px 30px -12px rgba(0,0,0,.25); }
.slide { position: absolute; inset: 0; padding: 32px 22px; display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff; opacity: 0; animation: slides 12s infinite; }
.slide--a { background: linear-gradient(180deg, #4c6a84, #22394b); animation-delay: 0s; }
.slide--b { background: radial-gradient(circle at 50% 30%, #4a3414, #140d05); animation-delay: 4s; justify-content: center; }
.slide--c { background: linear-gradient(160deg, #0f5a50, #072a26); animation-delay: 8s; justify-content: center; }
@keyframes slides { 0% { opacity: 0; transform: scale(1.03); } 4%, 30% { opacity: 1; transform: none; } 34%, 100% { opacity: 0; } }
.slide__logo { font-size: 13px; letter-spacing: 2px; opacity: .85; }
.slide__title { font-size: 27px; font-weight: 700; margin-top: 48px; line-height: 1.3; }
.slide__sub { font-size: 14px; color: #d6e2ea; margin-top: 8px; }
.slide__pin { margin-top: auto; width: 70px; height: 92px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: radial-gradient(circle at 50% 38%, transparent 16px, #0e3b2f 17px); filter: drop-shadow(0 8px 14px rgba(0,0,0,.5)); }
.slide__chip { background: #f5b83d; color: #3a2400; font-weight: 700; padding: 4px 14px; border-radius: 999px; font-size: 13px; }
.slide--b .slide__title { margin-top: 18px; color: #fde68a; }
.slide__price { font-size: 54px; font-weight: 700; margin-top: 10px; }
.slide__price small { font-size: 18px; color: #fde68a; }
.pray { width: 100%; }
.pray__h { font-weight: 700; margin-bottom: 14px; color: #7ee6d6; }
.pray__row { display: flex; justify-content: space-between; padding: 10px 14px; border-radius: 12px; margin-bottom: 8px; background: rgba(255,255,255,.08); font-size: 15px; }
.pray__row.is-next { background: rgba(255,255,255,.22); }
.ticker { position: absolute; inset-inline: 0; bottom: 0; background: rgba(0,0,0,.5); color: #fde68a; font-size: 12px; white-space: nowrap; overflow: hidden; padding: 6px 0; }
.ticker span { display: inline-block; padding-inline-start: 100%; animation: tick 14s linear infinite; }
@keyframes tick { to { transform: translateX(100%); } }
.float-card { position: absolute; background: rgba(255,255,255,.82); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border-radius: 18px; padding: 14px 16px; font-size: 13px; box-shadow: var(--shadow-2); text-align: start; color: var(--ink); }
.fc--status { inset-inline-end: calc(50% - 360px); top: 90px; width: 240px; animation: float 7s ease-in-out infinite reverse; }
.fc--cmd { inset-inline-start: calc(50% - 350px); bottom: 120px; width: 220px; animation: float 9s ease-in-out infinite; }
.fc__row { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.fc__row em { margin-inline-start: auto; font-style: normal; color: #1a9b4b; font-size: 12px; }
.live { width: 8px; height: 8px; border-radius: 50%; background: #30d158; box-shadow: 0 0 0 0 rgba(48, 209, 88, .5); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(48, 209, 88, 0); } 100% { box-shadow: 0 0 0 0 rgba(48, 209, 88, 0); } }
.fc__bar { height: 5px; background: rgba(0,0,0,.07); border-radius: 5px; margin: 10px 0 6px; overflow: hidden; }
.fc__bar i { display: block; height: 100%; width: var(--w); background: var(--accent-2); border-radius: 5px; }
.fc__meta { color: var(--ink-3); font-size: 12px; }
.fc__title { color: var(--ink-3); font-size: 12px; margin-bottom: 6px; }
.fc__cmd { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.fc__ic { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
.ok { margin-inline-start: auto; color: #1a9b4b; font-size: 12px; }
.hero__scroll { display: none; }

/* ── Highlights strip ────────────────────────────────────── */
.strip { background: var(--bg-2); }
.strip__in { display: grid; grid-template-columns: repeat(4, 1fr); padding: 56px 0; }
.stat { padding: 0 20px; text-align: center; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; }
.stat b { display: block; font-size: 52px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); direction: ltr; }
.stat span { color: var(--ink-3); font-size: 14px; line-height: 1.55; }

/* ── Sections ────────────────────────────────────────────── */
.section { padding: 130px 0; position: relative; background: var(--bg); }
.section--dark { background: var(--bg-2); }
.section--tint { background: var(--bg-2); }
.sec-head { text-align: center; max-width: 780px; margin: 0 auto 64px; }
.sec-head .eyebrow { font-size: 19px; }
.section h2 { font-size: clamp(36px, 5.4vw, 64px); }
.sec-sub { color: var(--ink-3); font-size: clamp(18px, 1.8vw, 22px); line-height: 1.5; margin-top: 16px; }

/* feature tiles */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 20px; }
#features { background: var(--bg-2); }
.card {
  position: relative; padding: 32px 30px; border-radius: var(--radius); background: var(--tile);
  box-shadow: var(--shadow-1); overflow: hidden; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.card:hover { transform: translateY(-4px) scale(1.01); box-shadow: var(--shadow-2); }
.card--xl { grid-column: span 2; background: linear-gradient(160deg, #ffffff, #effaf7); }
.card--tall { grid-column: span 2; background: linear-gradient(160deg, #ffffff, #f6f2fd); }
.card--wide { grid-column: span 2; }
.card h3 { font-size: 22px; margin: 20px 0 8px; }
.card p { color: var(--ink-3); font-size: 15.5px; line-height: 1.6; }
.card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.card__icon svg, .rbtn svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ic-teal { background: rgba(10,125,110,.10); color: #0a7d6e; }
.ic-gold { background: rgba(200,137,26,.12); color: #b9770e; }
.ic-rose { background: rgba(225,29,72,.09); color: #e11d48; }
.ic-violet { background: rgba(124,58,237,.09); color: #7c3aed; }
.ic-green { background: rgba(22,163,74,.10); color: #16a34a; }
.ic-red { background: rgba(220,38,38,.09); color: #dc2626; }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.ticks li { position: relative; padding-inline-start: 26px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .42em; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230a7d6e' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ticks--light { margin-top: 30px; }
.ai-demo { margin-top: 22px; padding: 16px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.ai-demo__prompt { font-size: 14px; color: var(--ink-2); }
.ai-demo__prompt::after { content: "▍"; animation: blink 1s steps(1) infinite; color: #7c3aed; }
@keyframes blink { 50% { opacity: 0; } }
.ai-demo__out { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 42px 42px; gap: 6px; margin-top: 12px; }
.ai-demo__out span { border-radius: 10px; background: linear-gradient(110deg, #ede7fb 30%, #fdf1d8 50%, #ede7fb 70%); background-size: 200% 100%; animation: shimmer 2.2s linear infinite; }
.ai-demo__out span:first-child { grid-row: span 2; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* remote control */
#control { background: var(--bg); }
.control { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.control .eyebrow { font-size: 19px; }
.remote { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.rbtn {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 10px; border-radius: 20px; cursor: pointer;
  background: var(--bg-2); border: 0; color: var(--ink); font: inherit; font-size: 14px;
  transition: transform .2s var(--ease), background .3s, box-shadow .3s;
}
.rbtn svg { color: var(--accent); }
.rbtn:hover { background: #ececf0; }
.rbtn:active { transform: scale(.96); }
.rbtn.is-on { background: var(--accent); color: #fff; }
.rbtn.is-on svg { color: #fff; }
.control__stage { display: grid; gap: 18px; justify-items: center; }
.tv { width: min(440px, 100%); aspect-ratio: 16 / 10; padding: 10px; border-radius: 20px; background: linear-gradient(145deg, #2c2c2e, #111113); box-shadow: var(--shadow-2); transition: width .8s var(--ease-out), aspect-ratio .8s var(--ease-out); }
.tv.is-portrait { width: min(250px, 60%); aspect-ratio: 10 / 16; }
.tv__glass { position: relative; height: 100%; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, #0f5a50, #0a2f35 60%, #4a3414); transition: filter .6s; }
.tv.is-off .tv__glass { filter: brightness(0); }
.tv__content { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 6px; color: #fff; }
.tv__brand { font-size: 34px; font-weight: 700; }
.tv__line { color: rgba(255,255,255,.75); font-size: 14px; }
.tv__bars { display: flex; gap: 4px; justify-content: center; margin-top: 8px; height: 18px; align-items: end; }
.tv__bars i { width: 4px; background: #7ee6d6; border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.tv__bars i:nth-child(2) { animation-delay: .2s; } .tv__bars i:nth-child(3) { animation-delay: .4s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 18px; } }
.tv__identify { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(245,184,61,.95); color: #3a2400; font-size: 26px; font-weight: 700; opacity: 0; transition: opacity .3s; }
.tv.is-identify .tv__identify { opacity: 1; animation: pulse 1s ease-in-out 3; }
@keyframes pulse { 50% { opacity: .55; } }
.tv__flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.tv.is-shot .tv__flash { animation: flash .5s ease-out; }
@keyframes flash { 0% { opacity: .9; } 100% { opacity: 0; } }
.tv__vol { position: absolute; inset-inline: 16%; bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.85); color: var(--ink); font-size: 12px; opacity: 0; transition: opacity .3s; }
.tv__vol i { flex: 1; height: 5px; border-radius: 5px; background: linear-gradient(90deg, var(--accent) var(--v, 50%), rgba(0,0,0,.12) var(--v, 50%)); }
.tv.is-vol .tv__vol { opacity: 1; }
.tv__boot { position: absolute; inset: 0; display: grid; place-items: center; background: #000; opacity: 0; pointer-events: none; transition: opacity .3s; }
.tv.is-boot .tv__boot { opacity: 1; }
.spinner { width: 32px; height: 32px; border: 3px solid rgba(255,255,255,.18); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.log { width: min(440px, 100%); min-height: 150px; padding: 16px 18px; border-radius: 20px; background: var(--tile); box-shadow: var(--shadow-1); font-size: 13px; }
.log__h { color: var(--ink-3); margin-bottom: 8px; font-weight: 600; }
.log__row { display: flex; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); animation: logIn .4s var(--ease-out); }
.log__row time { color: var(--ink-4); direction: ltr; font-variant-numeric: tabular-nums; }
.log__row .st { margin-inline-start: auto; color: #1a9b4b; }
.log__row .st.wait { color: var(--gold); }
@keyframes logIn { from { opacity: 0; transform: translateY(-6px); } }

/* platforms */
#platforms { background: var(--bg-2); }
.plats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.plat { padding: 30px 26px; border-radius: var(--radius); background: var(--tile); box-shadow: var(--shadow-1); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.plat:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.plat__logo { display: inline-block; font-weight: 700; letter-spacing: 1.5px; font-size: 12px; padding: 6px 12px; border-radius: 8px; direction: ltr; }
.plat__logo--samsung { background: #1428a0; color: #fff; }
.plat__logo--android { background: rgba(61,220,132,.16); color: #0f8a43; }
.plat__logo--lg { background: rgba(165,0,52,.09); color: #a50034; }
.plat__logo--web { background: rgba(0,113,227,.09); color: #0062c4; }
.plat h3 { font-size: 20px; margin-top: 18px; }
.plat__tag { color: var(--ink-4); font-size: 13px; margin-top: 6px; direction: ltr; text-align: end; }
.plat .ticks { font-size: 14px; }

/* steps */
#how { background: var(--bg); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; top: 30px; inset-inline: 12%; height: 1px; background: var(--line); }
.step { position: relative; text-align: center; padding: 0 10px; }
.step__n { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 20px; border-radius: 50%; font-size: 24px; font-weight: 700; background: var(--bg); color: var(--accent); box-shadow: 0 0 0 1px var(--line), 0 0 0 10px var(--bg); }
.step h3 { font-size: 21px; }
.step p { color: var(--ink-3); font-size: 15.5px; margin-top: 8px; }

/* Arabic-first */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.section:has(.split) { background: var(--bg-2); }
.split .eyebrow { font-size: 19px; }
.hijri { margin-inline: auto; width: min(400px, 100%); padding: 40px 30px; border-radius: 32px; text-align: center; background: var(--tile); box-shadow: var(--shadow-2); }
.hijri__d { font-size: 96px; font-weight: 700; line-height: 1; color: var(--accent); letter-spacing: -.03em; }
.hijri__m { font-size: 24px; font-weight: 600; margin-top: 10px; }
.hijri__g { color: var(--ink-4); font-size: 14px; margin-top: 4px; }
.hijri__p { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 26px; }
.hijri__p span { display: grid; gap: 2px; padding: 12px 2px; border-radius: 14px; background: var(--bg-2); font-size: 12px; color: var(--ink-3); }
.hijri__p b { color: var(--ink); font-size: 14px; }

/* security */
#security { background: var(--bg); }
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sec-item { padding: 30px; border-radius: var(--radius); background: var(--bg-2); }
.sec-item::before { content: ""; display: block; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 16px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.4 8.3-8 9-4.6-.7-8-4.5-8-9V6z' fill='none' stroke='%230a7d6e' stroke-width='1.7'/%3E%3Cpath d='M8.5 12l2.5 2.5 4.5-4.5' fill='none' stroke='%230a7d6e' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center / 22px no-repeat; box-shadow: var(--shadow-1); }
.sec-item b { font-size: 18px; }
.sec-item p { color: var(--ink-3); font-size: 15.5px; margin-top: 6px; }

/* faq */
#faq { background: var(--bg-2); }
.faq { max-width: 820px; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 22px 0; font-weight: 600; font-size: 19px; display: flex; align-items: center; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; margin-inline-start: auto; font-size: 26px; font-weight: 300; color: var(--ink-3); transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-3); padding-bottom: 22px; font-size: 17px; }

/* final call to action */
.cta { position: relative; padding: 150px 0; text-align: center; background: var(--bg); overflow: hidden; }
.cta__beam { position: absolute; inset-inline: 0; bottom: -40%; height: 90%; pointer-events: none; background: radial-gradient(45% 50% at 50% 50%, rgba(15,157,138,.14), transparent 70%); }
.cta__in { position: relative; }
.cta h2 { font-size: clamp(40px, 6.5vw, 80px); }
.cta p { color: var(--ink-3); font-size: 22px; margin: 14px 0 30px; }

/* footer */
.foot { background: var(--bg-2); border-top: 1px solid var(--line); padding: 34px 0; color: var(--ink-3); font-size: 12px; }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; }
.foot__brand { display: flex; align-items: center; gap: 10px; }
.foot__brand .brand__mark { width: 22px; height: 22px; border-radius: 6px; }
.foot__brand .brand__name { color: var(--ink); font-size: 17px; }
.foot__links { display: flex; gap: 20px; margin-inline-start: auto; }
.foot__links a:hover { color: var(--ink); text-decoration: underline; }
.foot__copy { width: 100%; direction: ltr; text-align: end; border-top: 1px solid var(--line); padding-top: 14px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .plats { grid-template-columns: repeat(2, 1fr); }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .fc--status { inset-inline-end: 4%; }
  .fc--cmd { inset-inline-start: 4%; }
}
@media (max-width: 900px) {
  .nav__links, .nav__in > .btn { display: none; }
  .nav__burger { display: block; }
  .mnav { position: fixed; inset: 52px 0 auto; display: grid; gap: 2px; padding: 12px 20px 22px; background: rgba(251,251,253,.97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .4s var(--ease-out); z-index: 40; }
  .mnav.is-open { transform: none; }
  .mnav a { padding: 12px 4px; font-size: 20px; font-weight: 600; border-bottom: 1px solid var(--line); }
  .mnav .btn { margin-top: 14px; border-bottom: 0; font-size: 17px; }
  .control, .split { grid-template-columns: 1fr; gap: 48px; }
  .control__stage { order: -1; }
  .hero__art { height: 600px; }
  .strip__in { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .stat:nth-child(3) { border-inline-start: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .steps::before { display: none; }
  .section { padding: 96px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand__by { display: none; }
  .hero { padding-top: 104px; }
  .bento, .plats, .sec-grid, .steps { grid-template-columns: 1fr; }
  .card--xl, .card--tall, .card--wide { grid-column: auto; }
  .remote { grid-template-columns: repeat(2, 1fr); }
  .hero__art { height: 540px; }
  .stand__screen { width: 250px; height: 445px; }
  .fc--status { inset-inline-end: 0; top: 30px; width: 210px; }
  .fc--cmd { inset-inline-start: 0; bottom: 60px; width: 200px; }
  .hijri__p { grid-template-columns: repeat(3, 1fr); }
  .foot__links { margin-inline-start: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .slide--a { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
}

/* ═══════════ LEGAL PAGES (privacy / terms / delete account) ═══════════ */
.legal { padding: 120px 0 80px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.02em; margin: 0 0 8px; }
.legal .updated { color: var(--ink-3, #6e6e73); margin: 0 0 36px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p, .legal li { font-size: 17px; line-height: 1.85; color: var(--ink-2, #424245); }
.legal ul, .legal ol { padding-inline-start: 22px; }
.legal .box { background: var(--bg-2, #f5f5f7); border-radius: 18px; padding: 20px 22px; margin: 18px 0; }
.legal a { color: var(--accent); }
.legal-nav { position: sticky; top: 0; z-index: 10; background: rgba(251,251,253,.85); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.legal-nav .wrap { display: flex; align-items: center; gap: 16px; height: 52px; }
.legal-nav .links { margin-inline-start: auto; display: flex; gap: 18px; font-size: 14px; }
.legal-nav .links a { color: var(--ink-2, #424245); text-decoration: none; }
