:root {
  --bg-0: #03121b;
  --bg-1: #061e2b;
  --bg-2: #0a2d3f;
  --glass: rgba(6, 28, 38, 0.64);
  --line: rgba(103, 255, 188, 0.23);
  --primary: #3de28f;
  --primary-2: #74ffc0;
  --gold: #e3c86b;
  --text: #ecfff6;
  --muted: #9ac7b4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Outfit, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(55rem 40rem at 90% 8%, rgba(42, 179, 123, 0.18), transparent 60%),
    radial-gradient(40rem 30rem at 10% 0%, rgba(223, 184, 83, 0.14), transparent 60%),
    linear-gradient(170deg, #020f16 0%, #051a25 48%, #07131d 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background: url('../images/bg-neon.png') center/cover no-repeat;
  mix-blend-mode: screen;
}

a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 3rem)); margin-inline: auto; }
.centered { text-align: center; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(121, 255, 199, 0.12);
  background: rgba(2, 15, 22, 0.62);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.25rem;
}

.brand-logo {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.6rem;
  object-fit: cover;
  box-shadow: 0 0 1.2rem rgba(104, 255, 190, 0.33);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 0.7rem;
  color: #001910;
  background: linear-gradient(145deg, var(--primary), var(--gold));
  box-shadow: 0 0 1.2rem rgba(104, 255, 190, 0.43);
}

.brand-accent,
h1 span,
.section-download h2 span { color: var(--primary); }

.nav-links {
  display: flex;
  gap: 1.4rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav-links a:hover { color: var(--primary-2); }

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 180ms ease;
}

.btn:hover { transform: translateY(-1px); }
.btn-cta,
.btn-primary {
  color: #032418;
  background: linear-gradient(140deg, var(--primary), #86ffca);
  box-shadow: 0 0.8rem 2rem rgba(64, 230, 151, 0.28);
}

.btn-secondary,
.btn-mini-alt {
  border-color: rgba(157, 245, 201, 0.22);
  color: var(--text);
  background: rgba(10, 38, 50, 0.55);
}

.hero {
  position: relative;
  padding: 3.5rem 0 4rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(2, 12, 18, 0.08) 0%, rgba(2, 12, 18, 0.55) 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
}

.badge {
  display: inline-flex;
  margin: 0;
  border-radius: 999px;
  border: 1px solid rgba(136, 255, 205, 0.3);
  background: rgba(15, 61, 52, 0.45);
  color: #b6ffe0;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
}

.hero-copy h1 {
  margin: 0.85rem 0 0.3rem;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1;
}

.subtitle {
  margin: 0;
  color: #caeddc;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.description {
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.75;
  margin: 1.1rem 0 1.6rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-stats {
  margin-top: 1.55rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats article {
  min-width: 8rem;
  padding: 0.8rem 0.95rem;
  border-radius: 1rem;
  border: 1px solid rgba(130, 255, 198, 0.2);
  background: rgba(7, 30, 42, 0.62);
}

.hero-stats strong {
  display: block;
  font-size: 1.2rem;
  color: var(--gold);
}

.hero-stats span { color: var(--muted); font-size: 0.82rem; }

.hero-visual { position: relative; }

.orb-wrap {
  position: absolute;
  right: 4%;
  top: -1rem;
  width: 13rem;
  height: 13rem;
  z-index: 1;
}

.orb-wave {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(113, 255, 195, 0.3);
  animation: ping 2.6s ease-out infinite;
}

.orb-wave-2 { animation-delay: 1.1s; }

.orb-core {
  position: absolute;
  inset: 1.8rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 38% 30%, rgba(57, 255, 161, 0.35), rgba(4, 24, 35, 0.95) 62%);
  border: 1px solid rgba(158, 255, 216, 0.6);
  box-shadow: 0 0 2rem rgba(70, 226, 149, 0.2);
}

.wave-bars {
  display: flex;
  align-items: end;
  gap: 0.32rem;
  height: 2.4rem;
}

.wave-bars span {
  width: 0.3rem;
  background: linear-gradient(var(--primary-2), #1db770);
  border-radius: 0.3rem;
  animation: eq 1.2s ease-in-out infinite;
}

.wave-bars span:nth-child(1) { height: 45%; }
.wave-bars span:nth-child(2) { height: 80%; animation-delay: 0.12s; }
.wave-bars span:nth-child(3) { height: 100%; animation-delay: 0.2s; }
.wave-bars span:nth-child(4) { height: 68%; animation-delay: 0.3s; }
.wave-bars span:nth-child(5) { height: 86%; animation-delay: 0.15s; }

.phone-stack {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 37rem;
}

.phone {
  width: min(100%, 20.5rem);
  border-radius: 2.2rem;
  border: 1px solid rgba(114, 255, 202, 0.2);
  box-shadow: 0 1.8rem 4rem rgba(0, 0, 0, 0.52);
}

.phone-back {
  position: absolute;
  left: 2%;
  top: 20%;
  width: 16.5rem;
  opacity: 0.56;
  transform: rotate(-13deg);
}

.phone-front {
  position: relative;
  transform: rotate(7deg);
  z-index: 2;
}

.glass-card {
  position: absolute;
  left: 3%;
  bottom: 0.6rem;
  z-index: 5;
  width: min(24rem, 95%);
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(146, 255, 214, 0.26);
  backdrop-filter: blur(8px);
  background: var(--glass);
}

.quick-player h3 {
  margin: 0.25rem 0;
  font-size: 1.15rem;
}

.quick-player p {
  margin: 0;
  color: #b9e6d4;
}

.player-kicker {
  color: var(--gold) !important;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.player-actions {
  margin-top: 0.85rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-mini {
  padding: 0.46rem 0.72rem;
  border-radius: 0.68rem;
  border-color: rgba(126, 255, 201, 0.18);
  color: #01251a;
  background: linear-gradient(140deg, #84ffc8, #38de90);
  font-size: 0.8rem;
}

.section {
  padding: 5.2rem 0;
  position: relative;
  z-index: 2;
}

.section-dark {
  background: linear-gradient(180deg, rgba(4, 18, 27, 0.7), rgba(3, 14, 20, 0.88));
  border-top: 1px solid rgba(145, 255, 212, 0.1);
  border-bottom: 1px solid rgba(145, 255, 212, 0.1);
}

.section-head {
  max-width: 45rem;
  margin-bottom: 2rem;
}

.section-head.centered { margin-inline: auto; }

.section-kicker {
  margin: 0 0 0.45rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.72rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 2.7rem);
}

.section-head p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.features-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(135, 255, 206, 0.2);
  background: linear-gradient(180deg, rgba(9, 36, 49, 0.74), rgba(7, 28, 38, 0.64));
  transition: transform 160ms ease, border-color 160ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(130, 255, 198, 0.45);
}

.feature-icon {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 0.72rem;
  background: rgba(113, 255, 197, 0.13);
  font-size: 1.25rem;
}

.feature-card h3 { margin: 0.75rem 0 0.45rem; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.feature-card span {
  margin-top: 0.9rem;
  display: inline-block;
  font-size: 0.72rem;
  border-radius: 999px;
  padding: 0.2rem 0.58rem;
  border: 1px solid rgba(218, 196, 107, 0.38);
  color: var(--gold);
  background: rgba(214, 188, 96, 0.11);
}

.steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step {
  text-align: center;
  padding: 1.35rem;
  border-radius: 1rem;
  background: rgba(7, 30, 41, 0.64);
  border: 1px solid rgba(131, 255, 201, 0.2);
}

.step-number {
  width: 2.7rem;
  height: 2.7rem;
  margin: 0 auto 0.8rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #0d241b;
  background: linear-gradient(160deg, var(--gold), var(--primary));
  font-weight: 800;
}

.step h3 { margin: 0 0 0.5rem; }
.step p { margin: 0; color: var(--muted); }

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

.reciter-card {
  padding: 1.1rem;
  border-radius: 1rem;
  text-align: center;
  border: 1px solid rgba(152, 255, 218, 0.2);
  background: linear-gradient(180deg, rgba(8, 35, 48, 0.8), rgba(7, 24, 33, 0.72));
}

.reciter-avatar {
  width: 3.15rem;
  height: 3.15rem;
  margin-inline: auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #022318;
  font-weight: 700;
  background: linear-gradient(145deg, #86ffc8, var(--gold));
}

.reciter-card h3 { margin: 0.7rem 0 0.15rem; font-size: 1rem; }
.reciter-card p { margin: 0; color: var(--muted); font-size: 0.86rem; }

.chips {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
  justify-content: center;
}

.chips span {
  font-size: 0.72rem;
  color: var(--gold);
  border: 1px solid rgba(224, 193, 95, 0.32);
  background: rgba(224, 193, 95, 0.1);
  border-radius: 999px;
  padding: 0.2rem 0.46rem;
}

.section-ayah { padding-top: 1rem; }

.ayah-card {
  max-width: 56rem;
  margin-inline: auto;
  border-radius: 1.1rem;
  border: 1px solid rgba(236, 201, 109, 0.35);
  background: linear-gradient(145deg, rgba(16, 48, 61, 0.6), rgba(8, 25, 35, 0.8));
  padding: 1.5rem;
  text-align: center;
}

.ayah-ar {
  margin: 0;
  font-family: "Noto Naskh Arabic", serif;
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  color: #f2dc96;
}

.ayah-fr {
  margin: 0.75rem 0 0;
  color: #cae8db;
  font-style: italic;
}

.ayah-card span {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--primary-2);
  font-size: 0.85rem;
}

.section-download {
  text-align: center;
  padding-top: 4.3rem;
  padding-bottom: 5.4rem;
}

.section-download p { color: var(--muted); }

.stores {
  margin-top: 1.3rem;
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
}

.store-btn {
  min-width: 12.7rem;
  padding: 0.82rem 1rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(152, 255, 218, 0.2);
  background: linear-gradient(180deg, rgba(11, 40, 53, 0.9), rgba(7, 23, 32, 0.8));
}

.store-btn small {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
}

.store-btn strong {
  display: block;
  margin-top: 0.2rem;
}

.site-footer {
  border-top: 1px solid rgba(139, 255, 210, 0.14);
  background: #04131c;
  padding: 1.1rem 0;
}

.footer-grid {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #b2d6c7;
}

.footer-grid div { display: flex; gap: 1rem; }
.footer-grid a:hover { color: var(--primary-2); }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: 500ms ease;
}

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

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

@keyframes ping {
  from { transform: scale(0.8); opacity: 0.7; }
  to { transform: scale(1.23); opacity: 0; }
}

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .description { margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .glass-card { position: relative; left: auto; bottom: auto; width: 100%; margin-top: 0.8rem; }
  .phone-back { display: none; }
  .phone-front { transform: rotate(0deg); }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reciters-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-nav { padding: 0.75rem 0.85rem; }
  .nav-links { display: none; }
  .container { width: min(1180px, calc(100% - 1.25rem)); }
  .hero { padding-top: 2rem; }
  .hero-stats article { min-width: 6.4rem; }
  .features-grid,
  .steps,
  .reciters-grid { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
}
