@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("/assets/fonts/IBMPlexSansArabic-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("/assets/fonts/IBMPlexSansArabic-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("/assets/fonts/IBMPlexSansArabic-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("/assets/fonts/IBMPlexSansArabic-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #fffbf8;
  --bg-soft: #f6f1e7;
  --card: #f5f0e8;
  --card-strong: #eee5d9;
  --text: #2c1810;
  --text-soft: #6b5344;
  --text-muted: #9b8f7f;
  --gold: #d4941d;
  --gold-deep: #a16207;
  --gold-soft: rgba(212, 148, 29, 0.10);
  --gold-line: rgba(212, 148, 29, 0.18);
  --border: rgba(232, 221, 208, 0.78);
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(73, 49, 32, 0.10);
  --shadow-soft: 0 10px 30px rgba(73, 49, 32, 0.06);
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --container: 1180px;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body[dir="rtl"] { font-family: "Baloo Bhaijaan 2", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }

.skip-link {
  position: fixed;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--text);
  color: #fff;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(232, 221, 208, 0.55);
  background: rgba(255, 251, 248, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: block;
  background-image: url("/assets/images/app-icon-v2.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.brand-text { font-size: 16px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-link,
.nav-download {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 13px;
  font-weight: 700;
  font-size: 13px;
}
.lang-link {
  color: var(--text-soft);
  background: var(--card);
  border: 1px solid var(--border);
}
.nav-download { color: #fff; background: var(--gold); box-shadow: 0 8px 22px rgba(212, 148, 29, .20); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 46px;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(2px);
}
.hero::before {
  width: 460px;
  height: 460px;
  inset-inline-end: -190px;
  top: -170px;
  background: radial-gradient(circle, rgba(212,148,29,.13), rgba(212,148,29,0) 68%);
}
.hero::after {
  width: 340px;
  height: 340px;
  inset-inline-start: -160px;
  bottom: -160px;
  background: radial-gradient(circle, rgba(107,83,68,.09), rgba(107,83,68,0) 70%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  align-items: center;
  gap: clamp(36px, 7vw, 86px);
}
.hero-copy { max-width: 650px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--gold-deep);
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 18px;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(212,148,29,.10);
}
h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.14;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero-lead {
  margin: 22px 0 0;
  max-width: 630px;
  color: var(--text-soft);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.85;
}
.hero-clarifier {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.8;
}
.store-row { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.store-button {
  min-width: 174px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 9px 16px;
  border-radius: 16px;
  background: var(--text);
  color: #fff;
  border: 1px solid rgba(44,24,16,.08);
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}
.store-button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(44,24,16,.16); }
.store-icon { width: 25px; height: 25px; flex: 0 0 auto; }
.store-copy { display: flex; flex-direction: column; gap: 1px; text-align: start; }
.store-copy small { font-size: 9px; opacity: .72; letter-spacing: .02em; }
.store-copy strong { font-size: 16px; line-height: 1.15; }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 24px;
  color: var(--text-soft);
  font-size: 13px;
}
.trust-item { display: inline-flex; align-items: center; gap: 7px; }
.trust-icon { width: 19px; height: 19px; color: var(--gold); }

.phone-stage {
  position: relative;
  min-height: 595px;
  display: grid;
  place-items: center;
}
.phone-halo {
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,148,29,.16), rgba(212,148,29,.02) 55%, transparent 72%);
}
.phone {
  position: relative;
  z-index: 2;
  width: min(320px, 82vw);
  aspect-ratio: 0.495;
  padding: 11px;
  border-radius: 44px;
  background: #1a1410;
  box-shadow: 0 34px 90px rgba(44,24,16,.22), 0 10px 25px rgba(44,24,16,.12);
  transform: rotate(2.5deg);
}
.phone::before {
  content: "";
  position: absolute;
  z-index: 3;
  width: 92px;
  height: 25px;
  border-radius: 0 0 15px 15px;
  background: #1a1410;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}
.phone-screen {
  height: 100%;
  padding: 34px 16px 16px;
  overflow: hidden;
  border-radius: 35px;
  background: linear-gradient(180deg, #fffbf8, #f7f0e7);
  border: 1px solid rgba(255,255,255,.4);
}
.app-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.app-title { font-size: 18px; font-weight: 900; }
.app-subtitle { margin-top: 3px; font-size: 9px; color: var(--text-muted); }
.app-round-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--gold);
  background: var(--gold-soft);
}
.app-round-btn svg { width: 18px; height: 18px; }
.prayer-card {
  position: relative;
  margin-top: 18px;
  padding: 18px;
  overflow: hidden;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(145deg, #2c1810, #513727);
  box-shadow: 0 16px 30px rgba(44,24,16,.18);
}
.prayer-card::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  inset-inline-end: -35px;
  top: -35px;
  border: 1px solid rgba(249,193,90,.30);
  box-shadow: 0 0 0 24px rgba(249,193,90,.05), 0 0 0 48px rgba(249,193,90,.03);
}
.prayer-label { color: rgba(255,255,255,.62); font-size: 10px; }
.prayer-main { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 8px; }
.prayer-name { font-size: 22px; font-weight: 900; }
.prayer-time { color: #f9c15a; font-size: 22px; font-weight: 900; direction: ltr; }
.prayer-next { margin-top: 10px; font-size: 9px; color: rgba(255,255,255,.62); }
.app-section-label { margin: 17px 2px 8px; font-size: 9px; font-weight: 800; color: rgba(212,148,29,.76); }
.app-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.app-mini-card {
  min-height: 100px;
  padding: 13px;
  border-radius: 18px;
  background: rgba(245,240,232,.85);
  border: 1px solid rgba(232,221,208,.9);
}
.app-mini-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: var(--gold-soft);
}
.app-mini-icon svg { width: 18px; height: 18px; }
.app-mini-card strong { display: block; margin-top: 10px; font-size: 12px; }
.app-mini-card span { display: block; margin-top: 4px; color: var(--text-muted); font-size: 8px; line-height: 1.5; }
.quran-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
  padding: 12px;
  border-radius: 17px;
  background: rgba(245,240,232,.76);
  border: 1px solid rgba(232,221,208,.9);
}
.quran-badge {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--gold);
  background: var(--gold-soft);
  font-weight: 900;
  font-size: 11px;
}
.quran-strip strong { display: block; font-size: 11px; }
.quran-strip small { color: var(--text-muted); font-size: 8px; }
.float-card {
  position: absolute;
  z-index: 3;
  width: 185px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 251, 248, .90);
  border: 1px solid rgba(232,221,208,.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.float-card strong { display: block; font-size: 13px; }
.float-card span { display: block; margin-top: 4px; color: var(--text-muted); font-size: 10px; line-height: 1.55; }
.float-card--qibla { inset-inline-start: -5px; top: 116px; }
.float-card--offline { inset-inline-end: -8px; bottom: 118px; }
.float-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 9px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--gold);
  background: var(--gold-soft);
}
.float-icon svg { width: 18px; height: 18px; }

.section { padding: 78px 0; }
.section--soft { background: var(--bg-soft); border-block: 1px solid rgba(232,221,208,.52); }
.section-head { max-width: 680px; margin-bottom: 34px; }
.section-kicker { color: var(--gold-deep); font-size: 12px; font-weight: 900; letter-spacing: .02em; }
h2 {
  margin: 8px 0 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.25;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.section-head p { margin: 15px 0 0; color: var(--text-soft); line-height: 1.85; font-size: 16px; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature-card {
  min-height: 230px;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255,251,248,.74);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--gold);
  background: var(--gold-soft);
}
.feature-icon svg { width: 23px; height: 23px; }
.feature-card h3 { margin: 22px 0 8px; font-size: 18px; }
.feature-card p { margin: 0; color: var(--text-soft); font-size: 14px; line-height: 1.8; }

.split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.info-panel {
  min-height: 355px;
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 42px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.info-panel--offline { background: #2c1810; color: #fff; }
.info-panel--offline::after {
  content: "";
  position: absolute;
  width: 290px;
  height: 290px;
  inset-inline-end: -100px;
  bottom: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,193,90,.20), transparent 70%);
}
.info-panel--clean { background: rgba(245,240,232,.74); }
.info-panel-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: var(--gold);
  background: rgba(212,148,29,.10);
  border: 1px solid rgba(212,148,29,.15);
}
.info-panel--offline .info-panel-icon { color: #f9c15a; background: rgba(249,193,90,.10); border-color: rgba(249,193,90,.16); }
.info-panel-icon svg { width: 26px; height: 26px; }
.info-panel h3 { margin: 24px 0 10px; font-size: clamp(26px, 3vw, 34px); }
.info-panel p { position: relative; z-index: 1; margin: 0; max-width: 520px; color: var(--text-soft); line-height: 1.9; }
.info-panel--offline p { color: rgba(255,255,255,.72); }
.checkline { display: flex; gap: 9px; margin-top: 19px; align-items: flex-start; font-size: 13px; line-height: 1.65; }
.checkline svg { width: 18px; height: 18px; flex: 0 0 auto; color: var(--gold); margin-top: 2px; }
.info-panel--offline .checkline svg { color: #f9c15a; }

.detail-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.detail-card {
  padding: 22px;
  border-radius: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
}
.detail-card h3 { margin: 0 0 7px; font-size: 17px; }
.detail-card p { margin: 0; color: var(--text-soft); line-height: 1.75; font-size: 13px; }

.cta-box {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 5vw, 60px);
  border-radius: 34px;
  background: linear-gradient(135deg, #2c1810, #4a3022);
  color: #fff;
  text-align: center;
  box-shadow: 0 22px 55px rgba(44,24,16,.14);
}
.cta-box::before,
.cta-box::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(249,193,90,.18);
}
.cta-box::before { width: 210px; height: 210px; inset-inline-start: -80px; top: -100px; box-shadow: 0 0 0 38px rgba(249,193,90,.025); }
.cta-box::after { width: 180px; height: 180px; inset-inline-end: -60px; bottom: -90px; box-shadow: 0 0 0 30px rgba(249,193,90,.025); }
.cta-box h2 { position: relative; z-index: 1; margin-inline: auto; max-width: 760px; }
.cta-box p { position: relative; z-index: 1; margin: 14px auto 0; max-width: 610px; color: rgba(255,255,255,.70); line-height: 1.8; }
.cta-box .store-row { position: relative; z-index: 1; justify-content: center; }
.cta-box .store-button { background: #fff; color: var(--text); }

.site-footer { padding: 34px 0 28px; border-top: 1px solid var(--border); }
.footer-grid { display: flex; justify-content: space-between; gap: 28px; align-items: flex-start; }
.footer-brand { max-width: 420px; }
.footer-brand p { margin: 10px 0 0; color: var(--text-muted); font-size: 12px; line-height: 1.8; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 12px; color: var(--text-soft); }
.footer-links a:hover { color: var(--gold-deep); }
.footer-bottom { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(232,221,208,.55); color: var(--text-muted); font-size: 11px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }

/* Interior pages */
.page-hero { padding: 64px 0 28px; }
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 58px); }
.page-hero p { max-width: 760px; color: var(--text-soft); line-height: 1.9; font-size: 16px; }
.content-wrap { padding: 10px 0 80px; }
.content-card {
  max-width: 860px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 28px;
  background: rgba(245,240,232,.62);
  border: 1px solid var(--border);
}
.notice {
  margin-bottom: 28px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(212,148,29,.08);
  border: 1px solid rgba(212,148,29,.18);
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.75;
}
.prose h2 { margin: 34px 0 10px; font-size: 23px; letter-spacing: -.02em; }
.prose h2:first-of-type { margin-top: 0; }
.prose p, .prose li { color: var(--text-soft); line-height: 1.95; font-size: 15px; }
.prose ul { padding-inline-start: 20px; }
.prose a { color: var(--gold-deep); font-weight: 700; }
.placeholder-line { display: inline-block; min-width: 160px; border-bottom: 1px dashed var(--text-muted); color: var(--text-muted); }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; margin-inline: auto; }
  .hero-copy .eyebrow { margin-inline: auto; }
  .hero-lead, .hero-clarifier { margin-inline: auto; }
  .store-row, .trust-row { justify-content: center; }
  .phone-stage { min-height: 560px; margin-top: 10px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  :root { --header-h: 68px; }
  .container { width: min(calc(100% - 24px), var(--container)); }
  .brand-text { font-size: 14px; }
  .nav-download { display: none; }
  .hero { padding-top: 38px; }
  h1 { font-size: clamp(36px, 12vw, 52px); }
  .hero-lead { font-size: 16px; line-height: 1.9; }
  .store-row { flex-direction: column; align-items: stretch; }
  .store-button { width: 100%; justify-content: center; }
  .trust-row { display: grid; grid-template-columns: 1fr 1fr; text-align: start; }
  .phone-stage { min-height: 520px; }
  .phone { width: min(284px, 78vw); }
  .float-card { width: 150px; padding: 12px; }
  .float-card--qibla { inset-inline-start: -6px; top: 98px; }
  .float-card--offline { inset-inline-end: -4px; bottom: 72px; }
  .section { padding: 58px 0; }
  .features-grid, .split-panel, .detail-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .info-panel { min-height: auto; }
  .footer-grid { flex-direction: column; }
  .footer-links { row-gap: 14px; }
}

@media (max-width: 430px) {
  .header-actions { gap: 6px; }
  .lang-link { min-height: 39px; padding-inline: 11px; }
  .brand-mark { width: 38px; height: 38px; flex-basis: 38px; }
  .hero { padding-bottom: 26px; }
  .trust-row { grid-template-columns: 1fr; }
  .phone-stage { min-height: 500px; }
  .phone { transform: none; }
  .float-card { width: 136px; }
  .float-card strong { font-size: 11px; }
  .float-card span { font-size: 8px; }
  .float-card--qibla { inset-inline-start: -8px; }
  .float-card--offline { inset-inline-end: -8px; }
}

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

:focus-visible {
  outline: 3px solid rgba(212,148,29,.42);
  outline-offset: 3px;
}




html[lang="en"] body,
html[dir="ltr"] body {
  font-family: "Inter", Arial, sans-serif;
}


html[lang="ar"] body,
html[dir="rtl"] body,
body[dir="rtl"] {
  font-family: "Baloo Bhaijaan 2", Arial, sans-serif;
}


/* QIBLA REAL APP PHONE MOCKUP */

.phone-screen--realapp {
  padding: 18px 14px 14px;
  background: linear-gradient(
    180deg,
    rgba(255,251,248,.98),
    rgba(247,240,231,.96)
  );
}

.mock-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: rgba(44,24,16,.58);
  font-size: 10px;
  font-weight: 700;
}

.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mock-header-copy {
  min-width: 0;
}

.mock-app-name {
  font-size: 19px;
  font-weight: 900;
  line-height: 1.15;
}

.mock-app-subtitle {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 10px;
}

.mock-icon-btn {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--gold);
  background: rgba(212,148,29,.10);
  border: 1px solid rgba(212,148,29,.18);
}

.mock-icon-btn svg {
  width: 18px;
  height: 18px;
}

.mock-section-kicker {
  margin: 16px 2px 8px;
  color: rgba(212,148,29,.76);
  font-size: 10px;
  font-weight: 800;
}

.mock-main-card {
  padding: 14px;
  border-radius: 18px;
  background: rgba(245,240,232,.92);
  border: 1px solid rgba(232,221,208,.9);
  box-shadow: 0 8px 18px rgba(44,24,16,.05);
}

.mock-main-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.mock-main-title {
  font-size: 18px;
  font-weight: 900;
}

.mock-main-meta {
  margin-top: 4px;
  color: rgba(44,24,16,.50);
  font-size: 10px;
}

.mock-main-badge {
  min-width: 34px;
  height: 34px;
  padding-inline: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--gold);
  background: rgba(212,148,29,.08);
  font-size: 12px;
  font-weight: 900;
}

.mock-main-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.mock-chip {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(212,148,29,.06);
  font-size: 10px;
  font-weight: 800;
}

.mock-continue-btn {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 11px;
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 10px 18px rgba(212,148,29,.18);
}

.mock-searchbar {
  margin-top: 12px;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border-radius: 14px;
  background: rgba(245,240,232,.95);
  border: 1px solid rgba(232,221,208,.9);
  color: rgba(44,24,16,.48);
  font-size: 11px;
}

.mock-searchbar svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.mock-pill-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.mock-pill {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(245,240,232,.95);
  border: 1px solid rgba(232,221,208,.9);
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 800;
}

.mock-pill--active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.mock-duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 13px;
}

.mock-surface-card {
  min-height: 130px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(245,240,232,.92);
  border: 1px solid rgba(232,221,208,.9);
}

.mock-surface-card--prayer {
  background: linear-gradient(145deg,#2c1810,#513727);
  border-color: rgba(81,55,39,.6);
  color: #fff;
}

.mock-surface-label {
  font-size: 9px;
  font-weight: 800;
  color: rgba(44,24,16,.52);
}

.mock-surface-card--prayer .mock-surface-label,
.mock-surface-card--prayer .mock-surface-note {
  color: rgba(255,255,255,.64);
}

.mock-qibla-ring {
  width: 66px;
  height: 66px;
  margin: 10px auto 8px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid rgba(212,148,29,.18);
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
  box-shadow:
    inset 0 0 0 8px rgba(212,148,29,.05),
    inset 0 0 0 16px rgba(212,148,29,.03);
}

.mock-prayer-name {
  margin-top: 13px;
  font-size: 18px;
  font-weight: 900;
}

.mock-prayer-time {
  margin-top: 3px;
  color: #f9c15a;
  font-size: 18px;
  font-weight: 900;
  direction: ltr;
}

.mock-surface-note {
  margin-top: 6px;
  color: rgba(44,24,16,.48);
  font-size: 9px;
}

.mock-list-head {
  margin: 14px 2px 8px;
  color: rgba(212,148,29,.76);
  font-size: 10px;
  font-weight: 800;
}

.mock-list-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 16px;
  background: rgba(245,240,232,.92);
  border: 1px solid rgba(232,221,208,.9);
}

.mock-list-card + .mock-list-card {
  margin-top: 8px;
}

.mock-list-badge {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(212,148,29,.08);
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
}

.mock-list-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mock-list-copy strong {
  font-size: 13px;
}

.mock-list-copy span {
  color: rgba(44,24,16,.48);
  font-size: 10px;
}

.mock-tabbar {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 6px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(232,221,208,.75);
}

.mock-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(44,24,16,.40);
}

.mock-tab small {
  font-size: 8px;
  font-weight: 800;
}

.mock-tab-dot {
  width: 20px;
  height: 20px;
  border-radius: 7px;
  background: rgba(212,148,29,.08);
}

.mock-tab--active {
  color: var(--gold);
}

.mock-tab--active .mock-tab-dot {
  background: var(--gold);
}

@media (max-width: 430px) {
  .mock-app-name {
    font-size: 17px;
  }

  .mock-main-title,
  .mock-prayer-name,
  .mock-prayer-time {
    font-size: 16px;
  }

  .mock-duo-grid {
    gap: 8px;
  }
}


/* QIBLA SCREEN DERIVED PHONE MOCKUP */

.phone-stage {
  min-height: 760px;
}

.phone--derived {
  transform: none;
  width: min(360px, 88vw);
  padding: 10px;
  border-radius: 42px;
  background: #1a1410;
  box-shadow: 0 34px 90px rgba(44,24,16,.22), 0 10px 25px rgba(44,24,16,.12);
}

.phone--derived::before {
  content: "";
  position: absolute;
  z-index: 3;
  width: 94px;
  height: 24px;
  border-radius: 0 0 14px 14px;
  background: #1a1410;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.phone-screen--derived {
  position: relative;
  height: 100%;
  padding: 26px 14px 86px;
  overflow: hidden;
  border-radius: 34px;
  background: #f8f4ef;
  border: 1px solid rgba(255,255,255,.45);
}

.phone-screen--derived::before {
  content: "";
  position: absolute;
  inset: 145px 18px 120px 18px;
  border-radius: 50%;
  opacity: .18;
  pointer-events: none;
  background:
    radial-gradient(circle at center, rgba(212,148,29,.14) 0, rgba(212,148,29,.10) 12%, transparent 12.5%),
    radial-gradient(circle at center, transparent 0 30%, rgba(212,148,29,.10) 30.5%, transparent 31%),
    radial-gradient(circle at center, transparent 0 47%, rgba(212,148,29,.09) 47.5%, transparent 48%);
  filter: blur(.2px);
}

.derived-header {
  position: relative;
  z-index: 1;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(232,221,208,.72);
}

.derived-title {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--text);
}

.derived-date-row {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  color: rgba(44,24,16,.42);
  font-size: 11px;
  line-height: 1.5;
}

.derived-calendar {
  color: var(--gold);
  font-size: 14px;
  line-height: 1;
}

.derived-main-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.derived-main-card {
  min-height: 114px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 14px 12px;
  border-radius: 20px;
  background: rgba(242,237,229,.96);
  border: 1px solid rgba(222,213,199,.95);
  box-shadow: 0 4px 10px rgba(44,24,16,.03);
}

.derived-main-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.derived-main-title {
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
  color: var(--text);
}

.derived-main-icon {
  min-width: 38px;
  height: 38px;
  padding-inline: 8px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(239,231,216,.95);
  color: var(--gold);
  font-size: 18px;
  font-weight: 800;
}

.derived-main-foot {
  margin-top: 10px;
  color: rgba(44,24,16,.46);
  font-size: 11px;
  line-height: 1.4;
}

.derived-quick-title {
  position: relative;
  z-index: 1;
  margin: 16px 2px 10px;
  color: #d7a443;
  font-size: 12px;
  font-weight: 900;
}

.derived-quick-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.derived-quick-item {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 14px;
  border-radius: 16px;
  background: rgba(242,237,229,.98);
  border: 1px solid rgba(222,213,199,.95);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.derived-quick-item--full {
  grid-column: 1 / -1;
}

.derived-quick-icon {
  color: var(--gold);
  font-size: 18px;
  flex: 0 0 auto;
}

.derived-tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 78px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  padding: 8px 8px 10px;
  background: rgba(250,247,243,.98);
  border-top: 1px solid rgba(222,213,199,.95);
}

.derived-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: rgba(44,24,16,.42);
  text-align: center;
}

.derived-tab small {
  font-size: 8px;
  font-weight: 800;
  line-height: 1.2;
}

.derived-tab-mark {
  font-size: 18px;
  line-height: 1;
  color: currentColor;
}

.derived-tab--active {
  color: var(--gold);
}

@media (max-width: 430px) {
  .phone-stage {
    min-height: 700px;
  }

  .phone--derived {
    width: min(336px, 90vw);
  }

  .derived-title {
    font-size: 20px;
  }

  .derived-main-card {
    min-height: 106px;
    padding: 12px 12px 10px;
  }

  .derived-main-title {
    font-size: 13px;
  }

  .derived-main-icon {
    min-width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .derived-quick-item {
    min-height: 48px;
    font-size: 12px;
  }

  .derived-tabbar {
    height: 74px;
  }
}


/* APP HOME UI DERIVED FROM REAL SCREEN */

.app-demo-stage {
  position: relative;
  min-height: 720px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.app-demo-halo {
  position: absolute;
  width: 470px;
  height: 470px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(212,148,29,.17),
      rgba(212,148,29,.05) 52%,
      transparent 73%
    );
}

.app-demo-device {
  position: relative;
  z-index: 2;

  width: min(346px, 86vw);
  aspect-ratio: 0.494;

  padding: 8px;

  border-radius: 44px;

  background:
    linear-gradient(
      145deg,
      #403730,
      #171310 38%,
      #090807 62%,
      #302923
    );

  box-shadow:
    0 40px 90px rgba(44,24,16,.23),
    0 14px 30px rgba(44,24,16,.14),
    inset 0 0 0 1px rgba(255,255,255,.16);

  transform:
    perspective(1100px)
    rotateY(-3deg)
    rotateZ(1.4deg);
}

.app-demo-screen {
  position: relative;

  height: 100%;
  overflow: hidden;

  padding: 34px 14px 80px;

  border-radius: 36px;

  background: #fffbf8;

  color: #2c1810;
}

.app-demo-screen::before {
  content: "";

  position: absolute;
  z-index: 0;

  width: 410px;
  height: 410px;

  top: 235px;
  left: 50%;

  transform: translateX(-50%);

  border-radius: 50%;

  opacity: .18;

  background:
    repeating-conic-gradient(
      from 0deg,
      rgba(212,148,29,.25) 0 4deg,
      transparent 4deg 12deg
    );

  -webkit-mask:
    radial-gradient(
      circle,
      transparent 0 18%,
      #000 18.5% 20%,
      transparent 20.5% 36%,
      #000 36.5% 38%,
      transparent 38.5% 55%,
      #000 55.5% 57%,
      transparent 57.5%
    );

  mask:
    radial-gradient(
      circle,
      transparent 0 18%,
      #000 18.5% 20%,
      transparent 20.5% 36%,
      #000 36.5% 38%,
      transparent 38.5% 55%,
      #000 55.5% 57%,
      transparent 57.5%
    );
}

.app-demo-top,
.app-demo-main-grid,
.app-demo-quick-title,
.app-demo-quick-grid {
  position: relative;
  z-index: 1;
}

.app-demo-top {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(232,221,208,.64);
}

.app-demo-top h3 {
  margin: 0;

  font-size: 23px;
  line-height: 1.25;
  font-weight: 800;

  color: #2c1810;
}

.app-demo-date {
  margin-top: 8px;

  display: flex;
  align-items: center;
  gap: 7px;

  color: #a69b8f;

  font-size: 10px;
  line-height: 1.5;
}

.app-demo-date svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;

  color: #d99a1b;
}

.app-demo-main-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 10px;

  margin-top: 15px;
}

.app-demo-card {
  min-height: 102px;

  padding: 13px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  border-radius: 19px;

  background: rgba(246,241,233,.96);

  border: 1px solid rgba(226,215,199,.92);

  box-shadow:
    0 3px 8px rgba(44,24,16,.025);
}

.app-demo-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 8px;
}

.app-demo-card strong {
  padding-top: 4px;

  font-size: 13px;
  line-height: 1.35;

  font-weight: 800;
}

.app-demo-card-icon {
  width: 38px;
  height: 38px;

  flex: 0 0 38px;

  display: grid;
  place-items: center;

  border-radius: 13px;

  color: #dc9612;

  background: #f3ebdd;
}

.app-demo-card-icon svg {
  width: 20px;
  height: 20px;
}

.app-demo-counter-icon {
  font-size: 11px;
  font-weight: 900;
}

.app-demo-card-meta {
  margin-top: 9px;

  color: #968a7d;

  font-size: 10px;
}

.app-demo-quick-title {
  margin: 15px 2px 9px;

  color: #dca740;

  font-size: 12px;
  font-weight: 800;
}

.app-demo-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 9px;
}

.app-demo-quick {
  min-height: 48px;

  padding: 0 13px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 8px;

  border-radius: 15px;

  background: rgba(246,241,233,.97);

  border: 1px solid rgba(226,215,199,.92);

  font-size: 11px;
  line-height: 1.3;

  font-weight: 800;
}

.app-demo-quick--wide {
  grid-column: 1 / -1;
}

.app-demo-quick-icon {
  flex: 0 0 auto;

  color: #dc9612;

  font-size: 17px;
}

.app-demo-check {
  width: 23px;
  height: 23px;

  flex: 0 0 23px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  color: #fff;
  background: #dc9612;
}

.app-demo-check svg {
  width: 13px;
  height: 13px;
}

.app-demo-nav {
  position: absolute;
  z-index: 4;

  left: 0;
  right: 0;
  bottom: 0;

  height: 72px;

  padding: 7px 8px 9px;

  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;

  background: rgba(255,252,248,.98);

  border-top: 1px solid rgba(232,221,208,.75);

  box-shadow:
    0 -10px 28px rgba(44,24,16,.035);
}

.app-demo-nav-item {
  min-width: 0;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 5px;

  color: #a59b8d;

  text-align: center;
}

.app-demo-nav-item svg {
  width: 19px;
  height: 19px;
}

.app-demo-nav-item span {
  font-size: 7px;
  line-height: 1.15;

  white-space: nowrap;
}

.app-demo-nav-active {
  color: #dc9612;
  font-weight: 800;
}

@media (max-width: 760px) {

  .app-demo-stage {
    min-height: 680px;
  }

  .app-demo-device {
    width: min(324px, 86vw);

    transform: none;
  }
}

@media (max-width: 430px) {

  .app-demo-stage {
    min-height: 630px;
  }

  .app-demo-device {
    width: min(294px, 84vw);

    padding: 7px;

    border-radius: 39px;
  }

  .app-demo-screen {
    padding: 30px 12px 72px;

    border-radius: 32px;
  }

  .app-demo-top h3 {
    font-size: 20px;
  }

  .app-demo-main-grid {
    gap: 8px;
  }

  .app-demo-card {
    min-height: 94px;

    padding: 11px;
  }

  .app-demo-card strong {
    font-size: 12px;
  }

  .app-demo-card-icon {
    width: 34px;
    height: 34px;

    flex-basis: 34px;
  }

  .app-demo-quick {
    min-height: 45px;

    padding-inline: 10px;

    font-size: 10px;
  }

  .app-demo-nav {
    height: 67px;
  }
}
















/* THREE PHONE SHOWCASE V2 START */


/* توسيع العمود البصري فقط على سطح المكتب */

@media (min-width: 1050px) {

  .hero-grid {

    grid-template-columns:
      minmax(0, 1fr)
      minmax(500px, .88fr);

    gap:
      clamp(30px, 4vw, 60px);

  }

}


/* الحاوية */

.app-demo-stage {

  position: relative;

  width:
    min(100%, 540px);

  min-height:
    630px;

  margin-inline:
    auto;

  display:
    grid;

  place-items:
    center;

  overflow:
    visible;

  isolation:
    isolate;

}


.app-demo-halo {

  position:
    absolute;

  z-index:
    0;

  width:
    min(96%, 500px);

  aspect-ratio:
    1;

  border-radius:
    50%;

  background:
    radial-gradient(
      circle,
      rgba(212,148,29,.17),
      rgba(212,148,29,.045) 55%,
      transparent 73%
    );

  pointer-events:
    none;

}


/* الهاتف الرئيسي */

.showcase-phone--main.app-demo-device {

  position:
    relative;

  z-index:
    5;

  width:
    clamp(252px, 55%, 292px);

  transform:
    translateY(-2px);

  box-shadow:
    0 40px 92px rgba(44,24,16,.24),
    0 13px 28px rgba(44,24,16,.13),
    inset 0 0 0 1px rgba(255,255,255,.14);

}


/* الهاتفان الخلفيان */

.showcase-phone {

  position:
    absolute;

  z-index:
    2;

  top:
    86px;

  width:
    clamp(165px, 38%, 205px);

  aspect-ratio:
    .494;

  padding:
    7px;

  border-radius:
    35px;

  background:
    linear-gradient(
      145deg,
      #443a33,
      #171310 40%,
      #080706 64%,
      #352d27
    );

  box-shadow:
    0 26px 58px rgba(44,24,16,.17),
    0 8px 18px rgba(44,24,16,.09),
    inset 0 0 0 1px rgba(255,255,255,.12);

  overflow:
    hidden;

  filter:
    saturate(.96)
    brightness(.98);

  transform-origin:
    center bottom;

}


.showcase-phone-screen {

  position:
    relative;

  width:
    100%;

  height:
    100%;

  overflow:
    hidden;

  border-radius:
    29px;

}


/* يسار: المسبحة */

.showcase-phone--misbaha {

  left:
    0;

  z-index:
    2;

  transform:
    rotate(-6deg)
    translateY(9px);

}


/* يمين: الويجت */

.showcase-phone--widget {

  right:
    0;

  z-index:
    3;

  transform:
    rotate(6deg)
    translateY(5px);

}


/* =========================
   المسبحة
   ========================= */

.misbaha-preview {

  padding:
    25px 10px 13px;

  background:
    linear-gradient(
      180deg,
      #fffbf8,
      #fbf7f2
    );

  color:
    #2c1810;

}


.misbaha-preview-header {

  display:
    flex;

  align-items:
    flex-start;

  justify-content:
    space-between;

  gap:
    7px;

  padding-bottom:
    10px;

  border-bottom:
    1px solid rgba(232,221,208,.68);

}


.misbaha-title-side {

  display:
    flex;

  align-items:
    center;

  gap:
    6px;

  min-width:
    0;

}


.misbaha-title-side > div {

  display:
    flex;

  flex-direction:
    column;

  gap:
    2px;

  min-width:
    0;

}


.misbaha-title-side strong {

  font-size:
    10px;

  line-height:
    1.2;

}


.misbaha-title-side small {

  color:
    #9b8f7f;

  font-size:
    6px;

  white-space:
    nowrap;

}


.misbaha-back {

  width:
    25px;

  height:
    25px;

  flex:
    0 0 25px;

  display:
    grid;

  place-items:
    center;

  border-radius:
    9px;

  color:
    #d4941d;

  background:
    rgba(212,148,29,.08);

  font-size:
    14px;

  font-weight:
    800;

}


.misbaha-add {

  min-height:
    25px;

  padding:
    0 7px;

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  border-radius:
    9px;

  color:
    #d4941d;

  background:
    rgba(212,148,29,.08);

  font-size:
    7px;

  font-weight:
    800;

  white-space:
    nowrap;

}


.misbaha-controls {

  display:
    grid;

  grid-template-columns:
    1fr 1fr;

  gap:
    7px;

  margin-top:
    12px;

}


.misbaha-controls span {

  min-height:
    31px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  gap:
    5px;

  border-radius:
    11px;

  color:
    #d4941d;

  background:
    rgba(212,148,29,.055);

  border:
    1px solid rgba(212,148,29,.22);

  font-size:
    7px;

  font-weight:
    700;

}


.misbaha-controls svg {

  width:
    12px;

  height:
    12px;

}


.misbaha-free-title {

  margin-top:
    13px;

  color:
    #d4941d;

  text-align:
    center;

  font-size:
    10px;

  font-weight:
    800;

}


.misbaha-counter {

  width:
    128px;

  height:
    128px;

  margin:
    10px auto 0;

  display:
    flex;

  flex-direction:
    column;

  align-items:
    center;

  justify-content:
    center;

  gap:
    27px;

  border-radius:
    50%;

  background:
    rgba(245,240,232,.68);

  border:
    2px solid rgba(212,148,29,.22);

}


.misbaha-diamond {

  width:
    10px;

  height:
    10px;

  background:
    #d4941d;

  transform:
    rotate(45deg);

}


.misbaha-counter small {

  color:
    rgba(44,24,16,.25);

  font-size:
    7px;

}


.misbaha-reset {

  width:
    max-content;

  min-height:
    30px;

  margin:
    11px auto 0;

  padding:
    0 11px;

  display:
    flex;

  align-items:
    center;

  gap:
    6px;

  border-radius:
    10px;

  color:
    #a39687;

  border:
    1px solid rgba(212,148,29,.20);

  font-size:
    7px;

  font-weight:
    700;

}


.misbaha-reset span {

  font-size:
    13px;

}


.misbaha-choose {

  margin:
    13px 2px 7px;

  color:
    #d4941d;

  font-size:
    8px;

  font-weight:
    800;

}


.misbaha-dhikr-grid {

  display:
    grid;

  grid-template-columns:
    1fr 1fr;

  gap:
    6px;

}


.misbaha-dhikr {

  min-height:
    43px;

  padding:
    7px;

  display:
    flex;

  flex-direction:
    column;

  justify-content:
    center;

  gap:
    3px;

  border-radius:
    11px;

  background:
    rgba(245,240,232,.90);

  border:
    1px solid rgba(232,221,208,.92);

}


.misbaha-dhikr strong {

  font-size:
    7px;

  line-height:
    1.25;

}


.misbaha-dhikr small {

  color:
    #9b8f7f;

  font-size:
    5px;

}


.misbaha-dhikr--active {

  color:
    #d4941d;

  background:
    rgba(212,148,29,.065);

  border-color:
    rgba(212,148,29,.27);

}


/* =========================
   شاشة iPhone + الويجت
   ========================= */

.widget-preview {

  background:
    linear-gradient(
      155deg,
      #b9edf1 0%,
      #b8e6e7 20%,
      #6183e6 45%,
      #223db2 65%,
      #52cad2 100%
    );

  color:
    #fff;

}


.widget-wallpaper-shape {

  position:
    absolute;

  border-radius:
    50%;

}


.widget-wallpaper-shape--one {

  width:
    310px;

  height:
    310px;

  left:
    -170px;

  top:
    190px;

  background:
    linear-gradient(
      145deg,
      #92efe0,
      #4ac7c9
    );

}


.widget-wallpaper-shape--two {

  width:
    290px;

  height:
    410px;

  right:
    -165px;

  top:
    -65px;

  background:
    linear-gradient(
      160deg,
      #162f93,
      #234bc6 55%,
      #486fdc
    );

  transform:
    rotate(-10deg);

}


.widget-status {

  position:
    relative;

  z-index:
    3;

  height:
    44px;

  padding:
    8px 10px 0;

  display:
    grid;

  grid-template-columns:
    1fr 52px 1fr;

  align-items:
    start;

  font-size:
    9px;

}


.widget-status strong {

  justify-self:
    end;

  font-size:
    10px;

}


.widget-island {

  width:
    52px;

  height:
    20px;

  border-radius:
    999px;

  background:
    #050505;

}


.widget-status-left {

  display:
    flex;

  gap:
    3px;

  padding-top:
    5px;

}


.widget-status-left i {

  width:
    4px;

  height:
    4px;

  border-radius:
    50%;

  background:
    rgba(255,255,255,.82);

}


.widget-app-row {

  position:
    relative;

  z-index:
    3;

  display:
    flex;

  gap:
    13px;

  padding:
    11px 12px 0;

}


.widget-app-icon {

  display:
    flex;

  flex-direction:
    column;

  align-items:
    center;

  gap:
    4px;

  font-size:
    5px;

}


.widget-circle-icon,
.widget-folder-icon {

  width:
    32px;

  height:
    32px;

  border-radius:
    9px;

}


.widget-circle-icon {

  background:
    radial-gradient(
      circle at center,
      #122f39 0 16%,
      #64dc37 17% 31%,
      #ffe500 32% 45%,
      #fb125c 46% 59%,
      #242424 60%
    );

}


.widget-folder-icon {

  background:
    linear-gradient(
      180deg,
      #fff,
      #d9f2ff
    );

}


.qibla-widget {

  position:
    relative;

  z-index:
    5;

  width:
    calc(100% - 26px);

  margin:
    19px auto 0;

  padding:
    15px 12px 14px;

  display:
    flex;

  flex-direction:
    column;

  align-items:
    center;

  border-radius:
    22px;

  background:
    rgba(255,251,248,.97);

  color:
    #2c1810;

  box-shadow:
    0 10px 26px rgba(0,0,0,.12);

}


.qibla-widget-location {

  width:
    100%;

  display:
    flex;

  align-items:
    center;

  gap:
    4px;

  color:
    #87796d;

  font-size:
    5px;

}


.qibla-widget-location svg {

  width:
    7px;

  height:
    7px;

}


.qibla-widget-sun {

  margin-top:
    8px;

  color:
    #d4941d;

}


.qibla-widget-sun svg {

  width:
    21px;

  height:
    21px;

}


.qibla-widget-prayer {

  margin-top:
    3px;

  color:
    #d4941d;

  font-size:
    13px;

}


.qibla-widget-time {

  margin-top:
    2px;

  font-size:
    17px;

  font-weight:
    900;

}


.qibla-widget-countdown {

  margin-top:
    2px;

  color:
    #6f6257;

  font-size:
    6px;

}


.widget-app-label {

  position:
    relative;

  z-index:
    4;

  margin-top:
    5px;

  text-align:
    center;

  font-size:
    6px;

}


.widget-mini-icons {

  position:
    relative;

  z-index:
    4;

  margin-top:
    13px;

  display:
    flex;

  justify-content:
    center;

  gap:
    18px;

}


.widget-mini-icons > div {

  display:
    flex;

  flex-direction:
    column;

  align-items:
    center;

  gap:
    4px;

  font-size:
    5px;

}


.widget-mini-square,
.widget-mini-lens {

  width:
    32px;

  height:
    32px;

  border-radius:
    9px;

  background:
    rgba(165,207,255,.88);

}


.widget-mini-lens {

  position:
    relative;

}


.widget-mini-lens::before {

  content:
    "";

  position:
    absolute;

  width:
    16px;

  height:
    10px;

  border-radius:
    50%;

  left:
    50%;

  top:
    50%;

  transform:
    translate(-50%,-50%);

  background:
    radial-gradient(
      circle,
      #38537d 0 25%,
      #0f1928 26% 55%,
      #7494c4 56%
    );

}


.widget-dock {

  position:
    absolute;

  z-index:
    4;

  bottom:
    10px;

  left:
    10px;

  right:
    10px;

  height:
    54px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  gap:
    18px;

  border-radius:
    20px;

  background:
    rgba(94,192,229,.35);

  border:
    1px solid rgba(255,255,255,.20);

}


.widget-dock-app {

  width:
    32px;

  height:
    32px;

  border-radius:
    9px;

}


.widget-dock-message {

  background:
    radial-gradient(
      circle at center,
      #fff 0 34%,
      #40e15e 35%
    );

}


.widget-dock-browser {

  background:
    radial-gradient(
      circle,
      #fff 0 33%,
      #35a8ee 34% 67%,
      #fff 68%
    );

}


/* حركة خفيفة جدًا */

@media (hover:hover) {

  .showcase-phone,
  .showcase-phone--main.app-demo-device {

    transition:
      transform .42s cubic-bezier(.2,.7,.2,1),
      filter .42s ease,
      box-shadow .42s ease;

  }


  .app-demo-stage:hover
  .showcase-phone--main.app-demo-device {

    transform:
      translateY(-7px);

  }


  .app-demo-stage:hover
  .showcase-phone--misbaha {

    transform:
      rotate(-7deg)
      translate(-7px,4px);

    filter:
      saturate(1)
      brightness(1);

  }


  .app-demo-stage:hover
  .showcase-phone--widget {

    transform:
      rotate(7deg)
      translate(7px,0);

    filter:
      saturate(1)
      brightness(1);

  }

}


/* Tablet */

@media (max-width: 760px) {

  .app-demo-stage {

    width:
      min(100%,450px);

    min-height:
      560px;

  }


  .showcase-phone--main.app-demo-device {

    width:
      clamp(238px,56%,265px);

  }


  .showcase-phone {

    top:
      82px;

    width:
      clamp(150px,38%,174px);

  }


  .showcase-phone--misbaha {

    left:
      0;

    transform:
      rotate(-5deg)
      translateY(8px);

  }


  .showcase-phone--widget {

    right:
      0;

    transform:
      rotate(5deg)
      translateY(5px);

  }


  .misbaha-counter {

    width:
      108px;

    height:
      108px;

    gap:
      22px;

  }

}


/* Mobile */

@media (max-width: 430px) {

  .app-demo-stage {

    width:
      calc(100vw - 24px);

    min-height:
      520px;

  }


  .showcase-phone--main.app-demo-device {

    width:
      234px;

  }


  .showcase-phone {

    top:
      88px;

    width:
      145px;

    padding:
      6px;

    border-radius:
      31px;

  }


  .showcase-phone-screen {

    border-radius:
      25px;

  }


  .showcase-phone--misbaha {

    left:
      0;

    transform:
      rotate(-5deg);

  }


  .showcase-phone--widget {

    right:
      0;

    transform:
      rotate(5deg);

  }


  .misbaha-preview {

    padding:
      21px 8px 10px;

  }


  .misbaha-counter {

    width:
      92px;

    height:
      92px;

    gap:
      18px;

  }


  .misbaha-dhikr {

    min-height:
      36px;

    padding:
      6px;

  }

}


/* THREE PHONE SHOWCASE V2 END */




/* RIGHT WIDGET SCREEN FIX */

/* خلفية شاشة الويجت */
.widget-preview {
  position: relative;

  background:
    linear-gradient(
      150deg,
      #fffaf6 0%,
      #f5eee5 42%,
      #ead8b8 72%,
      #ddbd7d 100%
    );

  color: #2c1810;
}

/* أشكال الخلفية - بنفس روح التطبيق */
.widget-wallpaper-shape--one {
  width: 250px;
  height: 250px;

  left: -145px;
  top: 210px;

  background:
    linear-gradient(
      145deg,
      rgba(245,225,183,.95),
      rgba(218,181,105,.78)
    );

  opacity: .8;
}

.widget-wallpaper-shape--two {
  width: 260px;
  height: 360px;

  right: -165px;
  top: -75px;

  background:
    linear-gradient(
      155deg,
      rgba(236,214,176,.92),
      rgba(190,144,67,.75)
    );

  opacity: .68;

  transform: rotate(-11deg);
}


/* شريط الحالة */
.widget-status {
  color: #2c1810;
}

.widget-status-left i {
  background: rgba(44,24,16,.65);
}

.widget-island {
  background: #15110f;
}


/* أيقونات التطبيقات في الجهة اليسرى */
.widget-app-row {
  position: absolute;

  z-index: 4;

  top: 60px;
  left: 10px;

  width: 34%;

  padding: 0;

  display: flex;
  flex-direction: column;

  align-items: center;

  gap: 12px;
}

.widget-app-icon {
  color: #6f6257;

  text-shadow: none;
}

.widget-circle-icon,
.widget-folder-icon {
  width: 31px;
  height: 31px;

  border-radius: 9px;

  box-shadow:
    0 5px 10px rgba(44,24,16,.10);
}


/* الويجت نفسه - أصغر وأقرب للصورة الأصلية */
.qibla-widget {
  position: absolute;

  z-index: 6;

  top: 61px;
  right: 9px;

  width: 58%;

  margin: 0;

  padding:
    12px 9px 11px;

  border-radius: 19px;

  background: #fffbf8;

  color: #2c1810;

  border:
    1px solid rgba(232,221,208,.70);

  box-shadow:
    0 12px 25px rgba(44,24,16,.11);

  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}


/* الموقع */
.qibla-widget-location {
  font-size: 4.5px;

  color: #7d6c60;
}

.qibla-widget-location svg {
  width: 6px;
  height: 6px;
}


/* الشمس */
.qibla-widget-sun {
  margin-top: 7px;

  color: #d4941d;
}

.qibla-widget-sun svg {
  width: 18px;
  height: 18px;
}


/* اسم الصلاة */
.qibla-widget-prayer {
  margin-top: 2px;

  color: #d4941d;

  font-size: 11px;
  line-height: 1.15;
}


/* الوقت */
.qibla-widget-time {
  margin-top: 2px;

  color: #2c1810;

  font-size: 14px;
  line-height: 1;

  font-weight: 900;
}


/* العد التنازلي */
.qibla-widget-countdown {
  margin-top: 4px;

  color: #746558;

  font-size: 5px;
}


/* اسم التطبيق تحت الويجت */
.widget-app-label {
  position: absolute;

  z-index: 5;

  top: 184px;
  right: 9px;

  width: 58%;

  margin: 0;

  color: #6f6257;

  text-align: center;

  font-size: 5.5px;

  text-shadow: none;
}


/* أيقونات أسفل الويجت */
.widget-mini-icons {
  position: absolute;

  z-index: 5;

  top: 215px;
  right: 9px;

  width: 58%;

  margin: 0;

  display: flex;

  justify-content: center;

  gap: 14px;

  color: #6f6257;
}

.widget-mini-icons > div {
  font-size: 4.5px;
}

.widget-mini-square,
.widget-mini-lens {
  width: 28px;
  height: 28px;

  border-radius: 8px;

  background:
    rgba(255,251,248,.70);

  border:
    1px solid rgba(212,148,29,.13);

  box-shadow:
    0 5px 10px rgba(44,24,16,.08);
}


/* Dock */
.widget-dock {
  bottom: 9px;

  left: 10px;
  right: 10px;

  height: 47px;

  gap: 16px;

  border-radius: 18px;

  background:
    rgba(255,251,248,.48);

  border:
    1px solid rgba(255,255,255,.38);

  box-shadow:
    0 8px 20px rgba(44,24,16,.08);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.widget-dock-app {
  width: 28px;
  height: 28px;

  border-radius: 8px;
}


/* لا نسمح للويجت بالتضخم على المقاسات الصغيرة */
@media (max-width: 430px) {

  .qibla-widget {
    width: 57%;

    top: 57px;
    right: 8px;

    padding:
      10px 8px 9px;

    border-radius: 17px;
  }

  .qibla-widget-prayer {
    font-size: 10px;
  }

  .qibla-widget-time {
    font-size: 13px;
  }

  .widget-app-label {
    top: 172px;
  }

  .widget-mini-icons {
    top: 200px;
  }
}




/* THREE PHONES SAME SIZE FIX */

/* سطح المكتب: الهواتف الثلاثة بنفس الحجم */
.showcase-phone--main.app-demo-device,
.showcase-phone {
  width: clamp(252px, 55%, 292px);
}

/* الخلفيان بطول الهاتف الرئيسي نفسه */
.showcase-phone {
  aspect-ratio: .494;
  top: 34px;
}

/* المسبحة */
.showcase-phone--misbaha {
  left: 0;

  transform:
    rotate(-6deg)
    translateY(12px);
}

/* الويجت */
.showcase-phone--widget {
  right: 0;

  transform:
    rotate(6deg)
    translateY(8px);
}

/* الوسط يبقى أمامهما فقط، وليس أكبر منهما */
.showcase-phone--main.app-demo-device {
  z-index: 5;

  transform:
    translateY(-2px);
}

.showcase-phone--misbaha {
  z-index: 2;
}

.showcase-phone--widget {
  z-index: 3;
}


/* Tablet */
@media (max-width: 760px) {

  .showcase-phone--main.app-demo-device,
  .showcase-phone {
    width: clamp(238px, 56%, 265px);
  }

  .showcase-phone {
    top: 34px;
  }

  .showcase-phone--misbaha {
    left: 0;

    transform:
      rotate(-5deg)
      translateY(10px);
  }

  .showcase-phone--widget {
    right: 0;

    transform:
      rotate(5deg)
      translateY(7px);
  }
}


/* Mobile */
@media (max-width: 430px) {

  .showcase-phone--main.app-demo-device,
  .showcase-phone {
    width: 234px;
  }

  .showcase-phone {
    top: 38px;
  }

  .showcase-phone--misbaha {
    left: -6px;

    transform:
      rotate(-5deg)
      translateY(8px);
  }

  .showcase-phone--widget {
    right: -6px;

    transform:
      rotate(5deg)
      translateY(6px);
  }
}




/* SIDE PHONES INTERNAL FIX V3 START */


/* =========================================================
   قاعدة مشتركة للشاشتين الجانبيتين
   ========================================================= */

.showcase-phone--misbaha .showcase-phone-screen,
.showcase-phone--widget .showcase-phone-screen {
  direction: rtl;
  font-family: inherit;
}


/* =========================================================
   اليسار — المسبحة
   النسب مشتقة من الشاشة المرجعية الحقيقية
   ========================================================= */

.misbaha-preview {
  position: relative;

  padding:
    34px 14px 18px;

  background:
    linear-gradient(
      180deg,
      #fffbf8 0%,
      #fdf9f5 100%
    );

  color:
    #2c1810;
}


/* رأس المسبحة */

.misbaha-preview-header {
  min-height: 55px;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 12px;

  padding-bottom: 14px;

  border-bottom:
    1px solid rgba(232,221,208,.65);
}


.misbaha-title-side {
  display: flex;
  align-items: flex-start;

  gap: 9px;
}


.misbaha-title-side > div {
  display: flex;
  flex-direction: column;

  gap: 4px;
}


.misbaha-title-side strong {
  font-size: 17px;
  line-height: 1.15;

  font-weight: 800;

  color: #2c1810;
}


.misbaha-title-side small {
  color: #9b8f7f;

  font-size: 9px;

  line-height: 1.4;
}


.misbaha-back {
  width: 37px;
  height: 37px;

  flex: 0 0 37px;

  display: grid;
  place-items: center;

  border-radius: 13px;

  color: #d4941d;

  background:
    rgba(212,148,29,.08);

  font-size: 20px;
  font-weight: 700;
}


.misbaha-add {
  min-height: 37px;

  padding:
    0 11px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 13px;

  color: #d4941d;

  background:
    rgba(212,148,29,.08);

  font-size: 10px;
  font-weight: 800;

  white-space: nowrap;
}


/* الصوت + الاهتزاز */

.misbaha-controls {
  width: 74%;

  margin:
    24px auto 0;

  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 10px;
}


.misbaha-controls span {
  min-height: 43px;

  display: flex;

  align-items: center;
  justify-content: center;

  gap: 7px;

  padding:
    0 10px;

  border-radius: 14px;

  color: #d4941d;

  background:
    rgba(212,148,29,.055);

  border:
    1px solid rgba(212,148,29,.30);

  font-size: 10px;

  font-weight: 700;
}


.misbaha-controls svg {
  width: 17px;
  height: 17px;
}


/* عداد حر */

.misbaha-free-title {
  margin-top: 28px;

  color: #d4941d;

  text-align: center;

  font-size: 15px;

  font-weight: 800;
}


/* دائرة التسبيح */

.misbaha-counter {
  width: 53%;

  aspect-ratio: 1;

  height: auto;

  margin:
    17px auto 0;

  display: flex;

  flex-direction: column;

  align-items: center;
  justify-content: center;

  gap: 38px;

  border-radius: 50%;

  background:
    rgba(245,240,232,.72);

  border:
    3px solid rgba(212,148,29,.20);

  box-shadow:
    inset 0 0 35px rgba(212,148,29,.018);
}


.misbaha-diamond {
  width: 12px;
  height: 12px;

  background:
    #d4941d;

  transform:
    rotate(45deg);
}


.misbaha-counter small {
  color:
    rgba(44,24,16,.25);

  font-size: 10px;
}


/* إعادة التعيين */

.misbaha-reset {
  min-height: 42px;

  width: max-content;

  margin:
    17px auto 0;

  padding:
    0 16px;

  display: flex;
  align-items: center;

  gap: 8px;

  border-radius: 14px;

  color: #a39687;

  background:
    rgba(255,251,248,.5);

  border:
    1px solid rgba(212,148,29,.20);

  font-size: 10px;

  font-weight: 700;
}


.misbaha-reset span {
  font-size: 20px;
}


/* اختر الذكر */

.misbaha-choose {
  margin:
    29px 3px 11px;

  color: #d4941d;

  font-size: 12px;

  font-weight: 800;
}


/* بطاقات الأذكار */

.misbaha-dhikr-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 9px;
}


.misbaha-dhikr {
  min-height: 67px;

  padding:
    11px 12px;

  display: flex;

  flex-direction: column;

  justify-content: center;

  gap: 5px;

  border-radius: 16px;

  background:
    rgba(245,240,232,.94);

  border:
    1px solid rgba(232,221,208,.95);

  box-shadow:
    0 3px 7px rgba(44,24,16,.018);
}


.misbaha-dhikr strong {
  color: #2c1810;

  font-size: 11px;

  line-height: 1.35;
}


.misbaha-dhikr small {
  color: #9b8f7f;

  font-size: 8px;
}


.misbaha-dhikr--active {
  background:
    rgba(212,148,29,.065);

  border-color:
    rgba(212,148,29,.32);
}


.misbaha-dhikr--active strong {
  color: #d4941d;
}



/* =========================================================
   اليمين — iPhone + Widget
   ========================================================= */

.widget-preview {
  position: relative;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      #f8f1e7 0%,
      #f1e5d2 35%,
      #e4c996 68%,
      #cfa75c 100%
    );

  color: #2c1810;
}


/* أشكال خلفية كبيرة وهادئة */

.widget-wallpaper-shape--one {
  width: 360px;
  height: 360px;

  left: -235px;
  top: 245px;

  border-radius: 50%;

  background:
    linear-gradient(
      145deg,
      #f7dfb1,
      #e1b866
    );

  opacity: .72;

  box-shadow:
    inset -30px -35px 70px rgba(143,91,20,.08);
}


.widget-wallpaper-shape--two {
  width: 340px;
  height: 485px;

  right: -220px;
  top: -100px;

  border-radius: 48%;

  background:
    linear-gradient(
      155deg,
      #ead5b0,
      #c89a48 68%
    );

  opacity: .62;

  transform:
    rotate(-11deg);
}


/* شريط iPhone */

.widget-status {
  position: relative;

  z-index: 10;

  height: 62px;

  padding:
    13px 15px 0;

  display: grid;

  grid-template-columns:
    1fr 76px 1fr;

  align-items: start;

  color:
    #2c1810;

  font-size: 12px;
}


.widget-status strong {
  justify-self: end;

  font-size: 14px;

  font-weight: 800;
}


.widget-island {
  width: 76px;
  height: 27px;

  justify-self: center;

  border-radius: 999px;

  background:
    #080706;
}


.widget-status-left {
  display: flex;

  gap: 4px;

  padding-top: 7px;
}


.widget-status-left i {
  width: 5px;
  height: 5px;

  border-radius: 50%;

  background:
    rgba(44,24,16,.55);
}


/* أيقونات التطبيقات أعلى اليسار */

.widget-app-row {
  position: absolute;

  z-index: 7;

  top: 78px;
  left: 13px;

  width: 40%;

  padding: 0;

  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap:
    17px 13px;
}


.widget-app-icon {
  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 7px;

  color: #6f6257;

  font-size: 7px;

  text-shadow: none;
}


.widget-circle-icon,
.widget-folder-icon {
  width: 44px;
  height: 44px;

  border-radius: 13px;

  box-shadow:
    0 7px 15px rgba(44,24,16,.10);
}



/* =========================================================
   الويجت
   مهم: لم يعد ضخمًا
   ========================================================= */

.qibla-widget {
  position: absolute;

  z-index: 8;

  top: 78px;
  right: 13px;

  width: 49%;

  min-height: 155px;

  margin: 0;

  padding:
    17px 13px 15px;

  display: flex;

  flex-direction: column;

  align-items: center;

  border-radius: 26px;

  color: #2c1810;

  background:
    #fffbf8;

  border:
    1px solid rgba(232,221,208,.74);

  box-shadow:
    0 13px 30px rgba(44,24,16,.11);

  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}


/* الموقع */

.qibla-widget-location {
  width: 100%;

  display: flex;

  align-items: center;

  gap: 5px;

  color: #7f7165;

  font-size: 6px;
}


.qibla-widget-location svg {
  width: 8px;
  height: 8px;
}


/* الشمس */

.qibla-widget-sun {
  margin-top: 12px;

  color: #d4941d;
}


.qibla-widget-sun svg {
  width: 26px;
  height: 26px;
}


/* الصلاة */

.qibla-widget-prayer {
  margin-top: 5px;

  color: #d4941d;

  font-size: 16px;

  line-height: 1;
}


/* الوقت */

.qibla-widget-time {
  margin-top: 5px;

  color: #2c1810;

  font-size: 21px;

  line-height: 1;

  font-weight: 900;

  direction: rtl;
}


/* المتبقي */

.qibla-widget-countdown {
  margin-top: 7px;

  color: #6f6257;

  font-size: 7px;
}


/* اسم التطبيق */

.widget-app-label {
  position: absolute;

  z-index: 8;

  top: 246px;
  right: 13px;

  width: 49%;

  margin: 0;

  color: #6f6257;

  text-align: center;

  font-size: 7px;

  text-shadow: none;
}


/* أيقونات الأدوات والمعاينة */

.widget-mini-icons {
  position: absolute;

  z-index: 8;

  top: 287px;
  right: 13px;

  width: 49%;

  margin: 0;

  display: flex;

  justify-content: center;

  gap: 18px;

  color: #6f6257;
}


.widget-mini-icons > div {
  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 6px;

  font-size: 6px;
}


.widget-mini-square,
.widget-mini-lens {
  width: 43px;
  height: 43px;

  border-radius: 13px;

  background:
    rgba(255,251,248,.64);

  border:
    1px solid rgba(212,148,29,.13);

  box-shadow:
    0 7px 15px rgba(44,24,16,.08);
}


.widget-mini-lens::before {
  width: 22px;
  height: 14px;
}


/* Dock */

.widget-dock {
  position: absolute;

  z-index: 8;

  left: 15px;
  right: 15px;
  bottom: 17px;

  height: 74px;

  display: flex;

  align-items: center;
  justify-content: center;

  gap: 28px;

  border-radius: 27px;

  background:
    rgba(255,251,248,.42);

  border:
    1px solid rgba(255,255,255,.44);

  box-shadow:
    0 10px 25px rgba(44,24,16,.08);

  backdrop-filter:
    blur(16px);

  -webkit-backdrop-filter:
    blur(16px);
}


.widget-dock-app {
  width: 44px;
  height: 44px;

  border-radius: 13px;
}



/* =========================================================
   حماية التصميم عند تصغير الشاشة
   لا نصغر محتوى الهاتف أكثر من اللازم
   ========================================================= */

@media (max-width: 760px) {

  .misbaha-preview {
    padding:
      31px 12px 15px;
  }


  .misbaha-title-side strong {
    font-size: 15px;
  }


  .misbaha-controls {
    width: 76%;

    margin-top: 20px;
  }


  .misbaha-counter {
    width: 52%;

    gap: 32px;
  }


  .misbaha-choose {
    margin-top: 23px;
  }


  .qibla-widget {
    top: 73px;

    right: 11px;

    width: 49%;

    min-height: 144px;

    padding:
      15px 11px 13px;

    border-radius: 23px;
  }


  .qibla-widget-time {
    font-size: 19px;
  }


  .widget-app-row {
    top: 73px;

    left: 11px;
  }


  .widget-app-label {
    top: 229px;

    right: 11px;
  }


  .widget-mini-icons {
    top: 266px;

    right: 11px;
  }

}


@media (max-width: 430px) {

  .misbaha-preview {
    padding:
      27px 10px 12px;
  }


  .misbaha-title-side strong {
    font-size: 13px;
  }


  .misbaha-title-side small {
    font-size: 7px;
  }


  .misbaha-add {
    min-height: 31px;

    font-size: 8px;
  }


  .misbaha-controls {
    margin-top: 17px;

    gap: 7px;
  }


  .misbaha-controls span {
    min-height: 35px;

    font-size: 8px;
  }


  .misbaha-free-title {
    margin-top: 21px;

    font-size: 12px;
  }


  .misbaha-counter {
    width: 52%;

    gap: 25px;
  }


  .misbaha-counter small {
    font-size: 8px;
  }


  .misbaha-reset {
    min-height: 35px;

    margin-top: 13px;

    font-size: 8px;
  }


  .misbaha-choose {
    margin-top: 18px;

    font-size: 10px;
  }


  .misbaha-dhikr {
    min-height: 53px;

    padding: 8px;
  }


  .misbaha-dhikr strong {
    font-size: 9px;
  }


  .qibla-widget {
    top: 66px;

    right: 9px;

    width: 48%;

    min-height: 128px;

    padding:
      13px 9px 11px;

    border-radius: 20px;
  }


  .qibla-widget-sun {
    margin-top: 8px;
  }


  .qibla-widget-sun svg {
    width: 21px;
    height: 21px;
  }


  .qibla-widget-prayer {
    font-size: 13px;
  }


  .qibla-widget-time {
    font-size: 16px;
  }


  .widget-app-row {
    top: 66px;

    left: 9px;
  }


  .widget-circle-icon,
  .widget-folder-icon {
    width: 36px;
    height: 36px;

    border-radius: 10px;
  }


  .widget-app-label {
    top: 204px;

    right: 9px;

    font-size: 6px;
  }


  .widget-mini-icons {
    top: 236px;

    right: 9px;
  }


  .widget-mini-square,
  .widget-mini-lens {
    width: 35px;
    height: 35px;

    border-radius: 10px;
  }


  .widget-dock {
    left: 11px;
    right: 11px;

    bottom: 12px;

    height: 59px;

    border-radius: 22px;
  }


  .widget-dock-app {
    width: 35px;
    height: 35px;

    border-radius: 10px;
  }

}


/* SIDE PHONES INTERNAL FIX V3 END */



/* HEADER MINI STORE BUTTONS START */

.header-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.header-store-button {
  height: 42px;
  min-width: 112px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 7px;

  padding: 5px 10px;

  border-radius: 13px;

  color: #fff;
  background: #2c1810;

  border: 1px solid rgba(44,24,16,.10);

  box-shadow:
    0 6px 15px rgba(44,24,16,.10);

  transition:
    transform .18s ease,
    box-shadow .18s ease;

  direction: ltr;
}

.header-store-button:hover {
  transform: translateY(-1px);

  box-shadow:
    0 9px 19px rgba(44,24,16,.14);
}

.header-store-button--google {
  background:
    linear-gradient(
      145deg,
      #d4941d,
      #bb7d0d
    );

  border-color:
    rgba(212,148,29,.18);
}

.header-store-icon {
  width: 18px;
  height: 18px;

  flex: 0 0 18px;
}

.header-store-copy {
  min-width: 0;

  display: flex;
  flex-direction: column;

  align-items: flex-start;

  gap: 0;

  line-height: 1;
}

.header-store-copy small {
  margin-bottom: 2px;

  font-size: 6.5px;
  font-weight: 500;

  opacity: .72;

  white-space: nowrap;
}

.header-store-copy strong {
  font-size: 10.5px;
  line-height: 1;

  font-weight: 800;

  white-space: nowrap;
}


/* Tablet */
@media (max-width: 760px) {

  .header-actions {
    gap: 5px;
  }

  .header-store-button {
    min-width: 98px;
    height: 39px;

    padding-inline: 8px;

    border-radius: 12px;
  }

  .header-store-icon {
    width: 16px;
    height: 16px;

    flex-basis: 16px;
  }

  .header-store-copy strong {
    font-size: 9.5px;
  }

  .header-store-copy small {
    font-size: 6px;
  }
}


/* Small phones */
@media (max-width: 520px) {

  .header-store-button {
    width: 39px;
    min-width: 39px;
    height: 39px;

    padding: 0;

    border-radius: 12px;
  }

  .header-store-copy {
    display: none;
  }

  .header-store-icon {
    width: 19px;
    height: 19px;

    flex-basis: 19px;
  }

  .lang-link {
    min-height: 39px;

    padding-inline: 10px;
  }
}

/* HEADER MINI STORE BUTTONS END */



/* HEADER COLORED STORE BUTTONS START */

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}


/* الشكل العام */
.header-store-button {
  width: 132px;
  height: 46px;

  padding: 0 11px;

  display: grid;
  grid-template-columns: minmax(0,1fr) 31px;
  align-items: center;
  column-gap: 9px;

  border-radius: 12px;

  text-decoration: none;

  overflow: hidden;

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    filter .18s ease;
}


/* Google Play */
.header-store-button--google {
  background: #D4941D;

  color: #fff;

  border: 1px solid rgba(205,137,20,.15);

  box-shadow:
    0 7px 17px rgba(212,148,29,.16);
}


/* App Store */
.header-store-button--apple {
  background: #2C1810;

  color: #fff;

  border: 1px solid rgba(15,17,30,.10);

  box-shadow:
    0 7px 17px rgba(44,24,16,.15);
}


/* مكان الأيقونة: يمين الزر */
.header-store-icon {
  grid-column: 2;
  grid-row: 1;

  width: 28px;
  height: 28px;

  justify-self: center;

  color: #fff;

  flex: none;
}


/* نجبر أي SVG موجود حاليًا ليصبح أبيض */
.header-store-icon path {
  fill: currentColor !important;
}


/* النص: يسار الزر */
.header-store-copy {
  grid-column: 1;
  grid-row: 1;

  min-width: 0;

  display: flex;
  flex-direction: column;

  align-items: flex-start;
  justify-content: center;

  gap: 2px;

  direction: rtl;
  text-align: right;

  color: #fff;

  line-height: 1;
}


/* السطر الصغير */
.header-store-copy small {
  margin: 0;

  color: rgba(255,255,255,.76);

  font-family: inherit;

  font-size: 8px;
  font-weight: 600;

  line-height: 1;

  white-space: nowrap;
}


/* اسم المتجر */
.header-store-copy strong {
  margin: 0;

  color: #fff;

  font-size: 12px;
  font-weight: 800;

  line-height: 1.05;

  direction: ltr;

  white-space: nowrap;
}


/* Hover */
.header-store-button:hover {
  transform: translateY(-2px);

  filter: brightness(1.025);
}


.header-store-button--google:hover {
  box-shadow:
    0 10px 22px rgba(212,148,29,.23);
}


.header-store-button--apple:hover {
  box-shadow:
    0 10px 22px rgba(44,24,16,.21);
}


/* Tablet */
@media (max-width: 850px) {

  .header-store-button {
    width: 119px;
    height: 43px;

    padding-inline: 9px;

    grid-template-columns:
      minmax(0,1fr) 27px;

    column-gap: 7px;
  }

  .header-store-icon {
    width: 25px;
    height: 25px;
  }

  .header-store-copy small {
    font-size: 7px;
  }

  .header-store-copy strong {
    font-size: 10.5px;
  }
}


/* الجوال:
   نحافظ على شكل الزر ولا نحوله إلى أيقونة فقط */
@media (max-width: 560px) {

  .header-actions {
    gap: 5px;
  }

  .header-store-button {
    width: 101px;
    height: 40px;

    padding-inline: 7px;

    grid-template-columns:
      minmax(0,1fr) 22px;

    column-gap: 5px;

    border-radius: 10px;
  }

  .header-store-icon {
    width: 21px;
    height: 21px;
  }

  .header-store-copy {
    display: flex;
  }

  .header-store-copy small {
    font-size: 6px;
  }

  .header-store-copy strong {
    font-size: 9px;
  }
}


/* الهواتف الصغيرة جدًا */
@media (max-width: 390px) {

  .header-store-button {
    width: 91px;
    height: 38px;

    padding-inline: 6px;

    grid-template-columns:
      minmax(0,1fr) 20px;
  }

  .header-store-icon {
    width: 19px;
    height: 19px;
  }

  .header-store-copy small {
    font-size: 5.5px;
  }

  .header-store-copy strong {
    font-size: 8.2px;
  }
}

/* HEADER COLORED STORE BUTTONS END */



/* MAIN STORE BUTTON COLORS START */


/* ==================================================
   أزرار المتاجر الكبيرة الموجودة في الـ Hero فقط
   لا تمس أزرار الهيدر الصغيرة
   ================================================== */


/* App Store */
.hero a[href*="apps.apple.com"]:not(.header-store-button) {
  color: #fff !important;

  background:
    #2C1810 !important;

  border-color:
    rgba(15,17,30,.12) !important;

  box-shadow:
    0 13px 28px rgba(44,24,16,.16) !important;

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    filter .2s ease;
}


/* Google Play */
.hero a[href*="play.google.com"]:not(.header-store-button) {
  color: #fff !important;

  background:
    #D4941D !important;

  border-color:
    rgba(205,137,20,.15) !important;

  box-shadow:
    0 13px 28px rgba(212,148,29,.19) !important;

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    filter .2s ease;
}


/* كل النصوص داخل الزرين */
.hero a[href*="apps.apple.com"]:not(.header-store-button) *,
.hero a[href*="play.google.com"]:not(.header-store-button) * {
  color: #fff !important;
}


/* الأيقونات */
.hero a[href*="apps.apple.com"]:not(.header-store-button) svg,
.hero a[href*="play.google.com"]:not(.header-store-button) svg {
  color: #fff !important;
  fill: #fff !important;
}


/* إذا كان SVG مكوّنًا من paths متعددة */
.hero a[href*="apps.apple.com"]:not(.header-store-button) svg path,
.hero a[href*="play.google.com"]:not(.header-store-button) svg path {
  fill: #fff !important;
}


/* السطر الصغير */
.hero a[href*="apps.apple.com"]:not(.header-store-button) small,
.hero a[href*="play.google.com"]:not(.header-store-button) small {
  color:
    rgba(255,255,255,.76) !important;
}


/* اسم المتجر */
.hero a[href*="apps.apple.com"]:not(.header-store-button) strong,
.hero a[href*="play.google.com"]:not(.header-store-button) strong {
  color: #fff !important;
}


/* Hover */

@media (hover:hover) {

  .hero a[href*="apps.apple.com"]:not(.header-store-button):hover,
  .hero a[href*="play.google.com"]:not(.header-store-button):hover {
    transform:
      translateY(-3px);

    filter:
      brightness(1.025);
  }


  .hero a[href*="apps.apple.com"]:not(.header-store-button):hover {
    box-shadow:
      0 17px 35px rgba(44,24,16,.22) !important;
  }


  .hero a[href*="play.google.com"]:not(.header-store-button):hover {
    box-shadow:
      0 17px 35px rgba(212,148,29,.25) !important;
  }

}


/* MAIN STORE BUTTON COLORS END */



/* ENGLISH LTR MIRROR START */


/* Typography */

html[lang="en"] body {
  font-family:
    Inter,
    "Helvetica Neue",
    Arial,
    sans-serif;
}


/* General website alignment */

html[lang="en"] .hero-copy,
html[lang="en"] .section-heading,
html[lang="en"] .feature-card,
html[lang="en"] .offline-copy,
html[lang="en"] .footer-copy {
  direction: ltr;
  text-align: left;
}


/* Store buttons:
   keep icon on the right like the approved design,
   but make English copy LTR */

html[lang="en"] .header-store-copy {
  direction: ltr;
  text-align: left;
  align-items: flex-start;
}


/* Main application preview */

html[lang="en"] .app-demo-screen,
html[lang="en"] .app-demo-card,
html[lang="en"] .app-demo-quick,
html[lang="en"] .app-demo-nav {
  direction: ltr;
}


/* Misbaha preview */

html[lang="en"] .showcase-phone--misbaha .showcase-phone-screen,
html[lang="en"] .misbaha-preview,
html[lang="en"] .misbaha-title-side,
html[lang="en"] .misbaha-controls,
html[lang="en"] .misbaha-dhikr-grid {
  direction: ltr;
}

html[lang="en"] .misbaha-title-side,
html[lang="en"] .misbaha-dhikr {
  text-align: left;
}


/* Widget preview */

html[lang="en"] .showcase-phone--widget .showcase-phone-screen,
html[lang="en"] .widget-preview,
html[lang="en"] .qibla-widget,
html[lang="en"] .qibla-widget-location {
  direction: ltr;
}

html[lang="en"] .qibla-widget-location {
  justify-content: flex-start;
}

html[lang="en"] .qibla-widget-time {
  direction: ltr;
}


/* Quran preview if present */

html[lang="en"] .quran-preview,
html[lang="en"] .quran-preview-top,
html[lang="en"] .quran-surah-card,
html[lang="en"] .quran-preview-continue {
  direction: ltr;
  text-align: left;
}


/* English UI text can require slightly more horizontal room */

html[lang="en"] .app-demo-card strong,
html[lang="en"] .app-demo-quick,
html[lang="en"] .misbaha-dhikr strong {
  letter-spacing: -.015em;
}


/* Mobile */

@media (max-width: 520px) {

  html[lang="en"] .header-store-copy strong {
    letter-spacing: -.02em;
  }

}


/* ENGLISH LTR MIRROR END */
