:root {
  color-scheme: light;
  --ink: #172126;
  --muted: #5b6870;
  --paper: #f7f8f5;
  --surface: #ffffff;
  --teal: #006b62;
  --teal-dark: #08463f;
  --green: #87b741;
  --gold: #c89b3c;
  --line: rgba(23, 33, 38, 0.14);
  --shadow: 0 20px 60px rgba(14, 29, 35, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 64px);
  color: #ffffff;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.site-header[data-elevated="true"] {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 232px;
}

.brand-mark {
  display: inline-flex;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
}

.brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-shield {
  fill: var(--teal);
}

.brand-shield-line,
.brand-check,
.brand-plus {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-shield-line {
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 2;
}

.brand-check {
  stroke: #ffffff;
  stroke-width: 5.4;
}

.brand-plus {
  stroke: #d4e872;
  stroke-width: 3.8;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 4px;
  color: currentColor;
  font-size: 0.75rem;
  opacity: 0.76;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex: 1;
  font-size: 0.95rem;
}

.nav-links a {
  opacity: 0.86;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-action {
  padding: 0 18px;
  border: 1px solid currentColor;
  font-size: 0.92rem;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 86vh;
  padding: 124px clamp(18px, 6vw, 78px) 56px;
  overflow: hidden;
  color: #ffffff;
  background-image:
    linear-gradient(90deg, rgba(5, 18, 22, 0.9) 0%, rgba(5, 18, 22, 0.72) 38%, rgba(5, 18, 22, 0.24) 72%),
    url("./assets/hader-hero.png");
  background-position: center;
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.24);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(690px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 22px;
  font-size: clamp(3.05rem, 8vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.7;
}

.hero-copy.arabic {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  padding: 0 22px;
}

button.button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.button.primary {
  background: #ffffff;
  color: var(--teal-dark);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: #ffffff;
}

.hero-status {
  position: absolute;
  right: clamp(18px, 5vw, 64px);
  bottom: 34px;
  z-index: 2;
  display: grid;
  grid-template-columns: auto auto;
  gap: 8px 16px;
  max-width: min(470px, calc(100% - 36px));
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(7, 21, 24, 0.58);
  backdrop-filter: blur(14px);
  font-size: 0.9rem;
}

.hero-status span {
  color: rgba(255, 255, 255, 0.72);
}

.hero-status strong {
  overflow-wrap: anywhere;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.trust-strip div {
  padding: 26px clamp(18px, 5vw, 54px);
  background: #ffffff;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 6px;
  font-size: 1.04rem;
}

.trust-strip span {
  color: var(--muted);
  line-height: 1.5;
}

.section {
  padding: 88px clamp(18px, 6vw, 78px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1.2fr);
  gap: clamp(24px, 6vw, 76px);
  align-items: end;
  margin-bottom: 38px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.launch-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

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

.feature-card {
  min-height: 254px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 32px;
  margin-bottom: 30px;
  border-left: 4px solid var(--green);
  color: var(--teal);
  font-weight: 800;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.24rem;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.65;
}

.launch-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
  background: #101a1d;
  color: #ffffff;
}

.launch-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.launch-list {
  display: grid;
  gap: 1px;
  margin: 0;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
}

.launch-list div {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.launch-list dt {
  color: rgba(255, 255, 255, 0.64);
  font-weight: 700;
}

.launch-list dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.preview-section {
  background: #edf0ea;
}

.dashboard-preview {
  width: min(1040px, 100%);
  min-height: 430px;
  margin-top: 34px;
  padding: clamp(18px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78)),
    radial-gradient(circle at 90% 0%, rgba(135, 183, 65, 0.26), transparent 30%);
  box-shadow: var(--shadow);
}

.preview-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0 34px;
}

.status-grid div {
  min-height: 128px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.status-grid strong,
.status-grid span {
  display: block;
}

.status-grid strong {
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
}

.status-grid span {
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 12px;
  height: 160px;
  padding: 18px;
  border-radius: 8px;
  background: #172126;
}

.timeline span {
  display: block;
  height: var(--size);
  min-height: 28px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--green), var(--teal));
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(340px, 1.18fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
  background: #ffffff;
}

.contact-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
}

.contact-methods div {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: var(--paper);
}

.contact-methods dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-methods dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-weight: 800;
}

.contact-methods a {
  color: var(--teal-dark);
}

.contact-form {
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 245, 0.9)),
    radial-gradient(circle at 100% 0%, rgba(135, 183, 65, 0.2), transparent 34%);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(23, 33, 38, 0.22);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  outline: none;
}

.contact-form input {
  min-height: 48px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 132px;
  padding: 13px 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 107, 98, 0.14);
}

.form-wide {
  grid-column: 1 / -1;
}

.form-submit {
  min-width: 158px;
  margin-top: 20px;
  background: var(--teal-dark);
  color: #ffffff;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.form-consent {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.form-consent a {
  color: var(--teal-dark);
  font-weight: 800;
}

.site-footer {
  padding: 54px clamp(18px, 6vw, 78px) 26px;
  background: #101a1d;
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns:
    minmax(220px, 1.1fr)
    minmax(190px, 0.9fr)
    minmax(150px, 0.7fr)
    minmax(130px, 0.6fr)
    minmax(120px, 0.5fr);
  gap: clamp(16px, 2vw, 28px);
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-brand img {
  width: 190px;
  height: auto;
  margin-bottom: 18px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #ffffff;
}

.footer-brand p {
  max-width: 360px;
  margin-bottom: 0;
  line-height: 1.7;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.2;
}

.footer-column address {
  font-style: normal;
  line-height: 1.65;
}

.footer-column a,
.footer-bottom a {
  color: #ffffff;
  font-weight: 800;
  overflow-wrap: break-word;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  font-size: 0.92rem;
}

.legal-page {
  background: #ffffff;
}

.legal-page .site-header {
  position: sticky;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.legal-main {
  padding: 70px clamp(18px, 7vw, 110px) 90px;
}

.legal-content {
  width: min(860px, 100%);
}

.legal-content h1 {
  max-width: none;
  color: var(--ink);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
}

.legal-content h2 {
  margin: 36px 0 12px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.legal-content ul {
  padding-left: 22px;
}

@media (max-width: 980px) {
  .site-header {
    gap: 16px;
  }

  .nav-links {
    display: none;
  }

  .brand {
    flex: 1;
    min-width: 0;
  }

  .feature-grid,
  .status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading,
  .launch-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 66px;
    padding: 10px 14px;
  }

  .brand small,
  .nav-action {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .hero {
    min-height: 0;
    padding: 92px 18px 28px;
    background-position: 58% center;
  }

  h1 {
    max-width: 12ch;
    margin-bottom: 16px;
    font-size: clamp(2.7rem, 12vw, 3.25rem);
  }

  .hero-copy {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-status {
    position: relative;
    right: auto;
    bottom: auto;
    grid-template-columns: 1fr;
    margin-top: 16px;
  }

  .trust-strip,
  .feature-grid,
  .status-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 18px;
  }

  .launch-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-preview {
    min-height: auto;
  }

  .timeline {
    height: 120px;
    gap: 8px;
    padding: 12px;
  }

  .site-footer {
    padding-top: 42px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
