:root {
  --primary: #0F2A4A;
  --accent: #19B5D6;
  --bg: #F3F5F8;
  --surface: #FFFFFF;
  --text: #0F2A4A;
  --muted: #3D5270;
  --radius: 14px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Noto Sans Arabic", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; }

a { color: var(--primary); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

h1, h2 { line-height: 1.2; margin: 0 0 .75rem; }
h1 { font-size: clamp(1.7rem, 7vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 5vw, 2rem); font-weight: 700; }
p { margin: 0 0 1rem; }

.skip {
  position: absolute;
  inset-inline-start: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--primary);
  padding: .5rem 1rem;
  z-index: 100;
}
.skip:focus { inset-inline-start: .5rem; }

.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(15, 42, 74, .2);
}
.header-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: .6rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  min-width: 0;
  max-width: 100%;
}
.brand-mark {
  flex: none;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 800;
}
.brand-name {
  font-size: .95rem;
  overflow-wrap: anywhere;
}

.lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
}
.lang-switch button {
  font: inherit;
  font-size: .8rem;
  padding: .3rem .6rem;
  min-height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .5);
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.lang-switch button[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
  font-weight: 700;
}

.main-nav {
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.main-nav ul {
  list-style: none;
  margin: 0 auto;
  padding: .35rem .5rem;
  max-width: 1040px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .15rem .35rem;
}
.main-nav a {
  display: inline-block;
  padding: .35rem .55rem;
  font-size: .85rem;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
}
.main-nav a:hover { background: rgba(255, 255, 255, .12); }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--primary) 0%, #173d68 100%);
  color: #fff;
  padding: 3.5rem 0 3rem;
  text-align: center;
}
.hero h1 { overflow-wrap: anywhere; }
.slogan {
  font-size: clamp(1.05rem, 4vw, 1.35rem);
  color: #DCEFF6;
  max-width: 36rem;
  margin: 0 auto 1.75rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}

/* Buttons */
.btn {
  display: inline-block;
  max-width: 100%;
  padding: .75rem 1.4rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
}
.btn-accent { background: var(--accent); color: var(--primary); }
.btn-accent:hover { background: #3fc4e0; }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-slot {
  background: #E2E7EE;
  color: var(--muted);
  border-color: #C9D2DD;
  cursor: not-allowed;
  font-weight: 600;
}

/* Sections */
.section { padding: 3rem 0; }
.section-alt { background: var(--surface); }
.intro { color: var(--muted); }

.empty-card {
  background: var(--surface);
  border: 2px dashed #B8C6D6;
  border-radius: var(--radius);
  padding: 2rem 1.25rem;
  text-align: center;
  margin-bottom: 1.25rem;
}
.soon {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  font-weight: 700;
  padding: .2rem .8rem;
  border-radius: 999px;
}
.feature-slots {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
}

.info-list { margin: 0 0 1.5rem; display: grid; gap: .75rem; }
.info-row {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  border-inline-start: 4px solid var(--accent);
}
.section:not(.section-alt) .info-row { background: var(--surface); }
.info-list dt { font-weight: 700; font-size: .9rem; color: var(--muted); }
.info-list dd { margin: 0; font-size: 1.1rem; }
.break { overflow-wrap: anywhere; word-break: break-word; }

/* Footer */
.site-footer {
  text-align: center;
  padding: 1.25rem 1rem;
  font-size: .8rem;
  color: var(--muted);
  background: var(--bg);
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--primary); }

/* RTL */
[dir="rtl"] body, html[dir="rtl"] { font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", "Geeza Pro", Arial, sans-serif; }
html[dir="rtl"] .main-nav a { font-size: .95rem; }

@media (min-width: 720px) {
  .brand-name { font-size: 1.1rem; }
  .main-nav a { font-size: .95rem; }
  .hero { padding: 5rem 0 4.5rem; }
  .section { padding: 4.5rem 0; }
  .info-list { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
