:root {
  --ink: #14161f;
  --muted: #5b6070;
  --line: #e7e8ee;
  --bg: #fbfaf8;
  --panel: #ffffff;
  --brand: #e8590c;
  --brand-dark: #c2410c;
  --navy: #101828;
  --radius: 18px;
  --shadow: 0 20px 50px -24px rgba(16, 24, 40, .28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Cairo", system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.75; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(251, 250, 248, .85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.25rem; direction: ltr; }
.brand b { color: var(--brand); }
.nav__links { display: flex; gap: 28px; }
.nav__links a { text-decoration: none; color: var(--muted); font-weight: 600; }
.nav__links a:hover { color: var(--ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 12px 24px -12px var(--brand); }
.btn--primary:hover { background: var(--brand-dark); }
.btn--ghost { border: 1.5px solid var(--line); background: var(--panel); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 12px 24px -12px var(--accent); }

/* hero */
.hero { padding: 96px 0 72px; background:
  radial-gradient(800px 380px at 85% -10%, rgba(232, 89, 12, .14), transparent 70%),
  radial-gradient(600px 300px at 5% 10%, rgba(28, 126, 214, .10), transparent 70%); }
.hero__in { text-align: center; }
.eyebrow { margin: 0 0 10px; color: var(--brand); font-weight: 700; letter-spacing: .02em; }
h1 { margin: 0; font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.3; font-weight: 800; }
h1 span { color: var(--brand); }
.lead { max-width: 640px; margin: 20px auto 0; color: var(--muted); font-size: 1.15rem; }
.hero__cta { display: flex; justify-content: center; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero__stats { display: flex; justify-content: center; gap: 48px; list-style: none; padding: 0; margin: 56px 0 0; }
.hero__stats li { display: grid; }
.hero__stats b { font-size: 1.8rem; font-weight: 800; }
.hero__stats span { color: var(--muted); font-size: .95rem; }

/* sections */
.section-head { text-align: center; margin-bottom: 56px; }
h2 { margin: 0; font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; }
.systems { padding: 72px 0; }
.empty { text-align: center; color: var(--muted); }

/* system block */
.system { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; padding: 48px; margin-bottom: 40px; background: var(--panel); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.system::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--accent); }
.system--flip .system__text { order: 2; }
.system__badge { display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px 4px 6px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, #fff); color: var(--accent); font-weight: 700; font-size: .9rem; }
.system__badge:not(:has(img)) { padding-inline: 14px; }
.system h3 { margin: 14px 0 4px; font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 800; }
.system__tagline { margin: 0; font-size: 1.12rem; font-weight: 600; color: var(--accent); }
.system__desc { color: var(--muted); }
.system__features { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.system__features li { position: relative; padding-inline-start: 26px; font-weight: 600; font-size: .98rem; }
.system__features li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; color: #fff; background: var(--accent); margin-top: 4px; }
.system__cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.system__note { color: var(--muted); font-size: .9rem; }

/* media */
.browser { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 30px 60px -30px rgba(16, 24, 40, .45); transform: perspective(1400px) rotateY(-4deg); transition: transform .4s; }
.system--flip .browser { transform: perspective(1400px) rotateY(4deg); }
.system:hover .browser { transform: none; }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f3f4f7; border-bottom: 1px solid var(--line); direction: ltr; }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6d8e0; }
.browser__bar i:nth-child(1) { background: #ff6159; } .browser__bar i:nth-child(2) { background: #ffbd2e; } .browser__bar i:nth-child(3) { background: #28c941; }
.browser__bar span { margin-inline-start: 12px; font-size: .8rem; color: var(--muted); font-family: ui-monospace, monospace; }
.placeholder { aspect-ratio: 16 / 10; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 50%, #101828)); }
.placeholder span { font-size: 6rem; font-weight: 800; color: rgba(255, 255, 255, .9); }

/* why */
.why { padding: 72px 0; }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h4 { margin: 0 0 6px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); }

/* contact */
.contact { padding: 40px 0 96px; }
.contact__in { text-align: center; background: var(--navy); color: #fff; border-radius: 28px; padding: 64px 24px; }
.contact__in p { color: #c4c9d6; margin: 10px 0 28px; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .95rem; }
.footer__in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer a { text-decoration: none; }

@media (max-width: 900px) {
  .system { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
  .system--flip .system__text { order: 0; }
  .browser, .system--flip .browser { transform: none; }
  .why__grid { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
}
@media (max-width: 560px) {
  .system__features, .why__grid { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; }
  .hero__stats { gap: 28px; }
}
