:root {
  --ink: #172827;
  --ink-soft: #687674;
  --green-950: #0d2322;
  --green-900: #142f2e;
  --green-850: #183938;
  --green-800: #204544;
  --green-700: #2f6260;
  --green-600: #3a7471;
  --green-100: #e3ece9;
  --cream: #f6f0e4;
  --cream-2: #ece1cf;
  --paper: #fffcf7;
  --gold: #e5a72a;
  --gold-light: #f4dca4;
  --line: rgba(16, 32, 29, 0.12);
  --line-dark: rgba(255, 255, 255, 0.12);
  --shadow: 0 28px 90px rgba(20, 47, 46, 0.14);
  --shadow-soft: 0 18px 50px rgba(20, 47, 46, 0.09);
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 38px;
  --container: min(1200px, calc(100vw - 40px));
  --display: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --arabic: "Noto Naskh Arabic", "Traditional Arabic", Tahoma, serif;
}

html[data-theme="dark"] {
  --ink: #f4f0e7;
  --ink-soft: #b7c0bc;
  --cream: #081f1b;
  --cream-2: #0b2b25;
  --paper: #0d2924;
  --line: rgba(255, 255, 255, 0.11);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.3);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--gold-light); color: #17322b; }

.skip-link {
  position: fixed;
  inset-inline-start: 12px;
  top: -100px;
  z-index: 9999;
  padding: 10px 16px;
  border-radius: 10px;
  background: white;
  color: #062f28;
}
.skip-link:focus { top: 12px; }

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .025;
  z-index: 2000;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
.cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  opacity: .12;
  background: radial-gradient(circle, rgba(229, 167, 42, .42), transparent 67%);
  filter: blur(6px);
  transition: opacity .3s ease;
}

.container { width: var(--container); margin-inline: auto; position: relative; z-index: 2; }
.section-dark { background: var(--green-950); color: white; }
.section-light { background: var(--paper); }
.section-cream { background: var(--cream); }

.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 1000;
  padding: 12px 20px;
  transition: transform .35s ease, background .35s ease;
}
.site-header.is-scrolled .header-shell {
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-color: var(--line);
  box-shadow: 0 14px 50px rgba(0, 20, 17, .13);
  backdrop-filter: blur(20px);
  color: var(--ink);
}
.header-shell {
  max-width: 1280px;
  margin-inline: auto;
  min-height: 68px;
  padding: 8px 10px 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid transparent;
  border-radius: 20px;
  color: white;
  transition: .35s ease;
}
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand img { width: 44px; height: 44px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.08; }
.brand-copy strong { font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: -.03em; }
.brand-copy small { margin-top: 5px; text-transform: uppercase; letter-spacing: .19em; font-size: 8px; opacity: .62; }
.desktop-nav { display: flex; align-items: center; gap: 34px; margin-inline: auto; }
.desktop-nav a { position: relative; font-size: 14px; opacity: .76; transition: opacity .2s ease; }
.desktop-nav a:hover, .desktop-nav a.is-active { opacity: 1; }
.desktop-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -10px;
  height: 2px;
  transform: scaleX(0);
  background: var(--gold);
  transform-origin: center;
  transition: transform .25s ease;
}
.desktop-nav a:hover::after, .desktop-nav a.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-button, .language-button, .menu-button {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: inherit;
  height: 42px;
  border-radius: 13px;
  cursor: pointer;
  transition: .2s ease;
}
.site-header.is-scrolled .icon-button,
.site-header.is-scrolled .language-button,
.site-header.is-scrolled .menu-button { border-color: var(--line); background: transparent; }
.icon-button { width: 42px; }
.language-button { padding-inline: 13px; font-size: 13px; }
.icon-button:hover, .language-button:hover, .menu-button:hover { border-color: var(--gold); transform: translateY(-1px); }
.menu-button { display: none; width: 42px; position: relative; }
.menu-button span { position: absolute; width: 18px; height: 1.5px; background: currentColor; left: 11px; transition: .25s ease; }
.menu-button span:first-child { top: 16px; }
.menu-button span:last-child { top: 24px; }
.menu-button[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }
.mobile-menu {
  max-width: 1280px;
  margin: 8px auto 0;
  padding: 12px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
  color: var(--ink);
}
.mobile-menu a { display: block; padding: 13px 14px; border-radius: 11px; }
.mobile-menu a:hover { background: var(--cream); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 19px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 650;
  font-size: 14px;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.985); }
.button-primary { color: #173126; background: linear-gradient(180deg, #f2d797, #cda452); box-shadow: 0 12px 32px rgba(202, 157, 67, .2), inset 0 1px rgba(255,255,255,.7); }
.button-primary:hover { box-shadow: 0 18px 40px rgba(202, 157, 67, .28), inset 0 1px rgba(255,255,255,.7); }
.button-ghost { color: inherit; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.035); }
.button-ghost:hover { border-color: rgba(255,255,255,.36); background: rgba(255,255,255,.08); }
.button-small { min-height: 42px; padding: 9px 14px; border-radius: 12px; font-size: 13px; }
.button-large { min-height: 56px; padding: 15px 22px; border-radius: 17px; }
.button-full { width: 100%; }
.button-orb { width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center; background: rgba(7,47,40,.12); }
.play-dot { font-size: 10px; color: var(--gold-light); }

.hero {
  position: relative;
  min-height: 900px;
  padding-top: 150px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(2, 29, 25, 1) 0%, rgba(3, 36, 31, .98) 54%, rgba(2, 25, 22, 1) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 220px;
  background: linear-gradient(to top, rgba(1,19,16,.72), transparent);
  pointer-events: none;
}
.hero-pattern, .library-pattern {
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(30deg, transparent 46%, rgba(224,190,111,.12) 47%, rgba(224,190,111,.12) 48%, transparent 49%),
    linear-gradient(150deg, transparent 46%, rgba(224,190,111,.08) 47%, rgba(224,190,111,.08) 48%, transparent 49%);
  background-size: 68px 118px;
  mask-image: linear-gradient(90deg, transparent 0 56%, black 88%, transparent);
}
.hero-light { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.hero-light-one { width: 620px; height: 620px; right: 4%; top: 5%; background: rgba(28, 117, 87, .19); }
.hero-light-two { width: 360px; height: 360px; right: 29%; top: 16%; background: rgba(211, 166, 77, .1); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 34px; min-height: 650px; }
.hero-copy { position: relative; z-index: 4; max-width: 650px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px 7px 8px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .03em;
}
.eyebrow-dark { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: rgba(255,255,255,.78); }
.hero h1, .section-heading h2, .section-intro h2, .path-copy h2, .values-heading h2, .support-copy h2 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .98;
}
.hero h1 { margin: 27px 0 24px; max-width: 720px; font-size: clamp(56px, 6.6vw, 96px); }
.hero h1 em, .section-heading h2 em, .section-intro h2 em, .path-copy h2 em, .values-heading h2 em, .support-copy h2 em { color: var(--gold-light); font-style: normal; }
.hero-lead { max-width: 580px; color: rgba(255,255,255,.66); font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-promises { display: flex; align-items: stretch; gap: 0; margin-top: 44px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 25px; }
.hero-promises div { min-width: 135px; padding-inline: 20px; border-inline-start: 1px solid rgba(255,255,255,.12); }
.hero-promises div:first-child { padding-inline-start: 0; border-inline-start: 0; }
.hero-promises strong { display: block; font-family: var(--display); font-size: 28px; font-weight: 500; color: var(--gold-light); }
.hero-promises span { display: block; color: rgba(255,255,255,.5); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }

.hero-visual { min-height: 670px; position: relative; z-index: 3; }
.visual-stage { position: relative; width: 100%; height: 670px; perspective: 1200px; transform-style: preserve-3d; }
.arch-frame { position: absolute; right: -90px; top: 3px; width: 430px; height: 645px; border: 1px solid rgba(226,193,112,.25); border-radius: 230px 230px 24px 24px; overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(0,0,0,.07)); }
.arch-frame::before {
  content: "";
  position: absolute;
  inset: 35px;
  border-radius: 190px 190px 16px 16px;
  border: 1px solid rgba(226,193,112,.18);
  background:
    radial-gradient(circle at 50% 28%, rgba(209,164,76,.16), transparent 25%),
    linear-gradient(135deg, transparent 47%, rgba(223,190,110,.08) 48%, rgba(223,190,110,.08) 50%, transparent 51%);
  background-size: auto, 38px 38px;
}
.arch-frame span { position: absolute; left: 15%; right: 15%; bottom: 0; height: 38%; background: radial-gradient(ellipse at bottom, rgba(200,154,67,.18), transparent 70%); }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.orbit-one { width: 540px; height: 540px; right: -15px; top: 65px; transform: rotate(-8deg); }
.orbit-two { width: 390px; height: 390px; right: 80px; top: 140px; border-color: rgba(210,167,80,.13); }

.phone {
  position: absolute;
  border: 1px solid rgba(255,255,255,.17);
  background: #071714;
  box-shadow: 0 45px 90px rgba(0,0,0,.45), inset 0 0 0 5px rgba(255,255,255,.025);
  color: white;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .25s ease, opacity .45s ease, filter .45s ease;
}
.phone::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.08), transparent 28%); }
.phone-main { width: 305px; height: 615px; border-radius: 43px; right: 90px; top: 20px; padding: 22px 19px; z-index: 5; }
.phone-main::after { content: ""; position: absolute; left: 50%; top: 10px; width: 92px; height: 24px; border-radius: 999px; transform: translateX(-50%); background: #020807; }
.phone-bar { display: flex; justify-content: space-between; font-size: 9px; color: rgba(255,255,255,.75); position: relative; z-index: 3; }
.phone-greeting { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; }
.phone-greeting div { display: flex; flex-direction: column; }
.phone-greeting small { color: rgba(255,255,255,.46); font-size: 10px; }
.phone-greeting strong { font-family: var(--display); font-size: 19px; font-weight: 500; }
.notification-dot { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.prayer-card { margin-top: 19px; padding: 19px; min-height: 175px; border-radius: 24px; border: 1px solid rgba(109,213,166,.14); background: radial-gradient(circle at 90% 20%, rgba(32,129,91,.28), transparent 38%), linear-gradient(145deg, rgba(17,97,70,.28), rgba(255,255,255,.025)); }
.prayer-card-top { display: flex; justify-content: space-between; color: rgba(255,255,255,.55); font-size: 10px; }
.prayer-card > strong { display: block; font-family: var(--display); font-size: 34px; font-weight: 500; margin-top: 15px; }
.prayer-time { display: flex; align-items: baseline; gap: 11px; }
.prayer-time b { font-family: var(--display); font-size: 27px; font-weight: 500; }
.prayer-time small { color: rgba(255,255,255,.45); font-size: 9px; }
.prayer-line { height: 4px; background: rgba(255,255,255,.08); margin-top: 16px; border-radius: 99px; position: relative; }
.prayer-line span { display: block; width: 63%; height: 100%; background: linear-gradient(90deg, var(--gold), #e8cf8f); border-radius: inherit; }
.prayer-line i { position: absolute; left: 63%; top: 50%; width: 9px; height: 9px; border: 2px solid #e8cf8f; background: #13362e; border-radius: 50%; transform: translate(-50%, -50%); }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.quick-grid span { padding: 10px 4px; display: grid; place-items: center; gap: 5px; border-radius: 15px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06); }
.quick-grid b { color: #e4c981; font-size: 16px; }
.quick-grid small { color: rgba(255,255,255,.58); font-size: 8px; }
.daily-card { margin-top: 15px; padding: 15px; border-radius: 20px; border: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.025); }
.daily-card > small:first-child { color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .1em; font-size: 7px; }
.daily-card p { margin: 13px 0 8px; font-family: var(--arabic); font-size: 16px; line-height: 1.8; color: #f0e7d5; }
.daily-card span { display: block; color: rgba(255,255,255,.54); font-size: 9px; line-height: 1.5; }
.daily-card > small:last-child { color: var(--gold-light); font-size: 8px; }
.phone-side { width: 200px; height: 410px; border-radius: 32px; padding: 17px 15px; top: 150px; filter: saturate(.8); opacity: .78; }
.phone-side-left { left: 0; z-index: 2; transform: rotateY(18deg) rotateZ(-4deg) scale(.92); }
.phone-side-right { right: -12px; z-index: 3; transform: rotateY(-18deg) rotateZ(4deg) scale(.92); }
.mini-logo { display: flex; align-items: center; gap: 8px; margin-top: 22px; }
.mini-logo img { width: 30px; height: 30px; border-radius: 9px; }
.mini-logo strong { font-size: 13px; }
.focus-ring { width: 96px; height: 96px; margin: 24px auto 15px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#69cbb0 0 42%, rgba(255,255,255,.08) 42%); position: relative; }
.focus-ring::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #0a2420; }
.focus-ring span { position: relative; z-index: 2; font-family: var(--display); font-size: 22px; }
.mini-title { display: block; margin: 11px 0; font-family: var(--display); font-size: 17px; font-weight: 500; }
.memorize-lines { display: grid; gap: 9px; }
.memorize-lines span { height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); }
.memorize-lines span:nth-child(2) { width: 73%; }
.memorize-lines span:nth-child(3) { width: 86%; }
.phone-side button { width: 100%; margin-top: 22px; padding: 10px; border: 0; border-radius: 12px; color: #112e26; background: #a6dfcc; font-weight: 700; font-size: 10px; }
.habit-row { display: flex; align-items: center; gap: 9px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 10px; color: rgba(255,255,255,.68); }
.habit-row i { width: 20px; height: 20px; border: 1px solid rgba(232,202,129,.34); border-radius: 7px; display: grid; place-items: center; color: var(--gold-light); font-style: normal; }
.stability { margin-top: 20px; padding: 14px; border-radius: 15px; background: rgba(255,255,255,.04); display: flex; justify-content: space-between; font-size: 10px; }
.stability b { color: var(--gold-light); }
.floating-app { position: absolute; width: 52px; height: 52px; border-radius: 17px; padding: 0; border: 1px solid rgba(255,255,255,.18); background: rgba(4,33,29,.7); box-shadow: 0 16px 30px rgba(0,0,0,.3); cursor: pointer; z-index: 10; transition: .25s ease; backdrop-filter: blur(15px); }
.floating-app img { width: 100%; height: 100%; border-radius: 16px; }
.floating-app:hover, .floating-app.is-active { transform: translateY(-5px) scale(1.05); border-color: rgba(238,210,145,.7); }
.floating-noor { right: 24px; top: 90px; }
.floating-hafizun { left: 42px; top: 72px; }
.floating-mutaba { right: 9px; bottom: 83px; }
.floating-minhaj { left: 35px; bottom: 74px; }
.privacy-float { position: absolute; right: 80px; bottom: 5px; z-index: 8; display: flex; align-items: center; gap: 12px; min-width: 250px; padding: 13px 15px; }
.glass-card { border: 1px solid rgba(255,255,255,.13); background: rgba(8,35,30,.72); box-shadow: 0 16px 50px rgba(0,0,0,.3); border-radius: 18px; backdrop-filter: blur(18px); }
.privacy-float > span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-light); background: rgba(200,154,67,.1); }
.privacy-float div { display: flex; flex-direction: column; }
.privacy-float strong { font-size: 12px; }
.privacy-float small { color: rgba(255,255,255,.48); font-size: 9px; }
.visual-stage[data-focus="hafizun"] .phone-main { transform: translateX(90px) scale(.88); opacity: .5; }
.visual-stage[data-focus="hafizun"] .phone-side-left { transform: translateX(145px) translateY(-35px) rotateY(0) rotateZ(0) scale(1.25); opacity: 1; filter: none; z-index: 7; }
.visual-stage[data-focus="mutaba"] .phone-main { transform: translateX(-85px) scale(.88); opacity: .5; }
.visual-stage[data-focus="mutaba"] .phone-side-right { transform: translateX(-125px) translateY(-35px) rotateY(0) rotateZ(0) scale(1.25); opacity: 1; filter: none; z-index: 7; }
.visual-stage[data-focus="minhaj"] .phone-main { filter: hue-rotate(115deg); }

.trust-ribbon { position: relative; z-index: 5; margin-top: 50px; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(1, 18, 15, .58); backdrop-filter: blur(12px); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); min-height: 128px; }
.trust-grid > div { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; align-content: center; column-gap: 15px; padding: 22px 27px; border-inline-start: 1px solid rgba(255,255,255,.09); }
.trust-grid > div:first-child { border-inline-start: 0; }
.trust-icon { grid-row: 1 / span 2; align-self: center; width: 45px; height: 45px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-light); border: 1px solid rgba(238,207,133,.2); background: rgba(238,207,133,.06); }
.trust-grid strong { align-self: end; font-family: var(--display); font-size: 24px; font-weight: 500; }
.trust-grid small { color: rgba(255,255,255,.48); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }

.daily-rhythm { padding: 110px 0; }
.rhythm-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--green-600); text-transform: uppercase; letter-spacing: .18em; font-weight: 750; font-size: 10px; }
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.section-heading h2, .section-intro h2, .path-copy h2, .values-heading h2, .support-copy h2 { margin: 18px 0 22px; font-size: clamp(42px, 5vw, 68px); }
.section-heading h2 em, .section-intro:not(.section-intro-dark) h2 em, .path-copy h2 em, .values-heading h2 em, .support-copy h2 em { color: var(--green-700); }
.section-heading p, .path-copy > p, .support-copy > p { max-width: 510px; color: var(--ink-soft); font-size: 16px; line-height: 1.8; }
.today-panel { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow); overflow: hidden; position: relative; }
.today-panel::before { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid var(--line); box-shadow: 0 0 0 26px rgba(200,154,67,.035), 0 0 0 52px rgba(200,154,67,.025); }
.today-top { display: flex; justify-content: space-between; align-items: center; padding: 24px 27px; border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.today-top div { display: flex; flex-direction: column; }
.today-top small { color: var(--ink-soft); }
.today-top strong { font-size: 15px; }
.today-top > span { padding: 8px 12px; border-radius: 999px; background: var(--cream); color: var(--green-700); font-size: 11px; font-weight: 700; }
.today-content { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: center; padding: 38px 38px 34px; position: relative; z-index: 2; }
.today-symbol { width: 115px; height: 115px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; background: radial-gradient(circle, rgba(200,154,67,.12), transparent 70%); }
.today-symbol span { font-size: 42px; color: var(--gold); }
.today-label { color: var(--green-600); font-weight: 700; text-transform: uppercase; letter-spacing: .11em; font-size: 9px; }
.today-content p { margin: 12px 0 7px; font-family: var(--arabic); font-size: 34px; line-height: 1.65; }
.today-content strong { display: block; font-family: var(--display); font-size: 21px; font-weight: 500; }
.today-content small { color: var(--ink-soft); }
.today-actions { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.today-actions button, .today-actions a { display: flex; justify-content: space-between; align-items: center; min-height: 60px; padding: 16px 24px; border: 0; background: transparent; cursor: pointer; color: var(--ink); font-weight: 650; font-size: 13px; transition: background .2s ease; }
.today-actions > * + * { border-inline-start: 1px solid var(--line); }
.today-actions button:hover, .today-actions a:hover { background: var(--cream); }

.apps-section { padding: 120px 0; position: relative; overflow: hidden; }
.apps-section::before { content: ""; position: absolute; left: -220px; top: 200px; width: 480px; height: 480px; border-radius: 50%; border: 1px solid var(--line); box-shadow: 0 0 0 48px rgba(8,82,67,.025), 0 0 0 96px rgba(8,82,67,.02); }
.section-intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: end; margin-bottom: 58px; }
.section-intro h2 { margin-bottom: 0; }
.section-intro > p { color: var(--ink-soft); line-height: 1.8; max-width: 480px; margin: 0 0 7px auto; }
.app-experience { display: grid; grid-template-columns: 270px 1fr; gap: 16px; }
.app-tabs { display: flex; flex-direction: column; gap: 10px; }
.app-tab { min-height: 92px; padding: 13px; display: flex; align-items: center; gap: 13px; text-align: start; border: 1px solid var(--line); border-radius: 20px; background: color-mix(in srgb, var(--paper) 75%, transparent); cursor: pointer; transition: .25s ease; }
.app-tab:hover { transform: translateX(4px); border-color: rgba(14,106,84,.3); }
html[dir="rtl"] .app-tab:hover { transform: translateX(-4px); }
.app-tab.is-active { background: var(--green-850); color: white; border-color: var(--green-850); box-shadow: 0 18px 45px rgba(5,58,49,.18); }
.app-tab img { width: 54px; height: 54px; border-radius: 15px; }
.app-tab span { display: flex; flex-direction: column; }
.app-tab strong { font-family: var(--display); font-size: 18px; font-weight: 500; }
.app-tab small { font-size: 10px; color: var(--ink-soft); }
.app-tab.is-active small { color: rgba(255,255,255,.5); }
.app-showcase { min-height: 470px; display: grid; grid-template-columns: .9fr 1.1fr; position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--green-850); color: white; box-shadow: var(--shadow); }
.app-showcase::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 80% 50%, rgba(255,255,255,.07) 0 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(90deg, transparent 45%, black); }
.showcase-copy { position: relative; z-index: 3; padding: 50px; }
.showcase-icon img { width: 72px; height: 72px; border-radius: 21px; box-shadow: 0 15px 40px rgba(0,0,0,.2); }
.status-pill { display: inline-flex; align-items: center; gap: 7px; color: #bde9d6; margin-top: 24px; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: #66d9aa; box-shadow: 0 0 0 5px rgba(102,217,170,.1); }
.showcase-copy h3 { margin: 12px 0 3px; font-family: var(--display); font-size: 46px; line-height: 1; font-weight: 500; }
.showcase-copy > p { margin: 0; color: rgba(255,255,255,.62); }
.showcase-copy ul { list-style: none; padding: 0; margin: 27px 0; display: grid; gap: 10px; }
.showcase-copy li { position: relative; padding-inline-start: 23px; color: rgba(255,255,255,.72); font-size: 13px; }
.showcase-copy li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--gold-light); }
.showcase-actions { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.platforms { display: flex; gap: 6px; }
.platforms b { font-size: 9px; font-weight: 600; padding: 7px 9px; border: 1px solid rgba(255,255,255,.12); border-radius: 9px; color: rgba(255,255,255,.55); }
.showcase-device { position: relative; min-height: 470px; z-index: 3; display: grid; place-items: center; overflow: hidden; }
.device-halo { position: absolute; width: 430px; height: 430px; border-radius: 50%; background: radial-gradient(circle, rgba(210,166,77,.21), transparent 66%); }
.device-frame { width: 230px; height: 470px; border-radius: 38px; border: 1px solid rgba(255,255,255,.25); padding: 8px; background: #020908; box-shadow: 0 34px 75px rgba(0,0,0,.42); transform: rotate(5deg); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.app-showcase:hover .device-frame { transform: rotate(2deg) translateY(-7px); }
.device-screen { width: 100%; height: 100%; border-radius: 31px; overflow: hidden; position: relative; padding: 15px 14px; background: linear-gradient(160deg,#0b4d40,#061d19); }
.device-notch { position: absolute; z-index: 5; width: 78px; height: 21px; left: 50%; top: 14px; transform: translateX(-50%); border-radius: 99px; background: #020706; }
.screen-header { display: flex; justify-content: space-between; font-size: 8px; color: rgba(255,255,255,.7); }
.screen-content { margin-top: 28px; }
.screen-welcome small { color: rgba(255,255,255,.5); font-size: 9px; }
.screen-welcome h4 { margin: 3px 0 14px; font-family: var(--display); font-size: 24px; font-weight: 500; }
.screen-hero-card { padding: 16px; border-radius: 19px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); }
.screen-hero-card small { color: rgba(255,255,255,.45); font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.screen-hero-card strong { display: block; margin-top: 7px; font-family: var(--display); font-size: 26px; font-weight: 500; }
.screen-hero-card span { color: rgba(255,255,255,.55); font-size: 9px; }
.screen-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; margin-top: 11px; }
.screen-grid span { min-height: 66px; padding: 10px; border-radius: 15px; display: flex; flex-direction: column; justify-content: space-between; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.06); font-size: 9px; color: rgba(255,255,255,.65); }
.screen-grid b { color: var(--gold-light); font-size: 16px; }
.screen-list { margin-top: 11px; padding: 12px; border-radius: 16px; background: rgba(255,255,255,.04); }
.screen-list div { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; font-size: 8px; color: rgba(255,255,255,.58); border-bottom: 1px solid rgba(255,255,255,.05); }
.screen-list div:last-child { border: 0; }
.screen-list i { width: 17px; height: 17px; border-radius: 6px; border: 1px solid rgba(255,255,255,.16); }
.device-caption { position: absolute; bottom: 25px; padding: 8px 12px; border-radius: 999px; color: rgba(255,255,255,.7); background: rgba(2,22,18,.72); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(10px); font-size: 9px; }
.screen-minhaj { background: linear-gradient(160deg,#174e78,#091b38); }
.screen-hafizun { background: linear-gradient(160deg,#0d725f,#062f28); }
.screen-mutaba { background: linear-gradient(160deg,#805326,#35210f); }
.app-card-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 24px; }
.product-card { min-height: 300px; padding: 24px; position: relative; border: 1px solid var(--line); border-radius: 25px; background: color-mix(in srgb, var(--paper) 80%, transparent); transition: .28s ease; overflow: hidden; }
.product-card::after { content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%; right: -75px; bottom: -75px; border: 1px solid var(--line); box-shadow: 0 0 0 22px rgba(15,122,92,.025); }
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-soft); border-color: rgba(15,122,92,.28); }
.product-card > img { width: 60px; height: 60px; border-radius: 17px; }
.card-number { position: absolute; top: 25px; right: 24px; font-family: var(--display); color: var(--ink-soft); opacity: .5; }
html[dir="rtl"] .card-number { right: auto; left: 24px; }
.product-card h3 { margin: 28px 0 10px; font-family: var(--display); font-size: 25px; font-weight: 500; }
.product-card p { margin: 0; min-height: 74px; color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.product-card > div { position: absolute; inset-inline: 24px; bottom: 22px; display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 700; }
.product-card > div small { color: var(--ink-soft); font-weight: 500; }
.product-card button { width: 39px; height: 39px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); cursor: pointer; transition: .2s ease; }
.product-card button:hover { background: var(--green-800); color: white; transform: rotate(10deg); }

.library-section { padding: 120px 0; position: relative; overflow: hidden; }
.library-pattern { opacity: .1; mask-image: linear-gradient(90deg, black, transparent 55%, black); }
.section-intro-dark h2 em { color: var(--gold-light); }
.section-intro-dark > p { color: rgba(255,255,255,.55); }
.section-intro-dark .kicker { color: var(--gold-light); }
.library-shell { display: grid; grid-template-columns: 250px 1fr 250px; min-height: 510px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); overflow: hidden; background: rgba(255,255,255,.025); box-shadow: 0 40px 100px rgba(0,0,0,.24); }
.library-sidebar { padding: 18px; border-inline-end: 1px solid rgba(255,255,255,.1); }
.library-tab { width: 100%; min-height: 88px; padding: 15px; display: grid; grid-template-columns: 40px 1fr auto; gap: 11px; align-items: center; text-align: start; color: white; border: 0; border-radius: 18px; background: transparent; cursor: pointer; transition: .22s ease; }
.library-tab:hover { background: rgba(255,255,255,.04); }
.library-tab.is-active { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.library-tab > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: var(--gold-light); background: rgba(232,203,132,.08); }
.library-tab div { display: flex; flex-direction: column; }
.library-tab strong { font-family: var(--display); font-size: 17px; font-weight: 500; }
.library-tab small { color: rgba(255,255,255,.4); font-size: 9px; }
.library-tab i { font-style: normal; opacity: .4; }
.library-content { padding: 45px 55px; position: relative; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.library-content::after { content: ""; position: absolute; right: -140px; top: -140px; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(232,203,132,.13); box-shadow: 0 0 0 35px rgba(232,203,132,.018), 0 0 0 70px rgba(232,203,132,.012); }
.library-topline { position: absolute; top: 25px; inset-inline: 28px; display: flex; justify-content: space-between; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .13em; font-size: 9px; }
.library-topline button { color: white; width: 35px; height: 35px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; background: transparent; cursor: pointer; }
.content-emblem { color: var(--gold-light); font-size: 30px; }
.content-arabic { margin: 24px 0 12px; max-width: 650px; font-family: var(--arabic); font-size: 38px; line-height: 1.6; color: #f7efdf; }
.library-content h3 { margin: 0 0 9px; max-width: 600px; font-family: var(--display); font-size: 29px; font-weight: 500; }
.library-content > p:not(.content-arabic) { max-width: 600px; color: rgba(255,255,255,.52); font-size: 13px; }
.content-source { display: flex; align-items: center; gap: 11px; color: rgba(255,255,255,.42); font-size: 10px; }
.content-source i { width: 28px; height: 1px; background: rgba(255,255,255,.2); }
.content-continue { width: max-content; margin-top: 28px; padding: 12px 17px; display: inline-flex; align-items: center; gap: 18px; color: #18352d; background: var(--gold-light); border: 0; border-radius: 12px; font-weight: 750; font-size: 12px; cursor: pointer; }
.library-related { padding: 24px 18px; border-inline-start: 1px solid rgba(255,255,255,.1); }
.library-related > span { display: block; margin: 5px 10px 18px; color: rgba(255,255,255,.36); text-transform: uppercase; letter-spacing: .13em; font-size: 9px; }
.library-related button { width: 100%; min-height: 93px; padding: 15px 12px; display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; text-align: start; color: white; border: 0; border-bottom: 1px solid rgba(255,255,255,.08); background: transparent; cursor: pointer; transition: .2s ease; }
.library-related button:hover { padding-inline-start: 17px; background: rgba(255,255,255,.035); }
.library-related b { font-family: var(--display); color: var(--gold-light); font-size: 18px; }
.library-related span { font-size: 12px; }
.library-related i { font-style: normal; opacity: .35; }

.path-section { padding: 120px 0; }
.path-grid { display: grid; grid-template-columns: 1fr .82fr; gap: 90px; align-items: center; }
.path-options { margin-top: 34px; display: grid; gap: 10px; }
.path-options button { width: 100%; min-height: 70px; display: grid; grid-template-columns: 45px 1fr auto; gap: 14px; align-items: center; padding: 11px 14px; text-align: start; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); cursor: pointer; transition: .24s ease; }
.path-options button:hover, .path-options button.is-active { transform: translateX(7px); border-color: rgba(15,122,92,.38); box-shadow: var(--shadow-soft); }
html[dir="rtl"] .path-options button:hover, html[dir="rtl"] .path-options button.is-active { transform: translateX(-7px); }
.path-options button > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--cream); color: var(--green-700); }
.path-options strong { font-size: 14px; }
.path-options i { font-style: normal; color: var(--green-700); }
.recommendation-card { min-height: 520px; padding: 36px; position: relative; overflow: hidden; color: white; border-radius: var(--radius-lg); background: linear-gradient(145deg, var(--green-850), var(--green-950)); box-shadow: var(--shadow); }
.recommendation-card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border: 1px solid rgba(232,203,132,.16); border-radius: 50%; box-shadow: 0 0 0 25px rgba(232,203,132,.025), 0 0 0 50px rgba(232,203,132,.015); }
.recommendation-top { display: flex; justify-content: space-between; color: rgba(255,255,255,.42); text-transform: uppercase; letter-spacing: .12em; font-size: 9px; position: relative; z-index: 2; }
.recommendation-card > img { width: 88px; height: 88px; margin-top: 52px; border-radius: 25px; position: relative; z-index: 2; box-shadow: 0 20px 45px rgba(0,0,0,.23); }
.recommendation-card h3 { margin: 28px 0 8px; font-family: var(--display); font-size: 44px; font-weight: 500; position: relative; z-index: 2; }
.recommendation-card > p { color: rgba(255,255,255,.58); max-width: 420px; font-size: 14px; line-height: 1.75; position: relative; z-index: 2; }
.recommendation-features { display: flex; flex-wrap: wrap; gap: 7px; margin: 24px 0 28px; position: relative; z-index: 2; }
.recommendation-features span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: rgba(255,255,255,.6); font-size: 9px; }
.recommendation-card .button { position: relative; z-index: 2; }

.values-section { padding: 110px 0; }
.values-heading { max-width: 760px; }
.values-grid { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 55px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values-grid article { min-height: 240px; padding: 34px 28px; border-inline-start: 1px solid var(--line); }
.values-grid article:first-child { border-inline-start: 0; }
.values-grid article > span { width: 51px; height: 51px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--green-700); font-size: 22px; }
.values-grid h3 { margin: 27px 0 10px; font-family: var(--display); font-size: 23px; font-weight: 500; }
.values-grid p { color: var(--ink-soft); font-size: 12px; line-height: 1.7; }

.support-section { padding: 120px 0; }
.support-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.support-points { margin-top: 40px; display: grid; gap: 18px; }
.support-points > div { display: grid; grid-template-columns: 45px 1fr; gap: 13px; align-items: start; }
.support-points > div > span { font-family: var(--display); color: var(--gold); font-size: 18px; }
.support-points p { margin: 0; display: flex; flex-direction: column; }
.support-points strong { font-size: 13px; }
.support-points small { color: var(--ink-soft); font-size: 11px; }
.contact-form { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-soft); }
.form-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; font-family: var(--display); font-size: 27px; }
.form-top img { width: 42px; height: 42px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 7px; margin-bottom: 14px; color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 13px 14px; color: var(--ink); background: var(--cream); border: 1px solid transparent; border-radius: 13px; outline: none; transition: .2s ease; }
.contact-form textarea { resize: vertical; min-height: 125px; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: rgba(15,122,92,.45); background: var(--paper); box-shadow: 0 0 0 4px rgba(15,122,92,.07); }
.privacy-note { margin: 4px 0 18px; color: var(--ink-soft); font-size: 10px; }
.hidden-field { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-footer { padding: 72px 0 24px; color: white; background: var(--green-950); }
.footer-top { display: grid; grid-template-columns: 1.25fr .65fr .65fr 1fr; gap: 55px; }
.footer-brand p, .footer-cta p { color: rgba(255,255,255,.45); font-size: 12px; line-height: 1.75; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links strong, .footer-cta > strong { margin-bottom: 8px; font-size: 12px; color: var(--gold-light); }
.footer-links a, .footer-links button { width: max-content; padding: 0; color: rgba(255,255,255,.52); border: 0; background: transparent; cursor: pointer; font-size: 11px; }
.footer-links a:hover, .footer-links button:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 60px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.35); font-size: 10px; }
.footer-bottom div { display: flex; gap: 18px; }
.footer-bottom button { padding: 0; color: inherit; border: 0; background: transparent; cursor: pointer; }

.app-modal, .quiz-modal {
  width: min(620px, calc(100vw - 28px));
  padding: 36px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 40px 120px rgba(0,0,0,.35);
}
.app-modal::backdrop, .quiz-modal::backdrop { background: rgba(1,17,14,.72); backdrop-filter: blur(9px); }
.modal-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; font-size: 23px; }
html[dir="rtl"] .modal-close { right: auto; left: 16px; }
.modal-app-head { display: flex; align-items: center; gap: 20px; }
.modal-app-head > img { width: 86px; height: 86px; border-radius: 25px; }
.modal-app-head .status-pill { color: var(--green-600); margin: 0; }
.modal-app-head h2 { margin: 8px 0 2px; font-family: var(--display); font-size: 35px; line-height: 1; font-weight: 500; }
.modal-app-head p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.modal-feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 30px 0; }
.modal-feature-grid span { min-height: 90px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 16px; background: var(--cream); color: var(--ink-soft); font-size: 11px; }
.modal-feature-grid span b { color: var(--green-700); font-size: 17px; }
.store-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.store-button { min-height: 62px; padding: 12px 15px; display: flex; align-items: center; gap: 12px; border-radius: 16px; color: white; background: var(--green-950); transition: .2s ease; }
.store-button:hover { transform: translateY(-2px); background: var(--green-800); }
.store-button > span { font-size: 22px; }
.store-button div { display: flex; flex-direction: column; line-height: 1.1; }
.store-button small { opacity: .55; font-size: 7px; }
.store-button strong { font-size: 15px; }
.modal-note { margin: 19px 0 0; display: flex; justify-content: center; gap: 8px; color: var(--ink-soft); font-size: 11px; }
.quiz-modal { width: min(690px, calc(100vw - 28px)); }
.quiz-modal h2 { margin: 15px 0 28px; font-family: var(--display); font-size: 39px; font-weight: 500; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.quiz-options button { min-height: 100px; display: grid; grid-template-columns: 45px 1fr auto; gap: 12px; align-items: center; padding: 15px; text-align: start; border: 1px solid var(--line); border-radius: 18px; background: var(--cream); cursor: pointer; transition: .2s ease; }
.quiz-options button:hover { border-color: rgba(15,122,92,.35); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.quiz-options button > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: var(--green-700); background: var(--paper); }
.quiz-options strong { font-size: 13px; }
.quiz-options i { font-style: normal; color: var(--green-700); }

.noscript { position: fixed; inset-inline: 12px; bottom: 12px; z-index: 9999; padding: 12px; color: white; background: #7d301f; border-radius: 12px; text-align: center; }

.reveal { opacity: 0; transform: translateY(25px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

html[dir="rtl"] body { font-family: Tahoma, Arial, sans-serif; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] .brand-copy strong { font-family: var(--arabic); letter-spacing: 0; }
html[dir="rtl"] .hero h1 { line-height: 1.15; }
html[dir="rtl"] .desktop-nav { margin-inline: auto; }
html[dir="rtl"] .hero-pattern { transform: scaleX(-1); }
html[dir="rtl"] .phone-main { right: auto; left: 90px; }
html[dir="rtl"] .phone-side-left { left: auto; right: 0; }
html[dir="rtl"] .phone-side-right { right: auto; left: -12px; }
html[dir="rtl"] .floating-noor { right: auto; left: 24px; }
html[dir="rtl"] .floating-hafizun { left: auto; right: 42px; }
html[dir="rtl"] .floating-mutaba { right: auto; left: 9px; }
html[dir="rtl"] .floating-minhaj { left: auto; right: 35px; }
html[dir="rtl"] .privacy-float { right: auto; left: 80px; }
html[dir="rtl"] .prayer-line i { left: auto; right: 63%; transform: translate(50%,-50%); }
html[dir="rtl"] .content-arabic { text-align: right; }

@media (max-width: 1100px) {
  .desktop-nav { gap: 20px; }
  .header-cta { display: none; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: clamp(52px, 7vw, 75px); }
  .phone-main { right: 25px; }
  .phone-side-left { left: -35px; }
  .phone-side-right { right: -80px; }
  .floating-noor { right: -8px; }
  .privacy-float { right: 15px; }
  .app-showcase { grid-template-columns: 1fr 1fr; }
  .showcase-copy { padding: 38px; }
  .library-shell { grid-template-columns: 220px 1fr; }
  .library-related { display: none; }
  .support-grid, .path-grid { gap: 55px; }
}

@media (max-width: 900px) {
  .cursor-glow { display: none; }
  .desktop-nav { display: none; }
  .menu-button { display: block; }
  .hero { padding-top: 125px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 740px; }
  .hero-visual { min-height: 640px; }
  .visual-stage { max-width: 650px; margin-inline: auto; }
  .phone-main { right: 50%; transform: translateX(50%); }
  html[dir="rtl"] .phone-main { left: 50%; transform: translateX(-50%); }
  .phone-side-left { left: 10px; }
  .phone-side-right { right: 10px; }
  .arch-frame { right: 50%; transform: translateX(50%); }
  .floating-noor { right: 70px; }
  .floating-hafizun { left: 70px; }
  .floating-mutaba { right: 60px; }
  .floating-minhaj { left: 60px; }
  .privacy-float { right: 50%; transform: translateX(50%); }
  html[dir="rtl"] .privacy-float { left: 50%; right: auto; transform: translateX(-50%); }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid > div:nth-child(3) { border-inline-start: 0; border-top: 1px solid rgba(255,255,255,.09); }
  .trust-grid > div:nth-child(4) { border-top: 1px solid rgba(255,255,255,.09); }
  .rhythm-grid, .section-intro, .path-grid, .support-grid { grid-template-columns: 1fr; gap: 45px; }
  .section-intro > p { margin: 0; }
  .app-experience { grid-template-columns: 1fr; }
  .app-tabs { display: grid; grid-template-columns: repeat(4,1fr); }
  .app-tab { min-height: 115px; flex-direction: column; align-items: flex-start; }
  .app-tab img { width: 48px; height: 48px; }
  .app-card-grid { grid-template-columns: 1fr 1fr; }
  .library-shell { grid-template-columns: 1fr; }
  .library-sidebar { display: grid; grid-template-columns: repeat(4,1fr); border-inline-end: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .library-tab { min-height: 100px; grid-template-columns: 1fr; gap: 5px; text-align: center; place-items: center; }
  .library-tab div { align-items: center; }
  .library-tab i { display: none; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .values-grid article:nth-child(3) { border-inline-start: 0; border-top: 1px solid var(--line); }
  .values-grid article:nth-child(4) { border-top: 1px solid var(--line); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --container: min(100% - 28px, 1200px); }
  .site-header { padding: 8px; }
  .header-shell { min-height: 60px; padding: 6px 7px 6px 10px; }
  .brand img { width: 38px; height: 38px; }
  .brand-copy strong { font-size: 18px; }
  .brand-copy small { font-size: 6px; }
  .language-button { display: none; }
  .hero { padding-top: 110px; }
  .hero h1 { margin-top: 22px; font-size: clamp(43px, 13vw, 62px); }
  .hero-lead { font-size: 15px; }
  .hero-actions { display: grid; }
  .button-large { width: 100%; }
  .hero-promises { display: grid; grid-template-columns: repeat(3,1fr); }
  .hero-promises div { min-width: 0; padding-inline: 10px; }
  .hero-promises strong { font-size: 23px; }
  .hero-promises span { font-size: 8px; }
  .hero-visual { min-height: 555px; }
  .visual-stage { height: 555px; }
  .arch-frame { width: 320px; height: 520px; }
  .phone-main { width: 250px; height: 510px; border-radius: 37px; padding: 19px 15px; top: 6px; }
  .phone-main::after { width: 72px; height: 19px; }
  .phone-greeting { margin-top: 24px; }
  .prayer-card { min-height: 145px; padding: 14px; }
  .prayer-card > strong { font-size: 27px; margin-top: 10px; }
  .quick-grid { gap: 5px; }
  .quick-grid span { padding: 7px 2px; }
  .daily-card { padding: 11px; }
  .daily-card p { margin: 8px 0 5px; font-size: 14px; }
  .phone-side { width: 160px; height: 330px; top: 115px; opacity: .45; }
  .phone-side-left { left: -65px; }
  .phone-side-right { right: -65px; }
  .floating-app { width: 43px; height: 43px; border-radius: 14px; }
  .floating-noor { right: 12px; top: 55px; }
  .floating-hafizun { left: 12px; top: 55px; }
  .floating-mutaba { right: 9px; bottom: 50px; }
  .floating-minhaj { left: 9px; bottom: 50px; }
  .privacy-float { min-width: 220px; bottom: -5px; }
  .trust-ribbon { margin-top: 28px; }
  .trust-grid > div { padding: 16px 12px; grid-template-columns: 38px 1fr; column-gap: 10px; }
  .trust-icon { width: 36px; height: 36px; }
  .trust-grid strong { font-size: 18px; }
  .trust-grid small { font-size: 7px; }
  .daily-rhythm, .apps-section, .library-section, .path-section, .values-section, .support-section { padding: 82px 0; }
  .section-heading h2, .section-intro h2, .path-copy h2, .values-heading h2, .support-copy h2 { font-size: 42px; }
  .today-top { align-items: flex-start; padding: 19px; }
  .today-top > span { font-size: 9px; }
  .today-content { grid-template-columns: 1fr; padding: 28px 22px; }
  .today-symbol { width: 75px; height: 75px; }
  .today-content p { font-size: 28px; }
  .today-actions { grid-template-columns: 1fr; }
  .today-actions > * + * { border-inline-start: 0; border-top: 1px solid var(--line); }
  .app-tabs { grid-template-columns: 1fr 1fr; }
  .app-tab { min-height: 94px; flex-direction: row; }
  .app-showcase { grid-template-columns: 1fr; min-height: auto; }
  .showcase-copy { padding: 28px; }
  .showcase-copy h3 { font-size: 39px; }
  .showcase-device { min-height: 450px; border-top: 1px solid rgba(255,255,255,.1); }
  .device-frame { height: 420px; width: 205px; }
  .app-card-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 270px; }
  .library-sidebar { grid-template-columns: 1fr 1fr; }
  .library-tab { min-height: 85px; }
  .library-content { padding: 75px 24px 35px; min-height: 470px; }
  .content-arabic { font-size: 31px; }
  .library-content h3 { font-size: 25px; }
  .recommendation-card { padding: 27px; min-height: 500px; }
  .values-grid { grid-template-columns: 1fr; }
  .values-grid article, .values-grid article:nth-child(3), .values-grid article:nth-child(4) { border-inline-start: 0; border-top: 1px solid var(--line); }
  .values-grid article:first-child { border-top: 0; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 15px; }
  .modal-feature-grid, .store-grid, .quiz-options { grid-template-columns: 1fr; }
  .app-modal, .quiz-modal { padding: 27px 20px; }
  .modal-app-head { align-items: flex-start; }
  .modal-app-head > img { width: 66px; height: 66px; }
  .quiz-modal h2 { font-size: 31px; }
}

@media (hover: none) {
  .cursor-glow { display: none; }
}

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

/* Official icon system imported from NoorPath.net */
.ui-icon { width: 1em; height: 1em; display: inline-block; flex: 0 0 auto; vertical-align: -0.14em; overflow: visible; }
.ui-icon use { pointer-events: none; }
.theme-icon .ui-icon { width: 19px; height: 19px; }
.button .ui-icon, .content-continue .ui-icon, .today-actions .ui-icon, .library-related .ui-icon, .path-options .ui-icon, .quiz-options .ui-icon { width: 18px; height: 18px; }
.quick-grid b .ui-icon, .screen-grid b .ui-icon { width: 19px; height: 19px; }
.prayer-card-top .ui-icon, .notification-dot .ui-icon { width: 17px; height: 17px; }
.habit-row i .ui-icon { width: 13px; height: 13px; }
.trust-icon .ui-icon { width: 21px; height: 21px; }
.today-symbol .ui-icon { width: 32px; height: 32px; }
.library-tab > span .ui-icon { width: 22px; height: 22px; }
.content-emblem .ui-icon { width: 42px; height: 42px; }
.path-options button > span .ui-icon, .quiz-options button > span .ui-icon { width: 22px; height: 22px; }
.values-grid article > span .ui-icon { width: 28px; height: 28px; }
.store-button > span .ui-icon { width: 24px; height: 24px; }
.modal-note .ui-icon { width: 17px; height: 17px; }
.app-tab img, .showcase-icon img, .product-card > img, .recommendation-card > img, .modal-app-head > img, .floating-app img, .mini-logo img { object-fit: cover; object-position: center; }
.app-tab img, .showcase-icon img, .product-card > img, .recommendation-card > img, .modal-app-head > img { background: #073f35; }
img[src$="hafizun-logo.webp"] { object-fit: contain !important; background: #143e31; }

.product-card button .ui-icon, .library-topline button .ui-icon { width: 17px; height: 17px; }


/* Free web tools */
.web-tools-section{padding:110px 0}.web-tools-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:38px}.web-tools-grid>a{min-height:280px;padding:25px;border-radius:24px;background:var(--surface,#fff);border:1px solid rgba(10,66,53,.12);display:flex;flex-direction:column;box-shadow:0 24px 60px rgba(7,63,53,.08);transition:transform .25s ease,box-shadow .25s ease}.web-tools-grid>a:hover{transform:translateY(-7px);box-shadow:0 32px 75px rgba(7,63,53,.14)}.web-tools-grid>a>span{width:54px;height:54px;border-radius:17px;display:grid;place-items:center;background:#e6f1ec;color:#0b5b49;font-size:25px}.web-tools-grid h3{font-size:22px;margin:24px 0 9px}.web-tools-grid p{color:#64736d;margin:0 0 24px}.web-tools-grid strong{margin-top:auto;color:#0b5b49;font-size:14px}.dark-theme .web-tools-grid>a,html[data-theme="dark"] .web-tools-grid>a{background:#10201b;border-color:rgba(255,255,255,.08)}html[data-theme="dark"] .web-tools-grid p{color:#a8b9b3}@media(max-width:1000px){.web-tools-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.web-tools-section{padding:75px 0}.web-tools-grid{grid-template-columns:1fr}.web-tools-grid>a{min-height:230px}}


/* Official logo palette refinements */
.hero-pattern{background-image:radial-gradient(circle at center,rgba(229,167,42,.10) 0 1px,transparent 1.5px),url('/assets/brand/logo-mark-dark.png');background-size:28px 28px,560px 560px;background-position:center,calc(100% + 175px) -175px;background-repeat:repeat,no-repeat;opacity:.20}
.hero-light{background:rgba(229,167,42,.13)}
.button-primary{background:linear-gradient(180deg,#f0bb4b,#e5a72a);color:#142f2e;box-shadow:0 13px 30px rgba(229,167,42,.22)}
.button-primary:hover{box-shadow:0 17px 38px rgba(229,167,42,.31)}
.section-dark{background:var(--tt-teal-deep)}
.site-footer{background:var(--tt-teal-deep)}
.form-top .official-logo-mark{filter:none}
html[data-theme="dark"] .header-shell,html[data-theme="dark"] .site-header.is-scrolled .header-shell{background:color-mix(in srgb,var(--tt-teal-deep) 90%,transparent)}


/* Arabic-only Qur'an excerpts: explanatory UI may localize, revealed verses do not. */
.daily-card .quran-arabic{margin-bottom:8px}
.today-content .quran-arabic{margin-bottom:12px}
.content-arabic.quran-arabic{font-family:var(--arabic)!important}
@media(max-width:640px){.today-content .quran-arabic{font-size:clamp(27px,8vw,34px)}}
