:root {
  color-scheme: dark;
  --bg: #070a0a;
  --surface: rgba(17, 30, 29, 0.58);
  --text: #f1f7f5;
  --muted: #94aaa6;
  --soft: #b3c3c0;
  --teal: #61e7cb;
  --teal-bright: #8af4dc;
  --teal-deep: #1b8b7d;
  --line: rgba(151, 217, 204, 0.16);
  --display: "Noto Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  --body: "Noto Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 40%, rgba(27, 139, 125, 0.07), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.ambient,
.grain {
  position: fixed;
  pointer-events: none;
  user-select: none;
}

.ambient {
  z-index: 0;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.75;
}

.ambient--top {
  top: -15rem;
  right: 8%;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(97, 231, 203, 0.05);
  box-shadow: 0 0 120px rgba(45, 196, 171, 0.12), inset 0 0 90px rgba(45, 196, 171, 0.035);
}

.ambient--side {
  bottom: -18rem;
  left: -12rem;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(97, 231, 203, 0.035);
  box-shadow: 0 0 130px rgba(45, 196, 171, 0.09);
}

.grain {
  inset: 0;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

.page-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100%, 1180px);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(1.6rem, 4vw, 3rem) clamp(1.25rem, 5vw, 4.75rem) clamp(1.35rem, 3vw, 2.4rem);
}

.site-header {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand__mark {
  position: relative;
  display: inline-block;
  width: 0.64rem;
  height: 0.64rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0.3rem rgba(97, 231, 203, 0.08), 0 0 1rem rgba(97, 231, 203, 0.45);
}

.header-line {
  width: 3.25rem;
  height: 1px;
  background: var(--line);
}

.header-note {
  color: #718784;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(100%, 52rem);
  margin: 0 auto;
  padding: clamp(3.5rem, 9vh, 8rem) 0 clamp(4rem, 10vh, 8rem);
  text-align: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: clamp(1.55rem, 4vh, 2.75rem);
  color: var(--muted);
  font-size: clamp(0.74rem, 1.5vw, 0.88rem);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.status-dot {
  width: 0.44rem;
  height: 0.44rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0.28rem rgba(97, 231, 203, 0.08), 0 0 0.8rem rgba(97, 231, 203, 0.64);
}

.hero__title {
  max-width: 100%;
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(2.65rem, 8vw, 6.7rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1.08;
  text-wrap: balance;
}

.hero__title span {
  color: var(--teal-bright);
  text-shadow: 0 0 2.25rem rgba(97, 231, 203, 0.12);
}

.hero__subtitle {
  margin: clamp(1.2rem, 2.5vh, 1.8rem) 0 0;
  color: var(--soft);
  font-size: clamp(1.03rem, 2.2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero__description {
  max-width: 29rem;
  margin: 0.75rem auto 0;
  color: var(--muted);
  font-size: clamp(0.87rem, 1.7vw, 1rem);
  font-weight: 400;
  line-height: 1.9;
}

.hero__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.95rem;
  margin-top: clamp(2rem, 4.5vh, 3.25rem);
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-width: min(100%, 18rem);
  padding: 0.95rem 1.3rem 0.95rem 1.15rem;
  border: 1px solid rgba(177, 255, 236, 0.5);
  border-radius: 999px;
  background: linear-gradient(135deg, #71f0d3 0%, #44d0b6 100%);
  box-shadow: 0 0.8rem 2.3rem rgba(26, 149, 130, 0.23), 0 0 0 0.3rem rgba(97, 231, 203, 0.055);
  color: #06221d;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.whatsapp-button:hover {
  transform: translateY(-0.18rem);
  box-shadow: 0 1rem 2.8rem rgba(26, 149, 130, 0.34), 0 0 0 0.42rem rgba(97, 231, 203, 0.08);
  filter: brightness(1.04);
}

.whatsapp-button:focus-visible,
.phone-link:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--teal-bright);
  outline-offset: 5px;
}

.whatsapp-button__icon {
  display: inline-grid;
  place-items: center;
  width: 1.28rem;
  height: 1.28rem;
}

.whatsapp-button__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.whatsapp-button__arrow {
  margin-inline-start: 0.1rem;
  font-size: 1.18rem;
  line-height: 1;
}

.phone-link {
  color: var(--soft);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  direction: ltr;
  transition: color 180ms ease;
}

.phone-link:hover {
  color: var(--teal-bright);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(151, 217, 204, 0.1);
  color: #718784;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.footer-accent {
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: var(--teal-deep);
}

[data-reveal] {
  animation: reveal 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--delay, 0ms));
}

[data-delay="80"] { --delay: 80ms; }
[data-delay="160"] { --delay: 160ms; }
[data-delay="240"] { --delay: 240ms; }
[data-delay="320"] { --delay: 320ms; }

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(0.8rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 900px) and (max-height: 800px) {
  .hero {
    padding-block: 2rem;
  }

  .hero__title {
    font-size: clamp(3.8rem, 7vw, 5.45rem);
  }

  .hero__eyebrow {
    margin-bottom: 1.45rem;
  }

  .hero__action {
    margin-top: 2rem;
  }
}

@media (max-width: 620px) {
  .page-shell {
    padding-inline: 1.15rem;
  }

  .site-header {
    gap: 0.75rem;
  }

  .header-line {
    flex: 1;
    max-width: 3rem;
  }

  .header-note {
    font-size: 0.68rem;
  }

  .hero {
    padding-block: 3.25rem 4rem;
  }

  .hero__title {
    font-size: clamp(2.5rem, 13vw, 4.6rem);
    letter-spacing: -0.075em;
  }

  .hero__description {
    max-width: 20rem;
  }

  .whatsapp-button {
    width: min(100%, 19rem);
  }

  .site-footer {
    font-size: 0.65rem;
  }
}

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

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