:root {
  --orange: #D9820F;
  --orange-600: #B96D08;
  --slate: #454A54;
  --teal: #0F766E;
  --ink: #17212B;
  --text: #3B4452;
  --muted: #6B7380;
  --bg: #FFFFFF;
  --tint: #F6F6F4;
  --card: #FFFFFF;
  --line: #E4E4E0;
  --hero-a: #1B1F28;
  --hero-b: #343944;
  --radius: 16px;
  --font: Inter, Montserrat, "Segoe UI", system-ui, sans-serif;
}
:root[lang="ar"] { --font: Cairo, Tajawal, Tahoma, "Segoe UI", sans-serif; }
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #F3F4F6;
    --text: #D1D5DB;
    --muted: #9CA3AF;
    --bg: #14171E;
    --tint: #1B1F28;
    --card: #20242E;
    --line: #2F3440;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0; }
:root[lang="ar"] h1, :root[lang="ar"] h2, :root[lang="ar"] h3 { line-height: 1.45; }
p { margin: 0; }

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

.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 12px;
  font-weight: 700; border: 1px solid transparent; transition: background .2s, border-color .2s;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn small { font-weight: 500; opacity: .8; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-600); }
.btn-ghost { color: inherit; border-color: currentColor; opacity: .9; }
.btn-ghost:hover { opacity: 1; }
.btn-small { padding: 8px 16px; font-size: 14px; background: var(--orange); color: #fff; border-radius: 10px; }
.btn-android { background: var(--teal); color: #fff; }
.btn-android:hover { background: #0B5F58; }
.btn-soon { border: 1px dashed rgba(255,255,255,.35); color: #C9CDD4; cursor: default; }

.topbar { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.logo img { border-radius: 8px; }
.nav { display: flex; gap: 22px; margin-inline-start: auto; }
.nav a { color: var(--text); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--orange); }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.lang {
  font: inherit; font-family: Cairo, Inter, sans-serif; font-weight: 700; font-size: 14px; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 10px; padding: 6px 14px;
}
:root[lang="ar"] .lang { font-family: Inter, sans-serif; }

.hero { color: #fff; overflow: hidden; background: radial-gradient(circle at 75% -10%, rgba(217,130,15,.35), transparent 45%), linear-gradient(160deg, var(--hero-a), var(--hero-b)); }
.hero-inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: center; padding: 80px 0 96px; }
.by { display: flex; align-items: center; gap: 10px; color: #C9CDD4; font-weight: 600; margin-bottom: 20px; }
.by img { height: 30px; width: auto; }
.hero h1 { color: #fff; font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; letter-spacing: -.02em; }
:root[lang="ar"] .hero h1 { letter-spacing: 0; }
.lead { font-size: clamp(17px, 1.8vw, 20px); color: #D7DAE0; margin-top: 18px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .btn-ghost { color: #fff; }
.fine { margin-top: 16px; font-size: 14px; color: #A9AFB9; }
.hero-shot { position: relative; padding-bottom: 60px; padding-inline-end: 40px; }
.window { border-radius: 12px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.12); background: #fff; }
.window-bar { display: flex; gap: 7px; padding: 10px 12px; background: #2A2F39; }
.window-bar span { width: 10px; height: 10px; border-radius: 50%; background: #4B515E; }
.hero-shot .phone { position: absolute; width: 30%; inset-inline-end: -2%; bottom: -10px; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }

.eyebrow { display: flex; justify-content: center; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
:root[lang="ar"] .eyebrow { letter-spacing: 0; }
.eyebrow svg { width: 18px; height: 18px; fill: currentColor; }
.eyebrow.android { color: var(--teal); }

.platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.platform { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.platform-head { display: flex; align-items: center; gap: 16px; }
.platform-head h3 { font-size: 22px; }
.platform-icon { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 14px; background: color-mix(in srgb, var(--orange) 14%, transparent); color: var(--orange); }
.platform-icon.android { background: color-mix(in srgb, var(--teal) 14%, transparent); color: var(--teal); }
.platform-icon svg { width: 28px; height: 28px; fill: currentColor; }
.platform-meta { color: var(--muted); font-size: 14px; margin-top: 2px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-inline-start: 28px; }
.ticks li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 0; color: var(--teal); font-weight: 800; }
.platform-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.link-more { font-weight: 600; }

.compare-wrap { margin-top: 40px; overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare caption { font-weight: 800; color: var(--ink); font-size: 20px; text-align: start; padding-bottom: 14px; }
.compare th, .compare td { padding: 13px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { color: var(--ink); font-weight: 800; background: var(--tint); }
.compare tbody th { text-align: start; font-weight: 500; color: var(--text); }
.compare td { width: 22%; font-size: 15px; color: var(--muted); }
.compare td.yes { color: var(--teal); font-weight: 800; font-size: 18px; }

.phones { display: flex; justify-content: center; gap: 4%; }
.phones img { width: 42%; max-width: 300px; filter: drop-shadow(0 20px 30px rgba(23,33,43,.18)); }
.phones img:nth-child(2) { margin-top: 48px; }

.tabs { display: flex; justify-content: center; gap: 6px; margin: 28px auto 0; padding: 5px; width: max-content; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.tabs button { font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; border: 0; border-radius: 8px; padding: 8px 22px; background: transparent; color: var(--text); }
.tabs button[aria-selected="true"] { background: var(--orange); color: #fff; }

.section { padding: 88px 0; }
.tint { background: var(--tint); }
.title { font-size: clamp(28px, 3.2vw, 40px); text-align: center; font-weight: 800; }
.subtitle { text-align: center; max-width: 40em; margin: 12px auto 0; color: var(--muted); font-size: 17px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card .icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: color-mix(in srgb, var(--orange) 14%, transparent); color: var(--orange); font-weight: 800; margin-bottom: 16px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }

.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.steps .num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; margin-bottom: 16px; }
.steps h3 { font-size: 20px; margin-bottom: 6px; }

.feature { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; margin-top: 80px; }
.feature.reverse { grid-template-columns: 1.2fr .8fr; }
.feature.reverse .feature-text { order: 2; }
.feature-text h3 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 12px; }
.feature-text h3::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 2px; background: var(--orange); margin-bottom: 16px; }
.feature-text p { font-size: 17px; }
.shot { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 24px 50px rgba(23,33,43,.14); }
.mini { list-style: none; padding: 0; margin: 80px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini li { background: var(--tint); border-radius: 12px; padding: 18px; }
.mini strong { display: block; color: var(--ink); margin-bottom: 4px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.gallery a { display: block; color: var(--text); }
.gallery img { border-radius: 10px; border: 1px solid var(--line); transition: transform .2s; }
.gallery a:hover img { transform: translateY(-3px); }
.gallery span { display: block; font-size: 14px; margin-top: 8px; }
.gallery-phones { grid-template-columns: repeat(5, 1fr); }
.gallery-phones img { border: 0; border-radius: 0; }
.gallery-phones span { text-align: center; }

.samples-head { font-size: 18px; margin-top: 40px; }
.samples { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.samples-5 { grid-template-columns: repeat(5, 1fr); }
.sample { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; color: var(--ink); font-weight: 600; }
.sample:hover { border-color: var(--orange); }
.pdf { display: grid; place-items: center; width: 44px; height: 54px; border-radius: 6px; background: #C2410C; color: #fff; font-size: 12px; font-weight: 800; flex: none; }

.download { background: linear-gradient(160deg, var(--hero-a), var(--hero-b)); color: #D7DAE0; padding: 88px 0; }
.download-head { text-align: center; max-width: 40em; margin-inline: auto; }
.download-head img { margin-inline: auto; }
.download h2 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); margin: 20px 0 10px; }
.download img { border-radius: 18px; }
.download .btn-ghost { color: #fff; }
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.dl-card { display: flex; flex-direction: column; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 30px; scroll-margin-top: 80px; }
.dl-card h3 { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 24px; }
.dl-card h3 svg { width: 26px; height: 26px; fill: currentColor; }
.dl-card > p { margin-top: 10px; }
.dl-card .actions { margin: 24px 0 28px; }
.dl-card .specs { margin-top: auto; }
.download-price { text-align: center; margin-top: 32px; }
.specs { width: 100%; border-collapse: collapse; background: rgba(255,255,255,.05); border-radius: 14px; overflow: hidden; }
.specs th, .specs td { text-align: start; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.specs th { color: #A9AFB9; font-weight: 600; width: 38%; }
.specs td { color: #fff; }

details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; margin-top: 12px; }
details:first-of-type { margin-top: 40px; }
summary { cursor: pointer; padding: 18px 0; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--orange); }
details[open] summary::after { content: "–"; }
details p { padding-bottom: 18px; }

.footer { padding: 56px 0 28px; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; }
.footer p { margin-top: 12px; color: var(--muted); }
.footer h3 { font-size: 16px; }
.brand-logo img { height: 36px; width: auto; }
.legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

@media (max-width: 980px) {
  .nav { display: none; }
  .topbar-actions { margin-inline-start: auto; }
  .hero-inner, .platforms, .download-grid { grid-template-columns: 1fr; }
  .grid-3, .steps, .gallery { grid-template-columns: 1fr 1fr; }
  .gallery-phones { grid-template-columns: repeat(3, 1fr); }
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 24px; margin-top: 56px; }
  .feature.reverse .feature-text { order: 0; }
  .mini, .samples { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .grid-3, .steps, .gallery, .mini, .samples, .footer-inner { grid-template-columns: 1fr; }
  .gallery-phones { grid-template-columns: 1fr 1fr; }
  .btn-small { display: none; }
  .logo span { font-size: 15px; }
  .hero-inner { padding: 48px 0 64px; }
  .hero-shot { padding-inline-end: 24px; }
  .hero-shot .phone { width: 34%; inset-inline-end: 0; }
  .platform, .dl-card { padding: 22px; }
  .compare th, .compare td { padding: 11px 10px; font-size: 14px; }
}
