* {
  box-sizing: border-box;
}

:root {
  --ink: #0b2452;
  --ink-soft: #52647d;
  --blue: #0b56d8;
  --blue-soft: #e8f0ff;
  --green: #2c9c42;
  --green-soft: #eaf7ec;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-solid: #ffffff;
  --line: rgba(11, 36, 82, 0.10);
  --shadow: 0 24px 60px rgba(12, 38, 77, 0.10);
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(rgba(11, 36, 82, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 36, 82, 0.024) 1px, transparent 1px),
    linear-gradient(180deg, #fbfcfe 0%, #f5f8fc 100%);
  background-size: 48px 48px, 48px 48px, auto;
}

a {
  color: inherit;
}

.site-shell {
  width: min(1480px, calc(100% - 64px));
  min-height: 100svh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.site-header {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

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

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-text strong {
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.35px;
}

.brand-text small {
  direction: ltr;
  text-align: right;
  color: #7c8aa0;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.8px;
}

.build-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #5a6c84;
  font-size: 13px;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(44, 156, 66, 0.10);
}

.hero {
  flex: 1;
  min-height: 590px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 7vw;
  padding: 54px 0 72px;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
}

h1 {
  margin: 0;
  display: flex;
  flex-direction: column;
  font-size: clamp(52px, 5vw, 88px);
  line-height: 1.03;
  letter-spacing: -2px;
  font-weight: 700;
}

h1 .accent {
  margin-top: 8px;
  color: var(--green);
}

.hero-description {
  margin: 30px 0 0;
  max-width: 640px;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.25vw, 22px);
  line-height: 1.95;
  font-weight: 400;
}

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

.button {
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(11, 36, 82, 0.14);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.hero-brand {
  direction: ltr;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo-frame {
  width: min(520px, 88%);
  aspect-ratio: 1.05;
  display: grid;
  place-items: center;
  border: 1px solid rgba(11, 36, 82, 0.08);
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% 38%, rgba(11, 86, 216, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,0.9), rgba(250,252,255,0.8));
  box-shadow: var(--shadow);
}

.hero-logo {
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.brand-rule {
  width: min(460px, 84%);
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  color: #667891;
}

.brand-rule span {
  height: 1px;
  background: var(--line);
}

.brand-rule small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.contact-panel {
  min-height: 90px;
  display: grid;
  grid-template-columns: 1fr auto 0.8fr auto 1.4fr;
  align-items: center;
  gap: 26px;
  padding: 18px 24px;
  border: 1px solid rgba(255,255,255,0.95);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.contact-block {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-block a,
.contact-block > span:not(.contact-label) {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.contact-label {
  color: #8b99aa;
  font-size: 11px;
  font-weight: 500;
}

.contact-divider {
  width: 1px;
  height: 34px;
  background: var(--line);
}

.contact-address {
  text-align: right;
}

.site-footer {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: #8b99aa;
  font-size: 10px;
}

.footer-separator {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
}

@media (max-width: 980px) {
  .site-shell {
    width: min(100% - 36px, 1480px);
  }

  .site-header {
    min-height: 98px;
  }

  .brand-logo {
    width: 58px;
    height: 58px;
  }

  .brand-text strong {
    font-size: 18px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 46px 0 50px;
  }

  .hero-copy {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-brand {
    grid-row: 1;
  }

  .logo-frame {
    width: min(420px, 78vw);
  }

  .contact-panel {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 20px;
  }

  .contact-divider {
    display: none;
  }

  .contact-block,
  .contact-address {
    text-align: center;
  }
}

@media (max-width: 580px) {
  .site-shell {
    width: min(100% - 24px, 1480px);
  }

  .site-header {
    align-items: flex-start;
    padding: 14px 0;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .brand-text small,
  .build-status {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  h1 {
    font-size: 42px;
    letter-spacing: -1px;
  }

  .hero-description {
    font-size: 16px;
  }

  .logo-frame {
    border-radius: 26px;
  }
}


/* V5: mobile-only one-screen compaction. Desktop rules above are preserved verbatim
   from the original madarat_clean_coming_soon version. */
@media (max-width: 980px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  .site-shell {
    height: 100svh;
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
  }

  .site-header {
    min-height: 78px;
    height: 78px;
    flex: none;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
  }

  .brand-text strong {
    font-size: 17px;
  }

  .brand-text small {
    display: none;
  }

  .hero {
    min-height: 0;
    height: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, .46fr) minmax(0, .54fr);
    gap: 2px;
    padding: 6px 0 8px;
    overflow: hidden;
  }

  .hero-brand {
    grid-row: 1;
    align-self: end;
  }

  .logo-frame {
    width: min(250px, 58vw);
    max-height: 27svh;
    border-radius: 24px;
  }

  .hero-logo {
    width: 88%;
    height: 88%;
  }

  .brand-rule {
    width: min(250px, 58vw);
    margin-top: 5px;
  }

  .brand-rule small {
    font-size: 8px;
  }

  .hero-copy {
    grid-row: 2;
    align-self: center;
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
  }

  .eyebrow {
    margin-bottom: 7px;
    font-size: 13px;
  }

  h1 {
    font-size: clamp(32px, 8.8vw, 45px);
    line-height: 1.05;
    letter-spacing: -1px;
  }

  h1 .accent {
    margin-top: 4px;
  }

  .hero-description {
    margin: 9px auto 0;
    font-size: 14px;
    line-height: 1.65;
  }

  .hero-actions {
    margin-top: 10px;
    justify-content: center;
    gap: 8px;
  }

  .button {
    min-height: 39px;
    padding: 0 14px;
    font-size: 12px;
  }

  .contact-panel {
    min-height: 102px;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 7px 14px;
    border-radius: 18px;
  }

  .contact-divider {
    display: none;
  }

  .contact-block {
    min-height: 29px;
    align-items: baseline;
    justify-content: center;
    flex-direction: row;
    gap: 7px;
    text-align: center;
  }

  .contact-block a,
  .contact-block > span:not(.contact-label) {
    font-size: 11px;
  }

  .contact-label {
    font-size: 9px;
  }

  .site-footer {
    display: none;
  }
}

@media (max-width: 980px) and (max-height: 700px) {
  .site-header {
    min-height: 68px;
    height: 68px;
  }

  .brand-logo {
    width: 47px;
    height: 47px;
  }

  .logo-frame {
    width: min(205px, 50vw);
    max-height: 23svh;
  }

  .brand-rule {
    display: none;
  }

  h1 {
    font-size: clamp(28px, 7.8vw, 38px);
  }

  .hero-description {
    margin-top: 5px;
    font-size: 12px;
  }

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

  .button {
    min-height: 35px;
  }

  .contact-panel {
    min-height: 88px;
  }
}
