/* ============================================================
   ASCEND — Design System v4 "Cinematic Ascent"
   Palette (approved): #171821 #7555D9 #A18BEA #F2F0F7 (+ #292A35 #9A9AA8)
   Deep violets are blends of the approved palette, used for
   gradient depth only — the foundation is unchanged.
   References: Fund Fusion (cinematic cards) · Violime (editorial
   type) · RYNQ (lavender 3D environments).
   ============================================================ */

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../fonts/IBMPlexSansArabic-Light.ttf") format("truetype");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../fonts/IBMPlexSansArabic-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../fonts/IBMPlexSansArabic-Medium.ttf") format("truetype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../fonts/IBMPlexSansArabic-SemiBold.ttf") format("truetype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../fonts/IBMPlexSansArabic-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-var.ttf") format("truetype");
  font-weight: 200 800; font-style: normal; font-display: swap;
}

:root {
  --charcoal-900: #171821;
  --charcoal-800: #292A35;
  --purple-600: #7555D9;
  --lavender-400: #A18BEA;
  --cloud-50: #F2F0F7;
  --gray-500: #9A9AA8;

  /* depth shades — blends of the approved palette */
  --violet-900: #221C44;
  --violet-800: #3A2A78;
  --violet-700: #4B36A8;
  --violet-950: #1E1B30;
  --space: #131022;
  --ink: #12121A;
  --abyss: #0F0C1E;

  --bg: var(--charcoal-900);
  --surface-light: var(--cloud-50);
  --text: var(--cloud-50);
  --text-dark: var(--charcoal-900);
  --muted: var(--gray-500);
  --line: rgba(161, 139, 234, 0.22);
  --line-dark: rgba(23, 24, 33, 0.14);

  --font-ar: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --font-en: "Manrope", "IBM Plex Sans Arabic", sans-serif;

  --container: 1200px;
  --pad: clamp(20px, 4vw, 48px);
  --sec-space: clamp(90px, 11vw, 160px);

  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --grad-purple: linear-gradient(135deg, #7555D9 0%, #8F6FE3 55%, #A18BEA 100%);
  --grad-cta: radial-gradient(1000px 540px at 50% -24%, rgba(161, 139, 234, 0.55), transparent 62%),
              radial-gradient(700px 420px at 88% 110%, rgba(117, 85, 217, 0.4), transparent 60%),
              linear-gradient(180deg, #4B36A8 0%, #3A2A78 55%, #2E2358 100%);
  --glow-purple: 0 12px 38px -10px rgba(117, 85, 217, 0.7);
  --glow-purple-lg: 0 24px 70px -18px rgba(117, 85, 217, 0.85);
  --glass-bg: rgba(242, 240, 247, 0.06);
  --glass-line: rgba(242, 240, 247, 0.16);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-ar);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 1.0625rem;
  overflow-x: hidden;
}

/* fine film grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.no-scroll { overflow: hidden; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.3; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
[lang="en"] { font-family: var(--font-en); letter-spacing: 0.02em; }

::selection { background: var(--purple-600); color: #fff; }

:focus-visible {
  outline: 2px solid var(--lavender-400);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- Atmosphere ---------- */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(75px);
  will-change: transform;
}
.orb-1 { width: 520px; height: 520px; background: rgba(117, 85, 217, 0.36); animation: drift 24s ease-in-out infinite alternate; }
.orb-2 { width: 360px; height: 360px; background: rgba(161, 139, 234, 0.22); animation: drift 28s ease-in-out infinite alternate-reverse; }
.orb-3 { width: 280px; height: 280px; background: rgba(117, 85, 217, 0.24); animation: drift 20s ease-in-out infinite alternate; }

/* starfield — layered radial dot tiles (no JS, no images) */
.stars::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    radial-gradient(1.6px 1.6px at 24px 36px, rgba(255, 255, 255, 0.6), transparent 62%),
    radial-gradient(1.1px 1.1px at 122px 92px, rgba(216, 205, 255, 0.55), transparent 62%),
    radial-gradient(1.5px 1.5px at 208px 170px, rgba(255, 255, 255, 0.32), transparent 62%),
    radial-gradient(1px 1px at 66px 214px, rgba(161, 139, 234, 0.65), transparent 62%),
    radial-gradient(1.2px 1.2px at 262px 48px, rgba(255, 255, 255, 0.42), transparent 62%);
  background-size: 300px 300px;
  animation: twinkle 7s ease-in-out infinite alternate;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.55) 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.55) 55%, transparent 100%);
}

/* blueprint grid texture for light sections */
.grid-tex::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(117, 85, 217, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 85, 217, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(80% 90% at 50% 0%, #000, transparent 78%);
  mask-image: radial-gradient(80% 90% at 50% 0%, #000, transparent 78%);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 999px;
  font-family: var(--font-ar);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  cursor: pointer;
  overflow: hidden;
  border: 1px solid transparent;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
              background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn .ico { width: 20px; height: 20px; flex: none; }

.btn-primary {
  background: var(--grad-purple);
  color: #fff;
  box-shadow: var(--glow-purple), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, 0.4) 50%, transparent 68%);
  transform: translateX(130%);
  transition: transform 0.8s var(--ease);
  pointer-events: none;
}
.btn-primary:hover, .btn-primary:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--glow-purple-lg), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-primary:hover::after, .btn-primary:focus-visible::after { transform: translateX(-130%); }

.btn-ghost {
  background: var(--glass-bg);
  border-color: var(--glass-line);
  color: var(--cloud-50);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(161, 139, 234, 0.7);
  background: rgba(161, 139, 234, 0.16);
  box-shadow: 0 16px 40px -18px rgba(117, 85, 217, 0.6);
}
.btn:active { transform: translateY(-1px) scale(0.98); }

/* ---------- Header: floating pill chrome ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 60;
  padding-top: 18px;
  transition: padding 0.4s var(--ease);
}
.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease),
              box-shadow 0.45s var(--ease), -webkit-backdrop-filter 0.45s var(--ease), backdrop-filter 0.45s var(--ease);
}
.site-header.scrolled .header-inner {
  background: rgba(15, 12, 30, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  border-color: rgba(161, 139, 234, 0.2);
  box-shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.8);
}
.brand-logo { display: inline-flex; align-items: center; padding-inline-start: 10px; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.brand-logo:hover { opacity: 0.88; transform: translateY(-1px); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(242, 240, 247, 0.05);
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.site-nav a {
  position: relative;
  font-size: 0.94rem;
  font-weight: 500;
  color: rgba(242, 240, 247, 0.8);
  padding: 8px 15px;
  border-radius: 999px;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-nav a:hover { color: #fff; background: rgba(161, 139, 234, 0.14); }
.site-nav a.active { color: #fff; background: rgba(117, 85, 217, 0.35); }
.site-nav a.btn { font-weight: 700; color: #fff; padding: 11px 24px; margin-inline-start: 6px; }
.site-nav a.btn:hover { background: var(--grad-purple); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--glass-line);
  background: var(--glass-bg);
  cursor: pointer;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--cloud-50);
  transition: transform 0.35s var(--ease), opacity 0.3s var(--ease);
  content: "";
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(1px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-1px) rotate(-45deg); }

.nav-drawer {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 120px clamp(24px, 6vw, 48px) 40px;
  background: rgba(15, 12, 30, 0.93);
  -webkit-backdrop-filter: blur(26px) saturate(1.3);
  backdrop-filter: blur(26px) saturate(1.3);
  border-bottom: 1px solid rgba(161, 139, 234, 0.2);
  transform: translateY(-102%);
  visibility: hidden;
  transition: transform 0.55s var(--ease), visibility 0s linear 0.55s;
}
.nav-drawer.open {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.55s var(--ease);
}
.nav-drawer a {
  padding: 13px 6px;
  font-size: 1.12rem;
  font-weight: 500;
  color: rgba(242, 240, 247, 0.88);
  border-bottom: 1px solid rgba(161, 139, 234, 0.1);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), color 0.3s var(--ease);
}
.nav-drawer.open a { opacity: 1; transform: translateY(0); }
.nav-drawer.open a:nth-child(1) { transition-delay: 0.06s; }
.nav-drawer.open a:nth-child(2) { transition-delay: 0.1s; }
.nav-drawer.open a:nth-child(3) { transition-delay: 0.14s; }
.nav-drawer.open a:nth-child(4) { transition-delay: 0.18s; }
.nav-drawer.open a:nth-child(5) { transition-delay: 0.22s; }
.nav-drawer.open a:nth-child(6) { transition-delay: 0.26s; }
.nav-drawer.open a:nth-child(7) { transition-delay: 0.3s; }
.nav-drawer a:hover { color: var(--lavender-400); }
.nav-drawer a.btn { margin-top: 16px; border-bottom: none; color: #fff; justify-content: center; }

/* ---------- Section scaffolding ---------- */
section { position: relative; }
.sec-pad { padding-block: var(--sec-space); }
.on-light {
  background: linear-gradient(180deg, #F5F3FA 0%, var(--surface-light) 100%);
  color: var(--text-dark);
}
.on-light .muted { color: #6B6B7B; }
/* darker purple gradient for accent words on light backgrounds (contrast) */
.on-light .statement em, .on-light .final .sec-title span {
  background: linear-gradient(120deg, #7555D9 10%, #8F6FE3 55%, #7555D9 90%);
  -webkit-background-clip: text;
  background-clip: text;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--lavender-400);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.on-light .kicker, .env-lavender .kicker { color: var(--purple-600); }
.kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-purple);
}
.kicker[style*="center"]::after {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-purple);
}

.sec-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  max-width: 24ch;
}
.sec-lead { font-size: 1.14rem; color: rgba(242, 240, 247, 0.78); max-width: 58ch; }
.on-light .sec-lead, .env-lavender .sec-lead { color: #4A4A58; }
.muted { color: var(--muted); }

/* pill badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(242, 240, 247, 0.92);
  background: rgba(36, 30, 62, 0.55);
  border: 1px solid rgba(161, 139, 234, 0.4);
  box-shadow: 0 14px 36px -16px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  margin-bottom: 26px;
}
.badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad-purple);
  box-shadow: 0 0 12px rgba(161, 139, 234, 1);
  flex: none;
}

/* ============================================================
   HERO — full-bleed custom artwork (assets/img/art/hero-card.jpg)
   with controlled scrim; text sits over the artwork's dark side.
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding: 160px 0 0;
  background: #0F0C1E;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../img/art/hero-card.jpg") center / cover no-repeat;
  /* mirror the artwork: its lit card anchors the left, its calm dark
     dunes move to the right — the natural reading zone in RTL */
  scale: -1 1;
}
/* readability scrim: darken the right side (text zone), barely touch
   the lit card on the left */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(15, 12, 30, 0.16) 0%, rgba(15, 12, 30, 0.52) 46%, rgba(15, 12, 30, 0.94) 100%),
    linear-gradient(180deg, rgba(15, 12, 30, 0.5) 0%, transparent 26%, transparent 72%, rgba(15, 12, 30, 0.65) 100%);
}
.hero .orb-1 { top: -160px; inset-inline-end: -130px; }
.hero .orb-2 { bottom: -60px; inset-inline-start: -150px; }

/* hero composition — text over the artwork's darker side (screen-left in RTL) */
.hero-inner {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
}
.hero-core {
  position: relative;
  z-index: 3;
  text-align: start;
  max-width: 580px;
  margin-inline-end: auto;
}
.hero-tagline {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  color: var(--lavender-400);
  margin: 0 0 14px;
}
.hero-title {
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
  text-shadow: 0 6px 44px rgba(15, 12, 30, 0.65), 0 2px 14px rgba(15, 12, 30, 0.5);
}
.hero-title em, .statement em, .final .sec-title span {
  font-style: normal;
  background: linear-gradient(115deg, #A18BEA 5%, #E4DBFF 48%, #A18BEA 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub, .hero-note, .badge { text-shadow: 0 2px 18px rgba(15, 12, 30, 0.55); }
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: rgba(242, 240, 247, 0.82);
  max-width: 46ch;
  margin: 0 0 36px;
}
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 16px; margin-bottom: 32px; }
.hero-note {
  max-width: 52ch;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 12px 18px;
  border: 1px solid var(--glass-line);
  border-radius: 14px;
  background: rgba(15, 12, 30, 0.4);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* hero bottom steps strip — deep near-black, no gray */
.hero-steps {
  position: relative;
  z-index: 4;
  margin-top: clamp(44px, 6vh, 72px);
  border-top: 1px solid rgba(161, 139, 234, 0.24);
  background: rgba(15, 12, 30, 0.62);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.hero-steps .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hstep {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 18px;
  border-inline-end: 1px solid var(--glass-line);
  color: rgba(242, 240, 247, 0.85);
  font-weight: 600;
  font-size: 0.98rem;
}
.hstep:last-child { border-inline-end: none; }
.hstep .n {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--lavender-400);
  letter-spacing: 0.06em;
  flex: none;
}

/* ---------- Problem — full-bleed lavender environment (assets/img/art/lavender-env.jpg) ---------- */
.env-lavender {
  overflow: hidden;
  background: #EFEBF8 url("../img/art/lavender-env.jpg") center 30% / cover no-repeat;
  color: var(--text-dark);
}
/* light veil — keeps the artwork clearly visible as the section's
   atmosphere; text gets its own local panels below */
.env-lavender::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(245, 243, 250, 0.46) 0%, rgba(242, 240, 247, 0.26) 45%, rgba(240, 237, 248, 0.58) 100%);
  pointer-events: none;
}
.env-lavender > .container { position: relative; z-index: 2; }
/* localized readability panels — not a generic full overlay */
.env-lavender .split > div {
  background: rgba(252, 250, 255, 0.58);
  border: 1px solid rgba(117, 85, 217, 0.14);
  border-radius: 24px;
  padding: clamp(24px, 3vw, 42px);
  box-shadow: 0 34px 70px -44px rgba(58, 42, 120, 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.env-lavender .muted { color: #4E4E5A; }
.env-lavender .statement em {
  background: linear-gradient(120deg, #7555D9 10%, #8F6FE3 55%, #7555D9 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.statement {
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.5;
  max-width: 22ch;
  margin: 0;
}
.q-list { list-style: none; margin: 0; padding: 0; }
.q-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 4px;
  font-size: 1.06rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(23, 24, 33, 0.1);
  transition: padding-inline-start 0.35s var(--ease), color 0.3s var(--ease);
}
.q-list li:hover { padding-inline-start: 12px; color: var(--purple-600); }
.q-list li:last-child { border-bottom: none; }
.q-list .n {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--purple-600);
  flex: none;
  letter-spacing: 0.08em;
}

/* ---------- Services — full-bleed analysis artwork (assets/img/art/analysis-scene.jpg) ---------- */
#services {
  overflow: hidden;
  background: #17102E;
}
.svc-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../img/art/analysis-scene.jpg") center / cover no-repeat;
  /* lower the artwork's exposure so its bright bars never compete with text;
   the scene stays fully recognizable */
  filter: brightness(0.72) saturate(0.92);
}
/* controlled violet scrim — heavy on the text side (screen-right in RTL),
   moderate over the artwork's glowing bars on the left so they stay alive */
.svc-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(17, 11, 38, 0.52) 0%, rgba(17, 11, 38, 0.8) 46%, rgba(13, 9, 30, 0.96) 100%),
    linear-gradient(180deg, rgba(13, 9, 30, 0.66) 0%, rgba(13, 9, 30, 0.22) 30%, rgba(13, 9, 30, 0.28) 66%, rgba(13, 9, 30, 0.8) 100%);
}
#services .orb-1 { top: -120px; inset-inline-end: -150px; opacity: 0.6; mix-blend-mode: screen; }
#services .sec-title { color: #fff; }

.svc-grid {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 660px;
  margin-top: 56px;
  padding: clamp(26px, 3.4vw, 48px);
  border-radius: 26px;
  background: rgba(13, 9, 30, 0.52);
  border: 1px solid rgba(161, 139, 234, 0.22);
  box-shadow: 0 40px 90px -46px rgba(5, 3, 18, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(242, 240, 247, 0.26); }
.svc-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 24px 6px;
  border-bottom: 1px solid rgba(242, 240, 247, 0.2);
  transition: padding-inline-start 0.4s var(--ease), background 0.4s var(--ease);
}
.svc-list li:hover { padding-inline-start: 16px; background: rgba(23, 16, 52, 0.35); }
.svc-list .num {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.12em;
  line-height: 1.9;
  background: linear-gradient(160deg, #E4DBFF, #A18BEA);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.svc-list h3 { color: #fff; font-size: clamp(1.2rem, 2.1vw, 1.45rem); margin-bottom: 8px; text-shadow: 0 2px 16px rgba(15, 12, 30, 0.6); }
.svc-list p { color: rgba(242, 240, 247, 0.88); margin: 0; font-size: 1rem; max-width: 54ch; text-shadow: 0 1px 12px rgba(15, 12, 30, 0.55); }

/* ---------- Process (light neutral with grid) ---------- */
#process { overflow: hidden; }
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 34px);
  margin-top: 64px;
}
.steps::before {
  content: "";
  position: absolute;
  top: 34px;
  inset-inline: 9%;
  height: 2px;
  background: linear-gradient(90deg, rgba(117, 85, 217, 0.08), rgba(117, 85, 217, 0.55), rgba(117, 85, 217, 0.08));
  border-radius: 2px;
}
.step { position: relative; padding-top: 92px; }
.step h3 { position: relative; display: inline-block; font-size: 1.18rem; margin-bottom: 10px; }
.step h3::before {
  content: attr(data-step);
  position: absolute;
  top: -92px;
  inset-inline-start: 0;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  background: var(--grad-purple);
  box-shadow: var(--glow-purple), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-radius 0.4s var(--ease);
}
.step:hover h3::before { transform: translateY(-5px) rotate(-4deg); border-radius: 50%; box-shadow: var(--glow-purple-lg), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.step p { color: #4A4A58; font-size: 0.99rem; margin: 0; }
.step-note {
  margin-top: 56px;
  padding: 22px 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(117, 85, 217, 0.22);
  border-inline-start: 4px solid var(--purple-600);
  background: rgba(117, 85, 217, 0.07);
  color: #3A3A46;
  font-weight: 500;
}

/* ---------- Why (deep space) ---------- */
#why {
  overflow: hidden;
  background:
    radial-gradient(950px 520px at 88% 8%, rgba(117, 85, 217, 0.3), transparent 58%),
    radial-gradient(720px 520px at 0% 92%, rgba(161, 139, 234, 0.14), transparent 55%),
    linear-gradient(180deg, #131022 0%, #1E1B30 100%);
}
#why .orb-2 { top: 6%; inset-inline-end: -130px; }
#why .sec-title { color: #fff; }
.why-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.check-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--glass-line); }
.check-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 19px 6px;
  font-weight: 500;
  color: rgba(242, 240, 247, 0.9);
  border-bottom: 1px solid var(--glass-line);
  transition: padding-inline-start 0.35s var(--ease), background 0.35s var(--ease);
}
.check-list li:hover { padding-inline-start: 14px; background: rgba(161, 139, 234, 0.06); }
.check-list .tick {
  flex: none;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.8rem;
  color: #fff;
  background: var(--grad-purple);
  box-shadow: 0 8px 18px -7px rgba(117, 85, 217, 0.85);
}

/* ---------- Trust — near-black, glass rows (selective dark) ---------- */
#trust {
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 12% 0%, rgba(117, 85, 217, 0.2), transparent 58%),
    linear-gradient(180deg, #12121A 0%, #171821 100%);
}
#trust .sec-title { color: #fff; }
.trust-list { list-style: none; margin: 48px 0 0; padding: 0; position: relative; z-index: 2; }
.trust-list li {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: clamp(22px, 3vw, 30px) 24px;
  margin-bottom: 14px;
  font-size: clamp(1.05rem, 1.9vw, 1.28rem);
  font-weight: 600;
  line-height: 1.7;
  color: rgba(242, 240, 247, 0.9);
  background: rgba(242, 240, 247, 0.045);
  border: 1px solid var(--glass-line);
  border-radius: 18px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.trust-list li:hover { transform: translateX(-6px); border-color: rgba(161, 139, 234, 0.5); background: rgba(161, 139, 234, 0.08); }
.trust-list .dot { color: var(--lavender-400); font-weight: 800; flex: none; }

/* ---------- FAQ (deep violet gradient accordion) ---------- */
#faq {
  overflow: hidden;
  background:
    radial-gradient(1000px 500px at 10% 0%, rgba(117, 85, 217, 0.32), transparent 56%),
    radial-gradient(780px 540px at 96% 88%, rgba(161, 139, 234, 0.15), transparent 58%),
    linear-gradient(180deg, #1E1B30 0%, #221C44 55%, #1B1830 100%);
}
#faq .orb-1 { top: -100px; inset-inline-start: -140px; opacity: 0.7; }
#faq .sec-title { color: #fff; }
.faq { border-top: 1px solid var(--glass-line); position: relative; z-index: 2; }
.faq details {
  border-bottom: 1px solid var(--glass-line);
  background: rgba(242, 240, 247, 0.045);
  transition: background 0.4s var(--ease);
}
.faq details:hover { background: rgba(242, 240, 247, 0.075); }
.faq summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 25px 12px;
  font-size: 1.12rem;
  font-weight: 600;
  color: rgba(242, 240, 247, 0.94);
  cursor: pointer;
  list-style: none;
  transition: color 0.3s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #fff; }
.faq summary::after {
  content: "+";
  margin-inline-start: auto;
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--glass-line);
  color: var(--lavender-400);
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 500;
  transition: transform 0.45s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(135deg);
  background: var(--grad-purple);
  color: #fff;
  border-color: transparent;
}
.faq .a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}
.faq details[open] .a { grid-template-rows: 1fr; }
.faq .a > p {
  overflow: hidden;
  min-height: 0;
  margin: 0;
  padding-inline: 12px;
  color: rgba(242, 240, 247, 0.74);
  max-width: 72ch;
  transition: padding-bottom 0.5s var(--ease);
}
.faq details[open] .a > p { padding-bottom: 28px; }

/* ---------- Articles ---------- */
#articles { overflow: hidden; }
.article-rows { border-top: 1px solid var(--line-dark); margin-top: 48px; }
.article-row {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  padding: clamp(24px, 3.4vw, 36px) 12px;
  border-bottom: 1px solid var(--line-dark);
  overflow: hidden;
  transition: background 0.4s var(--ease), padding-inline-start 0.4s var(--ease);
}
.article-row::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--grad-purple);
  transform: scaleY(0);
  transition: transform 0.45s var(--ease);
}
.article-row:hover { background: rgba(117, 85, 217, 0.06); padding-inline-start: 22px; }
.article-row:hover::before { transform: scaleY(1); }
.article-row .cat {
  flex: none;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--purple-600);
  background: rgba(117, 85, 217, 0.1);
  border: 1px solid rgba(117, 85, 217, 0.22);
}
.article-row h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); margin-bottom: 6px; transition: color 0.3s var(--ease); }
.article-row:hover h3 { color: var(--purple-600); }
.article-row p { color: #55555F; margin: 0; font-size: 0.98rem; }
.article-row .arrow {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(23, 24, 33, 0.18);
  font-size: 1.15rem;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.article-row:hover .arrow {
  background: var(--grad-purple);
  border-color: transparent;
  color: #fff;
  transform: translateX(-6px);
}

/* ---------- Final CTA (radiant + starfield) ---------- */
.final {
  position: relative;
  overflow: hidden;
  background: var(--grad-cta);
  text-align: center;
}
.final::after {
  content: "ASCEND";
  position: absolute;
  top: -0.35em;
  inset-inline-start: 50%;
  transform: translateX(50%);
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(6rem, 17vw, 15rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(242, 240, 247, 0.1);
  pointer-events: none;
  white-space: nowrap;
}
.final .orb-1 { top: -130px; inset-inline-start: 6%; opacity: 0.8; }
.final .orb-2 { bottom: -150px; inset-inline-end: 3%; opacity: 0.7; }
.final .kicker { color: #DCD2FA; }
.final .sec-title { color: #fff; margin-inline: auto; }
.final .sec-lead { color: rgba(242, 240, 247, 0.86); margin-inline: auto; text-align: center; }
.final .btn-primary { background: var(--cloud-50); color: var(--charcoal-900); box-shadow: 0 16px 44px -12px rgba(12, 8, 34, 0.6); }
.final .btn-primary:hover { box-shadow: 0 22px 58px -14px rgba(12, 8, 34, 0.72); }
.final .btn-ghost { border-color: rgba(242, 240, 247, 0.4); }
.final .hero-ctas { justify-content: center; }
.final-note {
  max-width: 64ch;
  margin: 34px auto 0;
  font-size: 0.88rem;
  color: rgba(242, 240, 247, 0.78);
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(242, 240, 247, 0.24);
  background: rgba(23, 24, 33, 0.22);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: inline-block;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 340px at 50% 0%, rgba(117, 85, 217, 0.18), transparent 62%),
    linear-gradient(180deg, #171821 0%, #12121A 100%);
  padding: 80px 0 40px;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(161, 139, 234, 0.55), transparent);
}
.footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(161, 139, 234, 0.12);
}
.footer-grid p { color: var(--muted); font-size: 0.95rem; max-width: 40ch; margin-top: 18px; }
.footer-grid h4 { font-size: 0.95rem; color: var(--cloud-50); margin-bottom: 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-grid li a {
  color: var(--muted);
  font-size: 0.96rem;
  transition: color 0.3s var(--ease), padding-inline-start 0.3s var(--ease);
}
.footer-grid li a:hover { color: var(--lavender-400); padding-inline-start: 6px; }
.footer-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  padding-top: 30px;
  font-size: 0.86rem;
  color: var(--muted);
}
.footer-bottom .legal { color: rgba(242, 240, 247, 0.7); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  bottom: 26px;
  inset-inline-end: 26px;
  z-index: 58;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad-purple);
  box-shadow: 0 14px 36px -10px rgba(117, 85, 217, 0.85);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  animation: wa-glow 3.6s ease-in-out infinite;
}
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
.wa-float:hover { transform: translateY(-4px) scale(1.06); box-shadow: 0 20px 48px -12px rgba(117, 85, 217, 1); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
/* safety net: if JS ever fails or is delayed, content still appears —
   no stuck/empty gray state */
@keyframes reveal-safety { to { opacity: 1; transform: none; } }
.reveal { animation: reveal-safety 0.01s 3.2s forwards; }

/* ---------- Inner-page heroes ---------- */
.about-intro, .page-hero, .article-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 480px at 78% 0%, rgba(117, 85, 217, 0.42), transparent 60%),
    radial-gradient(660px 440px at 4% 80%, rgba(161, 139, 234, 0.14), transparent 56%),
    linear-gradient(180deg, #241D48 0%, #171821 88%);
}
.about-intro { padding: 200px 0 90px; }
.page-hero { padding: 200px 0 84px; }
.about-intro h1, .page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 20ch; }
.about-intro .lead { font-size: 1.2rem; color: rgba(242, 240, 247, 0.85); max-width: 56ch; }
.page-hero .lead { font-size: 1.15rem; color: rgba(242, 240, 247, 0.85); max-width: 58ch; }

/* ---------- Article pages ---------- */
.article-hero { padding: 190px 0 64px; }
.crumbs { position: relative; z-index: 2; font-size: 0.88rem; color: var(--muted); margin-bottom: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a { transition: color 0.3s var(--ease); }
.crumbs a:hover { color: var(--lavender-400); }
.article-hero h1 { position: relative; z-index: 2; font-size: clamp(1.9rem, 4vw, 3.1rem); max-width: 24ch; }
.article-hero .meta { position: relative; z-index: 2; display: flex; gap: 22px; margin-top: 22px; font-size: 0.9rem; color: var(--muted); }
.article-hero .meta span { position: relative; padding-inline-start: 14px; }
.article-hero .meta span::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad-purple);
}
.article-body { padding-block: 72px 96px; }
.prose { max-width: 720px; }
.prose p { color: #3C3C48; margin-bottom: 1.3em; }
.prose h2 {
  position: relative;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  margin: 2em 0 0.8em;
  padding-inline-start: 18px;
}
.prose h2::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.35em;
  bottom: 0.35em;
  width: 4px;
  border-radius: 4px;
  background: var(--grad-purple);
}
.prose ul, .prose ol { padding-inline-start: 22px; color: #3C3C48; margin-bottom: 1.3em; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--purple-600); font-weight: 700; }
.prose blockquote {
  margin: 2em 0;
  padding: 22px 28px;
  border-radius: var(--radius);
  border-inline-start: 4px solid var(--purple-600);
  background: rgba(117, 85, 217, 0.07);
}
.prose blockquote p { margin: 0; font-weight: 600; color: var(--text-dark); }

/* ---------- Article visuals (diagrams, flows, tables) ---------- */
.viz {
  margin: 2.2em 0;
  padding: 26px 28px;
  border-radius: 20px;
  border: 1px solid rgba(117, 85, 217, 0.2);
  background:
    radial-gradient(420px 200px at 88% -10%, rgba(161, 139, 234, 0.16), transparent 62%),
    #fff;
  box-shadow: 0 26px 60px -40px rgba(58, 42, 120, 0.4);
}
.viz h3 { font-size: 1.08rem; margin-bottom: 6px; color: var(--text-dark); }
.viz .viz-note { font-size: 0.85rem; color: #6B6B7B; margin: 0 0 18px; }
/* factor chips diagram */
.factors { display: flex; flex-wrap: wrap; gap: 12px; }
.factor {
  flex: 1 1 150px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(117, 85, 217, 0.22);
  background: rgba(117, 85, 217, 0.06);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.factor:hover { transform: translateY(-3px); background: rgba(117, 85, 217, 0.1); }
.factor i {
  flex: none;
  width: 12px; height: 12px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--grad-purple);
  box-shadow: 0 0 10px rgba(161, 139, 234, 0.8);
}
.factor strong { display: block; font-size: 0.97rem; color: var(--text-dark); }
.factor span { font-size: 0.83rem; color: #5A5A66; }
/* vertical step flow */
.stepflow { display: grid; gap: 0; counter-reset: sf; }
.sstep {
  position: relative;
  padding: 16px 58px 16px 0;
  padding-inline-start: 58px;
  padding-inline-end: 0;
  counter-increment: sf;
}
.sstep::before {
  content: counter(sf);
  position: absolute;
  inset-inline-start: 0;
  top: 14px;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  background: var(--grad-purple);
  box-shadow: 0 8px 20px -8px rgba(117, 85, 217, 0.8);
}
.sstep::after {
  content: "";
  position: absolute;
  inset-inline-start: 18px;
  top: 56px;
  bottom: -6px;
  width: 2px;
  background: linear-gradient(180deg, rgba(117, 85, 217, 0.5), rgba(117, 85, 217, 0.12));
  border-radius: 2px;
}
.sstep:last-child::after { display: none; }
.sstep strong { display: block; color: var(--text-dark); font-size: 1.02rem; margin-bottom: 4px; }
.sstep p { margin: 0; font-size: 0.93rem; color: #4E4E5A; }
/* qualitative gauge bar (no invented numbers) */
.gauge { position: relative; margin-top: 8px; }
.gauge .bar {
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, #C9BDF0 0%, #A18BEA 45%, #7555D9 100%);
  box-shadow: inset 0 2px 6px rgba(23, 24, 33, 0.25);
}
.gauge .labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #5A5A66;
}
.gauge .marker {
  position: absolute;
  top: -12px;
  inset-inline-start: 22%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(50%);
}
.gauge .marker::before {
  content: "";
  width: 2px;
  height: 14px;
  background: var(--charcoal-900);
  border-radius: 2px;
}
.gauge .marker span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--charcoal-900);
  background: var(--cloud-50);
  border: 1px solid rgba(117, 85, 217, 0.3);
  padding: 2px 12px;
  border-radius: 999px;
  margin-top: 4px;
  white-space: nowrap;
}
/* comparison table */
.viz-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.94rem; }
.viz-table th {
  text-align: start;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #7555D9, #8F6FE3);
  padding: 12px 16px;
}
.viz-table th:first-child { border-start-start-radius: 12px; }
.viz-table th:last-child { border-start-end-radius: 12px; }
.viz-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(117, 85, 217, 0.16);
  background: rgba(242, 240, 247, 0.5);
  color: #3C3C48;
  vertical-align: top;
}
.viz-table tr:nth-child(even) td { background: rgba(242, 240, 247, 0.72); }
.viz-table td:first-child { font-weight: 700; color: var(--text-dark); }
.viz-table .tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(117, 85, 217, 0.12);
  color: var(--purple-600);
  border: 1px solid rgba(117, 85, 217, 0.28);
  white-space: nowrap;
}
/* checklist callout */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li {
  position: relative;
  padding-inline-start: 34px;
  font-size: 0.95rem;
  color: #3C3C48;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 24px; height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.75rem;
  color: #fff;
  background: var(--grad-purple);
}
.callout {
  margin-top: 40px;
  padding: 26px 30px;
  border-radius: var(--radius);
  border: 1px solid rgba(117, 85, 217, 0.24);
  border-inline-start: 4px solid var(--purple-600);
  background: rgba(117, 85, 217, 0.07);
}
.callout h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--text-dark); }
.callout p { color: #4A4A58; margin: 0 0 12px; }
.callout .btn { margin-top: 6px; }
.related { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--line-dark); }
.related h2 { font-size: 1.35rem; }

/* ---------- Assessment ---------- */
#assessment { overflow: hidden; }
.assess-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.mini-steps { margin-top: 36px; display: grid; gap: 14px; }
.mstep {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid rgba(117, 85, 217, 0.2);
  background: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  color: #3A3A46;
}
.mstep .n {
  flex: none;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  background: var(--grad-purple);
}
.form-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(117, 85, 217, 0.16);
  border-radius: 24px;
  padding: clamp(26px, 4vw, 44px);
  box-shadow: 0 44px 100px -50px rgba(58, 42, 120, 0.5), 0 18px 44px -32px rgba(23, 24, 33, 0.22);
}
.form-card::before {
  content: "";
  position: absolute;
  inset-inline: 26px;
  top: 0;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--grad-purple);
}
.field { margin-bottom: 24px; }
.field label { display: block; font-weight: 600; font-size: 0.98rem; margin-bottom: 9px; color: var(--text-dark); }
.field .req { color: var(--purple-600); }
.field input[type="text"], .field textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  font-family: var(--font-ar);
  font-size: 1rem;
  background: var(--surface-light);
  color: var(--text-dark);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.field input[type="text"]:focus, .field textarea:focus {
  outline: none;
  border-color: var(--purple-600);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(117, 85, 217, 0.14);
}
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease), color 0.3s var(--ease);
  margin: 0;
}
.choices label:hover { border-color: rgba(117, 85, 217, 0.5); transform: translateY(-1px); }
.choices input { accent-color: var(--purple-600); }
.choices label:has(input:checked) {
  border-color: var(--purple-600);
  background: rgba(117, 85, 217, 0.09);
  color: var(--purple-600);
  font-weight: 600;
}
.form-notice { margin-top: 18px; font-size: 0.92rem; display: none; }
.form-notice.warn { display: block; color: #a05a00; }
.form-notice.ok { display: block; color: #1c7a3d; }

/* ---------- Legacy row layout (about principles) ---------- */
.rows { border-top: 1px solid rgba(242, 240, 247, 0.16); position: relative; z-index: 2; }
.row-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid rgba(242, 240, 247, 0.16);
  background: rgba(242, 240, 247, 0.045);
  border-inline-start: 1px solid rgba(242, 240, 247, 0.1);
  border-inline-end: 1px solid rgba(242, 240, 247, 0.1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background 0.45s var(--ease), transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.row-item:hover {
  background: rgba(242, 240, 247, 0.09);
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -30px rgba(18, 12, 48, 0.9);
}
.row-item .num {
  font-family: var(--font-en);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(160deg, #D9CFFF, #A18BEA);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-top: 6px;
}
.row-item h3 { color: #fff; font-size: clamp(1.2rem, 2vw, 1.45rem); }
.row-item p { color: rgba(242, 240, 247, 0.78); max-width: 62ch; margin: 0; }

/* ---------- Keyframes ---------- */
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(42px, -32px, 0) scale(1.08); }
  100% { transform: translate3d(-32px, 26px, 0) scale(0.96); }
}
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}
@keyframes node-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.72; }
}
@keyframes twinkle {
  from { opacity: 0.45; }
  to { opacity: 1; }
}
@keyframes wa-glow {
  0%, 100% { box-shadow: 0 14px 36px -10px rgba(117, 85, 217, 0.85); }
  50% { box-shadow: 0 14px 46px -8px rgba(161, 139, 234, 0.95); }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { min-height: 94svh; padding: 130px 0 0; }
  /* mobile: keep the artwork's subject centered, deepen the overall scrim */
  .hero-bg { background-position: 62% 40%; }
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(15, 12, 30, 0.55) 0%, rgba(15, 12, 30, 0.62) 45%, rgba(15, 12, 30, 0.9) 100%);
  }
  .split, .why-grid, .assess-wrap { grid-template-columns: 1fr; }
  .svc-grid { max-width: 100%; background: rgba(13, 9, 30, 0.58); }
  .hero-steps .container { grid-template-columns: 1fr 1fr; }
  .hstep:nth-child(2) { border-inline-end: none; }
  .hstep { border-top: 1px solid var(--glass-line); }
  .hstep:nth-child(-n+2) { border-top: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .article-row { grid-template-columns: 1fr; gap: 10px; }
  .article-row .arrow { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-intro, .page-hero, .article-hero { padding-top: 170px; }
}
@media (max-width: 720px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .site-header .header-inner { padding: 8px 10px; }
  .hero-core { text-align: center; margin-inline: auto; }
  .hero-core .hero-sub { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .hero-core .hero-note { margin-inline: auto; }
  .env-lavender::before { background: linear-gradient(180deg, rgba(245, 243, 250, 0.8) 0%, rgba(242, 240, 247, 0.66) 50%, rgba(240, 237, 248, 0.85) 100%); }
  .steps { grid-template-columns: 1fr; }
  .row-item { grid-template-columns: 1fr; gap: 10px; }
  .row-item .num { font-size: 1.4rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .hero-ctas .btn, .final .btn, .callout .btn { width: auto; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .wa-float { width: 54px; height: 54px; bottom: 18px; inset-inline-end: 18px; }
  .trust-list li { font-size: 1.02rem; padding-inline: 18px; }
  .footer-bottom { flex-direction: column; }
  .hero-steps .container { grid-template-columns: 1fr; }
  .hstep { border-inline-end: none; border-top: 1px solid var(--glass-line); }
  .hstep:first-child { border-top: none; }
}

/* inner pages keep the chrome legible over light sections */
body.inner-page .site-header .header-inner {
  background: rgba(15, 12, 30, 0.8);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  border-color: rgba(161, 139, 234, 0.2);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .faq .a { transition: none; }
}

/* ---------- Opportunities (one content addition — existing system only) ---------- */
#opportunities {
  overflow: hidden;
  background:
    radial-gradient(1000px 500px at 88% 0%, rgba(117, 85, 217, 0.3), transparent 56%),
    radial-gradient(760px 520px at 4% 92%, rgba(161, 139, 234, 0.13), transparent 58%),
    linear-gradient(180deg, #221C44 0%, #1E1B30 55%, #1B1830 100%);
}
#opportunities .sec-title { color: #fff; }
.opp-cols { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 5vw, 72px); align-items: start; position: relative; z-index: 2; }
.opp-cols h3 { color: #fff; font-size: 1.15rem; margin-bottom: 18px; }
.opp-cols .check-list li { font-size: 0.99rem; }
.opp-cols .check-list strong { color: #fff; }
.opp-note {
  margin: 52px 0 0;
  max-width: 74ch;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid var(--glass-line);
  background: rgba(242, 240, 247, 0.05);
  color: rgba(242, 240, 247, 0.78);
  font-size: 0.92rem;
  position: relative;
  z-index: 2;
}
@media (max-width: 960px) {
  .opp-cols { grid-template-columns: 1fr; }
  .opp-note { border-radius: 18px; }
}
