/* ==========================================================================
   NÉON MEDIA — Base Design System
   Fonts · Tokens · Themes · Layout · Header · Motion · Utilities
   ========================================================================== */

/* ----------------------------- Fonts ------------------------------------ */
/* WOFF2 subsets (Arabic + Latin) — ~85% lighter than the original TTFs.
   font-display: swap keeps text visible while the font streams in. */
@font-face {
  font-family: 'Cairo';
  src: url('assets/fonts/Cairo-arabic.woff2') format('woff2');
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'Cairo';
  src: url('assets/fonts/Cairo-latin-ext.woff2') format('woff2');
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cairo';
  src: url('assets/fonts/Cairo-latin.woff2') format('woff2');
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Tajawal';
  src: url('assets/fonts/Tajawal-400-arabic.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'Tajawal';
  src: url('assets/fonts/Tajawal-400-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Tajawal';
  src: url('assets/fonts/Tajawal-500-arabic.woff2') format('woff2');
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'Tajawal';
  src: url('assets/fonts/Tajawal-500-latin.woff2') format('woff2');
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Tajawal';
  src: url('assets/fonts/Tajawal-800-arabic.woff2') format('woff2');
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'Tajawal';
  src: url('assets/fonts/Tajawal-800-latin.woff2') format('woff2');
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Lalezar — خط العرض الثقيل من الصور المرجعية */
@font-face {
  font-family: 'Lalezar';
  src: url('Lalezar-arabic.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'Lalezar';
  src: url('Lalezar-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ----------------------------- Tokens ----------------------------------- */
:root {
  --font-display: 'Lalezar', 'Cairo', 'Tajawal', system-ui, sans-serif;
  --font-body: 'Tajawal', 'Cairo', system-ui, sans-serif;

  --neon-cyan: #22e7ff;
  --neon-magenta: #ff3ddc;
  --neon-violet: #8b5cff;
  --neon-lime: #b7ff3c;
  --neon-amber: #ffb84d;

  --accent: var(--neon-cyan);
  --accent-2: var(--neon-violet);
  --accent-3: var(--neon-magenta);
  --accent-rgb: 34, 231, 255;
  --accent-2-rgb: 139, 92, 255;
  --accent-3-rgb: 255, 61, 220;

  --bg: #04060c;
  --bg-2: #070b14;
  --bg-3: #0a0f1c;
  --surface: rgba(12, 19, 34, 0.66);
  --surface-solid: #0b1220;
  --surface-2: rgba(18, 27, 46, 0.72);
  --surface-3: rgba(255, 255, 255, 0.04);
  --glass: rgba(9, 15, 27, 0.58);
  --glass-strong: rgba(7, 12, 22, 0.86);
  --header-bg: rgba(5, 8, 16, 0.94);
  --text: #f4f8ff;
  --text-soft: #dbe5f7;
  --muted: #93a3c2;
  --muted-2: #6e7e9e;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.15);
  --field-bg: rgba(255, 255, 255, 0.035);
  --field-border: rgba(255, 255, 255, 0.12);

  --gradient: linear-gradient(115deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  --gradient-soft: linear-gradient(135deg, rgba(var(--accent-rgb), 0.18), rgba(var(--accent-2-rgb), 0.12), rgba(var(--accent-3-rgb), 0.16));
  --gradient-line: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), var(--accent-3), transparent);

  --shadow-neon: 0 0 42px rgba(var(--accent-rgb), 0.22);
  --shadow-pink: 0 0 42px rgba(var(--accent-3-rgb), 0.18);
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 24px 70px -24px rgba(0, 0, 0, 0.7);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --container: 1240px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --cursor: default;
}

html[data-accent='magenta'] {
  --accent: #ff3ddc;
  --accent-2: #8b5cff;
  --accent-3: #22e7ff;
  --accent-rgb: 255, 61, 220;
  --accent-2-rgb: 139, 92, 255;
  --accent-3-rgb: 34, 231, 255;
}
html[data-accent='violet'] {
  --accent: #8b5cff;
  --accent-2: #22e7ff;
  --accent-3: #ff3ddc;
  --accent-rgb: 139, 92, 255;
  --accent-2-rgb: 34, 231, 255;
  --accent-3-rgb: 255, 61, 220;
}
html[data-accent='lime'] {
  --accent: #b7ff3c;
  --accent-2: #22e7ff;
  --accent-3: #ff3ddc;
  --accent-rgb: 183, 255, 60;
  --accent-2-rgb: 34, 231, 255;
  --accent-3-rgb: 255, 61, 220;
}

html[data-theme='light'] {
  --bg: #f2f6ff;
  --bg-2: #eaf1ff;
  --bg-3: #e3ebfb;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-solid: #ffffff;
  --surface-2: rgba(255, 255, 255, 0.9);
  --surface-3: rgba(10, 20, 40, 0.04);
  --glass: rgba(255, 255, 255, 0.7);
  --glass-strong: rgba(255, 255, 255, 0.92);
  --header-bg: rgba(248, 251, 255, 0.94);
  --text: #081020;
  --text-soft: #1c2b48;
  --muted: #52627f;
  --muted-2: #7a89a5;
  --line: rgba(10, 25, 55, 0.1);
  --line-strong: rgba(10, 25, 55, 0.18);
  --field-bg: rgba(9, 22, 45, 0.035);
  --field-border: rgba(10, 25, 55, 0.14);
  --shadow-soft: 0 20px 60px rgba(24, 48, 96, 0.12);
  --shadow-card: 0 24px 65px -28px rgba(24, 48, 96, 0.32);
  --shadow-neon: 0 0 38px rgba(var(--accent-rgb), 0.18);
  --shadow-pink: 0 0 38px rgba(var(--accent-3-rgb), 0.14);
}

/* ============================================================
   BEIGE — «بيج أنيق» — لوحات المخبوزات والقهوة (من LIBERTA)
   ============================================================ */
html[data-accent='beige'] {
  --accent: #9a5433;
  --accent-2: #6f3f1f;
  --accent-3: #c08b5c;
  --accent-rgb: 154, 84, 51;
  --accent-2-rgb: 111, 63, 31;
  --accent-3-rgb: 192, 139, 92;
  --gradient: linear-gradient(115deg, #6f3f1f 0%, #9a5433 46%, #c08b5c 100%);
  --gradient-soft: linear-gradient(135deg, rgba(154, 84, 51, 0.16), rgba(192, 139, 92, 0.15), rgba(111, 63, 31, 0.11));
  --gradient-line: linear-gradient(90deg, transparent, #9a5433, #c08b5c, #6f3f1f, transparent);

  --bg: #fdf6e6;
  --bg-2: #f4ead9;
  --bg-3: #ece0d0;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #fffdf8;
  --surface-2: rgba(255, 255, 255, 0.92);
  --surface-3: rgba(90, 61, 43, 0.06);
  --glass: rgba(253, 246, 230, 0.72);
  --glass-strong: rgba(253, 246, 230, 0.94);
  --header-bg: rgba(253, 246, 230, 0.94);
  --text: #5a3d2b;
  --text-soft: #6f5038;
  --muted: #7a5f4b;
  --muted-2: #9a8268;
  --line: rgba(90, 61, 43, 0.13);
  --line-strong: rgba(90, 61, 43, 0.22);
  --field-bg: rgba(90, 61, 43, 0.05);
  --field-border: rgba(90, 61, 43, 0.18);
  --shadow-soft: 0 22px 58px rgba(90, 61, 43, 0.17);
  --shadow-card: 0 28px 64px -26px rgba(90, 61, 43, 0.42);
  --shadow-neon: 0 0 46px rgba(154, 84, 51, 0.32);
  --shadow-pink: 0 0 46px rgba(192, 139, 92, 0.3);
  color-scheme: light;
}

/* ----------------------------- Reset ------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.07rem;
  line-height: 1.9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.5s ease, color 0.5s ease;
}

body.is-loading { overflow: hidden; }

::selection {
  background: rgba(var(--accent-rgb), 0.32);
  color: var(--text);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}
a:hover { color: var(--accent-2); }

img,
svg,
video { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
  margin: 0 0 0.5em;
  letter-spacing: -0.4px;
}

p { margin: 0 0 1rem; color: var(--text-soft); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }
strong { font-weight: 800; color: var(--text); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 6px;
}

.container,
.container-fluid,
.container-lg,
.container-xl {
  width: 100%;
  padding-inline: 1.25rem;
  margin-inline: auto;
}
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: var(--container); } }

/* ----------------------------- Scrollbar -------------------------------- */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--accent), var(--accent-2), var(--accent-3));
  border-radius: 20px;
  border: 3px solid var(--bg-2);
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ----------------------------- Background FX ---------------------------- */
.bg-effects {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 8%, rgba(var(--accent-rgb), 0.13), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(var(--accent-3-rgb), 0.12), transparent 32%),
    radial-gradient(circle at 50% 100%, rgba(var(--accent-2-rgb), 0.12), transparent 42%),
    var(--bg);
}
html[data-theme='light'] .bg-effects {
  background:
    radial-gradient(circle at 12% 8%, rgba(var(--accent-rgb), 0.18), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(var(--accent-3-rgb), 0.14), transparent 32%),
    radial-gradient(circle at 50% 100%, rgba(var(--accent-2-rgb), 0.16), transparent 42%),
    var(--bg);
}

.bg-effects::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 78%);
  opacity: 0.55;
}
html[data-theme='light'] .bg-effects::before {
  background-image:
    linear-gradient(rgba(10, 35, 80, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 35, 80, 0.055) 1px, transparent 1px);
}

.bg-effects::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  opacity: 0.045;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  opacity: 0.34;
  will-change: transform;
}
.aurora--1 {
  width: 44vw;
  height: 44vw;
  top: -14vw;
  inset-inline-start: -10vw;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.6), transparent 68%);
  animation: auroraFloat 18s ease-in-out infinite alternate;
}
.aurora--2 {
  width: 38vw;
  height: 38vw;
  top: 22vh;
  inset-inline-end: -12vw;
  background: radial-gradient(circle, rgba(var(--accent-3-rgb), 0.52), transparent 68%);
  animation: auroraFloat 22s ease-in-out 3s infinite alternate-reverse;
}
.aurora--3 {
  width: 40vw;
  height: 40vw;
  bottom: -16vw;
  inset-inline-start: 28vw;
  background: radial-gradient(circle, rgba(var(--accent-2-rgb), 0.5), transparent 68%);
  animation: auroraFloat 26s ease-in-out 6s infinite alternate;
}
html[data-theme='light'] .aurora { opacity: 0.26; }

@keyframes auroraFloat {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4vw, 5vh, 0) scale(1.12); }
  100% { transform: translate3d(-3vw, -4vh, 0) scale(0.94); }
}

/* ----------------------------- Cursor ----------------------------------- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 0.3s ease;
}
.cursor-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent), 0 0 24px rgba(var(--accent-rgb), 0.6);
}
.cursor-ring {
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border: 1.5px solid rgba(var(--accent-rgb), 0.55);
  box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.18), inset 0 0 18px rgba(var(--accent-rgb), 0.08);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), margin 0.25s var(--ease), border-color 0.25s ease, opacity 0.3s ease;
}
body.cursor-active .cursor-dot,
body.cursor-active .cursor-ring { opacity: 1; }
body.cursor-hover .cursor-ring {
  width: 62px;
  height: 62px;
  margin: -31px 0 0 -31px;
  border-color: rgba(var(--accent-3-rgb), 0.75);
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ----------------------------- Scroll progress -------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: 3px;
  z-index: 10040;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--gradient);
  box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.9), 0 0 30px rgba(var(--accent-3-rgb), 0.5);
  transition: width 0.12s linear;
}

/* ----------------------------- Preloader -------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(var(--accent-rgb), 0.12), transparent 38%),
    radial-gradient(circle at 50% 58%, rgba(var(--accent-3-rgb), 0.1), transparent 42%),
    var(--bg);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.preloader::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, #000, transparent 65%);
  -webkit-mask-image: radial-gradient(circle at center, #000, transparent 65%);
}
.preloader.is-done {
  opacity: 0;
  visibility: hidden;
}
.preloader__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  width: min(360px, 82vw);
}
.loader-mark {
  position: relative;
  width: 118px;
  height: 118px;
  margin: 0 auto 1.8rem;
  display: grid;
  place-items: center;
}
.loader-mark img {
  width: 66px;
  height: 66px;
  filter: drop-shadow(0 0 16px rgba(var(--accent-rgb), 0.7));
  animation: loaderPulse 1.8s ease-in-out infinite;
}
.loader-mark::before,
.loader-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid transparent;
}
.loader-mark::before {
  border-top-color: var(--accent);
  border-inline-end-color: var(--accent-2);
  animation: spin 1.4s linear infinite;
  box-shadow: 0 0 22px rgba(var(--accent-rgb), 0.14);
}
.loader-mark::after {
  inset: 12px;
  border-bottom-color: var(--accent-3);
  border-inline-start-color: var(--accent);
  animation: spin 2.2s linear infinite reverse;
  opacity: 0.55;
}
.preloader__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--text);
  margin-bottom: 1.2rem;
}
.preloader__title span {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--muted);
}
.loader-bar {
  position: relative;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 0.8rem;
}
html[data-theme='light'] .loader-bar { background: rgba(10, 30, 70, 0.1); }
.loader-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--gradient);
  box-shadow: 0 0 16px rgba(var(--accent-rgb), 0.8);
  transition: width 0.25s ease;
}
.preloader__percent {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 1px;
}
.preloader__hint {
  margin-top: 1.4rem;
  font-size: 0.8rem;
  color: var(--muted);
  opacity: 0.7;
}
@keyframes loaderPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 14px rgba(var(--accent-rgb), 0.55)); }
  50% { transform: scale(1.07); filter: drop-shadow(0 0 26px rgba(var(--accent-rgb), 0.85)); }
}

/* ----------------------------- Welcome / Quran gate --------------------- */
.welcome-gate {
  position: fixed;
  inset: 0;
  z-index: 10045;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 50% 35%, rgba(var(--accent-rgb), 0.16), transparent 38%),
    radial-gradient(circle at 60% 70%, rgba(var(--accent-3-rgb), 0.14), transparent 42%),
    rgba(3, 6, 12, 0.96);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
html[data-theme='light'] .welcome-gate { background: rgba(240, 246, 255, 0.9); }
.welcome-gate.is-open { opacity: 1; visibility: visible; }
.welcome-gate.is-closing { opacity: 0; visibility: hidden; }
.welcome-card {
  position: relative;
  width: min(520px, 100%);
  padding: 2.8rem 2rem 2.2rem;
  text-align: center;
  border-radius: var(--radius-xl);
  background: var(--glass-strong);
  border: 1px solid var(--line);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5), 0 0 60px rgba(var(--accent-rgb), 0.08);
  overflow: hidden;
}
.welcome-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(var(--accent-rgb), 0.7), transparent 32%, transparent 68%, rgba(var(--accent-3-rgb), 0.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.welcome-card__logo {
  width: 78px;
  height: 78px;
  margin: 0 auto 1.1rem;
  filter: drop-shadow(0 0 24px rgba(var(--accent-rgb), 0.65));
  animation: floatY 4s ease-in-out infinite;
}
.welcome-card__bismillah {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.4rem;
  line-height: 1.7;
}
.welcome-card h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}
.welcome-card p {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 1.6rem;
}
.welcome-card__track {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--accent);
  opacity: 0.9;
}
.welcome-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}
.audio-equalizer {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
  margin-inline-end: 8px;
  vertical-align: middle;
}
.audio-equalizer i {
  display: block;
  width: 3px;
  border-radius: 3px;
  background: currentColor;
  height: 6px;
  animation: equalize 1s ease-in-out infinite;
}
.audio-equalizer i:nth-child(2) { animation-delay: 0.15s; }
.audio-equalizer i:nth-child(3) { animation-delay: 0.3s; }
.audio-equalizer i:nth-child(4) { animation-delay: 0.45s; }
.audio-equalizer.is-paused i { animation-play-state: paused; height: 4px; opacity: 0.5; }
@keyframes equalize {
  0%, 100% { height: 4px; }
  50% { height: 16px; }
}

/* ----------------------------- Announcement ----------------------------- */
.announcement {
  position: relative;
  z-index: 1025;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.13), rgba(var(--accent-2-rgb), 0.1), rgba(var(--accent-3-rgb), 0.13));
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.15);
  font-size: 0.86rem;
  overflow: hidden;
}
.announcement__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.55rem 0;
  color: var(--text-soft);
  text-align: center;
}
.announcement__inner svg { flex: 0 0 auto; color: var(--accent); }
.announcement a { color: var(--accent); font-weight: 700; white-space: nowrap; }
.announcement a:hover { text-decoration: underline; }
.announcement__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulseDot 1.8s ease-in-out infinite;
}

/* ----------------------------- Header ----------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--header-bg);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s var(--ease);
}
.site-header::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.35), rgba(var(--accent-3-rgb), 0.3), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.site-header.is-scrolled {
  background: var(--glass-strong);
  border-color: var(--line);
  box-shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.75);
}
.site-header.is-scrolled::after { opacity: 1; }

.navbar {
  min-height: var(--header-h);
  padding: 0;
  --bs-navbar-padding-y: 0;
}
.navbar > .container { display: flex; align-items: center; gap: 1rem; }

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0;
  margin: 0;
  flex: 0 0 auto;
}
.brand-mark {
  position: relative;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(var(--accent-rgb), 0.06);
  border: 1px solid rgba(var(--accent-rgb), 0.16);
  box-shadow: inset 0 0 22px rgba(var(--accent-rgb), 0.06);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.3s ease;
}
.navbar-brand:hover .brand-mark {
  transform: rotate(-6deg) scale(1.04);
  box-shadow: 0 0 28px rgba(var(--accent-rgb), 0.22);
}
.brand-mark img { width: 34px; height: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text);
}
.brand-text span {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 3.2px;
  color: var(--muted);
  direction: ltr;
  text-align: right;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-inline: auto;
}
.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  border-radius: 10px;
  transition: color 0.25s ease, background 0.25s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  inset-inline: 50%;
  bottom: 2px;
  height: 2px;
  width: 0;
  border-radius: 2px;
  background: var(--gradient);
  box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.7);
  transform: translateX(50%);
  transition: width 0.3s var(--ease), inset-inline 0.3s var(--ease);
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--text); background: rgba(255, 255, 255, 0.035); }
.nav-links a:hover::after,
.nav-links a.is-active::after { width: 42%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
}
.icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.25s ease;
}
html[data-theme='light'] .icon-btn { background: rgba(255, 255, 255, 0.55); }
.icon-btn:hover {
  color: var(--accent);
  border-color: rgba(var(--accent-rgb), 0.4);
  box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.18);
  transform: translateY(-2px);
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn .moon-icon { display: none; }
html[data-theme='light'] .icon-btn .moon-icon { display: block; }
html[data-theme='light'] .icon-btn .sun-icon { display: none; }
.icon-btn.is-on { color: var(--accent); border-color: rgba(var(--accent-rgb), 0.4); }
.icon-btn__badge {
  position: absolute;
  top: 2px;
  inset-inline-end: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 10px var(--accent-3);
}

.nav-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.05rem;
  border-radius: 99px;
  font-size: 0.83rem;
  font-weight: 700;
  color: #04140c;
  background: linear-gradient(135deg, #35f5a0, #14c97a);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 24px rgba(37, 211, 102, 0.22);
  white-space: nowrap;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease;
}
.nav-whatsapp:hover {
  color: #04140c;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.34);
}
.nav-whatsapp svg { width: 16px; height: 16px; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  cursor: pointer;
  place-items: center;
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 19px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s ease, background 0.3s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1029;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 1.5rem 3rem;
  background: var(--glass-strong);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  max-width: 420px;
  width: 100%;
  margin-inline: auto;
}
.mobile-menu__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-soft);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  transition: color 0.25s ease, padding-inline 0.25s ease;
}
.mobile-menu.is-open .mobile-menu__nav a {
  animation: menuIn 0.5s var(--ease) forwards;
}
.mobile-menu__nav a:nth-child(1) { animation-delay: 0.05s; }
.mobile-menu__nav a:nth-child(2) { animation-delay: 0.1s; }
.mobile-menu__nav a:nth-child(3) { animation-delay: 0.15s; }
.mobile-menu__nav a:nth-child(4) { animation-delay: 0.2s; }
.mobile-menu__nav a:nth-child(5) { animation-delay: 0.25s; }
.mobile-menu__nav a:nth-child(6) { animation-delay: 0.3s; }
.mobile-menu__nav a:hover { color: var(--accent); padding-inline-start: 0.5rem; }
.mobile-menu__nav a span { font-size: 0.7rem; color: var(--muted); font-family: var(--font-body); direction: ltr; }
.mobile-menu__footer {
  max-width: 420px;
  width: 100%;
  margin: 1.75rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.84rem;
}
.mobile-menu__socials { display: flex; gap: 0.55rem; }
@keyframes menuIn { to { opacity: 1; transform: none; } }

/* ----------------------------- Buttons ---------------------------------- */
.btn {
  --bs-btn-focus-box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.18);
  font-family: var(--font-body);
  border-radius: 99px;
  font-weight: 700;
}

.btn-neon,
.btn-ghost,
.btn-soft,
.btn-outline-neon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.65rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  border-radius: 99px;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn-neon {
  color: #031014;
  background: var(--gradient);
  background-size: 180% 180%;
  box-shadow: 0 8px 34px -8px rgba(var(--accent-rgb), 0.6), 0 0 28px rgba(var(--accent-3-rgb), 0.18);
}
/* Keep the shimmer on the single hero CTA only — animating every button repaints constantly. */
.hero .btn-neon.btn-lg { animation: gradientShift 7s ease infinite; }
.btn-neon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.5) 48%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}
.btn-neon:hover {
  color: #031014;
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 16px 44px -10px rgba(var(--accent-rgb), 0.75), 0 0 44px rgba(var(--accent-3-rgb), 0.28);
}
.btn-neon:hover::before { transform: translateX(120%); }
.btn-neon svg, .btn-ghost svg, .btn-soft svg, .btn-outline-neon svg { width: 18px; height: 18px; flex: 0 0 auto; }

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
}
html[data-theme='light'] .btn-ghost { background: rgba(255, 255, 255, 0.7); }
.btn-ghost:hover {
  color: var(--accent);
  border-color: rgba(var(--accent-rgb), 0.45);
  background: rgba(var(--accent-rgb), 0.06);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px -14px rgba(var(--accent-rgb), 0.4);
}
.btn-soft {
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.08);
  border-color: rgba(var(--accent-rgb), 0.22);
}
.btn-soft:hover { color: var(--accent); background: rgba(var(--accent-rgb), 0.14); transform: translateY(-2px); }
.btn-outline-neon {
  color: var(--accent);
  background: transparent;
  border-color: rgba(var(--accent-rgb), 0.5);
}
.btn-outline-neon:hover {
  color: #041014;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 28px rgba(var(--accent-rgb), 0.4);
}
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.82rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; pointer-events: none; }

.btn-wa {
  color: #04140c;
  background: linear-gradient(135deg, #35f5a0, #12c979);
  border: none;
  box-shadow: 0 8px 28px -8px rgba(37, 211, 102, 0.5);
}
.btn-wa:hover { color: #04140c; transform: translateY(-2px); box-shadow: 0 14px 36px -10px rgba(37, 211, 102, 0.6); }

/* ----------------------------- Typography utils ------------------------- */
.text-gradient {
  background: var(--gradient);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-accent { color: var(--accent) !important; }
.text-muted { color: var(--muted) !important; }
.fw-black { font-weight: 900 !important; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.9rem;
  border-radius: 99px;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  background: rgba(var(--accent-rgb), 0.055);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.4;
}
.eyebrow .pulse-dot,
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.12), 0 0 12px rgba(var(--accent-rgb), 0.45);
  flex: 0 0 auto;
}
.eyebrow--pink {
  border-color: rgba(var(--accent-3-rgb), 0.24);
  background: rgba(var(--accent-3-rgb), 0.06);
  color: var(--accent-3);
}
.eyebrow--pink .pulse-dot { background: var(--accent-3); }
.gradient-line {
  display: block;
  width: 64px;
  height: 3px;
  border-radius: 3px;
  background: var(--gradient);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.5);
}

.section {
  position: relative;
  padding: clamp(4.5rem, 8vw, 8rem) 0;
}
.section--tight { padding: clamp(3rem, 5vw, 5rem) 0; }
.section--alt {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(var(--accent-2-rgb), 0.06), transparent 55%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.014) 18%, rgba(255, 255, 255, 0.014) 82%, transparent);
}
html[data-theme='light'] .section--alt {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(var(--accent-2-rgb), 0.08), transparent 55%),
    linear-gradient(180deg, transparent, rgba(10, 35, 80, 0.03) 18%, rgba(10, 35, 80, 0.03) 82%, transparent);
}

.section-head {
  position: relative;
  max-width: 760px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head h2 {
  font-size: clamp(1.9rem, 4.3vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.8px;
  margin-bottom: 0.75rem;
}
.section-head p {
  color: var(--muted);
  font-size: clamp(0.95rem, 1.6vw, 1.06rem);
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 0;
}
.section-head--start { text-align: start; margin-inline: 0; }
.section-head--start p { margin-inline: 0; }

.divider-glow {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

/* ----------------------------- Glass / cards ---------------------------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.card-neon {
  position: relative;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.045), transparent 38%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}
.card-neon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(var(--accent-rgb), 0.45), transparent 28%, transparent 70%, rgba(var(--accent-3-rgb), 0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.card-neon:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--accent-rgb), 0.18);
  box-shadow: 0 32px 80px -30px rgba(0, 0, 0, 0.8), 0 0 50px rgba(var(--accent-rgb), 0.07);
}
.card-neon:hover::before { opacity: 1; }
html[data-theme='light'] .card-neon {
  background:
    linear-gradient(160deg, rgba(var(--accent-rgb), 0.045), transparent 42%),
    rgba(255, 255, 255, 0.8);
}
.spotlight {
  --mx: 50%;
  --my: 50%;
}
.spotlight::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx) var(--my), rgba(var(--accent-rgb), 0.12), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.spotlight:hover::after { opacity: 1; }

/* ----------------------------- Reveal ----------------------------------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
html.js [data-reveal='left'] { transform: translate3d(-40px, 0, 0); }
html.js [data-reveal='right'] { transform: translate3d(40px, 0, 0); }
html.js [data-reveal='scale'] { transform: scale(0.92); }
html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ----------------------------- Animations ------------------------------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes floatX {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(10px); }
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(var(--accent-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes marqueeRtl {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}
@keyframes marqueeLtr {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

/* ----------------------------- Toast ------------------------------------ */
.toast-stack {
  position: fixed;
  bottom: 1.4rem;
  inset-inline-start: 1.4rem;
  z-index: 10060;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: min(360px, calc(100vw - 2.8rem));
  pointer-events: none;
}
.toast-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--text-soft);
  font-size: 0.87rem;
  line-height: 1.6;
  pointer-events: auto;
  animation: toastIn 0.4s var(--ease) both;
}
.toast-item.is-out { animation: toastOut 0.35s ease forwards; }
.toast-item svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; }
.toast-item--success { border-color: rgba(53, 245, 160, 0.25); }
.toast-item--success svg { color: #35f5a0; }
.toast-item--error { border-color: rgba(255, 92, 92, 0.3); }
.toast-item--error svg { color: #ff6b6b; }
.toast-item--info { border-color: rgba(var(--accent-rgb), 0.28); }
.toast-item--info svg { color: var(--accent); }
@keyframes toastOut { to { opacity: 0; transform: translateY(12px) scale(0.96); } }

/* ----------------------------- Helpers ---------------------------------- */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  top: -100px;
  inset-inline-start: 1rem;
  z-index: 10070;
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  background: var(--accent);
  color: #041014;
  font-weight: 800;
  transition: top 0.25s ease;
}
.skip-link:focus { top: 1rem; color: #041014; }
.noscript-note {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 10070;
  padding: 0.8rem;
  text-align: center;
  background: #ffb84d;
  color: #231500;
  font-weight: 700;
}
.stretched-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-1x1 { aspect-ratio: 1 / 1; }
.ratio-3x4 { aspect-ratio: 3 / 4; }

/* ----------------------------- Reduced motion --------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .cursor-dot, .cursor-ring { display: none; }
  html.js [data-reveal] { opacity: 1; transform: none; filter: none; }
}

/* ----------------------------- Responsive header ------------------------ */
@media (max-width: 1199.98px) {
  .nav-links { gap: 0; }
  .nav-links a { padding-inline: 0.6rem; font-size: 0.84rem; }
  .nav-whatsapp span { display: none; }
  .nav-whatsapp { width: 40px; height: 40px; padding: 0; justify-content: center; }
}
@media (max-width: 991.98px) {
  :root { --header-h: 68px; }
  .aurora { animation: none !important; will-change: auto; }
  .nav-links { display: none; }
  .nav-toggle { display: grid; }
  .header-actions { margin-inline-start: auto; }
  .nav-whatsapp { display: none; }
  .brand-text strong { font-size: 1.05rem; }
}
@media (max-width: 575.98px) {
  body { line-height: 1.75; }
  .container { padding-inline: 1rem; }
  .brand-mark { width: 40px; height: 40px; border-radius: 12px; }
  .brand-mark img { width: 29px; height: 29px; }
  .brand-text span { letter-spacing: 2.4px; font-size: 0.5rem; }
  .header-actions { gap: 0.3rem; }
  .icon-btn { width: 37px; height: 37px; }
  .section { padding: 3.8rem 0; }
}


/* ==========================================================================
   إخفاء شارة «Powered by Netlify» (إن ظهرت) - خيار بديل
   ========================================================================== */
.netlify-badge,
#netlify-badge,
.netlify-hud,
[data-netlify-badge],
iframe[src*="netlify.com"][src*="badge"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}



/* إخفاء شارة Netlify (iframe) */
iframe[title*="Powered by Netlify"],
iframe[aria-label*="Powered by Netlify"],
iframe[src*="netlify"][src*="badge"],
iframe[src*="/.netlify/"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
}

