/* getnida.app marketing landing — Nida brand: teal #0AA09B, bright #0DB3AD, ink #0F1B2D, coral #FF6B4A */
:root {
  --ld-teal: #0AA09B;
  --ld-teal-2: #0DB3AD;
  --ld-teal-deep: #088985;
  --ld-ink: #0F1B2D;
  --ld-coral: #FF6B4A;
  --ld-paper: #F4F6F9;
  --ld-muted: #6B6B6B;
  --ld-line: #EEF1F4;
  --ld-card: #FFFFFF;
  --ld-font: 'Tajawal', 'Plex Arabic', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --ld-shadow: 0 10px 40px rgba(15, 27, 45, .08);
  --ld-shadow-sm: 0 2px 10px rgba(15, 27, 45, .06);
  --ld-radius: 22px;
  --ld-focus: 0 0 0 3px rgba(10, 160, 155, .35);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.landing {
  margin: 0;
  font-family: var(--ld-font);
  color: var(--ld-ink);
  background:
    radial-gradient(900px 480px at 10% -10%, rgba(13, 179, 173, .16), transparent 60%),
    radial-gradient(700px 420px at 100% 10%, rgba(255, 107, 74, .08), transparent 55%),
    var(--ld-paper);
  line-height: 1.5;
  min-height: 100vh;
  min-height: 100dvh;
}
a { color: var(--ld-teal); text-decoration: none; }
h1, h2, p, ol, ul { margin: 0; padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: none; box-shadow: var(--ld-focus); border-radius: 10px; }

.ld-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  background: color-mix(in srgb, var(--ld-paper) 86%, white);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 27, 45, .06);
}
.ld-brand { display: flex; align-items: center; height: 40px; }
.ld-brand img { height: 64px; width: auto; margin-block: -12px; display: block; }
.ld-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--ld-teal); color: #fff; font-weight: 600; font-size: .95rem;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .15s, transform .08s, box-shadow .15s;
  -webkit-tap-highlight-color: transparent; flex: none;
}
.ld-btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .ld-btn:hover { background: var(--ld-teal-deep); }
}
.ld-btn-lg { min-height: 52px; padding: 0 22px; font-size: 1.05rem; }
.ld-btn-ghost {
  background: transparent; color: var(--ld-ink);
  border-color: var(--ld-line);
}
@media (hover: hover) and (pointer: fine) {
  .ld-btn-ghost:hover { background: #fff; }
}

.ld-main { max-width: 1120px; margin: 0 auto; padding: 36px 20px 72px; }
.ld-hero { display: flex; flex-direction: column; gap: 36px; align-items: center; }
.ld-hero-copy { display: flex; flex-direction: column; gap: 18px; max-width: 34rem; }
.ld-hero h1 {
  font-size: clamp(1.85rem, 7vw, 3rem);
  font-weight: 700; line-height: 1.25; letter-spacing: -.02em;
}
.ld-sub { font-size: 1.125rem; color: var(--ld-muted); max-width: 28rem; }
.ld-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Phone + ready notification */
.ld-phone-wrap { display: grid; place-items: center; width: 100%; }
.ld-phone {
  width: min(260px, 78vw);
  aspect-ratio: 9 / 17;
  padding: 10px;
  border-radius: 36px;
  background: linear-gradient(160deg, #1a2738, #0F1B2D);
  box-shadow: var(--ld-shadow), 0 0 0 1px rgba(15, 27, 45, .35);
}
.ld-phone-screen {
  height: 100%;
  border-radius: 28px;
  background:
    radial-gradient(180px 120px at 50% 0%, rgba(13, 179, 173, .18), transparent 70%),
    linear-gradient(180deg, #F4F6F6, #E8EEEE);
  position: relative; overflow: hidden;
  padding: 10px 12px 16px;
  display: flex; flex-direction: column;
}
.ld-status {
  direction: ltr;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .68rem; font-weight: 700; color: var(--ld-ink);
  padding: 2px 8px 8px; height: 28px;
}
.ld-island {
  width: 68px; height: 16px; border-radius: 99px;
  background: #0F1B2D; flex: none;
}
.ld-status-end {
  width: 36px; height: 8px; border-radius: 4px;
  background: #0F1B2D; opacity: .35;
}
.ld-grid {
  margin-top: auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 10px;
  padding: 18px 8px 8px;
}
.ld-grid .a {
  aspect-ratio: 1; border-radius: 12px;
  background: #d5dcdd;
}
.ld-grid .a1 { background: #3DDC97; } .ld-grid .a2 { background: #6B7CFF; }
.ld-grid .a3 { background: #FF7A7A; } .ld-grid .a4 { background: #5A6570; }
.ld-grid .a5 { background: #F2A0C0; } .ld-grid .a6 { background: #7ED0F2; }
.ld-grid .a7 { background: #F4C44F; }
.ld-grid .nida { background: transparent; overflow: hidden; border-radius: 12px; }
.ld-grid .nida img { width: 100%; height: 100%; display: block; }
.ld-home {
  width: 80px; height: 4px; border-radius: 99px;
  background: var(--ld-ink); opacity: .28;
  margin: 10px auto 2px;
}
.ld-notif {
  display: flex; gap: 10px; align-items: flex-start;
  background: #fff; border-radius: 18px;
  padding: 10px 12px;
  box-shadow: var(--ld-shadow-sm), 0 12px 28px rgba(15, 27, 45, .08);
}
.ld-notif img { width: 36px; height: 36px; border-radius: 9px; flex: none; }
.ld-notif-body { min-width: 0; flex: 1; }
.ld-notif-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .68rem; color: var(--ld-muted); }
.ld-notif-top strong { color: var(--ld-ink); font-size: .75rem; }
.ld-notif-title { font-weight: 700; font-size: .92rem; line-height: 1.35; margin-top: 2px; }
.ld-notif-sub { font-size: .72rem; color: var(--ld-muted); margin-top: 2px; }

/* 3-step strip */
.ld-how { margin-top: 56px; }
.ld-steps {
  list-style: none;
  display: grid; gap: 10px;
  background: var(--ld-card);
  border: 1px solid var(--ld-line);
  border-radius: var(--ld-radius);
  box-shadow: var(--ld-shadow-sm);
  padding: 8px;
}
.ld-steps li {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 14px;
  font-weight: 600; font-size: 1.02rem;
  border-radius: 16px;
}
.ld-steps .n {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--ld-teal); color: #fff;
  display: grid; place-items: center;
  font-size: .9rem; font-weight: 700; flex: none;
}

/* Feature tiles */
.ld-features { margin-top: 28px; }
.ld-tiles {
  list-style: none;
  display: grid; gap: 10px;
  grid-template-columns: 1fr 1fr;
}
.ld-tiles li {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  background: var(--ld-card);
  border: 1px solid var(--ld-line);
  border-radius: 18px;
  box-shadow: var(--ld-shadow-sm);
  padding: 18px 16px;
  font-weight: 600; font-size: .95rem;
}
.ld-tiles svg {
  width: 28px; height: 28px; color: var(--ld-teal);
}

.ld-footer {
  max-width: 1120px; margin: 0 auto;
  padding: 0 20px 40px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  color: var(--ld-muted); font-size: .9rem; font-weight: 600;
}
.ld-header-actions { display: flex; align-items: center; gap: 10px; }
.ld-lang {
  min-height: 40px; padding: 0 14px; border-radius: 999px; border: 0;
  background: #E8F7F6; color: #045E5A; font: inherit; font-weight: 700; cursor: pointer;
}
.ld-foot-logo { height: 36px; width: auto; margin-block: -6px; opacity: .9; }
.ld-footer a { color: var(--ld-ink); }

/* Entrance */
.ld-hero-copy { animation: ld-rise .6s ease both; }
.ld-phone-wrap { animation: ld-rise .7s .12s ease both; }
.ld-notif { animation: ld-pop .5s .45s ease both; }
.ld-how { animation: ld-rise .55s .15s ease both; }
.ld-features { animation: ld-rise .55s .22s ease both; }
@keyframes ld-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes ld-pop {
  from { opacity: 0; transform: translateY(-8px) scale(.98); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ld-hero-copy, .ld-phone-wrap, .ld-notif, .ld-how, .ld-features {
    animation: none;
  }
}

@media (min-width: 800px) {
  .ld-header { padding: 16px 40px; }
  .ld-main { padding: 56px 40px 88px; }
  .ld-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 64px;
  }
  .ld-hero-copy { max-width: none; }
  .ld-phone { width: 280px; }
  .ld-how { margin-top: 64px; }
  .ld-steps {
    grid-template-columns: repeat(3, 1fr);
    padding: 8px;
    gap: 0;
  }
  .ld-steps li { justify-content: center; padding: 18px 12px; }
  .ld-tiles { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .ld-tiles li { padding: 22px 20px; font-size: 1rem; }
  .ld-footer { padding: 0 40px 48px; }
}
