/* ============================================================
   AlJalees — minimalist landing v3
   Pure white background, strong typography, app-screenshot cards.
   ============================================================ */

/* Thmanyah Sans — local webfont */
@font-face {
  font-family: "Thmanyah Sans";
  src: url("../assets/font/thmanyahsans-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Sans";
  src: url("../assets/font/thmanyahsans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Sans";
  src: url("../assets/font/thmanyahsans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Sans";
  src: url("../assets/font/thmanyahsans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Sans";
  src: url("../assets/font/thmanyahsans-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Apple-style neutrals */
  --bg: #ffffff;
  --bg-soft: #fbfbfd;       /* Apple off-white */
  --bg-mid:  #f5f5f7;       /* Apple product neutral */
  --bg-dark: #000000;
  --bg-tint: #f4f4ff;
  --ink: #1d1d1f;
  --ink-2: #2a2a35;
  --muted: #6e6e73;         /* Apple secondary gray */
  --muted-2: #86868b;
  --line: #d2d2d7;          /* Apple hairline */
  --line-2: #e8e8ed;

  --primary: #5E5BFF;
  --primary-soft: #eeedff;
  --primary-deep: #4844e6;

  --green: #2fb673;
  --green-soft: #e6f7ee;
  --amber: #f0a020;
  --amber-soft: #fff3dc;
  --rose: #e85a6b;
  --rose-soft: #fde8eb;
  --blue: #3a7afe;
  --blue-soft: #e5edff;
  --violet: #7a4dff;
  --violet-soft: #ede5ff;
  --teal: #0fb5ad;
  --teal-soft: #d8f4f2;
  --orange: #ff7a3d;
  --orange-soft: #ffe6d9;
  --pink: #ff5ea0;
  --pink-soft: #ffe0ec;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-2xl: 44px;

  --shadow-xs: 0 1px 2px rgba(15,15,30,0.04);
  --shadow-sm: 0 2px 8px rgba(15,15,30,0.04), 0 1px 2px rgba(15,15,30,0.03);
  --shadow-md: 0 8px 24px rgba(15,15,30,0.06), 0 2px 6px rgba(15,15,30,0.04);
  --shadow-lg: 0 24px 60px rgba(15,15,30,0.10), 0 4px 12px rgba(15,15,30,0.05);

  --container: 1180px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Thmanyah Sans", "SF Arabic", "SF Pro Arabic", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-feature-settings: "tnum"; letter-spacing: -0.01em; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.86);
  border-bottom-color: var(--line);
}
.header-inner {
  height: 56px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: 18px;
}
.brand-icon {
  width: 32px; height: 32px; border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.site-nav {
  display: flex; gap: 28px;
  font-size: 15px; color: var(--ink-2);
}
.site-nav a { transition: color .15s var(--ease); }
.site-nav a:hover { color: var(--primary); }

@media (max-width: 760px) {
  .site-nav { display: none; }
}

@media (max-width: 540px) {
  .container { padding: 0 18px; }
  .header-inner { height: 54px; gap: 12px; }
  .brand { gap: 8px; font-size: 16px; }
  .brand-icon { width: 30px; height: 30px; }
  .btn-sm { height: 36px; padding: 0 13px; font-size: 13px; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 20px;
  border-radius: 999px;
  font-weight: 500; font-size: 15px;
  font-family: inherit;
  transition: transform .15s var(--ease), background .15s var(--ease), box-shadow .15s var(--ease);
  white-space: nowrap;
}
.btn i { font-size: 18px; line-height: 1; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 2px rgba(94,91,255,0.18), 0 6px 16px rgba(94,91,255,0.18);
}
.btn-primary:hover {
  background: var(--primary-deep);
  transform: translateY(-1px);
  box-shadow: 0 1px 2px rgba(94,91,255,0.25), 0 10px 22px rgba(94,91,255,0.28);
}
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.btn-ghost:hover { background: var(--primary-soft); }
.section-bg-dark .btn-ghost { color: #f5f5f7; border-color: rgba(255,255,255,0.4); }
.section-bg-dark .btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: #f5f5f7; }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn[aria-disabled="true"]:hover { transform: none; }

/* ============================================================
   Hero
   ============================================================ */
/* ============================================================
   Hero — Apple-style centered stage (text on top, art at bottom)
   ============================================================ */
.hero {
  position: relative;
  padding: 80px 0 0;
  overflow: hidden;
  max-width: 100vw;
  background: linear-gradient(180deg, #fbfbfd 0%, #fff 100%);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 50% 8%, rgba(94,91,255,0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(94,91,255,0.10) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(60% 50% at 50% 30%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 50% at 50% 30%, #000 10%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative; z-index: 1;
  width: 100%;
  min-width: 0;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ----- Copy block (top, centered) ----- */
.hero-copy {
  width: 100%;
  min-width: 0;
  max-width: 880px;
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.hero-title {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  color: var(--ink);
}
.hero-title .accent {
  color: var(--primary);
  font-weight: 600;
}
.hero-sub {
  font-size: clamp(18px, 1.7vw, 26px);
  color: var(--muted);
  font-weight: 400;
  line-height: 1.4;
  max-width: 720px;
  margin: 0 auto 36px;
}
.hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 22px;
  color: var(--muted);
  font-size: 14px;
  justify-content: center;
}
.hero-meta span {
  display: inline-flex; align-items: center; gap: 6px;
}
.hero-meta i { color: var(--primary); font-size: 16px; }

/* ----- Art block (bottom, centered, edge-anchored) ----- */
.hero-art {
  position: relative;
  width: 100%;
  max-width: 1040px;
  margin: 44px auto 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero-image {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  margin-bottom: -2px;       /* tuck the arm against the section edge */
  filter: drop-shadow(0 30px 60px rgba(94,91,255,0.18))
          drop-shadow(0 60px 100px rgba(15,15,30,0.10));
}
.hero-glow {
  position: absolute;
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%; height: 80%;
  background: radial-gradient(ellipse at center, rgba(94,91,255,0.32), transparent 65%);
  filter: blur(70px);
  z-index: 1;
  pointer-events: none;
  animation: hero-glow-pulse 6s ease-in-out infinite;
}
@keyframes hero-glow-pulse {
  0%, 100% { opacity: 0.7;  transform: translateX(-50%) scale(1);    }
  50%      { opacity: 1;    transform: translateX(-50%) scale(1.08); }
}

/* ----- Floating chips around the iPhone ----- */
.hero-chip-a, .hero-chip-b {
  position: absolute;
  z-index: 3;
  background: #fff;
  border: 1px solid rgba(15,15,30,0.05);
  border-radius: 16px;
  padding: 12px 16px;
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  box-shadow:
    0 1px 2px rgba(15,15,30,0.04),
    0 16px 32px rgba(15,15,30,0.08),
    0 40px 70px -20px rgba(94,91,255,0.20);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.hero.in-view .hero-chip-a,
.hero.in-view .hero-chip-b { opacity: 1; transform: translateY(0); }
.hero.in-view .hero-chip-a { transition-delay: .35s; }
.hero.in-view .hero-chip-b { transition-delay: .55s; }

/* Position relative to the hero.png composition (iPhone is roughly center-right) */
.hero-chip-a { top: 22%; right: 60%; }
.hero-chip-b { top: 56%; right: 66%; }

@media (max-width: 1100px) {
  .hero-chip-a { right: 56%; }
  .hero-chip-b { right: 62%; top: 60%; }
}
@media (max-width: 880px) {
  .hero { padding: 72px 0 0; }
  .hero-title { font-size: clamp(40px, 8vw, 64px); }
  .hero-sub { font-size: 17px; }
  .hero-art { margin-top: 40px; }
  .hero-chip-a, .hero-chip-b { font-size: 12px; padding: 10px 12px; }
  .hero-chip-a { top: 16%; right: 58%; }
  .hero-chip-b { top: 56%; right: 62%; }
}
@media (max-width: 760px) {
  .hero { padding-top: 64px; }
  .hero-inner { padding-inline: 22px; }
  .hero-title { font-size: clamp(36px, 8.6vw, 52px); }
  .hero-sub { font-size: 16.5px; max-width: 560px; }
  .hero-art { margin-top: 32px; }
  .hero-chip-a, .hero-chip-b { display: none; }
}
@media (max-width: 540px) {
  .hero { padding-top: 48px; }
  .hero-inner {
    min-height: auto;
    max-width: 100%;
    padding-inline: 20px;
    overflow: hidden;
  }
  .hero-copy {
    width: 100%;
    max-width: 100%;
    transform: none;
  }
  .hero-title {
    font-size: clamp(30px, 9vw, 40px);
    line-height: 1.18;
    letter-spacing: -0.01em;
    margin-bottom: 18px;
  }
  .hero-sub {
    font-size: 15.5px;
    line-height: 1.65;
    max-width: 100%;
    margin-bottom: 28px;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
    margin-bottom: 18px;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-meta {
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
    gap: 10px 14px;
    font-size: 12.5px;
    justify-content: center;
  }
  .hero-art { margin-top: 28px; }
  .hero-image {
    width: 100%;
    max-width: 100%;
    transform: none;
  }
}
@media (max-width: 380px) {
  .hero-inner { padding-inline: 16px; }
  .hero-title { font-size: clamp(26px, 8.4vw, 32px); }
  .hero-sub { font-size: 14.5px; }
  .hero-meta { font-size: 12px; gap: 8px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-glow { animation: none; }
}

/* Phone frame mock */
.phone {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9 / 19.5;
  background: #0a0a0f;
  border-radius: 44px;
  padding: 10px;
  box-shadow:
    0 50px 100px -20px rgba(15,15,30,0.25),
    0 30px 60px -30px rgba(15,15,30,0.30),
    0 0 0 1px rgba(255,255,255,0.04) inset;
}
.phone::before {
  content: "";
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 28px;
  background: #0a0a0f;
  border-radius: 999px;
  z-index: 2;
}
.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #fff;
}
.phone-screen img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero .phone {
  max-width: 340px;
}

/* Floating chips around hero phone */
.hero-chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 14px;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-md);
  font-size: 13px; font-weight: 400;
  color: var(--ink-2);
}
.hero-chip i { font-size: 18px; }
.hero-chip-1 {
  top: 12%; right: -12px;
  animation: float1 6s ease-in-out infinite;
}
.hero-chip-2 {
  bottom: 18%; left: -8px;
  animation: float2 7s ease-in-out infinite;
}
.hero-chip i.ti-bell { color: var(--amber); }
.hero-chip i.ti-circle-check-filled { color: var(--green); }

@keyframes float1 {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes float2 {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

@media (max-width: 880px) {
  .hero { padding: 40px 0 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-meta { justify-content: center; }
  .hero-chip { display: none; }
}

/* ============================================================
   Sections
   ============================================================ */
.section {
  padding: 140px 0;
  position: relative;
}
/* Apple-style alternating backgrounds */
.section-bg-white { background: var(--bg); }
.section-bg-soft  { background: var(--bg-soft); }
.section-bg-mid   { background: var(--bg-mid); }
.section-bg-dark  { background: var(--bg-dark); color: #f5f5f7; }
.section-bg-dark .section-title,
.section-bg-dark .spotlight-title { color: #f5f5f7; }
.section-bg-dark .section-sub,
.section-bg-dark .spotlight-sub { color: #a1a1a6; }
.section-bg-dark .section-eyebrow,
.section-bg-dark .spotlight-eyebrow {
  background: rgba(255,255,255,0.08);
  color: #f5f5f7;
}

/* Legacy alias */
.section-tinted { background: var(--bg-mid); }

.section-head {
  max-width: 880px;
  margin: 0 auto 80px;
  text-align: center;
}
.section-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 20px;
}
.section-title {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  color: var(--ink);
}
.section-title .accent { color: var(--primary); font-weight: 600; }
.section-sub {
  font-size: clamp(18px, 1.5vw, 24px);
  color: var(--muted);
  font-weight: 400;
  margin: 0 auto;
  line-height: 1.4;
  max-width: 720px;
}

@media (max-width: 760px) {
  .section { padding: 96px 0; }
  .section-head { margin-bottom: 40px; }
}

/* ============================================================
   Showcase grid (Card UI with screenshots)
   ============================================================ */
.showcase {
  display: grid;
  gap: 24px;
}
.showcase-2 { grid-template-columns: 1fr 1fr; }
.showcase-3 { grid-template-columns: 1.4fr 1fr 1fr; }
.showcase-asym { grid-template-columns: 1.2fr 1fr; }

@media (max-width: 980px) {
  .showcase-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .showcase-2, .showcase-3, .showcase-asym { grid-template-columns: 1fr; }
}

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.card-tinted {
  background: linear-gradient(180deg, var(--bg-tint) 0%, #fff 70%);
}
.card-dark {
  background: linear-gradient(160deg, #1a1a2e 0%, #0f0f1f 100%);
  color: #fff;
  border-color: transparent;
}
.card-dark .card-title { color: #fff; }
.card-dark .card-sub { color: rgba(255,255,255,0.6); }

.card-head {
  margin-bottom: 24px;
}
.card-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 400;
  color: var(--primary);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.card-eyebrow i { font-size: 14px; }
.card-title {
  font-size: 21px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.005em;
  margin: 0 0 10px;
  color: var(--ink);
}
.card-sub {
  font-size: 14.5px;
  color: var(--muted);
  font-weight: 300;
  margin: 0;
  line-height: 1.8;
}

.card-visual {
  flex: 1;
  display: flex; justify-content: center; align-items: flex-end;
  margin-top: 24px;
  min-height: 280px;
}

/* Screenshot inside card */
.shot {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 20px 50px -10px rgba(15,15,30,0.18),
    0 8px 20px -10px rgba(15,15,30,0.10),
    0 0 0 1px rgba(15,15,30,0.06);
  background: #f7f7fa;
  width: 100%;
  max-width: 240px;
  aspect-ratio: 9 / 19.5;
}
.shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.shot-large { max-width: 280px; }
.shot-tablet {
  aspect-ratio: 4 / 3;
  max-width: none;
  width: 100%;
  border-radius: 22px;
}
.shot-flat {
  border-radius: 24px;
  box-shadow: 0 12px 40px -10px rgba(15,15,30,0.15);
}
.shot-tilt-l { transform: rotate(-2deg); }
.shot-tilt-r { transform: rotate(2deg); }

.card-double {
  display: flex; gap: 20px; justify-content: center; align-items: flex-end;
  flex-wrap: wrap;
}
.card-double .shot { max-width: 200px; }

/* Tall card for hero-style screenshot in section */
.card-tall .card-visual {
  min-height: 520px;
}

/* ============================================================
   Feature grid (icons)
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 880px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .features { grid-template-columns: 1fr; } }

.feature {
  background: #fff;
  border-radius: 28px;
  padding: 0;
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 360px;
  box-shadow: 0 1px 2px rgba(15,15,30,0.04);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.section-bg-mid .feature { background: #fff; }
.section-bg-soft .feature { background: var(--bg); }
.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15,15,30,0.08);
}

/* Canvas area at the top of each feature card */
.feature-canvas {
  position: relative;
  height: 200px;
  background: linear-gradient(160deg, var(--bg-soft), var(--bg-mid));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.feature-canvas i {
  font-size: 64px;
  color: var(--primary);
  filter: drop-shadow(0 6px 12px rgba(94,91,255,0.25));
}
.feature-canvas.tone-violet { background: linear-gradient(160deg, #f4f1ff, #e8e3ff); }
.feature-canvas.tone-violet i { color: var(--violet); filter: drop-shadow(0 6px 12px rgba(122,77,255,0.25)); }
.feature-canvas.tone-amber  { background: linear-gradient(160deg, #fff8eb, #fff0d3); }
.feature-canvas.tone-amber i  { color: var(--amber); filter: drop-shadow(0 6px 12px rgba(240,160,32,0.25)); }
.feature-canvas.tone-teal   { background: linear-gradient(160deg, #ebfaf8, #d6f3ef); }
.feature-canvas.tone-teal i   { color: var(--teal); filter: drop-shadow(0 6px 12px rgba(15,181,173,0.25)); }
.feature-canvas.tone-orange { background: linear-gradient(160deg, #fff1e8, #ffe0cf); }
.feature-canvas.tone-orange i { color: var(--orange); filter: drop-shadow(0 6px 12px rgba(255,122,61,0.25)); }
.feature-canvas.tone-pink   { background: linear-gradient(160deg, #fff0f6, #ffd9e8); }
.feature-canvas.tone-pink i   { color: var(--pink); filter: drop-shadow(0 6px 12px rgba(255,94,160,0.25)); }
.feature-canvas.tone-green  { background: linear-gradient(160deg, #ebf9f1, #d6f0e0); }
.feature-canvas.tone-green i  { color: var(--green); filter: drop-shadow(0 6px 12px rgba(47,182,115,0.25)); }

.feature-body {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex; flex-direction: column;
}
.feature-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--ink);
  line-height: 1.3;
}
.feature-sub {
  font-size: 15px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
}

/* Legacy feature-icon fallback */
.feature-icon { display: none; }

/* ============================================================
   Stats / proof bar
   ============================================================ */
.proof-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  margin-top: 56px;
}
.proof-item { text-align: center; }
.proof-num {
  font-size: 32px; font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
}
.proof-num .accent { color: var(--primary); }
.proof-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
@media (max-width: 760px) { .proof-bar { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   Kids section — immersive playful product moment
   ============================================================ */
.kids-stage {
  min-height: 620px !important;
  padding: 42px 0 34px;
  margin-top: 44px;
  border: 1px solid rgba(47, 214, 206, 0.16);
  border-radius: 48px;
  overflow: hidden;
  background:
    radial-gradient(46% 56% at 52% 46%, rgba(47,214,206,0.20), transparent 72%),
    radial-gradient(30% 42% at 20% 30%, rgba(255,184,77,0.18), transparent 78%),
    radial-gradient(32% 48% at 78% 70%, rgba(255,91,157,0.16), transparent 78%),
    linear-gradient(145deg, #083f47 0%, #072c3e 48%, #101142 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 36px 90px -50px rgba(9,45,70,0.70);
}
#kids .spotlight-title .accent {
  color: transparent;
  background: linear-gradient(90deg, #27d6d1 0%, #29c7f2 48%, #4f7dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.kids-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.34) 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255,209,102,0.28) 1px, transparent 1.5px);
  background-size: 34px 34px, 58px 58px;
  background-position: 0 0, 18px 12px;
  mask-image: radial-gradient(70% 70% at 50% 50%, #000 12%, transparent 86%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 12%, transparent 86%);
  pointer-events: none;
}
.kids-stage::after {
  content: "";
  position: absolute;
  inset: auto 5% -26% 5%;
  height: 42%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(47,214,206,0.34), transparent 68%);
  filter: blur(18px);
  pointer-events: none;
}
.kids-showcase {
  position: relative;
  z-index: 1;
  width: min(100%, 1100px);
  height: 540px;
  margin: 0 auto;
  isolation: isolate;
}
.kids-sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.kids-spark {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ffd166;
  box-shadow: 0 0 0 8px rgba(255,209,102,0.12), 0 0 34px rgba(255,209,102,0.70);
  animation: kids-twinkle 3.2s ease-in-out infinite;
}
.kids-spark::before,
.kids-spark::after {
  content: "";
  position: absolute;
  inset: 4px -9px;
  background: rgba(255,255,255,0.92);
  border-radius: 999px;
}
.kids-spark::after {
  inset: -9px 4px;
}
.kids-spark.s-1 { top: 9%; right: 20%; }
.kids-spark.s-2 { top: 26%; left: 12%; animation-delay: .8s; transform: scale(.78); }
.kids-spark.s-3 { bottom: 18%; right: 9%; animation-delay: 1.4s; transform: scale(.68); }
.kids-moon {
  position: absolute;
  top: 9%;
  left: 22%;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ffd166;
  box-shadow: 0 0 46px rgba(255,209,102,0.42);
}
.kids-moon::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 14px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #092f42;
}
.kids-device {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 18px;
  width: min(690px, 70vw);
  aspect-ratio: 2360 / 1640;
  transform: translateX(-50%);
  border-radius: 34px;
  overflow: hidden;
  background: rgba(3,34,46,0.76);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.12),
    0 26px 70px rgba(0,0,0,0.30),
    0 70px 120px -40px rgba(47,214,206,0.46);
}
.kids-device::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.18), transparent 32%),
    linear-gradient(180deg, transparent 64%, rgba(4,29,42,0.26));
  pointer-events: none;
}
.kids-device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.kids-prayer-card,
.kids-reward-card,
.kids-parent-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 18px 46px rgba(0,0,0,0.22);
  backdrop-filter: blur(16px);
}
.kids-prayer-card {
  min-width: 220px;
  padding: 14px 16px;
  border-radius: 24px;
}
.kids-prayer-card .k-icon,
.reward-orb {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255,255,255,0.18);
  font-size: 23px;
}
.k-label {
  font-size: 12px;
  opacity: .78;
  line-height: 1.2;
}
.k-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
}
.k-star,
.k-time {
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  min-width: 34px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  font-size: 13px;
  font-weight: 600;
}
.kids-card-fajr {
  top: 76px;
  right: 68px;
  background: linear-gradient(145deg, rgba(127,89,255,0.94), rgba(48,215,220,0.84));
  transform: rotate(-4deg);
}
.kids-card-duhr {
  top: 192px;
  left: 50px;
  background: linear-gradient(145deg, rgba(255,184,77,0.95), rgba(255,117,77,0.84));
  transform: rotate(4deg);
}
.kids-card-maghrib {
  right: 126px;
  bottom: 76px;
  background: linear-gradient(145deg, rgba(255,91,157,0.94), rgba(114,91,255,0.84));
  transform: rotate(3deg);
}
.kids-reward-card {
  left: 92px;
  bottom: 86px;
  min-width: 196px;
  padding: 16px;
  border-radius: 26px;
  background: rgba(5,49,58,0.68);
}
.reward-label {
  font-size: 12px;
  color: rgba(255,255,255,0.72);
}
.reward-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
}
.kids-parent-card {
  top: 46px;
  left: 86px;
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.13);
  font-size: 13px;
  font-weight: 600;
}
.kids-parent-card i { color: #2fd67d; font-size: 18px; }

@keyframes kids-twinkle {
  0%, 100% { opacity: .58; transform: scale(.86) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.08) rotate(12deg); }
}

@media (max-width: 880px) {
  .kids-stage { min-height: 640px !important; }
  .kids-showcase { height: 560px; }
  .kids-device { width: min(720px, 88vw); bottom: 118px; }
  .kids-card-fajr { top: 34px; right: 24px; }
  .kids-card-duhr { top: 150px; left: 18px; }
  .kids-card-maghrib { right: 28px; bottom: 38px; }
  .kids-reward-card { left: 18px; bottom: 34px; }
  .kids-parent-card { top: 22px; left: 24px; }
}
@media (max-width: 760px) {
  .kids-stage {
    min-height: 600px !important;
    padding: 36px 0 28px;
  }
  .kids-showcase { height: 540px; }
  .kids-device { width: min(640px, 86vw); bottom: 130px; border-radius: 28px; }
  .kids-prayer-card { min-width: 196px; padding: 12px 14px; }
  .kids-prayer-card .k-icon,
  .reward-orb { width: 42px; height: 42px; font-size: 21px; }
  .k-title { font-size: 15px; }
  .kids-card-fajr { top: 28px; right: 16px; }
  .kids-card-duhr { top: 138px; left: 12px; }
  .kids-card-maghrib { right: 16px; bottom: 32px; }
  .kids-reward-card { left: 12px; bottom: 30px; min-width: 168px; padding: 14px; }
  .reward-title { font-size: 22px; }
  .kids-parent-card { top: 18px; left: 18px; padding: 9px 12px; font-size: 12px; }
}
@media (max-width: 540px) {
  .kids-stage {
    min-height: 560px !important;
    border-radius: 32px;
    padding: 28px 0 24px;
  }
  .kids-showcase { height: 520px; }
  .kids-device {
    width: 92%;
    bottom: 140px;
    border-radius: 24px;
  }
  .kids-prayer-card {
    min-width: 0;
    padding: 10px 12px;
    border-radius: 18px;
    gap: 10px;
  }
  .kids-prayer-card .k-icon,
  .reward-orb {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    font-size: 18px;
  }
  .k-title { font-size: 13px; }
  .k-label { font-size: 10.5px; }
  .k-star, .k-time { height: 28px; min-width: 28px; font-size: 11.5px; padding: 0 8px; }
  .kids-card-fajr { top: 26px; right: 10px; }
  .kids-card-duhr { top: 116px; left: 10px; }
  .kids-card-maghrib { right: 10px; bottom: 40px; }
  .kids-reward-card {
    left: 10px;
    bottom: 36px;
    min-width: 0;
    padding: 11px 13px;
    border-radius: 22px;
    gap: 10px;
  }
  .reward-title { font-size: 18px; }
  .reward-label { font-size: 11px; }
  .kids-parent-card { display: none; }
  .kids-moon { left: 10%; width: 44px; height: 44px; }
  .kids-moon::after { width: 44px; height: 44px; left: 12px; }
}
@media (max-width: 380px) {
  .kids-stage {
    min-height: 520px !important;
    border-radius: 26px;
    padding: 22px 0 20px;
  }
  .kids-showcase { height: 480px; }
  .kids-device { width: 94%; bottom: 128px; }
  .kids-prayer-card { padding: 8px 10px; gap: 8px; }
  .kids-prayer-card .k-icon,
  .reward-orb { width: 32px; height: 32px; font-size: 16px; border-radius: 10px; }
  .k-title { font-size: 12px; }
  .k-label { font-size: 10px; }
  .k-star, .k-time { height: 24px; min-width: 24px; font-size: 10.5px; padding: 0 6px; }
  .kids-card-fajr { top: 18px; right: 6px; }
  .kids-card-duhr { top: 100px; left: 6px; }
  .kids-card-maghrib { right: 6px; bottom: 32px; }
  .kids-reward-card { left: 6px; bottom: 30px; padding: 9px 11px; }
  .reward-title { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .kids-spark { animation: none; }
}

/* ============================================================
   Final CTA
   ============================================================ */
.cta {
  padding: 140px 0;
  background: var(--bg);
}
.cta-inner {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}
.cta-icon {
  width: 96px; height: 96px;
  border-radius: 22px;
  margin: 0 auto 32px;
  box-shadow:
    0 1px 2px rgba(15,15,30,0.05),
    0 16px 36px rgba(94,91,255,0.18);
}
.cta-title {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  color: var(--ink);
}
.cta-title .accent { color: var(--primary); font-weight: 600; }
.cta-sub {
  font-size: clamp(18px, 1.5vw, 24px);
  color: var(--muted);
  font-weight: 400;
  line-height: 1.4;
  margin: 0 auto 40px;
  max-width: 640px;
}
.cta-buttons {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.footer-brand {
  display: flex; align-items: center; gap: 12px;
}
.footer-brand .brand-name { font-size: 16px; font-weight: 500; }
.footer-links {
  display: flex; gap: 28px;
  font-size: 14.5px;
  color: var(--muted);
}
.footer-links a:hover { color: var(--ink); }
.footer-meta {
  font-size: 13px;
  color: var(--muted-2);
}

@media (max-width: 640px) {
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ============================================================
   Legal pages — privacy and terms
   ============================================================ */
.privacy-page {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(52% 42% at 50% 0%, rgba(94,91,255,0.12), transparent 72%),
    linear-gradient(180deg, #fbfbfd 0%, #fff 38%, #f5f5f7 100%);
  padding: 92px 0 118px;
}
.privacy-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(94,91,255,0.10) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(60% 34% at 50% 8%, #000 8%, transparent 78%);
  -webkit-mask-image: radial-gradient(60% 34% at 50% 8%, #000 8%, transparent 78%);
  pointer-events: none;
}
.privacy-content {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, 960px);
  margin: 0 auto;
}
.privacy-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 48px;
}
.privacy-icon {
  width: 82px;
  height: 82px;
  margin: 0 auto 28px;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 38px;
  background: linear-gradient(145deg, var(--primary), #7a4dff);
  box-shadow:
    0 1px 2px rgba(15,15,30,0.05),
    0 20px 46px rgba(94,91,255,0.24);
}
.privacy-header .section-title {
  font-size: clamp(42px, 6.5vw, 78px);
  line-height: 1.08;
  letter-spacing: 0;
  margin-bottom: 18px;
}
.privacy-header .section-subtitle {
  max-width: 680px;
  margin: 0 auto 14px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.6;
}
.privacy-header .text-tertiary {
  margin: 0;
  color: var(--muted-2);
  font-size: 14px;
}
.privacy-section {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(15,15,30,0.06);
  border-radius: 30px;
  padding: 34px;
  margin: 18px 0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.94),
    0 22px 58px -42px rgba(94,91,255,0.34);
}
.privacy-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(22px, 2.8vw, 31px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
}
.privacy-section-icon,
.privacy-list-icon,
.privacy-info-icon,
.privacy-highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.privacy-section-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 22px;
}
.privacy-section p,
.privacy-section-intro {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}
.privacy-section p:last-child {
  margin-bottom: 0;
}
.privacy-highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.privacy-highlight-card {
  background: #fff;
  border: 1px solid rgba(94,91,255,0.08);
  border-radius: 22px;
  padding: 22px 18px;
  min-height: 190px;
  box-shadow: 0 16px 44px -34px rgba(15,15,30,0.32);
}
.privacy-highlight-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  margin-bottom: 16px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 24px;
}
.privacy-highlight-card h4 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}
.privacy-highlight-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
}
.privacy-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.privacy-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15,15,30,0.05);
  color: var(--ink-2);
  line-height: 1.75;
}
.privacy-list-icon {
  width: 28px;
  height: 28px;
  margin-top: 2px;
  border-radius: 999px;
  font-size: 16px;
}
.privacy-list-check .privacy-list-icon {
  color: #fff;
  background: var(--green);
}
.privacy-list-cross .privacy-list-icon {
  color: #fff;
  background: var(--rose);
}
.privacy-list-item strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-weight: 600;
}
.privacy-list-item span:not(.privacy-list-icon) {
  color: var(--muted);
}
.privacy-info-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--primary-soft), rgba(238,237,255,0.54));
  color: var(--primary-deep);
}
.privacy-info-icon {
  width: 30px;
  height: 30px;
  margin-top: 2px;
  color: var(--primary);
  font-size: 21px;
}
.privacy-info-box p {
  margin: 0;
  color: var(--primary-deep);
  font-size: 15.5px;
  line-height: 1.8;
}
.privacy-link {
  color: var(--primary);
  font-weight: 600;
}
.privacy-contact {
  margin-top: 18px;
}
.privacy-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 16px 34px -22px rgba(94,91,255,0.70);
}

@media (max-width: 880px) {
  .privacy-content {
    width: min(100% - 36px, 720px);
  }
  .privacy-highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .privacy-page {
    padding: 64px 0 82px;
  }
  .privacy-content {
    width: 100%;
    max-width: 420px;
    padding: 0 14px;
    overflow: hidden;
  }
  .privacy-header {
    margin-bottom: 34px;
    overflow: hidden;
  }
  .privacy-icon {
    width: 66px;
    height: 66px;
    border-radius: 20px;
    font-size: 31px;
    margin-bottom: 22px;
  }
  .privacy-header .section-title {
    max-width: 310px;
    margin-inline: auto;
    font-size: clamp(30px, 8.8vw, 36px);
    line-height: 1.16;
  }
  .privacy-header .section-subtitle {
    max-width: 310px;
    font-size: 16px;
    line-height: 1.75;
  }
  .privacy-section {
    width: min(100%, 334px);
    margin-inline: auto;
    padding: 22px;
    border-radius: 24px;
    overflow: hidden;
    transform: translateX(-30px);
  }
  .privacy-section-title {
    align-items: flex-start;
    font-size: 22px;
  }
  .privacy-section p,
  .privacy-section-intro {
    font-size: 15.5px;
  }
  .privacy-highlights-grid {
    display: flex;
    flex-direction: column;
  }
  .privacy-highlight-card {
    min-height: 0;
  }
  .privacy-list-item {
    padding: 14px;
  }
}

/* ============================================================
   Reveal animation (subtle)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-chip { animation: none; }
}

/* ============================================================
   App-in-Frame layout — Linear/Vercel hybrid
   Big phone screenshot + floating chips + asymmetric copy
   ============================================================ */
/* Apple-style vertical centered stage:
   eyebrow → title → sub → big visual (all centered) */
.spotlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}
/* legacy flip variant — now has no effect; kept for backwards compat */
.spotlight.spotlight-flip { display: flex; }

@media (max-width: 880px) {
  .spotlight, .spotlight.spotlight-flip { gap: 0; }
}

/* Stage holds the floating screen + chips + ambient glow */
.spotlight-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 720px;
  padding: 64px 0 32px;
}
.spotlight-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 45% at 50% 50%, rgba(94,91,255,0.14), transparent 70%);
  pointer-events: none;
}
.spotlight-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(94,91,255,0.10) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(55% 55% at 50% 50%, #000 15%, transparent 80%);
  -webkit-mask-image: radial-gradient(55% 55% at 50% 50%, #000 15%, transparent 80%);
  pointer-events: none;
}

/* Dark sections invert the stage glow */
.section-bg-dark .spotlight-stage::before {
  background: radial-gradient(40% 45% at 50% 50%, rgba(94,91,255,0.30), transparent 70%);
}
.section-bg-dark .spotlight-stage::after {
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
}

/* ============================================================
   Floating screen — frameless screenshot, no tilt (Apple-style)
   ============================================================ */
.float-screen {
  position: relative;
  z-index: 2;
  width: 360px;
  aspect-ratio: 9 / 19.5;
  border-radius: 44px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(15,15,30,0.06),
    0 1px 3px rgba(15,15,30,0.05),
    0 24px 48px rgba(15,15,30,0.10),
    0 60px 100px -20px rgba(94,91,255,0.22);
}
.float-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 30%),
    linear-gradient(200deg, transparent 60%, rgba(94,91,255,0.05) 100%);
  pointer-events: none;
  z-index: 3;
  border-radius: inherit;
  mix-blend-mode: overlay;
}
.float-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%);
  pointer-events: none;
  z-index: 4;
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity .3s, transform 1.2s var(--ease);
}
.spotlight-stage:hover .float-screen::after {
  opacity: 1;
  transform: translateX(100%);
}
.float-screen img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: inherit;
}

/* Reflection beneath the screen */
.float-screen-reflect {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 320px; height: 60px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(94,91,255,0.40), transparent 70%);
  filter: blur(26px);
  pointer-events: none;
  z-index: 1;
}

/* Layered stack — Apple style: side companions, no tilt */
.float-stack {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.float-stack-ghost {
  position: absolute;
  width: 280px;
  aspect-ratio: 9 / 19.5;
  border-radius: 38px;
  overflow: hidden;
  background: #fff;
  z-index: 1;
  opacity: 0.4;
  filter: saturate(0.85);
  box-shadow:
    0 0 0 1px rgba(15,15,30,0.06),
    0 24px 48px rgba(15,15,30,0.08),
    0 50px 80px -10px rgba(94,91,255,0.12);
  transition: transform .6s var(--ease), opacity .6s var(--ease);
}
.float-stack-ghost img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.float-stack-ghost.g-l { right: calc(50% + 220px); top: 50%; transform: translateY(-50%); }
.float-stack-ghost.g-r { left:  calc(50% + 220px); top: 50%; transform: translateY(-50%); }
.spotlight-stage:hover .float-stack-ghost { opacity: 0.7; }
.spotlight-stage:hover .float-stack-ghost.g-l { transform: translateY(-50%) translateX(-12px); }
.spotlight-stage:hover .float-stack-ghost.g-r { transform: translateY(-50%) translateX(12px); }

@media (max-width: 1100px) {
  .float-stack-ghost { display: none; }
}

/* Section-bg-dark adjustments for the float screen */
.section-bg-dark .float-screen {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.10),
    0 1px 3px rgba(0,0,0,0.5),
    0 24px 48px rgba(0,0,0,0.5),
    0 60px 100px -20px rgba(94,91,255,0.45);
}

#prayer .spotlight-stage {
  min-height: 460px;
  padding: 46px 0 42px;
  margin-top: 44px;
  border: 1px solid rgba(94,91,255,0.08);
  border-radius: 44px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(247,248,255,0.62)),
    radial-gradient(56% 72% at 50% 48%, rgba(94,91,255,0.16), transparent 74%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 28px 70px -48px rgba(94,91,255,0.42);
}
#prayer .spotlight-stage::before {
  background:
    radial-gradient(38% 50% at 50% 50%, rgba(94,91,255,0.18), transparent 76%),
    radial-gradient(24% 34% at 28% 45%, rgba(43,140,255,0.08), transparent 78%),
    radial-gradient(24% 34% at 72% 45%, rgba(46,196,125,0.08), transparent 78%);
}
#prayer .spotlight-stage::after {
  opacity: 0.8;
  mask-image: radial-gradient(62% 68% at 50% 50%, #000 10%, transparent 84%);
  -webkit-mask-image: radial-gradient(62% 68% at 50% 50%, #000 10%, transparent 84%);
}
#prayer .float-stack {
  width: min(100%, 1040px);
  height: 360px;
  isolation: isolate;
}
#prayer .float-screen {
  width: min(350px, 52vw);
  aspect-ratio: 752 / 814;
  border-radius: 30px;
  background: transparent;
  box-shadow:
    0 0 0 1px rgba(94,91,255,0.12),
    0 18px 34px rgba(15,15,30,0.08),
    0 52px 88px -32px rgba(94,91,255,0.34);
}
#prayer .float-screen img {
  object-fit: contain;
  object-position: center;
  transform: none;
}
#prayer .float-stack-ghost {
  display: block;
  width: min(305px, 29vw);
  aspect-ratio: 774 / 838;
  border-radius: 28px;
  background: transparent;
  opacity: 0.48;
  filter: saturate(0.92);
  box-shadow:
    0 0 0 1px rgba(94,91,255,0.08),
    0 20px 46px rgba(15,15,30,0.08);
}
#prayer .float-stack-ghost img {
  object-fit: contain;
  object-position: center;
  transform: none;
}
#prayer .float-stack-ghost.g-r {
  width: min(305px, 29vw);
  aspect-ratio: 844 / 1030;
}
#prayer .spotlight-stage.in-view .float-stack-ghost { opacity: 0.48; }
#prayer .float-screen {
  opacity: 1;
  transform: translateY(0);
}
#prayer .float-stack-ghost.g-l {
  right: calc(50% + 190px);
  top: 54%;
  transform: translateY(-50%) rotate(-5deg) scale(0.92);
}
#prayer .float-stack-ghost.g-r {
  left: calc(50% + 190px);
  top: 54%;
  transform: translateY(-50%) rotate(5deg) scale(0.92);
}
#prayer .spotlight-stage:hover .float-stack-ghost { opacity: 0.62; }
#prayer .spotlight-stage:hover .float-stack-ghost.g-l {
  transform: translateY(-50%) translateX(-10px) rotate(-5deg) scale(0.92);
}
#prayer .spotlight-stage:hover .float-stack-ghost.g-r {
  transform: translateY(-50%) translateX(10px) rotate(5deg) scale(0.92);
}
#prayer .float-screen-reflect {
  bottom: 30px;
  width: 440px;
  height: 70px;
  opacity: 0.54;
}
#prayer .float-chip {
  display: none;
}

#adhkar .spotlight-stage {
  min-height: 540px;
  padding: 50px 0 48px;
  margin-top: 44px;
  border: 1px solid rgba(46,196,125,0.10);
  border-radius: 44px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.90), rgba(247,255,250,0.60)),
    radial-gradient(48% 70% at 46% 50%, rgba(46,196,125,0.13), transparent 74%),
    radial-gradient(36% 54% at 62% 46%, rgba(94,91,255,0.10), transparent 76%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.92),
    0 28px 70px -48px rgba(46,196,125,0.42);
}
#adhkar .spotlight-stage::before {
  background:
    radial-gradient(28% 42% at 32% 44%, rgba(245,177,67,0.12), transparent 78%),
    radial-gradient(30% 46% at 68% 52%, rgba(77,128,241,0.10), transparent 78%);
}
#adhkar .spotlight-stage::after {
  opacity: 0.72;
  mask-image: radial-gradient(62% 68% at 50% 50%, #000 10%, transparent 84%);
  -webkit-mask-image: radial-gradient(62% 68% at 50% 50%, #000 10%, transparent 84%);
}
#adhkar .float-stack {
  width: min(100%, 1040px);
  height: 440px;
  isolation: isolate;
}
#adhkar .float-screen {
  width: min(370px, 52vw);
  aspect-ratio: 762 / 918;
  border-radius: 32px;
  background: transparent;
  box-shadow:
    0 0 0 1px rgba(46,196,125,0.10),
    0 18px 34px rgba(15,15,30,0.08),
    0 54px 90px -34px rgba(46,196,125,0.34);
  opacity: 1;
  transform: translateY(0);
}
#adhkar .float-screen img,
#adhkar .float-stack-ghost img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
}
#adhkar .float-stack-ghost {
  display: block;
  width: min(292px, 28vw);
  aspect-ratio: 752 / 1036;
  border-radius: 30px;
  background: transparent;
  opacity: 0.36;
  filter: saturate(0.9);
  box-shadow:
    0 0 0 1px rgba(46,196,125,0.08),
    0 20px 46px rgba(15,15,30,0.08);
}
#adhkar .spotlight-stage.in-view .float-stack-ghost { opacity: 0.36; }
#adhkar .float-stack-ghost.g-l {
  right: calc(50% + 164px);
  top: 54%;
  transform: translateY(-50%) rotate(-5deg) scale(0.88);
}
#adhkar .float-stack-ghost.g-r {
  width: min(270px, 27vw);
  aspect-ratio: 700 / 954;
  left: calc(50% + 178px);
  top: 54%;
  transform: translateY(-50%) rotate(5deg) scale(0.88);
}
#adhkar .spotlight-stage:hover .float-stack-ghost { opacity: 0.52; }
#adhkar .spotlight-stage:hover .float-stack-ghost.g-l {
  transform: translateY(-50%) translateX(-10px) rotate(-5deg) scale(0.88);
}
#adhkar .spotlight-stage:hover .float-stack-ghost.g-r {
  transform: translateY(-50%) translateX(10px) rotate(5deg) scale(0.88);
}
#adhkar .float-screen-reflect {
  bottom: 28px;
  width: 420px;
  height: 66px;
  opacity: 0.44;
  background: radial-gradient(ellipse, rgba(46,196,125,0.34), transparent 70%);
}
#adhkar .float-chip {
  display: none;
}

#tracking .spotlight-stage {
  min-height: 500px;
  padding: 46px 0 44px;
  margin-top: 44px;
  border: 1px solid rgba(43,140,255,0.10);
  border-radius: 44px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(247,251,255,0.62)),
    radial-gradient(50% 72% at 50% 50%, rgba(43,140,255,0.13), transparent 74%),
    radial-gradient(36% 54% at 62% 46%, rgba(245,177,67,0.10), transparent 76%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.92),
    0 28px 70px -48px rgba(43,140,255,0.42);
}
#tracking .spotlight-stage::before {
  background:
    radial-gradient(28% 42% at 32% 44%, rgba(46,196,125,0.10), transparent 78%),
    radial-gradient(30% 46% at 68% 52%, rgba(245,177,67,0.12), transparent 78%);
}
#tracking .spotlight-stage::after {
  opacity: 0.72;
  mask-image: radial-gradient(62% 68% at 50% 50%, #000 10%, transparent 84%);
  -webkit-mask-image: radial-gradient(62% 68% at 50% 50%, #000 10%, transparent 84%);
}
#tracking .float-stack {
  width: min(100%, 1040px);
  height: 390px;
  isolation: isolate;
}
#tracking .float-screen {
  width: min(340px, 50vw);
  aspect-ratio: 766 / 856;
  border-radius: 32px;
  background: transparent;
  box-shadow:
    0 0 0 1px rgba(43,140,255,0.10),
    0 18px 34px rgba(15,15,30,0.08),
    0 54px 90px -34px rgba(43,140,255,0.34);
  opacity: 1;
  transform: translateY(0);
}
#tracking .float-screen img,
#tracking .float-stack-ghost img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
}
#tracking .float-stack-ghost {
  display: block;
  width: min(295px, 28vw);
  aspect-ratio: 776 / 906;
  border-radius: 30px;
  background: transparent;
  opacity: 0.42;
  filter: saturate(0.9);
  box-shadow:
    0 0 0 1px rgba(43,140,255,0.08),
    0 20px 46px rgba(15,15,30,0.08);
}
#tracking .float-stack-ghost.g-r {
  aspect-ratio: 782 / 754;
  width: min(315px, 30vw);
}
#tracking .spotlight-stage.in-view .float-stack-ghost { opacity: 0.42; }
#tracking .float-stack-ghost.g-l {
  right: calc(50% + 168px);
  top: 54%;
  transform: translateY(-50%) rotate(-5deg) scale(0.90);
}
#tracking .float-stack-ghost.g-r {
  left: calc(50% + 178px);
  top: 54%;
  transform: translateY(-50%) rotate(5deg) scale(0.90);
}
#tracking .spotlight-stage:hover .float-stack-ghost { opacity: 0.58; }
#tracking .spotlight-stage:hover .float-stack-ghost.g-l {
  transform: translateY(-50%) translateX(-10px) rotate(-5deg) scale(0.90);
}
#tracking .spotlight-stage:hover .float-stack-ghost.g-r {
  transform: translateY(-50%) translateX(10px) rotate(5deg) scale(0.90);
}
#tracking .float-screen-reflect {
  bottom: 28px;
  width: 430px;
  height: 68px;
  opacity: 0.46;
  background: radial-gradient(ellipse, rgba(43,140,255,0.34), transparent 70%);
}
#tracking .float-chip {
  display: none;
}

@media (max-width: 980px) {
  .section { padding: 108px 0; }
  .spotlight-copy {
    max-width: 760px;
    padding: 0 18px;
  }
  .spotlight-title {
    font-size: clamp(40px, 8.4vw, 64px);
    line-height: 1.12;
    letter-spacing: 0;
  }
  .spotlight-sub {
    font-size: clamp(16px, 2.2vw, 20px);
    line-height: 1.65;
    max-width: 660px;
  }
  #prayer .spotlight-stage,
  #adhkar .spotlight-stage,
  #tracking .spotlight-stage {
    margin-top: 36px;
    border-radius: 36px;
    padding-inline: 0;
  }
  #prayer .float-stack,
  #adhkar .float-stack,
  #tracking .float-stack {
    width: 100%;
  }
  #prayer .float-stack-ghost.g-l,
  #adhkar .float-stack-ghost.g-l,
  #tracking .float-stack-ghost.g-l {
    right: calc(50% + 128px);
  }
  #prayer .float-stack-ghost.g-r,
  #adhkar .float-stack-ghost.g-r,
  #tracking .float-stack-ghost.g-r {
    left: calc(50% + 128px);
  }
  #prayer .float-stack-ghost,
  #adhkar .float-stack-ghost,
  #tracking .float-stack-ghost {
    opacity: 0.28;
  }
  #prayer .spotlight-stage.in-view .float-stack-ghost,
  #adhkar .spotlight-stage.in-view .float-stack-ghost,
  #tracking .spotlight-stage.in-view .float-stack-ghost {
    opacity: 0.28;
  }
}

@media (max-width: 640px) {
  .section { padding: 82px 0; }
  .spotlight-eyebrow {
    margin-bottom: 18px;
    font-size: 12.5px;
  }
  .spotlight-title {
    font-size: clamp(34px, 12.4vw, 50px);
    line-height: 1.14;
    margin-bottom: 16px;
  }
  .spotlight-sub {
    font-size: 15.5px;
    line-height: 1.75;
    max-width: 340px;
  }
  #prayer .spotlight-stage,
  #adhkar .spotlight-stage,
  #tracking .spotlight-stage {
    min-height: auto;
    margin-top: 28px;
    padding: 28px 0 30px;
    border-radius: 28px;
  }
  #prayer .spotlight-stage::after,
  #adhkar .spotlight-stage::after,
  #tracking .spotlight-stage::after {
    background-size: 22px 22px;
    opacity: 0.45;
  }
  #prayer .float-stack,
  #adhkar .float-stack,
  #tracking .float-stack {
    height: auto;
    min-height: 0;
    padding: 0 14px;
  }
  #prayer .float-stack-ghost,
  #adhkar .float-stack-ghost,
  #tracking .float-stack-ghost {
    display: none;
  }
  #prayer .float-screen,
  #adhkar .float-screen,
  #tracking .float-screen {
    width: min(78vw, 320px);
    border-radius: 26px;
  }
  #tracking .float-screen {
    width: min(82vw, 322px);
  }
  #prayer .float-screen-reflect,
  #adhkar .float-screen-reflect,
  #tracking .float-screen-reflect {
    display: none;
  }
}

@media (max-width: 420px) {
  .section { padding: 72px 0; }
  .spotlight-title {
    font-size: clamp(32px, 12vw, 43px);
  }
  .spotlight-sub {
    max-width: 300px;
    font-size: 15px;
  }
  #prayer .float-screen,
  #adhkar .float-screen,
  #tracking .float-screen {
    width: min(82vw, 292px);
  }
}

/* Centered Apple-style copy panel */
.spotlight-copy {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.spotlight-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  margin-bottom: 24px;
}
.spotlight-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.spotlight-title {
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  color: var(--ink);
}
.spotlight-title .accent { color: var(--primary); font-weight: 600; }
.spotlight-sub {
  font-size: clamp(18px, 1.6vw, 26px);
  color: var(--muted);
  font-weight: 400;
  line-height: 1.4;
  margin: 0 auto;
  max-width: 720px;
}

/* Bullet list (legacy — Apple voice replaced bullets with single-sentence) */
.spotlight-list { display: none; }
.spotlight-list-legacy {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex; flex-direction: column;
  gap: 14px;
}
.spotlight-list li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.7;
  font-weight: 300;
}
.spotlight-list li strong {
  color: var(--ink);
  font-weight: 500;
  margin-left: 4px;
}
.spotlight-list .bullet-icon {
  width: 28px; height: 28px;
  border-radius: 9px;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}
.spotlight-list .bullet-icon.green  { background: var(--green-soft);  color: var(--green); }
.spotlight-list .bullet-icon.amber  { background: var(--amber-soft);  color: var(--amber); }
.spotlight-list .bullet-icon.violet { background: var(--violet-soft); color: var(--violet); }
.spotlight-list .bullet-icon.blue   { background: var(--blue-soft);   color: var(--blue); }
.spotlight-list .bullet-icon.rose   { background: var(--rose-soft);   color: var(--rose); }
.spotlight-list .bullet-icon.teal   { background: var(--teal-soft);   color: var(--teal); }
.spotlight-list .bullet-icon.orange { background: var(--orange-soft); color: var(--orange); }

/* Apple-style floating chips: still, soft, contextual */
.float-chip {
  position: absolute;
  z-index: 3;
  background: #fff;
  border: 1px solid rgba(15,15,30,0.05);
  border-radius: 16px;
  padding: 12px 16px;
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  white-space: nowrap;
  box-shadow:
    0 1px 2px rgba(15,15,30,0.04),
    0 16px 32px rgba(15,15,30,0.08),
    0 40px 70px -20px rgba(94,91,255,0.20);
}
.float-chip i {
  width: 32px; height: 32px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.float-chip .ic-primary { background: var(--primary-soft); color: var(--primary); }
.float-chip .ic-green   { background: var(--green-soft);   color: var(--green); }
.float-chip .ic-amber   { background: var(--amber-soft);   color: var(--amber); }
.float-chip .ic-rose    { background: var(--rose-soft);    color: var(--rose); }
.float-chip .ic-blue    { background: var(--blue-soft);    color: var(--blue); }
.float-chip .ic-violet  { background: var(--violet-soft);  color: var(--violet); }
.float-chip .ic-orange  { background: var(--orange-soft);  color: var(--orange); }
.float-chip .ic-teal    { background: var(--teal-soft);    color: var(--teal); }
.float-chip .label { color: var(--muted); font-size: 12px; line-height: 1.2; }
.float-chip .val { font-weight: 500; color: var(--ink); font-size: 14px; line-height: 1.2; }
.float-chip strong { font-weight: 500; color: var(--ink); }

/* Position chips around centered 360px screen */
.float-chip.fc-1 { top: 12%;  right: calc(50% + 200px); }
.float-chip.fc-2 { top: 40%;  left:  calc(50% + 200px); }
.float-chip.fc-3 { bottom: 20%; right: calc(50% + 180px); }
.float-chip.fc-4 { bottom: 12%; left: calc(50% + 180px); }

/* Reveal-in stagger (no continuous float) */
.float-chip {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.spotlight-stage.in-view .float-chip,
.hero-stage.in-view .float-chip {
  opacity: 1;
  transform: translateY(0);
}
.spotlight-stage.in-view .float-chip.fc-1,
.hero-stage.in-view .float-chip.fc-1 { transition-delay: .35s; }
.spotlight-stage.in-view .float-chip.fc-2,
.hero-stage.in-view .float-chip.fc-2 { transition-delay: .55s; }
.spotlight-stage.in-view .float-chip.fc-3,
.hero-stage.in-view .float-chip.fc-3 { transition-delay: .75s; }
.spotlight-stage.in-view .float-chip.fc-4,
.hero-stage.in-view .float-chip.fc-4 { transition-delay: .95s; }

.float-screen, .float-stack-ghost {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.spotlight-stage.in-view .float-screen,
.hero-stage.in-view .float-screen {
  opacity: 1; transform: translateY(0);
}
.spotlight-stage.in-view .float-stack-ghost { opacity: 0.4; }

/* Live pulse dot stays — adds subtle life like Apple's "Live Activities" */
.live-dot {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--green);
  opacity: 0.5;
  animation: live-pulse 1.8s ease-out infinite;
}
@keyframes live-pulse {
  0% { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

.float-chip .counter {
  font-feature-settings: "tnum";
  font-weight: 500;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: -0.01em;
}

@media (max-width: 1100px) {
  .float-chip.fc-1 { top: 6%;   right: 6%;  }
  .float-chip.fc-2 { top: 32%;  left:  4%;  }
  .float-chip.fc-3 { bottom: 22%; right: 4%; }
  .float-chip.fc-4 { bottom: 8%; left: 6%;  }
}
@media (max-width: 760px) {
  .spotlight-stage { min-height: 600px; }
}
@media (max-width: 540px) {
  .float-screen { width: 260px; border-radius: 36px; }
  .float-screen-reflect { width: 220px; }
  .hero-stage .float-screen { width: 280px; }
  .float-chip { font-size: 12px; padding: 10px 12px; gap: 10px; }
  .float-chip i { width: 28px; height: 28px; font-size: 16px; }
  .float-chip.fc-1 { top: 4%;   right: 4%;  }
  .float-chip.fc-2 { top: 28%;  left:  2%;  }
  .float-chip.fc-3 { bottom: 26%; right: 2%; }
  .float-chip.fc-4 { bottom: 6%; left: 4%;  }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot::after { animation: none; }
}

/* ============================================================
   App-UI mock (in-card simulation, not screenshots)
   ============================================================ */
.mock {
  width: 100%;
  background: #f7f7fb;
  border-radius: 22px;
  padding: 22px 20px;
  font-size: 14px;
  color: var(--ink-2);
  display: flex; flex-direction: column;
  gap: 14px;
}
.mock-tinted { background: #f0effe; }
.mock-row { display: flex; align-items: center; gap: 12px; }
.mock-spacer { flex: 1; }

.app-icon-tile {
  width: 44px; height: 44px;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.app-icon-tile.lg { width: 56px; height: 56px; border-radius: 18px; font-size: 28px; }
.app-icon-tile.sm { width: 36px; height: 36px; border-radius: 12px; font-size: 18px; }

.tone-violet  { background: var(--violet-soft); color: var(--violet); }
.tone-primary { background: var(--primary-soft); color: var(--primary); }
.tone-amber   { background: var(--amber-soft);  color: var(--amber); }
.tone-green   { background: var(--green-soft);  color: var(--green); }
.tone-blue    { background: var(--blue-soft);   color: var(--blue); }
.tone-rose    { background: var(--rose-soft);   color: var(--rose); }
.tone-teal    { background: var(--teal-soft);   color: var(--teal); }
.tone-orange  { background: var(--orange-soft); color: var(--orange); }
.tone-pink    { background: var(--pink-soft);   color: var(--pink); }

/* ----- Next prayer card ----- */
.mock-next {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  display: flex; flex-direction: column; gap: 14px;
}
.mock-next-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.mock-next-name {
  font-size: 22px; font-weight: 500;
  color: var(--ink);
  line-height: 1;
}
.mock-next-label {
  font-size: 12px; color: var(--muted);
  margin-bottom: 4px;
}
.mock-next-stats {
  display: flex; gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
}
.mock-next-stats > div { flex: 1; }
.mock-next-stat-label {
  font-size: 11px; color: var(--muted); margin-bottom: 4px;
  display: flex; align-items: center; gap: 4px;
}
.mock-next-stat-value {
  font-size: 18px; font-weight: 400;
  color: var(--ink);
  font-feature-settings: "tnum";
}

/* ----- Prayer rows list ----- */
.mock-prayer-list { display: flex; flex-direction: column; gap: 8px; }
.mock-prayer-row {
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex; align-items: center; gap: 12px;
  border: 1px solid transparent;
}
.mock-prayer-row.done   { background: #effaf2; border-color: #d8f0e1; }
.mock-prayer-row.warn   { background: #fdf6e7; border-color: #f4e6c0; }
.mock-prayer-row.miss   { background: #fdedef; border-color: #f4d4d8; }
.mock-prayer-info { flex: 1; }
.mock-prayer-name { font-size: 15px; color: var(--ink); }
.mock-prayer-time {
  font-size: 12px; color: var(--muted); margin-top: 2px;
  font-feature-settings: "tnum";
}
.mock-pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px; font-weight: 400;
  white-space: nowrap;
}
.mock-pill.green { background: #d8efe1; color: #1d8a55; }
.mock-pill.amber { background: #f6e4b3; color: #8a6815; }
.mock-pill.rose  { background: #f4d4d8; color: #b03a4a; }

/* ----- Status grid (logger) ----- */
.mock-section-title {
  font-size: 13px; color: var(--ink-2);
  font-weight: 400;
  margin-top: 4px;
}
.mock-states {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.mock-state {
  padding: 14px 8px;
  border-radius: 14px;
  text-align: center;
  font-size: 11.5px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  border: 1px solid transparent;
}
.mock-state i { font-size: 18px; }
.mock-state.green { background: #4ec27a; color: #fff; }
.mock-state.green-pale { background: #c4ecd2; color: #1d6b3a; }
.mock-state.amber { background: #f0c95e; color: #4d3300; }
.mock-state.grey  { background: #e8e8ee; color: var(--muted); }
.mock-state.dim   { opacity: 0.6; }

.mock-extras {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.mock-extra {
  padding: 12px 8px;
  border-radius: 14px;
  text-align: center;
  font-size: 11.5px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  border: 1px solid var(--line);
  background: #fff;
}
.mock-extra i { font-size: 18px; color: var(--muted); }
.mock-extra.active {
  background: var(--primary-soft);
  border-color: transparent;
  color: var(--primary-deep);
}
.mock-extra.active i { color: var(--primary); }

.mock-cta {
  background: var(--primary);
  color: #fff;
  border-radius: 14px;
  padding: 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.mock-cta i { font-size: 16px; }

/* ----- Adhkar grid ----- */
.mock-dhikr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mock-dhikr-tile {
  border-radius: 18px;
  padding: 18px 14px;
  color: #fff;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 130px;
  position: relative;
  overflow: hidden;
}
.mock-dhikr-tile .icon {
  width: 36px; height: 36px;
  border-radius: 12px;
  background: rgba(255,255,255,0.2);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.mock-dhikr-tile .title { font-size: 16px; font-weight: 500; margin-top: auto; }
.mock-dhikr-tile .sub   { font-size: 11.5px; opacity: 0.85; }
.mock-dhikr-tile.amber  { background: linear-gradient(160deg, #f5b143 0%, #de8a1a 100%); }
.mock-dhikr-tile.green  { background: linear-gradient(160deg, #3eb07a 0%, #218755 100%); }
.mock-dhikr-tile.violet { background: linear-gradient(160deg, #6c54d6 0%, #4a3aa8 100%); }
.mock-dhikr-tile.blue   { background: linear-gradient(160deg, #4d80f1 0%, #2e5cc8 100%); }

.mock-dhikr-mini-row {
  display: flex; gap: 8px;
}
.mock-dhikr-mini {
  flex: 1;
  border-radius: 14px;
  padding: 12px 8px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 11.5px; font-weight: 400;
}
.mock-dhikr-mini i { font-size: 18px; }
.mock-dhikr-mini.orange { background: #ffe6d2; color: #c25a18; }
.mock-dhikr-mini.coral  { background: #fde0d8; color: #b54a30; }
.mock-dhikr-mini.teal   { background: #d2eee9; color: #1a7a72; }

/* ----- Dhikr counter mock ----- */
.mock-counter-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 4px;
}
.mock-counter-step {
  font-size: 12px; color: var(--primary);
  background: var(--primary-soft);
  padding: 4px 10px; border-radius: 999px;
  font-feature-settings: "tnum";
}
.mock-counter-title {
  font-size: 16px; font-weight: 500; color: var(--ink);
}
.mock-progress {
  height: 4px; background: #e6e6f0; border-radius: 999px; overflow: hidden;
}
.mock-progress > div {
  height: 100%; background: var(--primary); border-radius: 999px;
}
.mock-dhikr-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.mock-dhikr-text {
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.9;
}
.mock-dhikr-source {
  font-size: 11.5px;
  color: var(--muted);
}
.mock-dhikr-virtue {
  font-size: 12px;
  color: var(--primary-deep);
  background: var(--primary-soft);
  padding: 6px 12px;
  border-radius: 999px;
}
.mock-counter-row {
  display: flex; align-items: center; gap: 16px;
  padding-top: 8px;
  border-top: 1px solid var(--line-2);
  width: 100%;
  justify-content: center;
}
.mock-circle-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.mock-circle-btn.primary { background: var(--primary); color: #fff; }
.mock-circle-btn.grey    { background: #e8e8ee; color: var(--muted); }
.mock-counter-num {
  font-size: 22px; font-weight: 400;
  color: var(--ink);
  font-feature-settings: "tnum";
  min-width: 60px;
}

/* ----- Rings (donut) ----- */
.mock-rings { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 8px 0; }
.rings-svg { width: 160px; height: 160px; }
.mock-rings-legend { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.mock-legend-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--ink-2);
}
.mock-legend-row .dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.mock-legend-row .val { margin-right: auto; font-feature-settings: "tnum"; color: var(--muted); }
.dot-blue   { background: var(--blue); }
.dot-orange { background: var(--orange); }

/* ----- Streak rows ----- */
.mock-streak-list { display: flex; flex-direction: column; gap: 10px; }
.mock-streak-row {
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex; align-items: center; gap: 12px;
}
.mock-streak-info { flex: 1; }
.mock-streak-label {
  font-size: 12.5px; color: var(--muted); margin-bottom: 2px;
}
.mock-streak-value {
  font-size: 14px; color: var(--ink);
}
.mock-streak-value strong {
  font-size: 20px; font-weight: 500; margin-left: 6px;
  font-feature-settings: "tnum";
}

/* ----- Plan card ----- */
.mock-plan-head {
  display: flex; align-items: center; justify-content: space-between;
  background: #fff;
  border-radius: 14px;
  padding: 14px;
}
.mock-donut {
  position: relative;
  width: 64px; height: 64px;
}
.mock-donut svg { width: 100%; height: 100%; }
.mock-donut-num {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 400; color: var(--ink);
  font-feature-settings: "tnum";
}
.mock-plan-stats { flex: 1; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.mock-plan-stat-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-2);
}
.mock-plan-stat-row .pill-num {
  background: #f0f0f6;
  padding: 2px 10px; border-radius: 999px;
  font-size: 12px; min-width: 32px; text-align: center;
  font-feature-settings: "tnum";
}
.mock-plan-list { display: flex; flex-direction: column; gap: 6px; padding-top: 4px; }
.mock-plan-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.mock-plan-item .check {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px;
}
.mock-plan-item .check.done { background: var(--green); color: #fff; }
.mock-plan-item .check.todo { background: transparent; color: var(--muted-2); border: 1.5px solid #d6d6e0; }
.mock-plan-item.muted-state { color: var(--muted); }
.mock-plan-item .frac {
  margin-right: auto;
  font-size: 12px; color: var(--green);
  font-feature-settings: "tnum";
}

/* ============================================================
   Responsive polish — final overrides for real device widths
   ============================================================ */
@media (max-width: 980px) {
  .section { padding: 108px 0; }
  .spotlight-copy {
    max-width: 760px;
    padding: 0 18px;
  }
  .spotlight-title {
    font-size: clamp(40px, 8.4vw, 64px);
    line-height: 1.12;
    letter-spacing: 0;
  }
  .spotlight-sub {
    font-size: clamp(16px, 2.2vw, 20px);
    line-height: 1.65;
    max-width: 660px;
  }
  #prayer .spotlight-stage,
  #adhkar .spotlight-stage,
  #tracking .spotlight-stage {
    margin-top: 36px;
    border-radius: 36px;
  }
  #prayer .float-stack,
  #adhkar .float-stack,
  #tracking .float-stack {
    width: 100%;
  }
  #prayer .float-stack-ghost.g-l,
  #adhkar .float-stack-ghost.g-l,
  #tracking .float-stack-ghost.g-l {
    right: calc(50% + 128px);
  }
  #prayer .float-stack-ghost.g-r,
  #adhkar .float-stack-ghost.g-r,
  #tracking .float-stack-ghost.g-r {
    left: calc(50% + 128px);
  }
  #prayer .spotlight-stage.in-view .float-stack-ghost,
  #adhkar .spotlight-stage.in-view .float-stack-ghost,
  #tracking .spotlight-stage.in-view .float-stack-ghost {
    opacity: 0.28;
  }
}

@media (max-width: 640px) {
  .section { padding: 82px 0; }
  .spotlight-eyebrow {
    margin-bottom: 18px;
    font-size: 12.5px;
  }
  .spotlight-title {
    font-size: clamp(34px, 12.4vw, 50px);
    line-height: 1.14;
    letter-spacing: 0;
    margin-bottom: 16px;
  }
  .spotlight-sub {
    font-size: 15.5px;
    line-height: 1.75;
    max-width: 340px;
  }
  #prayer .spotlight-stage,
  #adhkar .spotlight-stage,
  #tracking .spotlight-stage {
    min-height: auto;
    margin-top: 28px;
    padding: 28px 0 30px;
    border-radius: 28px;
  }
  #prayer .spotlight-stage::after,
  #adhkar .spotlight-stage::after,
  #tracking .spotlight-stage::after {
    background-size: 22px 22px;
    opacity: 0.45;
  }
  #prayer .float-stack,
  #adhkar .float-stack,
  #tracking .float-stack {
    height: auto;
    min-height: 0;
    padding: 0 14px;
  }
  #prayer .float-stack-ghost,
  #adhkar .float-stack-ghost,
  #tracking .float-stack-ghost {
    display: none;
  }
  #prayer .float-screen,
  #adhkar .float-screen,
  #tracking .float-screen {
    width: min(78vw, 320px);
    border-radius: 26px;
  }
  #tracking .float-screen {
    width: min(82vw, 322px);
  }
  #prayer .float-screen-reflect,
  #adhkar .float-screen-reflect,
  #tracking .float-screen-reflect {
    display: none;
  }
  .cta {
    padding: 88px 0;
  }
  .cta-title {
    font-size: clamp(34px, 12vw, 48px);
    line-height: 1.15;
    letter-spacing: 0;
  }
  .cta-sub {
    font-size: 16px;
    line-height: 1.7;
  }
  .cta-buttons {
    width: min(100%, 340px);
    margin: 0 auto;
    flex-direction: column;
  }
  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 540px) {
  .kids-stage {
    overflow: hidden;
  }
  .kids-showcase {
    height: 570px;
  }
  .kids-device {
    width: 104vw;
    max-width: 560px;
  }
  .kids-card-fajr { right: -4px; }
  .kids-card-duhr { left: -4px; }
  .kids-card-maghrib { right: 6px; }
  .kids-reward-card { left: 6px; }
}

@media (max-width: 420px) {
  .section { padding: 72px 0; }
  .spotlight-title {
    font-size: clamp(32px, 12vw, 43px);
  }
  .spotlight-sub {
    max-width: 300px;
    font-size: 15px;
  }
  #prayer .float-screen,
  #adhkar .float-screen,
  #tracking .float-screen {
    width: min(82vw, 292px);
  }
  .kids-stage {
    min-height: 620px !important;
    border-radius: 26px;
  }
  .kids-showcase {
    height: 540px;
  }
  .kids-prayer-card {
    min-width: 164px;
  }
  .kids-card-duhr {
    top: 118px;
  }
}
