/* Sahra landing — one stylesheet, no frameworks. Animations: transform/opacity only. */
@font-face { font-family: 'Plex'; font-weight: 400; font-display: swap; src: url(/assets/fonts/plex-arabic-400.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: 'Plex'; font-weight: 700; font-display: swap; src: url(/assets/fonts/plex-arabic-700.woff2) format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: 'Plex'; font-weight: 400; font-display: swap; src: url(/assets/fonts/plex-latin-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: 'Plex'; font-weight: 700; font-display: swap; src: url(/assets/fonts/plex-latin-700.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122; }
:root {
  --bg: #07070b; --panel: #111118; --panel2: #17171f; --line: rgba(255,255,255,.08);
  --text: #f4f4f7; --muted: #a2a2b3; --accent: #f0294f; --accent2: #ff7a3d;
  --grad: linear-gradient(135deg, #ff4a6e, #f0294f 55%, #ff7a3d);
  --r: 18px; --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); line-height: 1.65;
  font-family: 'Plex', 'Segoe UI', Tahoma, system-ui, -apple-system, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.skip { position: absolute; top: -100px; left: 12px; }
.skip:focus { top: 12px; z-index: 99; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }

/* header */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .3s, backdrop-filter .3s, border-color .3s; border-bottom: 1px solid transparent; }
.top.solid { background: rgba(7,7,11,.78); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; direction: ltr; }
.logo img { width: 36px; height: 36px; border-radius: 9px; }
.logo small { font-size: 10px; letter-spacing: .3em; color: var(--muted); border-left: 1px solid rgba(255,255,255,.25); padding-left: 10px; font-weight: 700; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.nav a:not(.btn) { color: #cfcfdb; transition: color .2s; }
.nav a:not(.btn):hover { color: #fff; }
.lang { font-size: 14px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 20px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border-radius: 12px; font-weight: 700; font-size: 16px; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px rgba(240,41,79,.35); }
.btn-primary:hover { box-shadow: 0 14px 38px rgba(240,41,79,.5); }
.btn-ghost { background: rgba(255,255,255,.07); border: 1px solid var(--line); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn svg { width: 20px; height: 20px; }

/* hero */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45; pointer-events: none; animation: drift 14s ease-in-out infinite alternate; }
.hero::before { width: 520px; height: 520px; background: #f0294f; top: -160px; right: -120px; }
.hero::after { width: 460px; height: 460px; background: #ff7a3d; bottom: -200px; left: -140px; animation-delay: -7s; opacity: .3; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.1); } }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #ffd0da; background: rgba(240,41,79,.12); border: 1px solid rgba(240,41,79,.35); padding: 6px 14px; border-radius: 30px; margin-bottom: 22px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); font-weight: 800; margin-bottom: 20px; }
.hero .lead { font-size: clamp(17px, 1.7vw, 20px); color: #cfcfdb; max-width: 560px; margin-bottom: 32px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; font-size: 14px; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: #3ddc84; }

/* devices */
.devices { position: relative; height: 520px; }
.tv { position: absolute; top: 30px; inset-inline-start: 0; width: 100%; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 80px rgba(0,0,0,.6); background: #000; animation: float 7s ease-in-out infinite; }
.tv img { aspect-ratio: 16/9; width: 100%; object-fit: cover; }
.phone { position: absolute; bottom: 0; inset-inline-end: -10px; width: 30%; min-width: 170px; border-radius: 30px; overflow: hidden; border: 6px solid #1c1c24; box-shadow: 0 40px 70px rgba(0,0,0,.7); background: #000; animation: float 7s ease-in-out -3.5s infinite; }
.phone img { aspect-ratio: 9/19.5; object-fit: cover; object-position: top; width: 100%; }
@keyframes float { 50% { transform: translateY(-14px); } }

/* sections */
section { padding: 90px 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; margin-bottom: 14px; }
.sec-head p { font-size: 18px; color: var(--muted); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; transition: transform .3s, border-color .3s, box-shadow .3s; }
.card:hover { transform: translateY(-6px); border-color: rgba(240,41,79,.45); box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(240,41,79,.13); color: #ff5a7a; margin-bottom: 18px; }
.ic svg { width: 26px; height: 26px; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* platforms */
.platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plat { text-align: center; padding: 26px 16px; }
.plat svg { width: 40px; height: 40px; margin: 0 auto 12px; color: #fff; }
.plat b { display: block; font-size: 17px; }
.plat span { font-size: 13px; color: var(--muted); }
.badge-soon { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; background: rgba(255,197,49,.14); color: #ffc531; }
.badge-ok { background: rgba(61,220,132,.14); color: #3ddc84; }

/* showcase */
.show { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.show + .show { margin-top: 90px; }
.show h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin-bottom: 16px; }
.show p { color: #c8c8d4; font-size: 17px; margin-bottom: 18px; }
.show ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.show li { display: flex; gap: 10px; align-items: flex-start; color: #dadae4; }
.show li::before { content: ''; flex-shrink: 0; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: rgba(240,41,79,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23ff5a7a' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.shot { border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 30px 70px rgba(0,0,0,.55); }
.shot.phone-shot { max-width: 300px; margin: 0 auto; border-radius: 30px; border: 6px solid #1c1c24; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding-top: 64px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 22px; inset-inline-start: 28px; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 800; }

/* faq */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: border-color .25s; }
.faq details[open] { border-color: rgba(240,41,79,.4); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--accent); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: #c3c3cf; }

/* final cta */
.final { text-align: center; border-radius: 28px; padding: 70px 24px; background: radial-gradient(ellipse at top, rgba(240,41,79,.35), transparent 60%), var(--panel); border: 1px solid var(--line); }
.final h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; margin-bottom: 14px; }
.final p { color: var(--muted); margin-bottom: 28px; font-size: 18px; }
.final .cta { justify-content: center; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 44px 0 36px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a:hover { color: #fff; }
.disclaimer { width: 100%; font-size: 13px; color: #7d7d8c; }

/* legal pages */
.legal { padding: 130px 0 70px; }
.legal .wrap { max-width: 860px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 800; margin-bottom: 8px; }
.legal h2 { font-size: 22px; margin: 34px 0 10px; }
.legal p, .legal li { color: #cfcfdb; }
.legal p + p { margin-top: 10px; }
.legal ul { padding-inline-start: 22px; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 50px 0; }
.legal .updated { color: var(--muted); font-size: 14px; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .rv { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .hero { padding: 120px 0 60px; }
  .hero .wrap, .show { grid-template-columns: 1fr; }
  .devices { height: 380px; margin-top: 10px; }
  .grid3, .steps { grid-template-columns: 1fr 1fr; }
  .platforms { grid-template-columns: 1fr 1fr; }
  .nav a:not(.btn):not(.lang) { display: none; }
  .show .shot { order: -1; }
}
@media (max-width: 600px) {
  .grid3, .steps { grid-template-columns: 1fr; }
  .devices { height: 300px; }
  .phone { width: 36%; min-width: 120px; border-width: 4px; border-radius: 22px; }
  section { padding: 64px 0; }
  .btn { height: 48px; padding: 0 20px; }
  .cta .btn { flex: 1; }
}
