:root {
  --navy: #0B2545;
  --navy-2: #13315C;
  --teal: #13A89E;
  --teal-dark: #0E7F78;
  --teal-light: #5FD4C8;
  --ink: #1C2A3A;
  --muted: #4A5A6C;
  --line: #DBE3EB;
  --soft: #F2F6F9;
  --white: #FFFFFF;
  --radius: 10px;
  --wrap: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.ar { font-family: "Segoe UI", Tahoma, "Noto Kufi Arabic", Arial, sans-serif; direction: rtl; }

/* Header */
header.top { position: sticky; top: 0; z-index: 10; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,0.08); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
header.top .brand img { height: 44px; width: auto; }
nav.links { display: flex; align-items: center; gap: 26px; }
nav.links a { color: #DCE6F0; text-decoration: none; font-size: 15px; }
nav.links a:hover { color: var(--white); }
.btn { display: inline-block; padding: 12px 22px; border-radius: 8px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; }
.btn.primary { background: var(--teal); color: var(--white); }
.btn.primary:hover { background: var(--teal-dark); }
.btn.ghost { border-color: rgba(255,255,255,0.35); color: var(--white); }
.btn.ghost:hover { border-color: var(--white); }
nav.links .btn { padding: 9px 16px; color: var(--white); }
.menu { display: none; background: none; border: 1px solid rgba(255,255,255,0.35); color: var(--white); border-radius: 8px; padding: 7px 12px; font-size: 15px; cursor: pointer; }

/* Hero */
.hero { background: var(--navy); color: var(--white); padding: 64px 0 0; overflow: hidden; }
.hero .eyebrow { color: var(--teal-light); letter-spacing: 2px; text-transform: uppercase; font-size: 13px; margin: 0 0 14px; }
.hero h1 { font-size: 50px; line-height: 1.1; margin: 0 0 18px; font-weight: 700; letter-spacing: -0.8px; max-width: 820px; }
.hero h1 em { font-style: normal; color: var(--teal-light); }
.hero p.lead { font-size: 20px; color: #C9D6E3; max-width: 760px; margin: 0 0 10px; }
.hero p.ar { font-size: 21px; color: var(--teal-light); margin: 0 0 28px; text-align: left; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero .shot { border-radius: 12px 12px 0 0; border: 1px solid rgba(255,255,255,0.12); border-bottom: 0; }

/* Sections */
section.block { padding: 80px 0; }
section.block.alt { background: var(--soft); }
.head { max-width: 760px; margin-bottom: 40px; }
.head .kicker { color: var(--teal-dark); font-weight: 600; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 8px; }
.head h2 { font-size: 36px; line-height: 1.2; margin: 0 0 12px; color: var(--navy); letter-spacing: -0.4px; }
.head p { color: var(--muted); margin: 0; font-size: 18px; }

.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.why .card { border-top: 4px solid var(--teal); }
.card h3 { margin: 0 0 8px; font-size: 19px; color: var(--navy); }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.mod { border-left: 3px solid var(--teal); padding: 4px 0 4px 18px; }
.mod h3 { margin: 0 0 6px; font-size: 18px; color: var(--navy); }
.mod p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.gallery figure { margin: 0; }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gallery img { transition: transform .25s; }
.gallery a:hover img { transform: scale(1.02); }
.gallery figcaption { margin-top: 10px; color: var(--muted); font-size: 15px; }
.gallery figcaption b { color: var(--navy); }

/* Feature lists */
.feat h3 { font-size: 18px; color: var(--navy); margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.feat h3::before { content: ""; width: 22px; height: 5px; border-radius: 3px; background: var(--teal); }
.feat ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 15.5px; }
.feat li { margin-bottom: 6px; }

/* Editions */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table.ed { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15.5px; }
table.ed th, table.ed td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; }
table.ed th { background: var(--navy); color: var(--white); font-weight: 600; }
table.ed th.c, table.ed td.c { text-align: center; width: 150px; }
table.ed th.pro { background: var(--teal); }
table.ed td.c { color: var(--teal-dark); font-weight: 700; font-size: 18px; }
table.ed td.no { color: #B6C0CC; }
table.ed tr:last-child td { border-bottom: 0; }
.note { color: var(--muted); font-size: 15px; margin-top: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 15px; color: var(--navy); }
.req p { margin: 0 0 10px; color: var(--muted); }
.req b { color: var(--navy); }

/* Demo band */
.demo { background: var(--navy); color: var(--white); padding: 72px 0; }
.demo .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.demo h2 { font-size: 34px; margin: 0 0 8px; }
.demo p { margin: 0; color: #C9D6E3; font-size: 18px; max-width: 620px; }
.demo .cta { display: flex; gap: 12px; flex-wrap: wrap; }

footer { background: #081B33; color: #9FB2C6; padding: 32px 0; font-size: 14.5px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer img { height: 34px; width: auto; }
footer a { color: #C9D6E3; }

nav.links a.lang { border: 1px solid rgba(255,255,255,0.3); border-radius: 8px; padding: 6px 12px; }

/* Arabic (right to left). Letter spacing is removed: it breaks the joined Arabic letters. */
[dir="rtl"] body { font-family: "Segoe UI", Tahoma, "Geeza Pro", "Noto Kufi Arabic", Arial, sans-serif; }
[dir="rtl"] .hero .eyebrow, [dir="rtl"] .head .kicker, [dir="rtl"] .hero h1, [dir="rtl"] .head h2 { letter-spacing: 0; }
[dir="rtl"] .hero h1 { line-height: 1.3; }
[dir="rtl"] .hero p.en { color: var(--teal-light); font-size: 18px; margin: 0 0 28px; direction: ltr; text-align: right; }
[dir="rtl"] .mod { border-left: 0; border-right: 3px solid var(--teal); padding: 4px 18px 4px 0; }
[dir="rtl"] .feat ul { padding-left: 0; padding-right: 20px; }
[dir="rtl"] table.ed th, [dir="rtl"] table.ed td { text-align: right; }
[dir="rtl"] table.ed .c { text-align: center; }

/* Tablet and phone */
@media (max-width: 960px) {
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .grid3 { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 40px; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .menu { display: inline-block; }
  nav.links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: flex-start; padding: 12px 16px 20px; gap: 14px; border-bottom: 1px solid rgba(255,255,255,0.1); }
  nav.links.open { display: flex; }
  header.top .brand img { height: 38px; }
  .hero { padding-top: 40px; }
  .hero h1 { font-size: 32px; }
  .hero p.lead { font-size: 17px; }
  .grid4, .grid3, .grid2, .gallery { grid-template-columns: 1fr; }
  section.block { padding: 56px 0; }
  .head h2 { font-size: 28px; }
  .demo h2 { font-size: 27px; }
}
