/* ==========================================================================
   MahdiRah — Landing
   Palette mirrors the Flutter app themes (light / dark).
   ========================================================================== */

:root {
  --gold-1: #F3DFA3;
  --gold-2: #D2AD59;
  --gold-3: #B8953F;
  --gold: #D2AD59;
  --gold-strong: #A9853A;
  --gold-tint: rgba(210, 173, 89, 0.14);
  --gold-line: rgba(210, 173, 89, 0.34);

  --bg: #F7F5EF;
  --bg-soft: #FCFAF4;
  --surface: #FFFFFF;
  --surface-2: #F4F0E7;
  --glass: rgba(247, 245, 239, 0.78);
  --glass-solid: rgba(255, 255, 255, 0.94);

  --ink: #101B32;
  --muted: #667085;
  --border: #E5E0D5;
  --steel: #526987;
  --steel-tint: rgba(82, 105, 135, 0.12);

  --success: #269B75;
  --success-tint: rgba(38, 155, 117, 0.12);
  --error: #DC6268;
  --warning: #D99A36;

  --shadow-sm: 0 1px 2px rgba(16, 27, 50, 0.05), 0 14px 30px -22px rgba(16, 27, 50, 0.35);
  --shadow-md: 0 2px 6px rgba(16, 27, 50, 0.04), 0 24px 50px -30px rgba(16, 27, 50, 0.35);
  --shadow-lg: 0 40px 90px -45px rgba(16, 27, 50, 0.55), 0 12px 30px -22px rgba(16, 27, 50, 0.28);

  --radius: 26px;
  --radius-sm: 16px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --container: 1180px;
}

html[data-theme="dark"] {
  --gold: #E6BF5A;
  --gold-2: #E6BF5A;
  --gold-3: #B8943C;
  --gold-strong: #E6BF5A;
  --gold-tint: rgba(230, 191, 90, 0.13);
  --gold-line: rgba(230, 191, 90, 0.3);

  --bg: #111D37;
  --bg-soft: #0D1830;
  --surface: #202C40;
  --surface-2: #1A2639;
  --glass: rgba(17, 29, 55, 0.76);
  --glass-solid: rgba(32, 44, 64, 0.95);

  --ink: #F4F0E6;
  --muted: #A9B2C1;
  --border: #39465A;
  --steel: #8298B5;
  --steel-tint: rgba(130, 152, 181, 0.14);

  --success: #48B994;
  --success-tint: rgba(72, 185, 148, 0.14);
  --error: #F07178;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.28), 0 14px 30px -22px rgba(0, 0, 0, 0.75);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.25), 0 26px 50px -30px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 40px 90px -45px rgba(0, 0, 0, 0.9), 0 12px 30px -22px rgba(0, 0, 0, 0.6);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Vazirmatn", "Segoe UI", Tahoma, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.9;
  font-weight: 400;
  overflow-x: hidden;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { list-style: none; padding: 0; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
::selection { background: rgba(210, 173, 89, 0.32); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold-strong);
  outline-offset: 3px;
  border-radius: 8px;
}

body.no-scroll { overflow: hidden; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.16em;
}

.container {
  width: min(var(--container), calc(100% - clamp(32px, 6.5vw, 88px)));
  margin-inline: auto;
}
.container--narrow { width: min(860px, calc(100% - clamp(32px, 6.5vw, 88px))); }

.skip-link {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 300;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  transform: translateY(-150%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  z-index: 130;
  height: 3px;
  width: 0;
  border-start-end-radius: 3px;
  border-end-end-radius: 3px;
  background: linear-gradient(90deg, var(--gold-3), var(--gold-1), var(--gold-2));
  box-shadow: 0 0 12px rgba(210, 173, 89, 0.55);
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--surface);
  --btn-fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.5;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
    background-color 0.28s var(--ease), border-color 0.28s var(--ease), color 0.28s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.25em; height: 1.25em; }
.btn .icon--arrow { width: 1.1em; height: 1.1em; opacity: 0.75; }
.btn--sm { padding: 9px 17px; font-size: 13.5px; }
.btn--lg { padding: 15px 28px; font-size: 15.5px; }
.btn--tiny { padding: 6px 13px; font-size: 12px; border-radius: 10px; }

.btn--gold {
  --btn-fg: #101B32;
  background: linear-gradient(135deg, #F5E3AA 0%, var(--gold) 45%, var(--gold-3) 100%);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 26px -12px rgba(184, 149, 63, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.btn--gold:hover {
  box-shadow: 0 18px 38px -14px rgba(184, 149, 63, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn--soft {
  --btn-bg: var(--surface);
  --btn-fg: var(--ink);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.btn--soft:hover { border-color: var(--gold-line); background: var(--bg-soft); }
.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--gold-line); background: var(--gold-tint); }
.btn--ink {
  --btn-fg: #F7F5EF;
  background: linear-gradient(140deg, #1B2A47, #101B32);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 30px -18px rgba(16, 27, 50, 0.8);
}
html[data-theme="dark"] .btn--ink {
  background: linear-gradient(140deg, #33445E, #1A2639);
  --btn-fg: #F4F0E6;
}
.btn--glass {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
  color: #F4F0E6;
  backdrop-filter: blur(8px);
}
.btn--glass:hover { background: rgba(255, 255, 255, 0.13); }
.btn__sub {
  font-size: 10.5px;
  font-weight: 500;
  opacity: 0.62;
  margin-inline-start: 3px;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
  flex: none;
}
.icon-btn:hover { background: var(--gold-tint); border-color: var(--gold-line); transform: translateY(-1px); }
.icon-btn .icon { width: 18px; height: 18px; }

#themeToggle .icon--sun { display: none; }
#themeToggle .icon--moon { display: block; }
html[data-theme="dark"] #themeToggle .icon--sun { display: block; }
html[data-theme="dark"] #themeToggle .icon--moon { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header.is-scrolled {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 30px -24px rgba(16, 27, 50, 0.5);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
  height: 78px;
  transition: height 0.3s var(--ease);
}
.site-header.is-scrolled .header__inner { height: 66px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  z-index: 2;
}
.brand__mark { display: block; width: 38px; height: 38px; filter: drop-shadow(0 6px 12px rgba(184, 149, 63, 0.35)); }
.brand__mark svg, .brand__mark img { width: 100%; height: 100%; object-fit: contain; }
.brand__text { display: grid; line-height: 1.25; }
.brand__text strong { font-size: 17px; font-weight: 800; }
.brand__text small {
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.4vw, 24px);
  margin-inline: auto;
}
.nav a {
  position: relative;
  padding: 8px 6px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  inset-block-end: 2px;
  inset-inline-start: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateX(50%) scale(0);
  transition: transform 0.3s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a.is-active::after { transform: translateX(50%) scale(1); }

.header__actions { display: flex; align-items: center; gap: 8px; flex: none; }
.burger { display: none; }

/* ---------- Drawer ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 96px clamp(22px, 6vw, 40px) 34px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transform: translateY(-102%);
  visibility: hidden;
  transition: transform 0.45s var(--ease), visibility 0.45s;
  overflow-y: auto;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer__nav { display: grid; gap: 2px; }
.drawer__nav a {
  padding: 15px 4px;
  font-size: 19px;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer__nav a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.35;
}
.drawer__cta { display: grid; gap: 10px; margin-top: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(116px, 15vh, 172px) clamp(56px, 8vw, 104px);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
}
.aurora--1 {
  width: 46vw; height: 46vw;
  max-width: 620px; max-height: 620px;
  inset-block-start: -12%;
  inset-inline-end: -6%;
  background: radial-gradient(circle at 40% 40%, rgba(210, 173, 89, 0.5), rgba(210, 173, 89, 0) 68%);
  animation: drift 18s ease-in-out infinite alternate;
}
.aurora--2 {
  width: 40vw; height: 40vw;
  max-width: 520px; max-height: 520px;
  inset-block-end: 2%;
  inset-inline-start: -12%;
  background: radial-gradient(circle at 50% 50%, rgba(82, 105, 135, 0.34), rgba(82, 105, 135, 0) 70%);
  animation: drift 22s ease-in-out infinite alternate-reverse;
}
.aurora--3 {
  width: 26vw; height: 26vw;
  max-width: 340px; max-height: 340px;
  inset-block-start: 46%;
  inset-inline-start: 42%;
  background: radial-gradient(circle, rgba(38, 155, 117, 0.18), rgba(38, 155, 117, 0) 70%);
  animation: drift 26s ease-in-out infinite alternate;
}
html[data-theme="dark"] .aurora { opacity: 0.42; }

.hero__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  opacity: 0.5;
  pointer-events: none;
}
.hero__ring--1 { width: 380px; height: 380px; inset-block-start: 12%; inset-inline-start: -140px; }
.hero__ring--2 { width: 240px; height: 240px; inset-block-end: 4%; inset-inline-end: -80px; opacity: 0.35; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
}

.hero__copy { max-width: 620px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--gold-line);
  background: var(--gold-tint);
  color: var(--gold-strong);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.6;
}
html[data-theme="dark"] .badge { color: var(--gold-2); }
.badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 0 0 rgba(210, 173, 89, 0.6);
  animation: pulse 2.6s ease-out infinite;
  flex: none;
}
.badge--dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(244, 240, 230, 0.82);
}
.badge--dark .badge__dot { background: var(--gold-1); }

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.1rem, 4.4vw, 3.7rem);
  line-height: 1.34;
  font-weight: 900;
  letter-spacing: 0;
}
.hero h1 em, .sec-head h2 em, .cta-panel h2 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--gold-3) 0%, var(--gold) 42%, #F3DFA3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
html[data-theme="dark"] .hero h1 em,
html[data-theme="dark"] .sec-head h2 em {
  background: linear-gradient(100deg, #C79A3F 0%, var(--gold) 45%, #F7E7B7 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__lead {
  margin-top: 20px;
  font-size: clamp(15px, 1.25vw, 16.5px);
  line-height: 2.05;
  color: var(--muted);
  max-width: 56ch;
}
.hero__note {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.95;
  color: var(--muted);
  opacity: 0.85;
  max-width: 52ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero__admin-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}
.hero__admin-link:hover { color: var(--ink); }
.hero__admin-link__ic {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--steel);
}
.hero__admin-link__ic .icon { width: 14px; height: 14px; }
.hero__admin-link .icon--arrow { width: 14px; height: 14px; opacity: 0.6; }

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--muted);
  max-width: 560px;
}
.facts li { display: inline-flex; align-items: center; gap: 7px; }
.facts .icon { width: 15px; height: 15px; color: var(--gold-strong); opacity: 0.9; }

/* ---------- Hero visual ---------- */
.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
  perspective: 1200px;
}
.halo {
  position: absolute;
  width: 84%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 173, 89, 0.34), rgba(210, 173, 89, 0) 62%);
  filter: blur(6px);
}
html[data-theme="dark"] .halo { background: radial-gradient(circle, rgba(230, 191, 90, 0.2), transparent 62%); }

.phone {
  position: relative;
  z-index: 2;
  width: clamp(252px, 22vw, 292px);
  transform: rotate(-4deg);
  transition: transform 0.5s var(--ease);
}
.phone__frame {
  position: relative;
  padding: 9px;
  border-radius: 46px;
  background: linear-gradient(160deg, #1A2740, #080F1E);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.1) inset, var(--shadow-lg);
}
.phone__notch {
  position: absolute;
  inset-block-start: 16px;
  inset-inline-start: 50%;
  transform: translateX(50%);
  width: 78px;
  height: 17px;
  border-radius: 999px;
  background: #080F1E;
  z-index: 3;
}
.phone__screen {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  aspect-ratio: 9 / 19.4;
  padding: 26px 11px 8px;
  border-radius: 38px;
  background: var(--bg-soft);
  overflow: hidden;
  font-size: 10px;
  line-height: 1.6;
}
.phone__screen::after {
  content: "";
  position: absolute;
  inset-block-start: -40%;
  inset-inline-end: -60%;
  width: 120%;
  height: 90%;
  background: radial-gradient(circle, rgba(210, 173, 89, 0.16), transparent 62%);
  pointer-events: none;
}

.ph-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8.5px;
  font-weight: 600;
  color: var(--muted);
  padding-inline: 4px;
  letter-spacing: 0.04em;
}
.ph-status__dots { display: flex; gap: 2px; align-items: flex-end; }
.ph-status__dots i { width: 2.5px; background: var(--muted); border-radius: 1px; opacity: 0.7; }
.ph-status__dots i:nth-child(1) { height: 4px; }
.ph-status__dots i:nth-child(2) { height: 6px; }
.ph-status__dots i:nth-child(3) { height: 8px; }
.ph-status__dots i:nth-child(4) { height: 5px; }

.ph-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline: 2px;
}
.ph-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #101B32;
  background: linear-gradient(140deg, #F3DFA3, var(--gold-2));
  flex: none;
}
.ph-avatar--alt { background: linear-gradient(140deg, #C9D5E4, var(--steel)); color: #101B32; }
.ph-greet { display: grid; line-height: 1.45; min-width: 0; }
.ph-greet small { font-size: 8px; color: var(--muted); }
.ph-greet strong { font-size: 11px; font-weight: 700; }
.ph-bell {
  position: relative;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  margin-inline-start: auto;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  flex: none;
}
.ph-bell .icon { width: 13px; height: 13px; }
.ph-bell i {
  position: absolute;
  inset-block-start: 5px;
  inset-inline-end: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--error);
  border: 1px solid var(--surface);
}

.ph-card {
  position: relative;
  padding: 11px 12px 10px;
  border-radius: 16px;
  background: linear-gradient(145deg, #F3DFA3 0%, #D2AD59 52%, #BE9745 100%);
  color: #101B32;
  box-shadow: 0 14px 26px -16px rgba(184, 149, 63, 0.85);
  overflow: hidden;
}
.ph-card::after {
  content: "";
  position: absolute;
  inset-block-start: -46px;
  inset-inline-start: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}
.ph-card > * { position: relative; z-index: 1; }
.ph-card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ph-tag {
  font-size: 7.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(16, 27, 50, 0.13);
}
.ph-pct { font-size: 13px; font-weight: 900; }
.ph-card h4 { margin: 5px 0 1px; font-size: 11.5px; font-weight: 800; }
.ph-card p { margin: 0; font-size: 8px; font-weight: 500; opacity: 0.72; }
.ph-progress {
  height: 5px;
  margin-top: 8px;
  border-radius: 99px;
  background: rgba(16, 27, 50, 0.16);
  overflow: hidden;
}
.ph-progress i { display: block; height: 100%; border-radius: inherit; background: #101B32; }
.ph-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 8.5px;
  font-weight: 700;
}
.ph-card__foot .icon { width: 11px; height: 11px; }

.ph-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ph-tile {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 7px 4px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.ph-tile b { font-size: 8px; font-weight: 600; color: var(--ink); }
.ph-tile__ic {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
}
.ph-tile__ic .icon { width: 12px; height: 12px; }
.ph-tile__ic--gold { background: var(--gold-tint); color: var(--gold-strong); }
.ph-tile__ic--blue { background: var(--steel-tint); color: var(--steel); }
.ph-tile__ic--green { background: var(--success-tint); color: var(--success); }

.ph-rows { display: grid; gap: 6px; }
.ph-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.ph-row__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}
.ph-row__dot--green { background: var(--success); }
.ph-row div { flex: 1; min-width: 0; line-height: 1.55; }
.ph-row b { display: block; font-size: 8.5px; font-weight: 700; }
.ph-row small { font-size: 7.5px; color: var(--muted); }
.ph-pill {
  font-size: 7px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 6px;
  background: var(--gold-tint);
  color: var(--gold-strong);
  flex: none;
}
html[data-theme="dark"] .ph-pill { color: var(--gold-2); }

.ph-nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: auto;
  padding-top: 7px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}
.ph-nav span { display: grid; place-items: center; width: 24px; height: 22px; border-radius: 7px; }
.ph-nav span .icon { width: 13px; height: 13px; }
.ph-nav .is-active { color: var(--gold-strong); background: var(--gold-tint); }
html[data-theme="dark"] .ph-nav .is-active { color: var(--gold-2); }

/* Phone small variant (app cards) */
.phone--sm { width: clamp(224px, 23vw, 262px); transform: none; }
.phone--sm .phone__screen { gap: 7px; }
.ph-search {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 8px;
  color: var(--muted);
}
.ph-search .icon { width: 11px; height: 11px; color: var(--gold-strong); }
.ph-sec-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8.5px;
  padding-inline: 1px;
}
.ph-sec-title b { font-weight: 700; }
.ph-sec-title span { font-size: 7.5px; color: var(--gold-strong); }
.ph-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ph-cats > div { display: grid; justify-items: center; gap: 3px; }
.ph-cats small { font-size: 7px; color: var(--muted); }
.ph-cat {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
}
.ph-cat .icon { width: 14px; height: 14px; }
.ph-cat--gold { background: var(--gold-tint); color: var(--gold-strong); }
.ph-cat--blue { background: var(--steel-tint); color: var(--steel); }
.ph-cat--green { background: var(--success-tint); color: var(--success); }
.ph-cat--pink { background: rgba(220, 98, 104, 0.12); color: var(--error); }

.ph-courses { display: grid; gap: 6px; }
.ph-course {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.ph-course div { flex: 1; min-width: 0; line-height: 1.5; }
.ph-course b { display: block; font-size: 8.3px; font-weight: 700; }
.ph-course small { font-size: 7px; color: var(--muted); }
.ph-course__img {
  width: 30px;
  height: 32px;
  border-radius: 7px;
  flex: none;
}
.ph-course__img--1 { background: linear-gradient(150deg, #E8CF91, #B8953F); }
.ph-course__img--2 { background: linear-gradient(150deg, #9DB0C8, #526987); }
.ph-price {
  font-size: 7px;
  font-weight: 700;
  color: var(--gold-strong);
  padding: 2px 5px;
  border-radius: 5px;
  background: var(--gold-tint);
  flex: none;
}

/* Floating cards */
.float {
  position: absolute;
  z-index: 3;
  padding: 11px 13px;
  border-radius: 16px;
  background: var(--glass-solid);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  font-size: 9.5px;
  line-height: 1.6;
  animation: bob 7s ease-in-out infinite;
}
.float__head {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 600;
  color: var(--muted);
}
.float__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.float__dot--green { background: var(--success); }
.float__foot { margin-top: 4px; font-size: 7.5px; color: var(--muted); }
.float__foot b { font-weight: 800; color: var(--ink); font-size: 9px; }

.float--talent {
  inset-block-start: 2%;
  inset-inline-start: -4%;
  width: 148px;
  animation-delay: -1.5s;
}
.mini-radar { width: 100%; height: 84px; margin-top: 2px; overflow: visible; }
.mini-radar__grid polygon { fill: none; stroke: var(--border); stroke-width: 0.8; }
.mini-radar__grid line { stroke: var(--border); stroke-width: 0.7; }
.mini-radar__area { fill: rgba(210, 173, 89, 0.22); stroke: var(--gold-2); stroke-width: 1.6; }
.mini-radar__dots circle { fill: var(--gold-2); }

.float--money {
  inset-block-end: 16%;
  inset-inline-end: -5%;
  width: 138px;
  animation-delay: -3.6s;
}
.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 34px;
  margin-top: 7px;
}
.mini-bars i {
  flex: 1;
  height: var(--h, 40%);
  border-radius: 2px;
  background: linear-gradient(to top, var(--gold-3), var(--gold-1));
  opacity: 0.9;
}

.float--session {
  inset-block-end: 3%;
  inset-inline-start: 2%;
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 208px;
  animation-delay: -5s;
}
.float--session div { display: grid; line-height: 1.55; }
.float--session b { font-size: 9px; font-weight: 700; }
.float--session small { font-size: 7.5px; color: var(--muted); }
.float__avatar {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--steel-tint);
  color: var(--steel);
  font-size: 9px;
  font-weight: 800;
  flex: none;
}
.float__check {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--success-tint);
  color: var(--success);
  flex: none;
}
.float__check .icon { width: 11px; height: 11px; stroke-width: 2.4; }

.hero__cue {
  position: absolute;
  inset-block-end: 22px;
  inset-inline-start: 50%;
  transform: translateX(50%);
  display: grid;
  place-items: center;
  width: 26px;
  height: 42px;
  border-radius: 99px;
  border: 1px solid var(--border);
  opacity: 0.7;
  transition: opacity 0.25s var(--ease), border-color 0.25s var(--ease);
}
.hero__cue:hover { opacity: 1; border-color: var(--gold-line); }
.hero__cue span {
  width: 3px;
  height: 9px;
  border-radius: 99px;
  background: var(--gold-2);
  animation: cue 1.9s ease-in-out infinite;
}

/* ---------- Marquee ---------- */
.marquee {
  direction: ltr;
  overflow: hidden;
  padding-block: 16px;
  border-block: 1px solid var(--border);
  background: var(--bg-soft);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.marquee__track i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
  flex: none;
}

/* ---------- Section scaffolding ---------- */
.section {
  position: relative;
  padding-block: clamp(66px, 8.5vw, 118px);
  scroll-margin-top: 90px;
}
.section--stats { padding-block: clamp(34px, 4.5vw, 54px); }

.sec-head { max-width: 740px; margin-bottom: clamp(30px, 4vw, 52px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head h2 {
  margin-top: 16px;
  font-size: clamp(1.75rem, 3.3vw, 2.85rem);
  line-height: 1.45;
  font-weight: 800;
}
.sec-head .lead {
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(14.5px, 1.15vw, 16px);
  line-height: 2.05;
  max-width: 62ch;
}
.sec-head--center .lead { margin-inline: auto; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 13px 5px 7px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.7;
}
.kicker__num {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 22px;
  padding-inline: 6px;
  border-radius: 99px;
  background: var(--gold-tint);
  color: var(--gold-strong);
  font-size: 11px;
  font-weight: 800;
}
html[data-theme="dark"] .kicker__num { color: var(--gold-2); }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: clamp(20px, 2.8vw, 34px) clamp(16px, 2.4vw, 30px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, var(--gold-tint), transparent 42%),
    var(--surface);
  box-shadow: var(--shadow-sm);
}
.stat {
  padding-inline: clamp(10px, 2vw, 30px);
  border-inline-start: 1px solid var(--border);
}
.stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stat__num {
  display: block;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 900;
  line-height: 1.15;
  background: linear-gradient(120deg, var(--gold-3), var(--gold) 55%, var(--gold-1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
html[data-theme="dark"] .stat__num {
  background: linear-gradient(120deg, #C1963B, var(--gold) 50%, #F7E7B7);
  -webkit-background-clip: text;
  background-clip: text;
}
.stat__label {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}
.stat__suffix {
  font-size: 0.55em;
  font-weight: 800;
  margin-inline-start: 3px;
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Cards / bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(14px, 1.6vw, 20px);
}
.card {
  position: relative;
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.2vw, 28px);
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-line);
}
.card--wide { grid-column: span 7; }
.card--talent {
  grid-column: span 5;
  background:
    radial-gradient(120% 90% at 100% 0%, var(--gold-tint), transparent 58%),
    var(--surface);
}
.glow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 20%), rgba(210, 173, 89, 0.14), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.glow:hover::before { opacity: 1; }

.card__ic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--gold-tint);
  color: var(--gold-strong);
  border: 1px solid var(--gold-line);
}
html[data-theme="dark"] .card__ic { color: var(--gold-2); }
.card__ic .icon { width: 21px; height: 21px; }
.card__ic--ink { background: var(--steel-tint); border-color: rgba(82, 105, 135, 0.24); color: var(--steel); }

.card h3 {
  margin-top: 16px;
  font-size: clamp(1.02rem, 1.3vw, 1.16rem);
  font-weight: 700;
  line-height: 1.6;
}
.card p {
  margin-top: 7px;
  font-size: 13.8px;
  line-height: 1.95;
  color: var(--muted);
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-strong);
}
html[data-theme="dark"] .card__link { color: var(--gold-2); }
.card__link .icon { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.card__link:hover .icon { transform: translateX(-4px); }

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.tag--gold {
  border-color: var(--gold-line);
  background: var(--gold-tint);
  color: var(--gold-strong);
}
html[data-theme="dark"] .tag--gold { color: var(--gold-2); }

/* mini course progress */
.mini-course {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 13px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
}
.mini-course__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 9px;
  font-size: 10.5px;
  color: var(--muted);
}
.mini-course__chip { font-weight: 700; color: var(--ink); font-size: 10.5px; white-space: nowrap; }
.mini-course__line {
  height: 5px;
  border-radius: 99px;
  background: var(--border);
  overflow: hidden;
}
.mini-course__line i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-3), var(--gold-1));
}
.mini-course__state { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; }
.mini-course__state .icon { width: 12px; height: 12px; }
.mini-course__state.is-done { color: var(--success); }
.mini-course__row.is-locked { opacity: 0.5; }

.mini-bars--card { height: 42px; margin-top: auto; padding-top: 16px; gap: 5px; }
.mini-bars--card i { border-radius: 3px; }

/* ---------- Talent section ---------- */
.section--talent {
  background:
    radial-gradient(80% 60% at 12% 0%, var(--gold-tint), transparent 55%),
    radial-gradient(60% 60% at 90% 100%, var(--steel-tint), transparent 60%),
    var(--bg-soft);
  border-block: 1px solid var(--border);
}
.talent {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(16px, 2.4vw, 26px);
  align-items: start;
}

.talent__panel {
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.panel__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(38, 155, 117, 0.5);
  animation: pulseGreen 2.4s ease-out infinite;
}
.sliders { display: grid; gap: 18px; padding-top: 20px; }
.slider { display: grid; gap: 6px; }
.slider__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
}
.slider__top b { font-weight: 600; }
.slider__val {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 25px;
  border-radius: 8px;
  background: var(--gold-tint);
  border: 1px solid var(--gold-line);
  color: var(--gold-strong);
  font-size: 12px;
  font-weight: 800;
  font-style: normal;
}
html[data-theme="dark"] .slider__val { color: var(--gold-2); }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 24px;
  margin: 0;
  background: transparent;
  cursor: pointer;
  direction: rtl;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(to left, var(--gold-2) var(--fill, 50%), var(--border) var(--fill, 50%));
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--surface);
  border: 4px solid var(--gold-2);
  box-shadow: 0 2px 8px rgba(16, 27, 50, 0.25);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]:active::-webkit-slider-thumb { box-shadow: 0 0 0 7px var(--gold-tint); }
input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 99px;
  background: var(--border);
}
input[type="range"]::-moz-range-progress {
  height: 6px;
  border-radius: 99px;
  background: var(--gold-2);
}
input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--surface);
  border: 4px solid var(--gold-2);
  box-shadow: 0 2px 8px rgba(16, 27, 50, 0.25);
}
.slider__scale {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--muted);
  opacity: 0.8;
  margin-top: -4px;
}
.panel__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}
.panel__note .icon { width: 15px; height: 15px; color: var(--gold-2); margin-top: 3px; }

.talent__result { display: grid; gap: 12px; }
.radar-card {
  position: relative;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(90% 70% at 100% 0%, var(--gold-tint), transparent 55%),
    var(--surface);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.radar-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.radar-card__head h3 { font-size: 15px; font-weight: 700; }
.radar-card__head small { display: block; margin-top: 2px; font-size: 11px; color: var(--muted); }
.radar-wrap {
  position: relative;
  margin: 4px 0 0;
  width: 100%;
}
#radar { display: block; width: 100%; height: 300px; }
.radar-card__result { padding-top: 16px; border-top: 1px solid var(--border); }
.result__label { font-size: 11px; color: var(--muted); }
.result__top h4 {
  margin-top: 5px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 800;
  color: var(--gold-strong);
}
html[data-theme="dark"] .result__top h4 { color: var(--gold-2); }
.result__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.result__chips span {
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--gold-line);
  background: var(--gold-tint);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
}
.result__insight {
  margin-top: 12px;
  font-size: 12.8px;
  line-height: 1.95;
  color: var(--muted);
}
.talent__disclaimer {
  padding-inline: 4px;
  font-size: 11.5px;
  line-height: 1.9;
  color: var(--muted);
  opacity: 0.85;
}

/* ---------- Apps ---------- */
.app-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(20px, 4vw, 54px);
  align-items: center;
  padding: clamp(24px, 3.4vw, 46px);
  border: 1px solid var(--border);
  border-radius: 30px;
  background:
    radial-gradient(70% 80% at 0% 0%, var(--gold-tint), transparent 55%),
    var(--surface);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  isolation: isolate;
}
.app-card + .app-card { margin-top: clamp(20px, 2.6vw, 30px); }
.app-card--admin {
  background:
    radial-gradient(70% 80% at 0% 0%, var(--steel-tint), transparent 55%),
    var(--surface);
}
.app-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid var(--gold-line);
  background: var(--gold-tint);
  color: var(--gold-strong);
  font-size: 11.5px;
  font-weight: 600;
}
html[data-theme="dark"] .app-card__badge:not(.app-card__badge--steel) { color: var(--gold-2); }
.app-card__badge--steel {
  border-color: rgba(82, 105, 135, 0.3);
  background: var(--steel-tint);
  color: var(--steel);
}
.app-card__badge--steel .badge__dot { background: var(--steel); box-shadow: none; animation: none; }
.app-card h3 {
  margin-top: 16px;
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  font-weight: 800;
  line-height: 1.4;
}
.app-card__lead {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 2.05;
  color: var(--muted);
  max-width: 46ch;
}
.app-list { display: grid; gap: 9px; margin-top: 20px; }
.app-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.3px;
  line-height: 1.85;
  color: var(--muted);
}
.app-list .icon {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  padding: 2px;
  border-radius: 50%;
  background: var(--success-tint);
  color: var(--success);
  stroke-width: 2.6;
}
.app-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.app-card__meta { margin-top: 14px; font-size: 11.5px; color: var(--muted); opacity: 0.9; }
.role-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.role {
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px dashed rgba(82, 105, 135, 0.36);
  background: var(--steel-tint);
  color: var(--steel);
  font-size: 11.5px;
  font-weight: 600;
}
.app-card__visual {
  position: relative;
  display: grid;
  place-items: center;
  padding-block: 10px;
  min-width: 0;
}
.app-blob {
  position: absolute;
  z-index: -1;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}
.app-blob--gold { background: rgba(210, 173, 89, 0.34); }
.app-blob--steel { background: rgba(82, 105, 135, 0.28); }

/* Admin dashboard mock */
.app-card__visual--dash { padding-block: 4px; }
.mock {
  width: 100%;
  max-width: 470px;
  border-radius: 15px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: 9px;
  line-height: 1.7;
  transform: translateZ(0);
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.mock__bar > span { width: 7px; height: 7px; border-radius: 50%; background: var(--border); }
.mock__bar > span:nth-child(1) { background: rgba(220, 98, 104, 0.55); }
.mock__bar > span:nth-child(2) { background: rgba(217, 154, 54, 0.6); }
.mock__bar > span:nth-child(3) { background: rgba(38, 155, 117, 0.55); }
.mock__url {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
  max-width: 220px;
  margin-inline: auto;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 8px;
  direction: ltr;
}
.mock__url .icon { width: 8px; height: 8px; }
.mock__body { display: grid; grid-template-columns: 92px minmax(0, 1fr); min-height: 286px; }
.mk-side {
  padding: 10px 8px;
  border-inline-end: 1px solid var(--border);
  background: var(--surface-2);
}
.mk-brand {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 4px 10px;
  font-size: 9px;
}
.mk-brand i {
  width: 15px;
  height: 15px;
  border-radius: 5px;
  background: linear-gradient(140deg, var(--gold-1), var(--gold-3));
  flex: none;
}
.mk-menu { display: grid; gap: 2px; }
.mk-menu span {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 6px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 8px;
  white-space: nowrap;
}
.mk-menu .icon { width: 9px; height: 9px; }
.mk-menu .is-active {
  background: var(--gold-tint);
  color: var(--gold-strong);
  font-weight: 700;
}
html[data-theme="dark"] .mk-menu .is-active { color: var(--gold-2); }

.mk-main { padding: 10px 11px; display: grid; gap: 9px; align-content: start; }
.mk-top { display: flex; align-items: center; justify-content: space-between; }
.mk-top b { font-size: 10px; }
.mk-top small { display: block; font-size: 7px; color: var(--muted); }
.mk-user {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--steel-tint);
  color: var(--steel);
  font-size: 8px;
  font-weight: 800;
}
.mk-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.mk-stats > div {
  padding: 6px 7px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: grid;
  gap: 1px;
}
.mk-stats small { font-size: 6.6px; color: var(--muted); }
.mk-stats b { font-size: 10.5px; font-weight: 800; direction: ltr; text-align: right; }
.mk-stats .up { font-size: 6.4px; color: var(--success); }
.mk-chart {
  padding: 7px 8px 8px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.mk-chart__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px; }
.mk-chart__head b { font-size: 8px; }
.mk-chart__head span { font-size: 6.5px; color: var(--muted); }
.mk-chart__bars { display: flex; align-items: flex-end; gap: 4px; height: 48px; }
.mk-chart__bars i {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 2px 2px 1px 1px;
  background: linear-gradient(to top, rgba(184, 149, 63, 0.55), var(--gold-2));
}
.mk-table {
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}
.mk-table__row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  font-size: 7px;
  border-top: 1px solid var(--border);
}
.mk-table__row:first-child { border-top: 0; }
.mk-table__row--head { color: var(--muted); background: var(--surface-2); font-size: 6.6px; }
.pill { padding: 1px 5px; border-radius: 99px; font-size: 6.2px; white-space: nowrap; }
.pill--ok { background: var(--success-tint); color: var(--success); }
.pill--wait { background: rgba(217, 154, 54, 0.14); color: var(--warning); }

/* ---------- Journey ---------- */
.section--journey { background: var(--bg-soft); border-block: 1px solid var(--border); }
.journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 26px);
  padding-top: 10px;
}
.journey__path {
  position: absolute;
  inset-block-start: 66px;
  inset-inline: 11%;
  height: 0;
  border-top: 2px dashed var(--gold-line);
  z-index: 0;
}
.journey__path::after {
  content: "";
  position: absolute;
  inset-block-start: -5px;
  inset-inline-start: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 0 4px var(--gold-tint), 0 0 16px rgba(210, 173, 89, 0.8);
  animation: travel 9s linear infinite;
}
.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 4px;
}
.step__num {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--gold-strong);
  background: var(--bg-soft);
  padding-inline: 8px;
  line-height: 1.6;
  letter-spacing: 0.06em;
}
html[data-theme="dark"] .step__num { color: var(--gold-2); }
.step__ic {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-top: 6px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--gold-strong);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}
html[data-theme="dark"] .step__ic { color: var(--gold-2); }
.step:hover .step__ic { transform: translateY(-4px) rotate(-4deg); border-color: var(--gold-line); }
.step__ic .icon { width: 22px; height: 22px; }
.step h3 { margin-top: 15px; font-size: 1rem; font-weight: 700; }
.step p { margin-top: 6px; font-size: 12.8px; line-height: 1.9; color: var(--muted); max-width: 30ch; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 4px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: color 0.25s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--gold-strong); }
html[data-theme="dark"] .faq__item summary:hover { color: var(--gold-2); }
.faq__mark {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.faq__mark::before, .faq__mark::after {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  width: 9px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--muted);
  transform: translate(50%, -50%);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}
.faq__mark::after { transform: translate(50%, -50%) rotate(90deg); }
.faq__item[open] .faq__mark { background: var(--gold-tint); border-color: var(--gold-line); }
.faq__item[open] .faq__mark::before,
.faq__item[open] .faq__mark::after {
  background: var(--gold-strong);
  transform: translate(50%, -50%) rotate(90deg) scaleX(1);
}
.faq__item[open] .faq__mark::after { transform: translate(50%, -50%) rotate(0deg); }
.faq__body { padding: 0 4px 20px; animation: fade 0.35s var(--ease); }
.faq__body p {
  font-size: 13.5px;
  line-height: 2.05;
  color: var(--muted);
  max-width: 68ch;
}

/* ---------- CTA ---------- */
.section--cta { padding-block: clamp(40px, 6vw, 80px) clamp(60px, 8vw, 110px); }
.cta-panel {
  position: relative;
  padding: clamp(38px, 6vw, 82px) clamp(22px, 4vw, 60px);
  border-radius: 34px;
  text-align: center;
  color: #F4F0E6;
  background:
    radial-gradient(80% 120% at 50% -20%, rgba(230, 191, 90, 0.32), transparent 58%),
    linear-gradient(160deg, #17263F 0%, #101B32 48%, #0A1325 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 50px 90px -50px rgba(16, 27, 50, 0.8);
  overflow: hidden;
  isolation: isolate;
}
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(75% 75% at 50% 40%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(75% 75% at 50% 40%, #000, transparent 78%);
}
.cta-panel__glow {
  position: absolute;
  z-index: -1;
  inset-block-start: -45%;
  inset-inline-start: 50%;
  transform: translateX(50%);
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 191, 90, 0.26), transparent 62%);
  filter: blur(30px);
}
.cta-panel__spark {
  position: absolute;
  z-index: -1;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-1);
  box-shadow: 0 0 18px 3px rgba(230, 191, 90, 0.7);
  opacity: 0.8;
}
.cta-panel__spark--1 { inset-block-start: 22%; inset-inline-end: 14%; animation: blink 4.5s ease-in-out infinite; }
.cta-panel__spark--2 { inset-block-end: 24%; inset-inline-start: 12%; width: 4px; height: 4px; animation: blink 6s ease-in-out infinite 1.2s; }

.cta-panel h2 {
  margin-top: 20px;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  font-weight: 900;
  line-height: 1.45;
}
.cta-panel h2 em {
  background: linear-gradient(100deg, #D9B45C 0%, #F5E3AA 48%, #D2AD59 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-panel > p {
  margin: 14px auto 0;
  max-width: 58ch;
  font-size: 14px;
  line-height: 2.05;
  color: rgba(244, 240, 230, 0.72);
}
.cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.cta-panel__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  font-size: 11.5px;
  color: rgba(244, 240, 230, 0.5);
}
.cta-panel__foot i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold-2); opacity: 0.7; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding-block: clamp(38px, 5vw, 62px) 24px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(24px, 4vw, 54px);
}
.footer__brand p {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.95;
  color: var(--muted);
  max-width: 34ch;
}
.brand--footer .brand__text strong { font-size: 16px; }
.footer__col { display: flex; flex-direction: column; gap: 9px; }
.footer__col h4 {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.footer__col a {
  font-size: 12.8px;
  color: var(--muted);
  width: fit-content;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}
.footer__col a:hover { color: var(--gold-strong); transform: translateX(-3px); }
html[data-theme="dark"] .footer__col a:hover { color: var(--gold-2); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 11.5px;
  color: var(--muted);
}
.footer__made { opacity: 0.75; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  inset-block-end: 26px;
  inset-inline-start: 50%;
  transform: translate(50%, 16px);
  z-index: 250;
  max-width: min(90vw, 420px);
  padding: 11px 20px;
  border-radius: 999px;
  background: #101B32;
  color: #F4F0E6;
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
  box-shadow: 0 20px 45px -20px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
html[data-theme="dark"] .toast { background: var(--surface-2); border-color: var(--border); }
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(50%, 0); }

/* ---------- Reveal ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s var(--ease) var(--d, 0ms), transform 0.75s var(--ease) var(--d, 0ms);
  will-change: opacity, transform;
}
html.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- Animations ---------- */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(210, 173, 89, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(210, 173, 89, 0); }
  100% { box-shadow: 0 0 0 0 rgba(210, 173, 89, 0); }
}
@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(38, 155, 117, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(38, 155, 117, 0); }
  100% { box-shadow: 0 0 0 0 rgba(38, 155, 117, 0); }
}
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-3%, 4%, 0) scale(1.07); }
  100% { transform: translate3d(3%, -3%, 0) scale(0.97); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes travel {
  0% { inset-inline-start: 0%; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { inset-inline-start: 100%; opacity: 0; }
}
@keyframes blink {
  0%, 100% { opacity: 0.25; transform: scale(0.8); }
  50% { opacity: 0.95; transform: scale(1.15); }
}
@keyframes cue {
  0% { transform: translateY(-3px); opacity: 0.2; }
  45% { opacity: 1; }
  100% { transform: translateY(9px); opacity: 0; }
}
@keyframes fade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .nav { gap: 12px; }
  .nav a { font-size: 13.5px; }
  .float--talent { inset-inline-start: -2%; }
  .float--money { inset-inline-end: -2%; }
}

@media (max-width: 1020px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header__inner { gap: 12px; }
  .header__actions { margin-inline-start: auto; }
  .header__admin { display: inline-flex; width: 40px; padding: 0; justify-content: center; }
  .header__admin span { display: none; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 46px; }
  .hero__copy { max-width: 640px; margin-inline: auto; text-align: center; }
  .hero__lead, .hero__note { margin-inline: auto; }
  .hero__cta, .facts { justify-content: center; }
  .hero__admin-link { margin-top: 16px; }
  .hero__visual { min-height: 500px; }
  .phone { width: 268px; }
  .float--talent { inset-inline-start: 6%; inset-block-start: 0; }
  .float--money { inset-inline-end: 4%; inset-block-end: 12%; }
  .float--session { inset-inline-start: 10%; }
  .talent { grid-template-columns: minmax(0, 1fr); }
  .app-card { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .app-card__visual { order: 2; }
  .app-card__lead { max-width: none; }
}

@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .stat { padding-inline: 18px; }
  .stat:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .stat:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .stat:nth-child(3), .stat:nth-child(4) { padding-top: 16px; border-top: 1px solid var(--border); }
  .bento { grid-template-columns: repeat(6, 1fr); }
  .card, .card--wide, .card--talent { grid-column: span 3; }
  .card--wide { grid-column: span 6; }
  .journey { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .journey__path { display: none; }
  .step p { max-width: 34ch; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .float--money, .float--session { display: none; }
  .float--talent { inset-inline-start: auto; inset-inline-end: 3%; inset-block-start: -1%; width: 132px; }
  .mini-radar { height: 72px; }
  .hero { padding-block: 108px 54px; }
  .hero__visual { min-height: 440px; }
  .app-card__visual--dash { order: 2; }
  .mk-side { display: none; }
  .mock__body { grid-template-columns: 1fr; min-height: 0; }
}


@media (max-width: 640px) {
  body { font-size: 16px; }
  .header__actions .btn--gold { display: none; }
  .site-header .brand__text small { display: block; }
  .hero h1 { font-size: clamp(1.8rem, 7.6vw, 2.35rem); }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__cta .btn--soft { order: 2; }
  .facts { gap: 8px 14px; font-size: 11.5px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding-inline: 12px; }
  .stat__label { font-size: 11.5px; }
  .bento { grid-template-columns: 1fr; }
  .card, .card--wide, .card--talent { grid-column: auto; }
  .section { padding-block: 58px; }
  .sec-head h2 { font-size: 1.65rem; }
  .kicker { font-size: 11px; }
  .phone { width: 250px; }
  .phone--sm { width: 236px; }
  .float--talent { display: none; }
  .hero__visual { min-height: 520px; }
  .journey { grid-template-columns: 1fr; gap: 26px; }
  .step { flex-direction: row; text-align: start; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
  .step__num { display: none; }
  .step__ic { margin-top: 0; width: 46px; height: 46px; border-radius: 14px; }
  .step h3 { margin-top: 10px; flex: 0 0 calc(100% - 60px); }
  .step p { max-width: none; flex: 1 1 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { justify-content: flex-start; }
  .cta-panel__foot { font-size: 10.5px; }
  .radar-card { padding: 18px 14px; }
  #radar { height: 266px; }
  .app-card { padding: 22px 18px; border-radius: 24px; }
  .app-list li { font-size: 12.8px; }
}

@media (max-width: 420px) {
  .stat__num { font-size: 1.75rem; }
  .stats { gap: 14px 0; }
  .mock { font-size: 8.5px; }
  .mk-stats b { font-size: 9.5px; }
  .app-actions .btn { flex: 1 1 100%; }
  .cta-panel { padding: 32px 18px; border-radius: 24px; }
}

/* ---------- Reduced motion / no JS fallback ---------- */
@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;
  }
  html.js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .progress, .hero__bg, .float, .marquee, .toast, .hero__cue { display: none !important; }
  body { background: #fff; color: #000; }
}
