/* HALA LITE — landing styles
   Theme derived from logo: deep maroon #400118 + accent pink #F5015C */

:root {
  --maroon-950: #150008;
  --maroon-900: #1e000b;
  --maroon-850: #2a0011;
  --maroon-800: #400118;
  --maroon-700: #57021f;
  --maroon-600: #6d0228;
  --pink: #f5015c;
  --pink-soft: #ff4d8d;
  --pink-dim: rgba(245, 1, 92, 0.14);
  --text: #fff0f5;
  --muted: #c9a4b3;
  --muted-dim: #9c7c8a;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(245, 1, 92, 0.35);
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --max: 1180px;
  --font: "Tajawal", "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--maroon-950);
  color: var(--text);
  line-height: 1.7;
  direction: rtl;
  overflow-x: hidden;
  font-size: 16px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 78% -8%, rgba(245, 1, 92, 0.20), transparent 64%),
    radial-gradient(760px 520px at 8% 4%, rgba(109, 2, 40, 0.55), transparent 62%),
    linear-gradient(180deg, var(--maroon-900) 0%, var(--maroon-950) 55%, #100006 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 70%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(21, 0, 8, 0.72);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 0 0 1px var(--line-strong), 0 6px 18px rgba(245, 1, 92, 0.22);
}

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.brand-name span { color: var(--pink-soft); }

.nav {
  display: none;
  align-items: center;
  gap: 26px;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav a:hover { color: var(--text); }

.nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav a:hover::after { transform: scaleX(1); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--maroon-700), var(--maroon-600));
  border: 1px solid var(--line-strong);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.header-cta svg { width: 16px; height: 16px; }

/* ---------- Buttons / badges ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--pink), #c4004a);
  box-shadow: 0 14px 34px rgba(245, 1, 92, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(245, 1, 92, 0.44);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}

.store-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px 11px 16px;
  min-width: 190px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  cursor: pointer;
  text-align: start;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.store-btn:hover {
  border-color: var(--line-strong);
  background: rgba(245, 1, 92, 0.08);
  transform: translateY(-2px);
}

.store-btn:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

.store-btn .store-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  fill: var(--text);
}

.store-btn .store-lines {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.store-btn .store-top {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.store-btn .store-name {
  font-size: 1rem;
  font-weight: 700;
}

.store-chip {
  position: absolute;
  inset-inline-start: -6px;
  top: -10px;
  padding: 3px 10px;
  font-size: 0.66rem;
  font-weight: 700;
  border-radius: 999px;
  color: #1a0009;
  background: linear-gradient(135deg, #ffd166, #ff9f1c);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.store-note {
  margin: 14px 0 0;
  font-size: 0.82rem;
  color: var(--muted-dim);
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(38px, 7vw, 84px) 0 clamp(40px, 7vw, 88px);
}

.hero-grid {
  display: grid;
  gap: clamp(38px, 6vw, 64px);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #ffd0e0;
  background: var(--pink-dim);
  border: 1px solid var(--line-strong);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 4px rgba(245, 1, 92, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(245, 1, 92, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(245, 1, 92, 0.04); }
}

.hero h1 {
  margin: 18px 0 0;
  font-size: clamp(2.5rem, 7vw, 4.2rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero h1 .grad {
  background: linear-gradient(120deg, #fff 12%, #ffb7cf 52%, var(--pink) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 18px 0 0;
  max-width: 46ch;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  color: var(--muted);
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-points svg {
  width: 16px;
  height: 16px;
  color: var(--pink-soft);
  flex: 0 0 auto;
}

/* ---------- Phone mock ---------- */
.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 10px;
}

.phone-stage::before {
  content: "";
  position: absolute;
  inset: 12% 8% 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 1, 92, 0.30), transparent 68%);
  filter: blur(28px);
  z-index: 0;
}

.phone {
  position: relative;
  z-index: 1;
  width: min(300px, 78vw);
  border-radius: 38px;
  padding: 12px;
  background: linear-gradient(160deg, #3a0116, #1b0009 55%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.phone-screen {
  border-radius: 28px;
  background: linear-gradient(180deg, #2a0011, #150007);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 16px 14px 18px;
  overflow: hidden;
}

.notch {
  width: 82px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  margin: 2px auto 16px;
}

.app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.app-head-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.app-head-title small {
  display: block;
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--muted-dim);
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  color: #ffd7e4;
  background: rgba(245, 1, 92, 0.16);
  border: 1px solid rgba(245, 1, 92, 0.35);
}

.room {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  margin-bottom: 9px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.room.is-active {
  background: linear-gradient(120deg, rgba(245, 1, 92, 0.16), rgba(245, 1, 92, 0.04));
  border-color: rgba(245, 1, 92, 0.32);
}

.room-avatars {
  display: flex;
  flex: 0 0 auto;
}

.room-avatars span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin-inline-end: -8px;
  border: 2px solid #20000c;
  background: linear-gradient(140deg, #7d0a35, #f5015c);
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
  display: grid;
  place-items: center;
}

.room-info { min-width: 0; flex: 1; }

.room-info b {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.room-info small {
  font-size: 0.64rem;
  color: var(--muted-dim);
}

.room-mic {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(245, 1, 92, 0.18);
  color: var(--pink-soft);
  flex: 0 0 auto;
}

.room-mic svg { width: 13px; height: 13px; }

.eq {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
  margin-top: 12px;
  justify-content: center;
}

.eq i {
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--pink-soft), var(--pink));
  animation: eq 1.1s ease-in-out infinite;
}

.eq i:nth-child(1) { height: 30%; animation-delay: 0s; }
.eq i:nth-child(2) { height: 70%; animation-delay: 0.12s; }
.eq i:nth-child(3) { height: 45%; animation-delay: 0.24s; }
.eq i:nth-child(4) { height: 90%; animation-delay: 0.36s; }
.eq i:nth-child(5) { height: 55%; animation-delay: 0.48s; }
.eq i:nth-child(6) { height: 80%; animation-delay: 0.6s; }
.eq i:nth-child(7) { height: 35%; animation-delay: 0.72s; }

@keyframes eq {
  0%, 100% { transform: scaleY(0.5); opacity: 0.7; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- Sections ---------- */
section { padding: clamp(46px, 7vw, 88px) 0; }

.section-head {
  max-width: 620px;
  margin-bottom: clamp(28px, 4vw, 46px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--pink-soft);
  text-transform: uppercase;
}

h2 {
  margin: 12px 0 0;
  font-size: clamp(1.65rem, 4.4vw, 2.5rem);
  line-height: 1.25;
  font-weight: 700;
}

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

/* Feature cards */
.cards {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.card {
  position: relative;
  padding: 24px 22px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(245, 1, 92, 0.10), rgba(255, 255, 255, 0.015));
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--pink-dim);
  border: 1px solid var(--line-strong);
  color: var(--pink-soft);
  margin-bottom: 16px;
}

.card-icon svg { width: 22px; height: 22px; }

.card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 700;
}

.card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.75;
}

/* Steps */
.steps {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  counter-reset: step;
}

.step {
  padding: 24px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), #9d0039);
  margin-bottom: 14px;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Safety band */
.band {
  border-radius: 26px;
  padding: clamp(28px, 5vw, 52px);
  background:
    radial-gradient(600px 300px at 90% 10%, rgba(245, 1, 92, 0.20), transparent 70%),
    linear-gradient(140deg, var(--maroon-800), var(--maroon-900));
  border: 1px solid var(--line-strong);
  display: grid;
  gap: 26px;
  align-items: center;
}

.band h2 { margin-top: 10px; }

.band p {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 52ch;
}

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

.band-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--text);
}

.band-list svg {
  width: 18px;
  height: 18px;
  color: var(--pink-soft);
  flex: 0 0 auto;
  margin-top: 5px;
}

/* Final CTA */
.cta-final {
  text-align: center;
  padding: clamp(40px, 7vw, 76px) 22px;
  border-radius: 28px;
  background:
    radial-gradient(500px 260px at 50% 0%, rgba(245, 1, 92, 0.24), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
}

.cta-final h2 { margin-top: 0; }

.cta-final p {
  margin: 12px auto 0;
  max-width: 48ch;
  color: var(--muted);
}

.cta-final .store-row {
  justify-content: center;
  margin-top: 26px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 30px;
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
}

.footer-brand p {
  margin: 12px 0 0;
  max-width: 34ch;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dim);
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--muted);
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--muted-dim);
}

/* ---------- Legal pages ---------- */
.legal-hero {
  padding: clamp(34px, 6vw, 64px) 0 10px;
}

.legal-hero h1 {
  margin: 12px 0 0;
  font-size: clamp(1.9rem, 5vw, 2.9rem);
  line-height: 1.2;
}

.legal-meta {
  margin-top: 12px;
  font-size: 0.86rem;
  color: var(--muted-dim);
}

.legal {
  padding-top: 26px;
}

.legal-body {
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.legal-body h2 {
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  margin: 34px 0 10px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.legal-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal-body p,
.legal-body li {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.85;
}

.legal-body ul {
  padding-inline-start: 20px;
  margin: 10px 0;
}

.legal-body li { margin-bottom: 7px; }

.legal-body strong { color: var(--text); font-weight: 700; }

.legal-body a { color: var(--pink-soft); }

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

.breadcrumb svg { width: 15px; height: 15px; }
.breadcrumb:hover { color: var(--text); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  inset-inline: 0;
  bottom: 26px;
  margin: 0 auto;
  width: max-content;
  max-width: calc(100% - 40px);
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  background: rgba(40, 0, 16, 0.94);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 90;
}

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

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .store-btn { min-width: 205px; }
}

@media (min-width: 900px) {
  .nav { display: flex; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .band { grid-template-columns: 1.15fr 0.85fr; }
}

@media (min-width: 1040px) {
  section { padding: 96px 0; }
}

@media (max-width: 480px) {
  .header-inner { height: 64px; }
  .brand img { width: 38px; height: 38px; }
  .brand-name { font-size: 0.98rem; }
  .header-cta { padding: 9px 14px; font-size: 0.82rem; }
  .store-row { flex-direction: column; }
  .store-btn { width: 100%; min-width: 0; }
  .cta-final { padding: 34px 18px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
