@font-face { font-family: RinnBrand; src: url("/assets/fonts/rinn-brand-black.woff") format("woff"); font-weight: 900; font-display: block; }
@font-face { font-family: RinnBrandLatin; src: url("/assets/fonts/rinn-brand-bold.woff") format("woff"); font-weight: 700; font-display: block; }
:root {
  --ink: #0e1116;
  --muted: #5d6673;
  --bg: #faf8f5;
  --card: #ffffff;
  --line: #ebe6df;
  --brand: #e8590c;
  --brand-2: #ff8a3d;
  --ok: #16a34a;
  --dark: #0e1116;
  --dark-2: #171c24;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.landing {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "SF Arabic", "Segoe UI", "Noto Sans Arabic", "Noto Sans", Tahoma, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
svg { fill: currentColor; }
h1, h2, h3 { line-height: 1.2; margin: 0; }

.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px max(16px, calc((100vw - 1140px) / 2));
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; text-decoration: none; }
.brand .word { font-family: RinnBrand, inherit; font-size: 30px; line-height: 1; }
.brand .word-en { font-family: RinnBrandLatin, inherit; font-size: 24px; letter-spacing: .5px; }
.mark { width: 38px; height: 38px; border-radius: 10px; display: block; }
.nav nav { display: flex; gap: 22px; font-size: 15px; }
.nav nav a { text-decoration: none; color: var(--muted); }
.nav nav a:hover { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 12px; }
.lang { font-size: 15px; text-decoration: none; color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 14px; font-weight: 700; text-decoration: none; border: 1px solid transparent; transition: transform 0.08s ease; }
.btn:active { transform: scale(0.98); }
.btn.primary { background: var(--brand); color: #fff; box-shadow: 0 8px 24px color-mix(in srgb, var(--brand) 35%, transparent); }
.btn.ghost { border-color: var(--line); background: var(--card); }

.hero {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
  max-width: 1140px; margin: 0 auto; padding: 64px 16px 56px;
}
.hero h1 { font-size: clamp(34px, 5vw, 58px); letter-spacing: -0.02em; }
.lead { font-size: 20px; color: var(--muted); margin: 18px 0 26px; max-width: 34em; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 15px; }
.trust li { display: flex; align-items: center; gap: 6px; }
.trust svg { width: 18px; height: 18px; fill: var(--ok); }

.phone { justify-self: center; width: 300px; height: 610px; border-radius: 48px; padding: 12px; background: #0b0d10; box-shadow: 0 30px 80px rgba(14, 17, 22, 0.28), inset 0 0 0 2px #2a2f37; }
.screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; padding: 64px 14px 14px; color: #fff; background: radial-gradient(120% 80% at 30% 0%, #ff8a3d 0%, #b23c00 38%, #2a0d00 75%, #120600 100%); }
.time { position: absolute; top: 92px; inset-inline: 0; margin: 0; text-align: center; font-size: 64px; font-weight: 300; letter-spacing: -0.02em; direction: ltr; }
.island { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px; border-radius: 20px; background: #000; font-size: 13px; font-weight: 700; direction: ltr; white-space: nowrap; }
.island .dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 10px #22c55e; }
.island .ok { color: #4ade80; }
.notif { position: absolute; top: 230px; inset-inline: 12px; display: flex; gap: 10px; padding: 12px; border-radius: 20px; background: rgba(255, 255, 255, 0.18); backdrop-filter: blur(16px); animation: drop 0.6s 0.4s both cubic-bezier(.2,.8,.2,1.2); }
.notif .app { width: 36px; height: 36px; border-radius: 9px; flex: none; }
.notif strong { font-size: 14px; }
.notif p { margin: 2px 0 0; font-size: 13px; opacity: 0.9; line-height: 1.35; }
.la { position: absolute; bottom: 22px; inset-inline: 12px; padding: 14px; border-radius: 22px; background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(14px); }
.la > div:first-child { display: flex; align-items: baseline; justify-content: space-between; }
.la b { font-size: 34px; direction: ltr; }
.la small { font-size: 12px; opacity: 0.85; }
.bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.2); margin: 8px 0 6px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 100%; background: #22c55e; border-radius: 3px; }

.block { max-width: 1140px; margin: 0 auto; padding: 64px 16px; }
.block h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.01em; }
.sub { color: var(--muted); font-size: 18px; margin: 12px 0 0; max-width: 46em; }
.sub.center { text-align: center; margin: 24px auto 0; }
.block.dark { max-width: none; background: var(--dark); color: #fff; padding: 72px max(16px, calc((100vw - 1140px) / 2)); }
.block.dark .sub { color: #a6b0bd; }

.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.steps .n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); font-weight: 800; margin-bottom: 14px; }
.steps h3 { font-size: 20px; }
.steps p { margin: 8px 0 0; color: var(--muted); }

.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.tile { background: var(--dark-2); border: 1px solid #252c36; border-radius: 22px; padding: 24px; }
.tile .k { color: var(--brand-2); font-weight: 800; font-size: 14px; }
.tile h3 { font-size: 19px; margin-top: 8px; }
.tile p { margin: 8px 0 0; color: #a6b0bd; font-size: 15.5px; }
.tile.light { background: var(--card); border-color: var(--line); }
.tile.light p { color: var(--muted); }

.chips { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 20px; justify-content: center; margin-top: 32px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 30px; display: flex; flex-direction: column; }
.plan.pro { border: 2px solid var(--brand); box-shadow: 0 20px 60px color-mix(in srgb, var(--brand) 18%, transparent); }
.plan h3 { font-size: 22px; }
.price { margin: 14px 0 0; }
.price b { font-size: 52px; letter-spacing: -0.02em; }
.price span { color: var(--muted); font-weight: 700; }
.unit { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 8px; align-items: flex-start; }
.plan li svg { width: 20px; height: 20px; fill: var(--ok); flex: none; margin-top: 3px; }

.faq { margin-top: 28px; display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; }
.faq p { margin: 10px 0 0; color: var(--muted); }

.footer { text-align: center; color: var(--muted); padding: 40px 16px 56px; border-top: 1px solid var(--line); font-size: 15px; }
.footer p { margin: 6px 0; }

.doc { max-width: 760px; margin: 0 auto; padding: 48px 16px; }
.doc h1 { font-size: 32px; margin-bottom: 18px; }
.doc h2 { font-size: 20px; margin-top: 26px; }
.doc p { color: var(--muted); }

@keyframes drop { from { transform: translateY(-30px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 900px) {
  .nav nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 36px; gap: 36px; }
  .steps, .grid4, .grid3, .plans { grid-template-columns: 1fr; }
  .phone { transform: scale(0.92); }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }
