:root {
  --teal: #0B6F7C;
  --teal-dark: #08525C;
  --teal-pale: #E2F1F3;
  --courtyard: #0D2B2F;
  --courtyard-deep: #071A1D;
  --sun: #F09A2C;
  --sun-soft: #FDF3E3;
  --green: #5C9A36;
  --green-soft: #ECF5E6;
  --bg: #F5F7F8;
  --surface: #FFFFFF;
  --ink: #14303A;
  --muted: #536971;
  --border: #D9E1DB;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-1: 0 4px 16px rgba(14, 42, 48, 0.06);
  --shadow-2: 0 18px 42px rgba(13, 43, 47, 0.12);
  --shadow-phone: 0 24px 52px rgba(7, 26, 29, 0.22);

  --font-ar: "IBM Plex Sans Arabic", system-ui, -apple-system, sans-serif;
  --font-en: "Plus Jakarta Sans", "IBM Plex Sans Arabic", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-ar);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html[lang="en"] body {
  font-family: var(--font-en);
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  font-family: inherit;
}

[hidden] {
  display: none !important;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* =========================================================
   NAVBAR
========================================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 70px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.brand-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--teal);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-btn {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-sm);
  padding: 7px 13px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.lang-btn:hover {
  border-color: var(--teal);
  background: var(--teal-pale);
}

.nav-cta {
  text-decoration: none;
  background: var(--teal);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

/* =========================================================
   HERO
========================================================= */
.hero {
  position: relative;
  padding-block: 56px 76px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(11, 111, 124, 0.10), transparent 44%),
    radial-gradient(circle at 12% 85%, rgba(240, 154, 44, 0.10), transparent 40%),
    var(--bg);
}

.hero-glow {
  position: absolute;
  inset-inline-end: -140px;
  top: -120px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 111, 124, 0.14), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 44px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: var(--shadow-1);
  margin-bottom: 18px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(92, 154, 54, 0.55);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(92, 154, 54, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(92, 154, 54, 0); }
  100% { box-shadow: 0 0 0 0 rgba(92, 154, 54, 0); }
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.24;
  font-weight: 700;
  color: var(--courtyard);
  letter-spacing: -0.01em;
}

.hero-subtitle {
  margin: 0 0 28px;
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 56ch;
}

/* Store Download Buttons */
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.store-buttons-center {
  justify-content: center;
  margin-bottom: 0;
}

.store-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 196px;
  padding: 12px 18px;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
}

.store-btn-dark {
  background: var(--courtyard);
  color: #FFFFFF;
  box-shadow: var(--shadow-1);
}

.store-btn-dark:hover {
  background: var(--teal-dark);
  box-shadow: var(--shadow-2);
}

.store-btn-light {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border);
  box-shadow: var(--shadow-1);
}

.store-btn-light:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-2);
}

.store-btn-light-solid {
  background: #FFFFFF;
  color: var(--courtyard);
  box-shadow: var(--shadow-2);
}

.store-btn-light-solid:hover {
  background: var(--teal-pale);
}

.store-btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.24);
}

.store-btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.5);
}

.store-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-copy {
  display: flex;
  flex-direction: column;
  text-align: start;
  line-height: 1.2;
}

.store-kicker {
  font-size: 0.72rem;
  opacity: 0.8;
}

.store-name {
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-en);
}

.soon-pill {
  margin-inline-start: auto;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--sun);
  color: var(--ink);
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
}

/* Hero Phone Showcase */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-phones {
  position: relative;
  width: 100%;
  max-width: 470px;
  height: 510px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-frame {
  position: relative;
  margin: 0;
  aspect-ratio: 780 / 1688;
  background: #102428;
  border-radius: 28px;
  padding: 8px;
  box-shadow: var(--shadow-phone);
  border: 2px solid rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 21px;
  background: #FFFFFF;
}

.phone-notch {
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 10px;
  border-radius: 999px;
  background: #0B191C;
  z-index: 2;
  opacity: 0.88;
}

.phone-center {
  width: 224px;
  z-index: 3;
}

.phone-side {
  position: absolute;
  width: 186px;
  top: 56px;
  z-index: 2;
  opacity: 0.96;
}

.phone-side-start {
  inset-inline-start: 6px;
  transform: rotate(7deg);
}

.phone-side-end {
  inset-inline-end: 6px;
  transform: rotate(-7deg);
}

html[dir="ltr"] .phone-side-start {
  transform: rotate(-7deg);
}

html[dir="ltr"] .phone-side-end {
  transform: rotate(7deg);
}

/* =========================================================
   SECTIONS SHARED
========================================================= */
.section {
  padding-block: 76px;
  scroll-margin-top: 74px;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 36px;
}

.section-eyebrow {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--teal-pale);
  color: var(--teal-dark);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  color: var(--courtyard);
  line-height: 1.3;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

/* =========================================================
   SCREENSHOTS GALLERY
========================================================= */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}

.filter-pill {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.filter-pill.is-active {
  background: var(--teal);
  border-color: var(--teal);
  color: #FFFFFF;
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.screen-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.screen-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: rgba(11, 111, 124, 0.35);
}

.screen-trigger {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  width: 100%;
  display: flex;
  justify-content: center;
}

.phone-card-frame {
  width: 100%;
  max-width: 210px;
  border-radius: 26px;
  padding: 7px;
  box-shadow: 0 14px 30px rgba(7, 26, 29, 0.16);
}

.phone-card-frame img {
  border-radius: 20px;
}

.screen-meta {
  margin-top: 16px;
}

.screen-meta h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--courtyard);
}

.screen-meta p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

/* =========================================================
   STAKEHOLDER BENEFITS
========================================================= */
.stakeholders-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.stakeholder-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stakeholder-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.card-badge-teal {
  background: var(--teal-pale);
  color: var(--teal-dark);
}

.card-badge-green {
  background: var(--green-soft);
  color: #36641B;
}

.card-badge-sun {
  background: var(--sun-soft);
  color: #8C5108;
}

.stakeholder-card h3 {
  margin: 0 0 14px;
  font-size: 1.2rem;
  color: var(--courtyard);
}

.benefit-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.benefit-list li {
  position: relative;
  padding-inline-start: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.benefit-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.security-bar {
  margin-top: 28px;
  padding: 18px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  box-shadow: var(--shadow-1);
}

.security-bar-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--teal-pale);
  color: var(--teal-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.security-bar p {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.98rem;
}

/* =========================================================
   DOWNLOAD BANNER
========================================================= */
.download-section {
  padding-top: 20px;
}

.download-card {
  background: linear-gradient(135deg, var(--courtyard) 0%, #093C44 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 52px 32px;
  text-align: center;
  box-shadow: var(--shadow-2);
}

.download-logo-wrap {
  display: inline-flex;
  padding: 10px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  margin-bottom: 20px;
}

.download-logo {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.download-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: #FFFFFF;
}

.download-card p {
  margin: 0 auto 28px;
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
}

/* =========================================================
   FOOTER
========================================================= */
.footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding-block: 24px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
}

.footer-logo {
  height: 30px;
  width: auto;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--teal);
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-family: var(--font-en);
}

/* =========================================================
   MODALS (Lightbox + Store Coming Soon)
========================================================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(7, 26, 29, 0.78);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 5;
}

.modal-close:hover {
  background: var(--teal-pale);
  border-color: var(--teal);
}

.lightbox-dialog {
  position: relative;
  width: 100%;
  max-width: 560px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 26px 24px 22px;
  text-align: center;
  box-shadow: var(--shadow-phone);
}

.lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.phone-lightbox-frame {
  width: min(270px, 64vw);
  border-radius: 30px;
  padding: 8px;
}

.phone-lightbox-frame img {
  border-radius: 22px;
}

.lightbox-nav {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.lightbox-nav:hover {
  background: var(--teal);
  color: #FFFFFF;
  border-color: var(--teal);
}

.lightbox-info {
  margin-top: 16px;
}

.lightbox-counter {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--teal-pale);
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-en);
  margin-bottom: 6px;
}

.lightbox-info h3 {
  margin: 0 0 4px;
  color: var(--courtyard);
  font-size: 1.15rem;
}

.lightbox-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.store-modal-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 34px 28px 28px;
  text-align: center;
  box-shadow: var(--shadow-phone);
}

.store-modal-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--sun-soft);
  color: #8C5108;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: var(--font-en);
  margin-bottom: 12px;
}

.store-modal-card h3 {
  margin: 0 0 10px;
  color: var(--courtyard);
  font-size: 1.3rem;
}

.store-modal-card p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.96rem;
}

.store-modal-btn {
  border: 0;
  background: var(--teal);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 10px 28px;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
}

.store-modal-btn:hover {
  background: var(--teal-dark);
}

/* =========================================================
   SCROLL REVEAL ANIMATION
========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .status-dot {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
========================================================= */
@media (max-width: 1024px) {
  .screens-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .stakeholders-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle {
    margin-inline: auto;
  }
  .store-buttons,
  .trust-list {
    justify-content: center;
  }
  .hero-phones {
    height: 455px;
    max-width: 420px;
  }
  .phone-center {
    width: 196px;
  }
  .phone-side {
    width: 162px;
    top: 48px;
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
  .screens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .screen-card {
    padding: 12px 10px 14px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 16px;
  }
  .hero {
    padding-block: 36px 52px;
  }
  .hero-phones {
    max-width: 340px;
    height: 390px;
  }
  .phone-center {
    width: 168px;
  }
  .phone-side {
    width: 132px;
    top: 44px;
  }
  .phone-side-start {
    inset-inline-start: 4px;
  }
  .phone-side-end {
    inset-inline-end: 4px;
  }
  .store-btn {
    width: 100%;
    max-width: 300px;
  }
  .screens-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
