:root {
  color-scheme: light;
  --bg: #f3f5f8;
  --panel: rgba(255, 255, 255, 0.94);
  --panel-2: rgba(255, 255, 255, 0.98);
  --line: rgba(16, 24, 40, 0.11);
  --text: #08111f;
  --muted: #667085;
  --blue: #ec7025;
  --gold: #ec7025;
  --green: #4cd69c;
  --danger: #ff6b6b;
  --max: 1180px;
  font-family: Outfit, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Custom Theme variables - default LIGHT */
  --bg-color: #ffffff;
  --text-color: #0f172a;
  --bg-workspace: #f8fafc;
  --card-bg: #ffffff;
  --card-text: #0b1220;
  --card-muted: #475467;
  --border-color: rgba(15, 23, 42, 0.11);
  --input-bg: #ffffff;
  --input-border: rgba(15, 23, 42, 0.14);
  --topbar-bg: rgba(255, 255, 255, 0.88);
  --nav-text: #334155;
  --nav-hover-bg: rgba(15, 23, 42, 0.05);
  --sidebar-text: #475569;
  --table-border: rgba(15, 23, 42, 0.12);
  --dropdown-bg: #ffffff;
  --dropdown-border: rgba(15, 23, 42, 0.08);
  --dropdown-link: #475569;
  --gradient-bg-1: rgba(236, 112, 37, 0.12);
  --gradient-bg-2: rgba(236, 112, 37, 0.10);
  --hero-gradient: linear-gradient(180deg, #f8fafc 0, #ffffff 45%, #ffffff 100%);
  --hero-overlay: linear-gradient(180deg, rgba(255,255,255,.15), rgba(255,255,255,.98) 74%), radial-gradient(circle at 50% 10%, rgba(236,112,37,.20), transparent 40%);
  --hero-grid-line: rgba(15, 23, 42, 0.02);
}

/* System Preference Dark Mode */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #05070c;
    --panel: rgba(15, 23, 42, 0.94);
    --panel-2: rgba(15, 23, 42, 0.98);
    --line: rgba(255, 255, 255, 0.08);
    --text: #f8fafc;
    --muted: #94a3b8;
    --bg-color: #090d16;
    --text-color: #f8fafc;
    --bg-workspace: #05070c;
    --card-bg: #0f172a;
    --card-text: #f1f5f9;
    --card-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
    --input-bg: #1e293b;
    --input-border: rgba(255, 255, 255, 0.15);
    --topbar-bg: rgba(9, 13, 22, 0.85);
    --nav-text: #cbd5e1;
    --nav-hover-bg: rgba(255, 255, 255, 0.08);
    --sidebar-text: #94a3b8;
    --table-border: rgba(255, 255, 255, 0.08);
    --dropdown-bg: #0f172a;
    --dropdown-border: rgba(255, 255, 255, 0.1);
    --dropdown-link: #cbd5e1;
    --gradient-bg-1: rgba(236, 112, 37, 0.05);
    --gradient-bg-2: rgba(236, 112, 37, 0.03);
    --hero-gradient: linear-gradient(180deg, #05070c 0, #090d16 45%, #090d16 100%);
    --hero-overlay: linear-gradient(180deg, rgba(9,13,22,.15), rgba(9,13,22,.98) 74%), radial-gradient(circle at 50% 10%, rgba(236,112,37,.10), transparent 40%);
    --hero-grid-line: rgba(255, 255, 255, 0.03);
  }
}

/* User override classes */
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f5f8;
  --panel: rgba(255, 255, 255, 0.94);
  --panel-2: rgba(255, 255, 255, 0.98);
  --line: rgba(16, 24, 40, 0.11);
  --text: #08111f;
  --muted: #667085;
  --bg-color: #ffffff;
  --text-color: #0f172a;
  --bg-workspace: #f8fafc;
  --card-bg: #ffffff;
  --card-text: #0b1220;
  --card-muted: #475467;
  --border-color: rgba(15, 23, 42, 0.11);
  --input-bg: #ffffff;
  --input-border: rgba(15, 23, 42, 0.14);
  --topbar-bg: rgba(255, 255, 255, 0.88);
  --nav-text: #334155;
  --nav-hover-bg: rgba(15, 23, 42, 0.05);
  --sidebar-text: #475569;
  --table-border: rgba(15, 23, 42, 0.12);
  --dropdown-bg: #ffffff;
  --dropdown-border: rgba(15, 23, 42, 0.08);
  --dropdown-link: #475569;
  --gradient-bg-1: rgba(236, 112, 37, 0.12);
  --gradient-bg-2: rgba(236, 112, 37, 0.10);
  --hero-gradient: linear-gradient(180deg, #f8fafc 0, #ffffff 45%, #ffffff 100%);
  --hero-overlay: linear-gradient(180deg, rgba(255,255,255,.15), rgba(255,255,255,.98) 74%), radial-gradient(circle at 50% 10%, rgba(236,112,37,.20), transparent 40%);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #05070c;
  --panel: rgba(15, 23, 42, 0.94);
  --panel-2: rgba(15, 23, 42, 0.98);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f8fafc;
  --muted: #94a3b8;
  --bg-color: #090d16;
  --text-color: #f8fafc;
  --bg-workspace: #05070c;
  --card-bg: #0f172a;
  --card-text: #f1f5f9;
  --card-muted: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.08);
  --input-bg: #1e293b;
  --input-border: rgba(255, 255, 255, 0.15);
  --topbar-bg: rgba(9, 13, 22, 0.85);
  --nav-text: #cbd5e1;
  --nav-hover-bg: rgba(255, 255, 255, 0.08);
  --sidebar-text: #94a3b8;
  --table-border: rgba(255, 255, 255, 0.08);
  --dropdown-bg: #0f172a;
  --dropdown-border: rgba(255, 255, 255, 0.1);
  --dropdown-link: #cbd5e1;
  --gradient-bg-1: rgba(236, 112, 37, 0.05);
  --gradient-bg-2: rgba(236, 112, 37, 0.03);
  --hero-gradient: linear-gradient(180deg, #05070c 0, #090d16 45%, #090d16 100%);
  --hero-overlay: linear-gradient(180deg, rgba(9,13,22,.15), rgba(9,13,22,.98) 74%), radial-gradient(circle at 50% 10%, rgba(236,112,37,.10), transparent 40%);
  --hero-grid-line: rgba(255, 255, 255, 0.03);
}

* { box-sizing: border-box; }
html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--bg-color);
}
body {
  margin: 0;
  min-height: 100vh;
  min-width: 320px;
  background: var(--bg-color);
  color: var(--text-color);
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
input, textarea, select, button { max-width: 100%; }

.topbar {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 30;
  display: flex;
  width: min(calc(100% - 28px), var(--max));
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 70px rgba(16, 24, 40, 0.14);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; }
.brand-logo { display: block; width: 246px; max-width: 48vw; height: auto; }
.brand span, .avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 7px;
  background: linear-gradient(145deg, #f2d181, var(--gold) 58%, #8d6924);
  color: #080a0e;
  font-weight: 950;
}
.avatar {
  overflow: hidden;
  object-fit: cover;
}
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  min-height: 42px;
  padding: 12px;
  border-radius: 7px;
  color: #364152;
  font-size: 14px;
  font-weight: 700;
}
.main-nav a:hover, .main-nav .nav-cta {
  background: #eef4ff;
  color: #08111f;
}
.main-nav .nav-cta {
  background: #08111f;
  color: #fff;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
}
.lang-switch a {
  min-height: 30px;
  padding: 7px 9px;
  border-radius: 999px;
  font-size: 12px;
}
.lang-switch a.active {
  background: #ec7025;
  color: #fff;
}
.nav-icon {
  display: inline-grid;
  width: 42px;
  min-width: 42px;
  place-items: center;
  padding: 0;
  font-size: 20px;
}
.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 220px;
  padding: 6px 10px 6px 6px;
}
.user-chip span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-chip-photo,
.table-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  min-width: 34px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #62dce2, #0875d7);
  color: #fff;
  object-fit: cover;
  font-size: 12px;
  font-weight: 950;
}
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); }
.menu-button span { display: block; width: 18px; height: 2px; margin: 4px auto; background: currentColor; }

.flash,
body > div[class*="flash"] {
  position: fixed;
  top: 96px;
  left: 50%;
  z-index: 40;
  width: min(calc(100% - 28px), 720px);
  padding: 14px 16px;
  border: 1px solid rgba(215, 173, 85, 0.42);
  border-radius: 8px;
  background: rgba(33, 26, 12, 0.95);
  color: #ffe5a8;
  transform: translateX(-50%);
}

.hero {
  position: relative;
  display: grid;
  min-height: 760px;
  overflow: hidden;
  align-items: center;
  padding: 140px 24px 60px;
}
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% center; opacity: 0.84; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 7, 11, 0.97), rgba(5, 7, 11, 0.68) 48%, rgba(5, 7, 11, 0.16)), linear-gradient(0deg, #111827, transparent 34%); }
.hero-content, .section, .footer { position: relative; width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.hero h1, .page-hero h1, .workspace h1 { max-width: 790px; margin: 14px 0 0; font-size: clamp(42px, 8vw, 88px); line-height: 0.96; letter-spacing: 0; }
.hero p, .page-hero > p { max-width: 650px; color: #d7deed; font-size: 19px; line-height: 1.62; }
.page-hero > p, .workspace > p, .section-heading p:last-child { color: var(--muted); }
.hero h1, .hero .eyebrow { color: #fff; }
.eyebrow { color: var(--blue); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 17px;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 900;
}
.button.primary { background: linear-gradient(135deg, #f2d181, var(--gold) 58%, #8d6924); color: #080a0e; }
.button.secondary { border-color: var(--line); background: #fff; color: var(--text); }

.metric-grid, .cards {
  display: grid;
  gap: 14px;
}
.metric-grid { max-width: 860px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 54px; }
.metric-grid article, .card, .panel, .stat, .side-nav {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 22px 70px rgba(16, 24, 40, 0.11);
  backdrop-filter: blur(18px);
}
.hero .metric-grid article { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }
.hero .metric-grid span { color: #d7deed; }
.metric-grid article, .card, .panel, .stat { padding: 22px; }
.metric-grid strong, .stat strong, .price strong { display: block; font-size: 32px; }
.metric-grid span, .card p, .card small, .card li, .stat span, .stat small, .price span { color: var(--muted); }

.market-strip {
  display: flex;
  gap: 42px;
  overflow: hidden;
  padding: 16px 24px;
  border-block: 1px solid var(--line);
  background: #08111f;
  color: #87efc6;
  white-space: nowrap;
  font-weight: 900;
}
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.section { padding: 64px 0; position: relative; }
.section-heading { display: grid; grid-template-columns: 1fr 0.78fr; gap: 42px; align-items: end; margin-bottom: 32px; }
.section-heading h2 { margin: 8px 0 0; font-size: clamp(32px, 5vw, 56px); line-height: 1.04; }
.section-heading p:last-child { color: var(--muted); line-height: 1.65; }
.split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.8fr); gap: 16px; }
.stack { display: grid; gap: 14px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.pill { padding: 7px 10px; border-radius: 999px; background: rgba(76, 214, 156, 0.16); color: var(--green); font-size: 12px; font-weight: 900; }
canvas { display: block; width: 100%; min-height: 240px; }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card h2, .card h3 { margin-top: 0; }
.card a { color: var(--gold); font-weight: 900; }
.article-body { max-width: 820px; }
.article-body p { font-size: 18px; line-height: 1.8; }
.product .number {
  display: grid;
  width: 88px;
  height: 88px;
  margin-bottom: 28px;
  place-items: center;
  border: 1px solid rgba(215, 173, 85, 0.45);
  border-radius: 7px;
  color: var(--gold);
  font-size: 38px;
  font-weight: 950;
}
.product ul { padding-left: 18px; min-height: 116px; }
.product a { color: var(--gold); font-weight: 900; }
.broker-band {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 24px;
  align-items: center;
  padding: 56px 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(135deg, #08111f, #102543 58%, #0b1320);
  color: #fff;
}
.broker-band h2 { margin: 8px 0; font-size: clamp(34px, 5vw, 58px); line-height: 1; }
.broker-list { display: grid; gap: 10px; }
.broker-list article,
.broker-card { display: flex; gap: 16px; align-items: center; padding: 14px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(255,255,255,.06); }
.broker-list article > span,
.broker-card > span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 7px; background: rgba(30, 136, 255, 0.18); color: #9ccaff; font-weight: 950; }
.broker-list small { display: block; color: #d7deed; margin-top: 4px; }
.broker-card em {
  display: block;
  margin-top: 8px;
  color: #70a8ff;
  font-style: normal;
  font-weight: 950;
}
.broker-logo-img {
  height: 58px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  border-radius: 12px;
  background: #ffffff;
  padding: 6px 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.admin-logo-preview {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 5px;
}
.admin-logo-preview { width: 38px; height: 38px; margin-right: 8px; vertical-align: middle; }

.vip-telegram {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 44px;
  border-radius: 24px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  box-shadow: 0 22px 70px rgba(16, 24, 40, 0.11);
}
.vip-telegram h2 { margin: 8px 0; font-size: clamp(32px, 5vw, 58px); line-height: 1; }
.vip-telegram p { max-width: 650px; color: var(--muted); line-height: 1.65; }
.vip-steps { display: grid; gap: 10px; min-width: 260px; }
.vip-steps article {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 14px;
  background: var(--bg-workspace);
}
.vip-steps strong { color: var(--blue); }

.page-hero { padding-top: 150px; }
.pricing-row { margin-top: 28px; }
.price form { margin-top: 18px; }

.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 120px 16px 40px; }
.auth-card { width: min(100%, 460px); padding: 32px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel-2); box-shadow: 0 22px 70px rgba(16, 24, 40, 0.12); }
.auth-card h1 { margin: 8px 0 20px; font-size: 42px; }
.hint { color: var(--muted); font-size: 13px; line-height: 1.6; }

label { display: grid; gap: 8px; margin: 12px 0; color: var(--text-color); font-weight: 800; }
input, textarea, select {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--input-bg);
  color: var(--text-color);
}
textarea { min-height: 110px; resize: vertical; }

.app-shell {
  display: grid;
  width: min(calc(100% - 32px), var(--max));
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 18px;
  margin: 0 auto;
  padding: 128px 0 70px;
}
.workspace,
.side-nav,
.card,
.cards {
  min-width: 0;
}
.side-nav { position: sticky; top: 98px; align-self: start; padding: 18px; }
.side-nav strong { display: block; margin: 10px 0 18px; }
.side-nav a {
  display: block;
  min-height: 42px;
  padding: 12px;
  border-radius: 7px;
  color: var(--muted);
  font-weight: 800;
  overflow-wrap: anywhere;
}
.side-nav a:hover, .side-nav a.active { background: #eef4ff; color: #08111f; }
.workspace h1 { font-size: clamp(34px, 5vw, 62px); }
.access-list { padding-left: 18px; }

table { width: 100%; margin-top: 20px; border-collapse: collapse; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
th, td { padding: 13px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--gold); font-size: 13px; text-transform: uppercase; }
td { color: #334155; }
.inline-form { display: inline; }
.inline-form button, td button { min-height: 36px; border: 1px solid var(--line); border-radius: 7px; background: rgba(255, 255, 255, 0.08); color: var(--text); cursor: pointer; }
.inline-form select { width: auto; min-width: 130px; margin-right: 6px; }
.report-form { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: end; }
.report-form label { margin: 0; }

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
}
.footer span { display: block; margin-top: 5px; color: var(--muted); }

@media (max-width: 980px) {
  .menu-button { display: block; }
  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    width: min(360px, calc(100vw - 28px));
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
  }
  .topbar.open .main-nav { display: flex; }
  .section-heading, .split, .broker-band, .app-shell { grid-template-columns: 1fr; }
  .cards.four, .cards.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vip-telegram { grid-template-columns: 1fr; }
  .report-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side-nav { position: static; }
}

@media (max-width: 680px) {
  .hero { min-height: 92svh; padding: 112px 16px 28px; }
  .hero h1 { font-size: 42px; }
  .hero p { font-size: 17px; }
  .actions .button { flex: 1 1 150px; }
  .metric-grid, .cards.four, .cards.three, .cards.two, .report-form { grid-template-columns: 1fr; }
  .metric-grid { margin-top: 28px; }
  .section { width: min(calc(100% - 24px), var(--max)); padding: 64px 0; }
  .page-hero { padding-top: 130px; }
  .app-shell { width: min(calc(100% - 24px), var(--max)); padding-top: 112px; }
  .broker-band { padding: 34px 18px; }
  table { display: block; overflow-x: auto; }
  .footer { align-items: stretch; flex-direction: column; }
}

/* Premium light front office theme for Kleos Elite Club */
.front {
  --ft-bg: var(--bg-color);
  --ft-card: var(--card-bg);
  --ft-card-2: var(--bg-workspace);
  --ft-line: var(--border-color);
  --ft-muted: var(--card-muted);
  --ft-blue: #ec7025;
  --ft-green: #10b981;
  --ft-orange: #ff8618;
  background:
    radial-gradient(circle at 50% 100%, var(--gradient-bg-1) 0%, transparent 60%),
    radial-gradient(circle at 50% 0%, var(--gradient-bg-2) 0%, transparent 50%),
    var(--bg-color);
  color: var(--text-color);
}
.front .topbar {
  top: 0;
  left: 0;
  width: 100%;
  max-width: none;
  min-height: 78px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-width: 0 0 1px;
  border-radius: 0;
  border-color: var(--ft-line);
  background: var(--topbar-bg);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
  transform: none;
  backdrop-filter: blur(20px);
}
.front .brand { color: var(--text-color); }
.front .brand span {
  width: 38px;
  height: 38px;
  border-radius: 4px;
  background: linear-gradient(135deg, #fff, #ff8618);
  color: #0d0e12;
}
.front .main-nav a { color: var(--nav-text); }
.front .main-nav a:hover { background: var(--nav-hover-bg); color: var(--text-color); }
.front .main-nav .nav-cta {
  background: linear-gradient(180deg, #ff964f, #ec7025);
  color: #fff;
  box-shadow: 0 10px 32px rgba(236, 112, 37, 0.28);
}
.front .hero {
  min-height: 860px;
  padding-top: 118px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(236, 112, 37, 0.25), transparent 45%),
    var(--hero-gradient);
}
.front .hero-media { opacity: .12; filter: saturate(1.1) contrast(1.04); }
.front .hero-overlay {
  background: var(--hero-overlay);
}
.front .hero-content { display: grid; justify-items: center; }
.front .hero-badge {
  display: inline-flex;
  width: auto;
  margin: 10px auto 18px;
  padding: 12px 18px;
  border: 1px solid rgba(236, 112, 37, 0.16);
  border-radius: 8px;
  background: rgba(236, 112, 37, 0.05);
  color: #ec7025;
  font-weight: 900;
}
.front .hero h1 {
  max-width: 1120px;
  margin: 10px auto 0;
  font-size: clamp(54px, 7.9vw, 132px);
  line-height: .96;
  text-transform: none;
  color: var(--text-color);
}
.front .hero p {
  margin-inline: auto;
  color: var(--card-muted);
  font-size: 22px;
}
.front .actions { justify-content: center; }
.front .button {
  min-height: 56px;
  border-radius: 8px;
  padding: 15px 22px;
}
.front .button.primary {
  background: linear-gradient(180deg, #ff964f, #ec7025);
  color: #fff;
  box-shadow: 0 12px 30px rgba(236, 112, 37, .35);
}
.front .button.secondary {
  border-color: var(--border-color);
  background: var(--nav-hover-bg);
  color: var(--text-color);
}
.front .button.ghost {
  border-color: var(--border-color);
  background: var(--nav-hover-bg);
  color: var(--text-color);
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
  align-items: center;
  color: #fff;
  font-weight: 900;
}
.trust-row a { color: rgba(255,255,255,.76); text-decoration: underline; }
.stars {
  display: inline-flex;
  padding: 3px 8px;
  background: #43b77a;
  color: #fff;
  letter-spacing: 2px;
  font-size: 18px;
  line-height: 1;
}
.front .metric-grid {
  width: min(100%, 980px);
  margin-top: 82px;
  padding-top: 36px;
  border-top: 1px solid var(--ft-line);
}
.front .metric-grid article,
.front .card,
.front .panel,
.front .stat {
  border-color: var(--ft-line);
  background: var(--ft-card);
  box-shadow: none;
  color: #0f172a;
}
.front .metric-grid span,
.front .card p,
.front .card small,
.front .card li,
.front .stat span,
.front .stat small,
.front .price span,
.front .section-heading p:last-child,
.front .page-hero > p {
  color: var(--ft-muted);
}
.front .market-strip {
  justify-content: center;
  border-color: var(--ft-line);
  background: #f8fafc;
  color: #475569;
}
.front .section { color: var(--text-color); }
.front .section-heading h2,
.front .page-hero h1 { color: var(--text-color); }
.front .eyebrow { color: #ec7025; }

.ft-section {
  position: relative;
  width: min(calc(100% - 32px), 1640px);
  margin: 0 auto;
  padding: 104px 0;
  color: var(--text-color);
}
.ft-heading { text-align: center; margin: 0 auto 42px; }
.ft-heading h2,
.how-section > h2 {
  margin: 0;
  font-size: clamp(42px, 5.2vw, 82px);
  line-height: 1.02;
}
.ft-heading p { margin: 14px auto 0; max-width: 780px; color: var(--ft-muted); font-size: 22px; }
.challenge-section {
  background:
    radial-gradient(circle at 50% 0, rgba(236, 112, 37, 0.12), transparent 40%),
    var(--bg-color);
}
.challenge-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(720px, 100%);
  margin: 0 auto 42px;
  padding: 8px;
  border-radius: 16px;
  background: var(--nav-hover-bg);
  border: 1px solid var(--border-color);
}
.challenge-toggle button {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  align-items: center;
  min-height: 82px;
  padding: 16px 26px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--card-muted);
  text-align: left;
  cursor: pointer;
}
.challenge-toggle button span { grid-row: span 2; font-size: 30px; }
.challenge-toggle button strong { font-size: 22px; color: var(--text-color); }
.challenge-toggle button small { color: var(--card-muted); font-weight: 800; }
.challenge-toggle .is-active { background: var(--card-bg); color: var(--text-color); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.challenge-tools {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  padding: 22px 0;
  border-block: 1px solid var(--ft-line);
}
.currency-pills,
.switch-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.currency-pills button {
  min-height: 54px;
  padding: 13px 20px;
  border: 0;
  border-radius: 14px;
  background: #202124;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}
.currency-pills .is-active {
  outline: 1px solid rgba(255,255,255,.46);
  background: #55575e;
}
.mini-switch {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0;
  color: #fff;
}
.mini-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  opacity: 0;
  pointer-events: none;
}
.mini-switch span {
  width: 58px;
  height: 32px;
  border-radius: 999px;
  background: #202124;
}
.mini-switch span::before {
  display: block;
  width: 28px;
  height: 28px;
  margin: 2px;
  border-radius: 50%;
  background: #fff;
  content: "";
  transition: transform .2s ease;
}
.mini-switch input:checked + span::before { transform: translateX(26px); }
.challenge-board {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 24px;
  align-items: end;
  margin-top: 36px;
}
.objective-list {
  display: grid;
  gap: 26px;
  padding-bottom: 62px;
  color: var(--text-color);
  font-size: 20px;
  font-weight: 900;
}
.objective-list span {
  padding-bottom: 4px;
  border-bottom: 1px dashed var(--border-color);
}
.challenge-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(170px, 1fr));
  gap: 16px;
}
.challenge-cards article {
  position: relative;
  min-height: 540px;
  padding: 34px 32px 28px;
  border: 1px solid var(--ft-line);
  border-radius: 14px;
  background: var(--card-bg);
  color: var(--text-color);
}
.challenge-cards .is-featured {
  background: radial-gradient(circle at 50% -4%, rgba(236, 112, 37, 0.10), transparent 32%), var(--card-bg);
  border-color: rgba(236, 112, 37, 0.3);
}
.challenge-cards small { color: var(--ft-muted); font-weight: 900; }
.challenge-cards h3 { margin: 4px 0 28px; font-size: 34px; }
.challenge-cards ul {
  display: grid;
  gap: 16px;
  margin: 0 0 24px;
  padding: 24px 0 0;
  border-top: 1px solid var(--ft-line);
  list-style: none;
}
.challenge-cards li { display: flex; justify-content: space-between; gap: 10px; color: var(--ft-muted); font-weight: 900; }
.challenge-cards .green { color: var(--ft-green); }
.challenge-cards article[hidden] { display: none; }
.challenge-cards article.is-filtered {
  grid-column: span 2;
  min-height: 500px;
  box-shadow: 0 34px 90px rgba(47,131,255,.16);
}
.feature-muted {
  opacity: .28;
  text-decoration: line-through;
}
.pricing-page {
  min-height: 100vh;
  padding-top: 96px;
  background:
    radial-gradient(circle at 50% 100%, rgba(236, 112, 37, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 50% 0%, rgba(236, 112, 37, 0.10) 0%, transparent 50%),
    #ffffff;
  color: #0f172a;
  overflow: clip;
}
.pricing-page .top-note {
  color: var(--ft-muted);
}
.pricing-challenge {
  width: min(calc(100% - 28px), 1980px);
  padding-top: 42px;
}
.pricing-challenge .ft-heading {
  margin-bottom: 38px;
}
.pricing-challenge .ft-heading h1 {
  max-width: 1120px;
  margin: 0 auto;
  font-size: clamp(42px, 5vw, 88px);
  line-height: .98;
}
.pricing-offer-cards article {
  min-height: 680px;
  display: flex;
  flex-direction: column;
}
.pricing-offer-cards h3 {
  min-height: 82px;
  display: flex;
  align-items: flex-end;
  margin: 4px 0 20px;
}
.pricing-offer-cards ul {
  flex-grow: 1;
  margin-bottom: 24px;
}
.pricing-offer-cards .pricing-card-info {
  margin-top: auto;
  display: flex;
  flex-direction: column;
}
.pricing-offer-cards .free-note {
  min-height: 68px;
  margin-bottom: 12px;
}
.offer-price {
  display: grid;
  gap: 2px;
  margin: -12px 0 18px;
}
.offer-price strong {
  color: #0f172a;
  font-size: clamp(34px, 3vw, 54px);
  line-height: 1;
}
.offer-price span,
.trial-note {
  color: var(--ft-muted);
  font-weight: 850;
}
.pricing-card-form {
  display: grid;
  gap: 10px;
  margin-top: auto;
}
.pricing-card-form select,
.pricing-card-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--ft-line);
  border-radius: 12px;
  background: #ffffff;
  color: #0f172a;
  padding: 0 12px;
  outline: none;
}
.pricing-card-form .button {
  width: 100%;
  justify-content: center;
}
.pricing-page .challenge-board {
  display: block;
  margin-top: 36px;
}
.pricing-offer-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
  gap: 32px;
  justify-content: center;
  margin: 0 auto;
  width: 100%;
  max-width: 1440px;
}
.broker-pricing-note {
  padding-top: 24px;
}
.broker-pricing-note article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 38px;
  border: 1px solid var(--ft-line);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(236, 112, 37, 0.08), rgba(255, 255, 255, 0.02)), #ffffff;
  color: #0f172a;
}
.broker-pricing-note h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 3vw, 54px);
}
.broker-pricing-note p {
  margin: 0;
  max-width: 820px;
  color: var(--ft-muted);
}
.best-value,
.discount {
  position: absolute;
  top: -22px;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--ft-orange);
  color: #fff;
  font-weight: 950;
}
.best-value { left: 50%; transform: translateX(-50%); }
.discount { right: 22px; transform: rotate(13deg); box-shadow: 0 0 26px rgba(255,134,24,.7); }

.proof-stats {
  display: flex;
  justify-content: center;
  gap: 38px;
  margin-top: 24px;
}
.proof-stats strong {
  display: inline-flex;
  gap: 10px;
  align-items: baseline;
  font-size: 28px;
}
.proof-stats span { color: var(--ft-muted); font-size: 18px; }
.video-row,
.member-photo-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(260px, 1fr));
  gap: 28px;
  overflow: hidden;
}
.video-row article,
.member-photo-row article {
  padding: 12px 12px 26px;
  border: 1px solid var(--ft-line);
  border-radius: 18px;
  background: var(--ft-card);
}
.member-photo-row img {
  display: block;
  width: 100%;
  aspect-ratio: 1.22;
  object-fit: cover;
  border-radius: 14px;
  background: #1b1e24;
}
.member-card-body {
  padding: 24px 24px 8px;
}
.member-card-body span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(104,170,255,.16);
  color: #9ccaff;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.member-card-body h3 {
  margin: 16px 0 4px;
  color: #fff;
  font-size: 34px;
}
.member-card-body p { margin: 0; color: var(--ft-muted); }
.member-photo-row dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 18px 24px 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.member-photo-row dt {
  color: rgba(255,255,255,.44);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.member-photo-row dd {
  margin: 6px 0 0;
  color: #fff;
  font-size: 19px;
  font-weight: 950;
}
.video-thumb {
  position: relative;
  display: grid;
  min-height: 320px;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background:
    radial-gradient(circle at 45% 34%, rgba(255,255,255,.5) 0 5%, transparent 6%),
    radial-gradient(circle at 50% 34%, rgba(0,0,0,.9) 0 9%, transparent 10%),
    linear-gradient(145deg, #234b83, #9c7a55 55%, #242326);
}
.video-row article:nth-child(2) .video-thumb { background: linear-gradient(145deg, #4c97e7, #d7edf9 48%, #0f1a24); }
.video-row article:nth-child(3) .video-thumb { background: linear-gradient(145deg, #2a2f29, #a17852 52%, #171719); }
.video-row article:nth-child(4) .video-thumb { background: linear-gradient(145deg, #ddd, #8f9299 50%, #111); }
.video-thumb::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.45));
  content: "";
}
.youtube {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 12px 18px;
  border-radius: 8px;
  background: rgba(255,255,255,.35);
  font-weight: 900;
}
.video-thumb button {
  z-index: 1;
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  color: #fff;
  cursor: pointer;
}
.video-row h3 { margin: 26px 22px 6px; font-size: 32px; }
.video-row p { margin: 0 22px 30px; color: var(--ft-muted); }
.video-row dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 0 22px;
  padding-top: 22px;
  border-top: 1px solid var(--ft-line);
}
.video-row dt {
  color: rgba(255,255,255,.44);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}
.video-row dd { margin: 7px 0 0; font-size: 20px; font-weight: 950; }

.review-wall { width: min(calc(100% - 32px), 1500px); }
.review-score { text-align: center; margin-bottom: 58px; }
.review-score strong { display: inline-block; margin-right: 12px; font-size: 32px; }
.review-score p { color: var(--ft-muted); font-weight: 800; }
.review-wall > h2 { margin: 0 0 22px; font-size: 20px; }
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.review-grid article {
  min-height: 230px;
  padding: 24px;
  background: #202020;
}
.review-grid h3 { margin: 8px 0; font-size: 22px; }
.review-grid p { color: rgba(255,255,255,.78); font-size: 18px; line-height: 1.4; }
.review-grid .review-meta { color: rgba(255,255,255,.6); font-weight: 900; }
.review-grid a { color: #4cc87f; font-weight: 900; text-decoration: underline; }
.trust-button {
  display: table;
  margin: 34px auto 0;
  padding: 18px 24px;
  border-radius: 8px;
  background: #fff;
  color: #08090c;
  font-weight: 950;
}

.how-section { text-align: center; }
.how-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 62px;
  text-align: center;
}
.how-cards article,
.how-cards a {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 42px 32px;
  border: 1px solid var(--ft-line);
  border-radius: 18px;
  color: #0f172a;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.02);
  transition: all 0.3s ease;
}
.how-cards a:hover {
  border-color: rgba(236, 112, 37, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(236, 112, 37, 0.06);
}
.how-cards article > span,
.how-cards a > span {
  display: inline-grid;
  width: 80px;
  height: 80px;
  place-items: center;
  border: 1px solid rgba(236, 112, 37, 0.2);
  border-radius: 14px;
  background: rgba(236, 112, 37, 0.05);
  color: #ec7025;
  font-size: 42px;
  font-weight: 950;
}
.how-cards small {
  display: block;
  margin: 20px 0 8px;
  color: var(--ft-muted);
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}
.how-cards h3 { margin: 0; font-size: 32px; line-height: 1.14; }
.how-cards p { color: var(--card-muted); font-size: 18px; line-height: 1.45; }
.blue-card, .green-card, .orange-card { background: var(--card-bg); border: 1px solid var(--border-color); }
.how-cards ul {
  position: absolute;
  right: 34px;
  bottom: 34px;
  left: 34px;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.how-cards li {
  padding: 18px 20px;
  border-radius: 12px;
  background: rgba(9, 14, 25, .56);
  text-align: left;
  font-weight: 900;
}
.reward-card,
.premium-stack {
  position: absolute;
  right: 44px;
  bottom: 46px;
  left: 44px;
  padding: 34px;
  border-radius: 16px;
  background: rgba(0,0,0,.55);
  box-shadow: 0 25px 90px rgba(0,0,0,.35);
}
.reward-card strong,
.reward-card b { display: block; }
.reward-card b { color: #53d76b; font-size: 34px; }
.premium-stack { display: flex; justify-content: center; gap: 14px; background: transparent; box-shadow: none; }
.premium-stack b {
  display: grid;
  width: 132px;
  height: 94px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, #4338ca, #f6c548);
}
.center-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 42px;
}

.platforms-section,
.support-section {
  display: grid;
  grid-template-columns: minmax(320px, .8fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: center;
}
.platforms-section h2,
.support-section h2 {
  margin: 0 0 24px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.04;
}
.platforms-section p,
.support-section p {
  color: var(--ft-muted);
  font-size: 22px;
  line-height: 1.45;
}
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 54px 28px;
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98), rgba(255,255,255,.38) 30%, rgba(255,255,255,.98)),
    repeating-linear-gradient(90deg, rgba(15,23,42,.03) 0 1px, transparent 1px 260px);
  border: 1px solid var(--ft-line);
}
.platform-grid article {
  display: grid;
  min-height: 210px;
  place-items: center;
  border: 1px solid var(--ft-line);
  border-radius: 14px;
  background: #ffffff;
  color: #0f172a;
  font-size: 24px;
  font-weight: 950;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.02);
}
.platform-grid b { color: #f5a04c; }
.platform-logo-card {
  gap: 14px;
  padding: 22px;
  text-align: center;
}
.platform-logo-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  padding: 15px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 18px 44px rgba(0,0,0,.26);
}
.platform-logo-card span {
  color: #0f172a;
  font-size: 18px;
  font-weight: 950;
}
.people-section { padding-top: 36px; }
.people-photo {
  min-height: 700px;
  overflow: hidden;
  padding: 90px 32px 0;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(236, 112, 37, 0.78), rgba(255,255,255,.08) 38%, rgba(5,6,8,.04) 62%),
    radial-gradient(circle at 12% 75%, #f3d6b6 0 3%, transparent 3.3%),
    radial-gradient(circle at 24% 72%, #e8bb94 0 3%, transparent 3.3%),
    radial-gradient(circle at 38% 76%, #d9a77f 0 3%, transparent 3.3%),
    radial-gradient(circle at 52% 73%, #f2c7a2 0 3%, transparent 3.3%),
    radial-gradient(circle at 65% 76%, #e0ae88 0 3%, transparent 3.3%),
    radial-gradient(circle at 78% 72%, #ecc19b 0 3%, transparent 3.3%),
    linear-gradient(180deg, #f8b284 0 34%, #d6d1c4 34% 58%, #59412e 58% 100%);
  text-align: center;
}
.people-photo h2 { margin: 0; font-size: clamp(44px, 5.4vw, 82px); }
.people-photo p {
  max-width: 780px;
  margin: 24px auto;
  color: rgba(255,255,255,.86);
  font-size: 22px;
  line-height: 1.4;
}
.availability {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 900;
}
.availability span,
.online-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #4cc763;
  box-shadow: 0 0 0 8px rgba(76,199,99,.12);
}
.support-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 34px 0 30px;
}
.support-actions a,
.contact-box {
  border: 1px solid var(--ft-line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.02);
}
.support-actions a {
  min-height: 64px;
  padding: 20px;
  color: #0f172a;
  font-size: 20px;
  font-weight: 900;
}
.contact-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 20px;
}
.contact-box span { color: var(--ft-muted); font-weight: 900; }
.contact-box strong { display: block; margin-top: 6px; color: #0f172a; font-size: 20px; }
.support-visual {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(10,15,25,.15), rgba(47,100,181,.72)),
    url("support-desk.png") center / cover no-repeat;
}
.language-cloud {
  position: absolute;
  top: 28px;
  left: -20px;
  right: -20px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  z-index: 2;
}
.language-cloud span {
  padding: 16px 22px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(255,255,255,.13);
  font-weight: 900;
  backdrop-filter: blur(12px);
}
.support-person {
  display: none;
}
.support-numbers {
  position: absolute;
  bottom: 44px;
  left: 44px;
  display: flex;
  gap: 62px;
}
.support-numbers strong { font-size: 58px; line-height: 1; }
.support-numbers span { display: block; margin-top: 12px; color: #fff; font-size: 22px; font-weight: 800; }
.faq-strip { width: min(calc(100% - 32px), 1360px); }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
}
.faq-grid details {
  border-radius: 18px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
}
.faq-grid summary {
  min-height: 90px;
  padding: 30px 34px;
  cursor: pointer;
  list-style: none;
  font-size: 24px;
  font-weight: 950;
}
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::before { margin-right: 22px; color: #ec7025; content: "⊕"; }
.faq-grid details[open] summary::before { content: "⊖"; }
.faq-grid p {
  margin: -12px 34px 30px 76px;
  color: var(--ft-muted);
  font-size: 18px;
  line-height: 1.5;
}
.faq-more {
  margin-top: 38px;
  text-align: center;
  color: var(--ft-muted);
  font-size: 20px;
}
.faq-more a { color: #ec7025; font-weight: 950; }
.final-cta {
  display: grid;
  grid-template-columns: minmax(320px, .8fr) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
  overflow: hidden;
  padding: 48px 42px;
  border-radius: 22px;
  background: linear-gradient(145deg, #ff964f, #ec7025);
  color: #ffffff;
}
.final-cta h2 { margin: 0; font-size: clamp(44px, 5vw, 76px); line-height: 1.05; }
.final-cta ul {
  display: grid;
  gap: 18px;
  margin: 34px 0;
  padding: 0;
  list-style: none;
  font-size: 24px;
  font-weight: 900;
}
.final-cta li::before { margin-right: 14px; content: "✓"; }
.dashboard-mock {
  position: relative;
  min-height: 480px;
  border: 8px solid rgba(255,255,255,.38);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(5,9,16,.05), rgba(5,9,16,.5)),
    url("trading-dashboard.png") center / cover no-repeat;
  box-shadow: 0 40px 110px rgba(0,0,0,.35);
}
.mock-sidebar,
.mock-chart,
.mock-panel {
  display: none;
}

.front .broker-band {
  border-color: var(--ft-line);
  background: linear-gradient(135deg, #f8fafc, #fff7ed 58%, #f1f5f9);
}
.front .vip-telegram {
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
  color: #0f172a;
}
.front .vip-steps article { background: var(--bg-workspace); }
.front .product .number { color: #ec7025; border-color: rgba(236,112,37,.4); }
.front .card a,
.front .product a { color: #ec7025; }
.front label { color: var(--text-color); }
.front input,
.front textarea,
.front select {
  border-color: var(--input-border);
  background: var(--input-bg);
  color: var(--text-color);
}
.front table { background: var(--card-bg); border-color: var(--border-color); }
.front td { color: var(--card-muted); }
.front .auth-card,
.front .side-nav {
  border-color: var(--border-color);
  background: var(--card-bg);
  color: var(--text-color);
}
.front .side-nav a:hover,
.front .side-nav a.active {
  background: rgba(236,112,37,.1);
  color: #ec7025;
}
.footer {
  display: block;
  width: min(calc(100% - 32px), 1360px);
  padding: 48px 0 64px;
  color: #334155;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--ft-line);
}
.footer-brand span { margin-right: 10px; }
.socials { display: flex; gap: 16px; color: #64748b; font-weight: 950; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 46px;
  padding-top: 42px;
}
.footer h3 {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 18px;
  color: #0f172a;
  font-size: 18px;
}
.footer a {
  display: block;
  margin: 12px 0;
  color: #475569;
  font-weight: 800;
  transition: color 0.2s;
}
.footer a:hover {
  color: #ec7025;
}

.floating-support {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
}
.support-orb {
  position: relative;
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, #fff, rgba(255,255,255,.18) 18%, transparent 28%),
    conic-gradient(from 120deg, #58d6de, #1e88ff, #b65cff, #58d6de);
  box-shadow: 0 22px 55px rgba(30,136,255,.42);
  cursor: pointer;
}
.support-orb::after {
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: rgba(5,6,8,.78);
  content: "";
}
.support-orb span {
  position: relative;
  z-index: 1;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: supportPulse 1.45s ease-in-out infinite;
}
.support-orb span:nth-child(2) { animation-delay: .18s; }
.support-orb span:nth-child(3) { animation-delay: .36s; }
@keyframes supportPulse {
  0%, 100% { transform: translateY(0); opacity: .55; }
  50% { transform: translateY(-7px); opacity: 1; }
}
.support-popover {
  position: absolute;
  right: 0;
  bottom: 88px;
  width: min(360px, calc(100vw - 36px));
  padding: 16px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  background: rgba(12, 16, 25, .94);
  color: #fff;
  box-shadow: 0 30px 90px rgba(0,0,0,.42);
  backdrop-filter: blur(18px);
}
.support-popover-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.support-popover-head button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  font-size: 24px;
}
.support-bubble {
  margin: 16px 0;
  padding: 14px 15px;
  border-radius: 18px 18px 18px 6px;
  background: #fff;
  color: #0b1220;
  line-height: 1.45;
  font-weight: 800;
}
.support-quick-actions {
  display: grid;
  gap: 8px;
}
.support-quick-actions a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-weight: 950;
}

@media (max-width: 1180px) {
  .challenge-board { grid-template-columns: 1fr; }
  .objective-list { display: none; }
  .challenge-cards,
  .video-row,
  .member-photo-row,
  .how-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platforms-section,
  .support-section,
  .broker-pricing-note article,
  .final-cta { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .front .main-nav {
    border-color: var(--ft-line);
    background: rgba(10, 11, 14, .98);
  }
  .challenge-tools,
  .proof-stats { align-items: stretch; flex-direction: column; }
  .review-grid,
  .faq-grid,
  .platform-grid { grid-template-columns: 1fr; }
  .admin .cards.two { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .front .topbar {
    padding: 8px 12px;
    min-height: 68px;
  }
  .front .hero {
    min-height: 840px;
    padding-top: 98px;
  }
  .front .hero h1 { font-size: 54px; }
  .front .hero p { font-size: 18px; }
  .trust-row,
  .center-actions,
  .support-actions,
  .contact-box,
  .footer-top { flex-direction: column; display: flex; align-items: stretch; }
  .ft-section { width: min(calc(100% - 24px), 1640px); padding: 54px 0; }
  .challenge-toggle,
  .challenge-cards,
  .broker-pricing-note article,
  .video-row,
  .member-photo-row,
  .how-cards,
  .footer-grid { grid-template-columns: 1fr; }
  .challenge-cards article.is-filtered { grid-column: auto; }
  .challenge-cards article,
  .how-cards article,
  .how-cards a { min-height: auto; }
  .reward-card,
  .premium-stack,
  .how-cards ul { position: static; margin-top: 28px; }
  .people-photo { min-height: 560px; padding-inline: 18px; }
  .support-visual { min-height: 520px; }
  .support-numbers { left: 24px; gap: 28px; }
  .support-numbers strong { font-size: 42px; }
  .faq-grid summary { font-size: 20px; padding: 24px; }
  .faq-grid p { margin-left: 58px; }
  .final-cta { padding: 42px 22px; }
  .dashboard-mock { min-height: 330px; }
}

/* Member/admin usability layer */
.admin,
.member {
  background: var(--bg-workspace) !important;
  color: var(--text-color) !important;
  min-height: 100vh;
}
.admin .workspace h1,
.admin .workspace > .eyebrow,
.member .workspace h1,
.member .workspace > .eyebrow {
  color: var(--text-color) !important;
  text-shadow: none;
}
.admin .workspace > p,
.member .workspace > p {
  color: var(--card-muted) !important;
}
.admin {
  --max: 100vw;
}
.admin .topbar {
  top: 0;
  width: 100%;
  min-height: 76px;
  padding: 12px 28px;
  border-width: 0 0 1px;
  border-radius: 0;
  border-color: rgba(15, 23, 42, 0.08);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
}
.admin .brand-logo {
  width: 260px;
  max-width: 32vw;
}
.admin .main-nav {
  gap: 8px;
}
.admin .main-nav a {
  min-height: 44px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
}
.admin .app-shell {
  width: 100%;
  max-width: none;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  margin: 0;
  padding: 108px 32px 84px;
}
.admin .admin-menu {
  top: 104px;
  max-height: calc(100vh - 128px);
  overflow: auto;
  padding: 22px;
  border-radius: 28px;
}
.admin .admin-menu .avatar {
  width: 54px;
  height: 54px;
  border-radius: 18px;
}
.admin .admin-menu strong {
  margin: 14px 0 22px;
  font-size: 20px;
}
.admin .admin-menu a {
  min-height: 48px;
  margin: 4px 0;
  padding: 14px 15px;
  border-radius: 14px;
  font-size: 15px;
}
.admin .workspace {
  width: 100%;
  padding: 0;
}
.admin .workspace h1 {
  max-width: none;
  margin: 8px 0 28px;
  font-size: clamp(40px, 4.4vw, 76px);
  line-height: 1;
}
.admin .eyebrow {
  font-size: 13px;
  letter-spacing: .08em;
}
.admin .cards {
  gap: 26px;
  margin-bottom: 28px;
}
.admin .cards.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.admin .cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.admin .cards.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.admin .card {
  padding: 34px;
  border-radius: 26px;
}
.admin .card h2 {
  margin-bottom: 24px;
  font-size: 26px;
  line-height: 1.15;
}
.admin form {
  gap: 16px;
}
.admin input,
.admin textarea,
.admin select {
  min-height: 50px;
  font-size: 15px;
}
.admin textarea {
  min-height: 124px;
}
.admin table {
  margin-top: 28px;
  border-radius: 22px;
  font-size: 15px;
}
.admin th,
.admin td {
  padding: 18px 20px;
}
.admin .stat strong {
  font-size: clamp(34px, 3vw, 56px);
}
.admin .topbar,
.member .topbar {
  background: var(--topbar-bg);
  border-color: var(--border-color);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
  backdrop-filter: blur(20px);
}
.admin .main-nav a,
.member .main-nav a { color: var(--nav-text); }
.admin .main-nav a:hover,
.member .main-nav a:hover { background: var(--nav-hover-bg); color: var(--text-color); }
.admin .main-nav .nav-cta,
.member .main-nav .nav-cta {
  background: #ec7025;
  color: #fff;
}
.admin .card,
.member .card,
.admin .panel,
.member .panel,
.admin .stat,
.member .stat,
.admin .side-nav,
.member .side-nav {
  border-color: var(--border-color);
  background: var(--card-bg);
  color: var(--card-text);
  box-shadow: 0 18px 48px rgba(15, 23, 42, .08);
}
.admin .card p,
.member .card p,
.admin .card small,
.member .card small,
.admin .card li,
.member .card li,
.admin .stat span,
.member .stat span,
.admin .stat small,
.member .stat small,
.admin .workspace > p,
.member .workspace > p {
  color: var(--card-muted);
}
.admin label,
.member label { color: var(--text-color); }
.admin input,
.member input,
.admin textarea,
.member textarea,
.admin select,
.member select {
  border-color: var(--input-border);
  background: var(--input-bg);
  color: var(--card-text);
}
.admin table,
.member table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-color: var(--table-border);
  background: var(--card-bg);
}
.admin th,
.member th {
  color: #ec7025;
}
.admin td,
.member td {
  color: var(--card-text);
}
.admin .inline-form button,
.member .inline-form button,
.admin td button,
.member td button {
  background: var(--bg-workspace);
  color: var(--card-text);
  border-color: var(--border-color);
}
.admin .side-nav a:hover,
.admin .side-nav a.active,
.member .side-nav a:hover,
.member .side-nav a.active {
  background: rgba(236,112,37,.1);
  color: #ec7025;
}
.admin .footer,
.member .footer {
  width: min(calc(100% - 32px), 1360px);
  padding: 64px 42px;
  border-radius: 22px 22px 0 0;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--nav-text);
}
.admin .footer-top,
.member .footer-top {
  border-bottom-color: var(--border-color);
}
.admin .footer h3,
.member .footer h3 {
  color: var(--text-color);
}
.admin .footer a,
.member .footer a,
.admin .socials,
.member .socials {
  color: var(--card-muted);
}
.footer .brand-logo {
  width: 238px;
}
.profile-card {
  display: flex;
  gap: 18px;
  align-items: center;
}
.profile-photo {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  min-width: 104px;
  border-radius: 24px;
  background: linear-gradient(145deg, #62dce2, #0875d7);
  color: #fff;
  object-fit: cover;
  font-size: 34px;
  font-weight: 950;
}
img.profile-photo,
img.avatar,
img.user-chip-photo,
img.table-avatar {
  display: block;
}
.subscriber-cell {
  display: flex;
  gap: 10px;
  align-items: center;
}
.subscriber-cell span {
  display: grid;
  gap: 2px;
}

/* ─── LEGACY: kept for backward compat (hidden) ─── */
.member-action-grid { display: none; }

/* ═══════════════════════════════════════════════════ */
/* MEMBER HERO                                        */
/* ═══════════════════════════════════════════════════ */
.member-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 2.5rem;
  padding: 2rem 2.5rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(15,23,42,.95) 0%, rgba(30,58,138,.7) 100%);
  border: 1px solid rgba(99,102,241,.22);
}
.member-hero h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 4px 0; }
.member-hero-sub { color: rgba(255,255,255,.6); font-size: .95rem; margin: 0; }
.member-hero-right { display: flex; gap: 16px; flex-shrink: 0; }
.member-stat-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  gap: 4px;
}
.member-stat-badge span {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #818cf8, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.member-stat-badge small { font-size: .68rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .06em; }

/* ═══════════════════════════════════════════════════ */
/* SECTION TITLES                                     */
/* ═══════════════════════════════════════════════════ */
.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.55);
  margin: 2.5rem 0 1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.section-title-icon { font-size: 1.2rem; }

/* ═══════════════════════════════════════════════════ */
/* ROOMS GRID + CARDS                                 */
/* ═══════════════════════════════════════════════════ */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 1rem;
}
.room-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(15,23,42,.6);
  backdrop-filter: blur(8px);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  position: relative;
}
.room-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
}
.room-card.room-unlocked { border-color: rgba(99,102,241,.3); }
.room-card.room-unlocked:hover { border-color: rgba(99,102,241,.6); box-shadow: 0 16px 48px rgba(99,102,241,.2); }
.room-card.room-locked { opacity: .72; filter: saturate(.7); }
.room-card.room-locked:hover { opacity: .9; filter: saturate(1); }

.room-icon-wrap {
  width: 100%;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.room-icon-wrap svg { width: 36px; height: 36px; color: #fff; }

.room-content {
  flex: 1;
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.room-content h3 { font-size: 1rem; font-weight: 700; margin: 0; color: #fff; }
.room-content p { font-size: .82rem; color: rgba(255,255,255,.6); margin: 0; line-height: 1.45; }

.room-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  width: fit-content;
}
.badge-active { background: rgba(16,185,129,.18); color: #34d399; border: 1px solid rgba(16,185,129,.3); }
.badge-locked  { background: rgba(239,68,68,.12);  color: #f87171;  border: 1px solid rgba(239,68,68,.25); }

.room-deposit {
  margin-top: 4px;
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
}
.room-deposit strong { color: #fbbf24; }

.room-cta {
  margin-top: auto;
  font-size: .82rem;
  font-weight: 700;
  color: rgba(255,255,255,.45);
  padding-top: 10px;
  transition: color .2s;
}
.room-card:hover .room-cta { color: #fff; }

/* ═══════════════════════════════════════════════════ */
/* ROBOTS OVERVIEW GRID                               */
/* ═══════════════════════════════════════════════════ */
.robots-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 1rem;
}
.robot-overview-card {
  background: rgba(15,23,42,.7);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .2s, transform .2s;
}
.robot-overview-card:hover { border-color: rgba(99,102,241,.35); transform: translateY(-2px); }
.robot-ov-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.robot-ov-name { display: flex; flex-direction: column; gap: 2px; }
.robot-ov-name strong { font-size: .95rem; color: #fff; }
.robot-ov-pair { font-size: .72rem; color: rgba(255,255,255,.45); }
.robot-ov-status {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 3px 9px;
  border-radius: 20px;
  flex-shrink: 0;
}
.status-live { background: rgba(16,185,129,.15); color: #34d399; border: 1px solid rgba(16,185,129,.3); }
.status-off  { background: rgba(239,68,68,.1);   color: #f87171;  border: 1px solid rgba(239,68,68,.2); }
.robot-ov-stats { display: flex; gap: 0; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.07); }
.robot-ov-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 6px;
  gap: 3px;
  border-right: 1px solid rgba(255,255,255,.07);
}
.robot-ov-stat:last-child { border-right: none; }
.robot-ov-stat-value { font-size: 1rem; font-weight: 800; }
.robot-ov-stat-value.positive { color: #34d399; }
.robot-ov-stat-value.negative { color: #f87171; }
.robot-ov-stat small { font-size: .65rem; color: rgba(255,255,255,.4); }
.robot-ov-link {
  font-size: .78rem;
  font-weight: 600;
  color: #818cf8;
  text-decoration: none;
  text-align: right;
  transition: color .2s;
}
.robot-ov-link:hover { color: #a5b4fc; }

.learning-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}
.video-player iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 14px;
  background: #050608;
}
.lesson-list {
  display: grid;
  gap: 10px;
}
.lesson-list button,
.lesson-list a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 76px;
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 14px;
  background: #fff;
  color: #0b1220;
  cursor: pointer;
  text-align: left;
}
.lesson-list a {
  text-decoration: none;
}
.lesson-list button.is-active,
.lesson-list button:hover,
.lesson-list a.is-active,
.lesson-list a:hover {
  border-color: rgba(47, 131, 255, .34);
  background: #eaf2ff;
}
.lesson-list button:disabled {
  cursor: not-allowed;
  opacity: .58;
}
.lesson-list button.is-completed span,
.lesson-list a.is-completed span {
  background: #12b76a;
}
.lesson-list span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #175cd3;
  color: #fff;
  font-weight: 950;
}
.lesson-list small { color: #667085; font-weight: 800; }
.lesson-complete-form {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}
.lesson-complete-form small {
  color: #667085;
  font-weight: 800;
}
.lesson-headline {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: start;
  margin-top: 22px;
}
.quiz-pass-badge {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 999px;
  background: #dcfae6;
  color: #067647;
  font-weight: 950;
}
.quiz-form {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid rgba(15,23,42,.1);
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .09);
}
.quiz-intro {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, #07111f, #123a72 52%, #2f83ff);
  color: #fff;
}
.quiz-intro strong { font-size: 22px; }
.quiz-intro span { color: #d9e8ff; font-weight: 950; }
.quiz-attempt {
  margin: 10px 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 900;
}
.quiz-attempt.failed {
  background: #fff1f3;
  color: #c01048;
}
.quiz-attempt.passed,
.quiz-completed-box {
  background: #ecfdf3;
  color: #067647;
}
.quiz-question {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 22px;
  border: 1px solid rgba(15,23,42,.1);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(15, 23, 42, .06);
}
.quiz-question h3 {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 950;
  color: #0b1220;
}
.quiz-question h3 span {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 14px;
  background: #eaf2ff;
  color: #175cd3;
  font-size: 16px;
}
.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.quiz-option {
  position: relative;
  display: flex;
  min-height: 64px;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 18px;
  background: #f8fafc;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.quiz-option:hover {
  transform: translateY(-1px);
  border-color: rgba(47, 131, 255, .34);
  background: #fff;
}
.quiz-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.quiz-option i {
  display: grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 2px solid #98a2b3;
  border-radius: 50%;
  background: #fff;
}
.quiz-option i::after {
  width: 10px;
  height: 10px;
  content: "";
  border-radius: 50%;
  background: #2f83ff;
  transform: scale(0);
  transition: transform .16s ease;
}
.quiz-option strong {
  color: #1d2939;
  font-size: 15px;
  line-height: 1.35;
}
.quiz-option:has(input:checked) {
  border-color: #2f83ff;
  background: #eef4ff;
  box-shadow: 0 14px 34px rgba(47, 131, 255, .16);
}
.quiz-option:has(input:checked) i {
  border-color: #2f83ff;
}
.quiz-option:has(input:checked) i::after {
  transform: scale(1);
}
.quiz-completed-box {
  margin-top: 22px;
  padding: 16px;
  border-radius: 16px;
  font-weight: 950;
}
.quiz-admin-panel {
  display: grid;
  gap: 16px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(15,23,42,.1);
}
.quiz-admin-panel h3 {
  margin: 0;
}
.quiz-admin-form {
  padding: 18px;
  border-radius: 18px;
  background: rgba(47,131,255,.08);
}
.quiz-edit-block {
  margin-top: 8px;
}
.locked-learning .broker-list.compact {
  margin-top: 22px;
}
.ticket-thread {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(15, 23, 42, .1);
}
.ticket-message {
  padding: 13px 15px;
  border-radius: 14px;
  background: #f2f4f7;
}
.ticket-message.admin {
  background: #eaf2ff;
  border: 1px solid rgba(47, 131, 255, .18);
}
.ticket-message.bot {
  background: #ecfff4;
  border: 1px solid rgba(34, 197, 94, .22);
}
.ticket-message small {
  display: block;
  margin-bottom: 4px;
  color: #667085;
  font-weight: 900;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #175cd3;
  font-size: 12px;
  font-weight: 950;
}
.support-admin-list,
.lesson-admin-row {
  display: grid;
  gap: 14px;
}
.lesson-admin-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(15, 23, 42, .1);
}
.admin-edit-block {
  padding: 14px 0;
  border-bottom: 1px solid rgba(15, 23, 42, .1);
}
.admin-edit-block summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 10px;
  align-items: center;
  cursor: pointer;
}
.admin-edit-block summary span {
  grid-column: 2;
  color: #667085;
  font-weight: 800;
}
.admin-edit-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 16px;
  border-radius: 14px;
  background: #f8fafc;
}
.admin-metric-form {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr) 90px 100px auto;
  gap: 10px;
  align-items: end;
  padding: 14px 0;
  border-bottom: 1px solid rgba(15, 23, 42, .1);
}
.admin-metric-form button {
  min-height: 44px;
  border: 1px solid rgba(15, 23, 42, .16);
  border-radius: 8px;
  background: #0b1220;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}
.ticket-admin-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
}
.ticket-reply-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.people-photo {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 720px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(28, 116, 255, .78), rgba(5,6,8,.18) 42%, rgba(5,6,8,.72) 100%),
    url("mt-academy-hero.png") center / cover no-repeat;
}
.people-photo::after {
  position: absolute;
  right: 40px;
  bottom: 34px;
  width: min(330px, 42vw);
  aspect-ratio: 352 / 92;
  background: url("nextmove-academy.png") center / contain no-repeat;
  content: "";
  opacity: .92;
}
.people-photo h2,
.people-photo p,
.people-photo .center-actions {
  position: relative;
  z-index: 1;
}


@media (max-width: 980px) {
  .member-action-grid,
  .learning-layout { grid-template-columns: 1fr; }
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .member-hero { flex-direction: column; align-items: flex-start; }
  .member-hero-right { width: 100%; justify-content: space-between; }
  .admin .app-shell {
    grid-template-columns: 1fr;
    padding: 100px 18px 64px;
  }
  .admin .admin-menu {
    position: static;
    max-height: none;
  }
  .admin .cards.two,
  .admin .cards.three,
  .admin .cards.four {
    grid-template-columns: 1fr;
  }
  .admin .workspace h1 {
    font-size: clamp(36px, 10vw, 56px);
  }
  .admin-metric-form {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 680px) {
  .brand-logo { width: 154px; }
  .admin .topbar {
    padding-inline: 14px;
  }
  .admin .brand-logo {
    width: 178px;
    max-width: 54vw;
  }
  .admin .card {
    padding: 22px;
  }
  .member-action-grid { grid-template-columns: 1fr; }
  .rooms-grid { grid-template-columns: 1fr; }
  .member-hero { padding: 1.5rem; }
  .member-stat-badge { min-width: 60px; padding: 10px 12px; }
  .member-stat-badge span { font-size: 1.4rem; }
  .robots-overview-grid { grid-template-columns: 1fr; }
  .ticket-admin-head,
  .lesson-admin-row { grid-template-columns: 1fr; }
  .people-photo::after {
    right: 20px;
    bottom: 22px;
    width: 230px;
  }
}

/* Final dashboard layout overrides */
.admin,
.member {
  --max: 100vw;
  background:
    radial-gradient(circle at 80% 20%, rgba(47, 131, 255, .08), transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(138, 43, 226, .06), transparent 40%),
    #050608;
  min-height: 100vh;
}
.admin .topbar,
.member .topbar {
  top: 0;
  width: 100%;
  min-height: 76px;
  padding: 12px 28px;
  border-width: 0 0 1px;
  border-radius: 0;
  background: #050608;
  box-shadow: 0 18px 54px rgba(5, 6, 8, .22);
}
.admin .brand-logo,
.member .brand-logo {
  width: 260px;
  max-width: 32vw;
}
.admin .app-shell,
.member .app-shell {
  width: 100%;
  max-width: none;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  margin: 0;
  padding: 108px 32px 84px;
}
.admin .app-shell {
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 38px;
  padding-inline: 44px;
}
.admin .side-nav,
.member .side-nav {
  width: 300px !important;
  min-width: 300px !important;
  max-width: 300px !important;
  box-sizing: border-box;
}
.admin .workspace {
  max-width: 1920px;
}
.admin .workspace,
.member .workspace {
  width: 100%;
  padding: 0;
}
.admin .workspace h1,
.admin .workspace > .eyebrow,
.member .workspace h1,
.member .workspace > .eyebrow {
  color: #0b1220;
  text-shadow: none;
}
.admin .workspace > p,
.member .workspace > p {
  color: rgba(11, 18, 32, .72);
}
.admin .workspace h1,
.member .workspace h1 {
  max-width: none;
  margin: 8px 0 28px;
  font-size: clamp(40px, 4.4vw, 76px);
  line-height: 1;
}
.admin .side-nav,
.member .side-nav {
  top: 104px;
  max-height: calc(100vh - 128px);
  overflow: auto;
  padding: 22px;
  border-radius: 28px;
}
.admin .side-nav .avatar,
.member .side-nav .avatar {
  width: 54px;
  height: 54px;
  border-radius: 18px;
}
.admin .side-nav strong,
.member .side-nav strong {
  margin: 14px 0 22px;
  font-size: 20px;
}
.admin .side-nav a,
.member .side-nav a {
  min-height: 48px;
  margin: 4px 0;
  padding: 14px 15px;
  border-radius: 14px;
  font-size: 15px;
}
.admin .cards,
.member .cards {
  gap: 26px;
  margin-bottom: 28px;
}
.admin .cards.two,
.member .cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin .cards.three,
.member .cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin .cards.four,
.member .cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.admin .card,
.member .card {
  padding: 34px;
  border-radius: 26px;
}
.settings-form {
  display: grid;
  gap: 28px;
  min-width: 0;
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
  min-width: 0;
}
.settings-section {
  min-height: 100%;
  min-width: 0;
  overflow: hidden;
}
.settings-section h2 {
  margin-bottom: 18px;
  font-size: 24px;
}
.settings-section small {
  display: block;
  margin-top: 14px;
  color: rgba(255,255,255,.6);
  overflow-wrap: anywhere;
}
.admin .settings-section input,
.admin .settings-section select,
.admin .settings-section textarea {
  width: 100%;
  min-height: 48px;
}
.log-table td {
  vertical-align: top;
  max-width: 420px;
  overflow-wrap: anywhere;
}
.legal-page .legal-card {
  max-width: 1100px;
  margin-inline: auto;
  font-size: 18px;
  line-height: 1.8;
}
.legal-page .legal-card p {
  color: #334155 !important;
}
.admin table,
.member table {
  margin-top: 28px;
  border-radius: 22px;
  font-size: 15px;
}
.admin th,
.admin td,
.member th,
.member td {
  padding: 18px 20px;
}
.google-button {
  width: 100%;
  margin-top: 12px;
  gap: 10px;
  border-color: rgba(15, 23, 42, .14);
  background: #fff;
  color: #0b1220;
}
.google-button img {
  width: 20px;
  height: 20px;
}
.google-setup-card pre {
  overflow: auto;
  padding: 14px;
  border-radius: 14px;
  background: #0b1220;
  color: #eaf2ff;
  font-size: 13px;
  line-height: 1.6;
}
.settings-qr-preview {
  width: 132px;
  height: 132px;
  object-fit: cover;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 18px;
  background: #fff;
}
.payment-page {
  padding-top: 150px;
}
.payment-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  padding: 34px;
  border: 1px solid var(--ft-line);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(236,112,37,0.08), rgba(255,255,255,0.02)), #ffffff;
  color: #0f172a;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.04);
}
.payment-copy h1 {
  margin: 12px 0;
  max-width: 780px;
  font-size: clamp(46px, 5vw, 86px);
  line-height: .96;
}
.payment-copy p {
  color: #475569;
  font-size: 18px;
  line-height: 1.65;
}
.payment-summary {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 12px 18px;
  margin: 28px 0;
  padding: 22px;
  border-radius: 24px;
  background: #f8fafc;
  border: 1px solid var(--ft-line);
}
.payment-summary span {
  color: var(--ft-muted);
  font-weight: 900;
}
.payment-summary strong {
  overflow-wrap: anywhere;
}
.crypto-box {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 24px;
  border-radius: 28px;
  background: #fff;
  color: #0b1220;
}
.crypto-box h2 {
  margin: 0;
}
.crypto-box code {
  display: block;
  padding: 14px;
  border-radius: 16px;
  background: #eef4ff;
  color: #175cd3;
  overflow-wrap: anywhere;
  font-weight: 950;
}
.crypto-box img,
.qr-placeholder {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1;
  justify-self: center;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 22px;
  background: #f8fafc;
  object-fit: contain;
}
.qr-placeholder {
  display: grid;
  place-items: center;
  color: #98a2b3;
  font-size: 46px;
  font-weight: 950;
}
.crypto-box p {
  color: #475467;
  line-height: 1.6;
}
.admin .footer,
.member .footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 72px 42px 84px;
  border-radius: 0;
  overflow: hidden;
  background: #050608;
  box-shadow: 0 1px 0 #050608;
}
.admin .footer-top,
.admin .footer-grid,
.member .footer-top,
.member .footer-grid {
  width: min(calc(100% - 32px), 1840px);
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.support-chat-log {
  display: grid;
  max-height: 280px;
  overflow: auto;
  gap: 10px;
  margin: 16px 0;
  padding-right: 3px;
}
.support-bubble.user {
  justify-self: end;
  border-radius: 18px 18px 6px 18px;
  background: #2f83ff;
  color: #fff;
}
.support-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
}
.support-chat-form textarea {
  min-height: 52px;
  max-height: 120px;
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color: #fff;
}
.support-chat-form button {
  min-height: 52px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  background: #2f83ff;
  color: #fff;
  cursor: pointer;
  font-weight: 950;
}

.product-showcase {
  background:
    radial-gradient(circle at 80% 20%, rgba(47, 131, 255, .15), transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(138, 43, 226, .12), transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(5, 6, 8, 1), #050608);
  background-color: #050608;
  color: #fff;
}
.product-showcase .section {
  width: min(calc(100% - 64px), 1280px);
}
.product-landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 1fr);
  gap: 48px;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
}
.product-hero-copy h1 {
  max-width: 900px;
  margin: 12px 0;
  font-size: clamp(32px, 4.5vw, 68px);
  line-height: .94;
  color: #fff;
  letter-spacing: -0.03em;
  font-weight: 900;
}
.product-hero-copy p {
  max-width: 760px;
  color: rgba(255,255,255,.72);
  font-size: 20px;
  line-height: 1.7;
  letter-spacing: -0.01em;
}
.product-market-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}
.product-market-pills span {
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #eaf2ff;
  font-weight: 950;
}
.product-visual {
  position: relative;
  display: grid;
  min-height: 420px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(47,131,255,.14), rgba(255,255,255,.04)),
    rgba(255,255,255,.05);
  box-shadow: 0 34px 120px rgba(0,0,0,.42);
}
.product-image-frame {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 30px;
  background: #0b1220;
  box-shadow: 0 28px 90px rgba(0,0,0,.45);
}
.product-image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-visual-signals .frame-1 {
  right: -5%;
  width: 62%;
  height: 82%;
}
.product-visual-signals .frame-2 {
  left: 8%;
  width: 42%;
  height: 88%;
  transform: rotate(-2deg);
}
.product-visual-network .frame-1,
.product-visual-matrix .frame-1,
.product-visual-training .frame-1,
.product-visual-dashboard .frame-1 {
  inset: 52px;
}
.product-visual-network .frame-1 img {
  object-fit: contain;
  padding: 36px;
  background: linear-gradient(135deg, #f8fbff, #dcecff);
}
.product-visual-training .frame-1 img,
.product-visual-matrix .frame-1 img {
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
}
.product-signal-card {
  position: absolute;
  right: 34px;
  bottom: 34px;
  width: min(360px, calc(100% - 68px));
  padding: 22px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  background: rgba(5, 8, 14, .78);
  box-shadow: 0 24px 80px rgba(0,0,0,.42);
  backdrop-filter: blur(18px);
}
.product-signal-card span {
  display: block;
  color: #7ab1ff;
  font-weight: 950;
}
.product-signal-card strong {
  display: block;
  margin: 8px 0;
  font-size: 28px;
  line-height: 1.05;
}
.product-signal-card small {
  color: rgba(255,255,255,.66);
  font-weight: 800;
}
.product-process,
.product-benefits,
.product-included,
.product-pricing,
.product-faq {
  padding-block: 72px;
}
.product-showcase .section-heading h2 {
  color: #fff;
  font-size: clamp(38px, 4vw, 76px);
  line-height: 1;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.process-grid article,
.benefit-grid article,
.product-admin-sections article {
  min-height: 260px;
  padding: 32px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 34px;
  background: rgba(255,255,255,.04);
  box-shadow: 0 20px 40px rgba(0,0,0,.2);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, background 0.3s ease;
}
.process-grid article:hover,
.benefit-grid article:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.2);
}
.process-grid span,
.benefit-grid span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 32px;
  border: 1px solid rgba(122,177,255,.42);
  border-radius: 18px;
  background: rgba(47,131,255,.12);
  color: #7ab1ff;
  font-size: 18px;
  font-weight: 950;
}
.process-grid h3,
.benefit-grid h3,
.product-admin-sections h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.process-grid p,
.benefit-grid p,
.product-admin-sections p {
  margin: 0;
  color: rgba(255,255,255,.64);
  line-height: 1.65;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.benefit-grid article {
  min-height: 330px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
}
.included-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(47,131,255,.25), rgba(255,255,255,.055));
}
.included-card h2 {
  margin: 10px 0;
  color: #fff;
  font-size: clamp(32px, 3.5vw, 64px);
  line-height: 1;
}
.included-card p {
  max-width: 760px;
  color: rgba(255,255,255,.68);
}
.included-card ul {
  display: grid;
  min-width: 320px;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.included-card li {
  padding: 13px 15px;
  border-radius: 16px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-weight: 950;
}
.product-admin-sections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.product-showcase .card {
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.065);
}
.product-showcase .card h2,
.product-showcase .card h3,
.product-showcase .price strong {
  color: #fff;
}
.product-showcase label {
  color: rgba(255,255,255,.72);
}
.product-showcase input,
.product-showcase select {
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color: #fff;
}
.backup-card {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.backup-head {
  display: flex;
  gap: 22px;
  justify-content: space-between;
  align-items: center;
}
.backup-head h2 {
  margin: 0 0 8px;
}
.backup-head p {
  margin: 0;
  color: rgba(255,255,255,.62);
}
.backup-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}
.backup-table-wrap table {
  min-width: 760px;
}

@media (max-width: 980px) {
  .product-landing-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 120px;
  }
  .product-visual {
    min-height: 560px;
  }
  .process-grid,
  .benefit-grid,
  .product-admin-sections,
  .included-card {
    grid-template-columns: 1fr;
  }
  .backup-head {
    align-items: stretch;
    flex-direction: column;
  }
  .payment-card {
    grid-template-columns: 1fr;
  }
  .payment-summary {
    grid-template-columns: 1fr;
  }
  .admin .app-shell,
  .member .app-shell {
    grid-template-columns: 1fr;
    padding: 100px 18px 64px;
  }
  .admin .side-nav,
  .member .side-nav {
    position: static;
    max-height: none;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }
  .admin .cards.two,
  .admin .cards.three,
  .admin .cards.four,
  .settings-grid,
  .member .cards.two,
  .member .cards.three,
  .member .cards.four,
  .quiz-options,
  .support-chat-form {
    grid-template-columns: 1fr;
  }
}

/* Premium Redesign: Aquafunded Aesthetic with Orange Philosophy */

/* Hero Mockup */
.hero-mockup-wrapper {
  position: relative;
  width: min(100%, 1080px);
  margin: 50px auto 0;
  border-radius: 24px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 
    0 30px 70px rgba(15, 23, 42, 0.08), 
    0 0 50px rgba(236, 112, 37, 0.05);
  backdrop-filter: blur(10px);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  z-index: 10;
}
.hero-mockup-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 40px 90px rgba(15, 23, 42, 0.12), 
    0 0 60px rgba(236, 112, 37, 0.10);
}
.hero-mockup-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.1);
}
.orange-glow-spot {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(236, 112, 37, 0.08) 0%, transparent 70%);
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1;
}

/* Interactive Pillar Selector Tabs */
.pillar-tabs-container {
  display: flex;
  justify-content: center;
  margin-bottom: 35px;
  width: 100%;
}
.pillar-tabs {
  display: inline-flex;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 6px;
  border-radius: 99px;
  gap: 4px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.pillar-tabs::-webkit-scrollbar {
  display: none;
}
.pillar-tab-btn {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 12px 28px;
  font-size: 13.5px;
  font-weight: 800;
  color: #475569;
  cursor: pointer;
  border-radius: 99px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.01), inset 0 1px 1px #ffffff;
}
.pillar-tab-btn:hover {
  color: #0f172a;
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.15);
  transform: translateY(-1px);
}
.pillar-tab-btn.active {
  background: #ec7025;
  color: #ffffff;
  border-color: #ec7025;
  box-shadow: 0 8px 20px rgba(236, 112, 37, 0.25);
  transform: none;
}

.pillar-content-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 32px;
  padding: 40px;
  box-shadow: 
    0 25px 60px rgba(15, 23, 42, 0.03),
    0 0 40px rgba(236, 112, 37, 0.02);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.pillar-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.pillar-details-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pillar-room-tag {
  align-self: flex-start;
  background: rgba(236, 112, 37, 0.06);
  border: 1px solid rgba(236, 112, 37, 0.15);
  color: #ec7025;
  font-size: 11px;
  font-weight: 900;
  padding: 6px 12px;
  border-radius: 6px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.pillar-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  color: #0f172a;
  margin: 0;
  line-height: 1.1;
}
.pillar-desc {
  color: #475569;
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}
.pillar-checklist {
  list-style: none;
  padding: 0;
  margin: 15px 0 0;
  display: grid;
  gap: 12px;
}
.pillar-checklist li {
  display: flex;
  align-items: start;
  gap: 12px;
  color: #334155;
  font-weight: 600;
  font-size: 15px;
}
.pillar-checklist li svg {
  width: 20px;
  height: 20px;
  color: #10b981;
  flex-shrink: 0;
  margin-top: 2px;
}

.pillar-cta-box {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 24px;
  padding: 30px;
  text-align: center;
  box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.01);
}
.pillar-price-label {
  display: block;
  font-size: 11px;
  color: #ec7025;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}
.pillar-price {
  font-size: 42px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 15px;
}
.pillar-requirements {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 20px;
}
.pillar-requirements li {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}
.pillar-btn {
  width: 100%;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  background: #ec7025;
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(236, 112, 37, 0.25);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.pillar-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(236, 112, 37, 0.35);
  background: #ff8618;
}

/* Notre Mission Comparison */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.mission-compare-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.04);
}
.compare-header {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 24px;
  line-height: 1.3;
}
.compare-list {
  display: grid;
  gap: 20px;
}
.compare-item {
  display: flex;
  gap: 16px;
  align-items: start;
}
.compare-icon-cross {
  background: #fee2e2;
  color: #ef4444;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
  font-size: 14px;
}
.compare-icon-check {
  background: #d1fae5;
  color: #10b981;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
  font-size: 14px;
}
.compare-text strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}
.compare-text p {
  font-size: 14px;
  color: #64748b;
  margin: 4px 0 0;
  line-height: 1.5;
}

/* Lumen Capital Spotlight Redesign */
.lumen-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 36px;
  padding: 50px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.03);
  position: relative;
  overflow: hidden;
  color: var(--text-color);
}
.lumen-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 50px;
  align-items: center;
}
.lumen-stats-widget {
  background: var(--bg-workspace);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 40px 30px;
  text-align: center;
}
.lumen-widget-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 25px;
}
.lumen-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 30px;
}
.lumen-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lumen-stat-val {
  font-size: 38px;
  font-weight: 900;
  color: #ec7025;
  line-height: 1.1;
}
.lumen-stat-lbl {
  font-size: 10px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 5px;
}

/* FAQ Accordions */
.faq-grid details {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  margin-bottom: 12px;
  padding: 16px 20px;
  transition: all 0.3s ease;
}
.faq-grid details[open] {
  border-color: rgba(236, 112, 37, 0.2);
  box-shadow: 0 10px 30px rgba(236, 112, 37, 0.03);
}
.faq-grid summary {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-color);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-grid summary::-webkit-details-marker {
  display: none;
}
.faq-grid summary::after {
  content: "+";
  font-size: 20px;
  color: #ec7025;
  font-weight: 700;
  transition: transform 0.3s;
}
.faq-grid details[open] summary::after {
  transform: rotate(45deg);
}
.faq-grid details p {
  margin: 12px 0 0;
  color: var(--card-muted);
  line-height: 1.6;
  font-size: 14px;
}

/* Responsive Overrides */
@media (max-width: 980px) {
  .pillar-grid, .mission-grid, .lumen-grid, .how-cards-v2 {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }
  .lumen-card, .pillar-content-card, .mission-compare-card {
    padding: 30px 20px;
  }
}

/* Comment Ca Marche - Timeline Steps */
.how-cards-v2 .card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.how-cards-v2 .card:hover {
  transform: translateY(-5px);
  border-color: rgba(236, 112, 37, 0.2);
  box-shadow: 
    0 20px 40px rgba(15, 23, 42, 0.04), 
    0 0 30px rgba(236, 112, 37, 0.03);
}
.how-cards-v2 .card span {
  transition: all 0.3s ease;
}
.how-cards-v2 .card:hover span {
  transform: scale(1.1);
  color: rgba(236, 112, 37, 0.25) !important;
}

/* Premium Spacing and Block Alignment Overrides (Aquafunded Aesthetic) */
.front .section, 
.front .ft-section {
  padding: 40px 0 !important;
}

/* Unified Typography for Landing Page Titles */
.front h2.section-title,
.front .section h2,
.front .ft-section h2,
.front .section-heading h2,
.front .ft-heading h2 {
  font-size: clamp(28px, 4vw, 42px) !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em !important;
  color: #0f172a !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  text-align: center !important;
}

/* Align titles in layouts where they should be left-aligned (like partner spotlight, ideal pour, partenaires) */
.front #lumen-spotlight h2,
.front #audience h2,
.front #partenaires h2,
.front .arena-teaser h2 {
  text-align: left !important;
}

/* Unifying Kicker / Eyebrows */
.front .eyebrow,
.front .pillar-room-tag,
.front .arena-teaser-content .eyebrow {
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: #ec7025 !important;
  display: inline-block !important;
  margin-bottom: 8px !important;
  background: rgba(236, 112, 37, 0.06) !important;
  border: 1px solid rgba(236, 112, 37, 0.15) !important;
  padding: 6px 14px !important;
  border-radius: 99px !important;
}

/* Unified Section Header Spacing and Alignment */
.front .section-heading,
.front .ft-heading {
  text-align: center !important;
  max-width: 800px !important;
  margin: 0 auto 30px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.front .section-heading p:last-child,
.front .ft-heading p {
  color: #475569 !important;
  font-size: clamp(15px, 2vw, 17px) !important;
  line-height: 1.65 !important;
  margin: 8px auto 0 !important;
  max-width: 680px !important;
}

/* Grid Gap Reductions for Tighter Blocks */
.front .mission-grid,
.front .lumen-grid,
.front .audience-grid-v2,
.front .arena-teaser-grid {
  gap: 32px !important;
}

/* Card inner padding reductions to reduce empty vertical space */
.front .mission-compare-card,
.front .lumen-card,
.front .audience-grid-v2,
.front .arena-teaser-grid {
  padding: 35px !important;
}

/* Final CTA White Theme Redesign */
.final-cta-v2 {
  text-align: center;
  padding: 80px 0 !important;
  background: #ffffff !important;
  position: relative;
  overflow: hidden;
}
.final-cta-v2 h2 {
  font-size: clamp(28px, 4vw, 42px) !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  margin-bottom: 12px !important;
}
.final-cta-v2 p.cta-desc {
  color: #475569 !important;
  font-size: 1.1rem !important;
  line-height: 1.65 !important;
  margin-bottom: 35px !important;
  max-width: 780px !important;
  margin-inline: auto !important;
}
.final-cta-card {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 28px !important;
  padding: 40px !important;
  max-width: 600px !important;
  margin: 0 auto !important;
  text-align: left !important;
  box-shadow: 
    0 30px 60px rgba(15, 23, 42, 0.03),
    0 0 40px rgba(236, 112, 37, 0.02) !important;
  position: relative;
  z-index: 5;
}
.final-cta-card h3 {
  font-size: 1.4rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin-top: 0 !important;
  margin-bottom: 8px !important;
  text-align: center !important;
}
.final-cta-card p.card-desc {
  color: #64748b !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  margin-top: 0 !important;
  margin-bottom: 25px !important;
  text-align: center !important;
}
.final-cta-form {
  display: flex !important;
  gap: 12px !important;
  width: 100% !important;
}
.final-cta-input {
  flex: 1 !important;
  padding: 14px 20px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  background: #f8fafc !important;
  color: #0f172a !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  transition: border-color 0.3s, box-shadow 0.3s !important;
}
.final-cta-input:focus {
  outline: none !important;
  border-color: #ec7025 !important;
  box-shadow: 0 0 0 4px rgba(236, 112, 37, 0.15) !important;
  background: #ffffff !important;
}
.final-cta-btn {
  background: #ec7025 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  border: none !important;
  padding: 14px 28px !important;
  border-radius: 12px !important;
  font-size: 1rem !important;
  cursor: pointer !important;
}
@media (max-width: 600px) {
  .final-cta-form {
    flex-direction: column !important;
  }
  .final-cta-btn {
    width: 100% !important;
  }
}

/* ==========================================================================
   KLEOS PREMIUM LIGHT THEME OVERRIDES (DASHBOARDS & PRODUCT SHOWCASES)
   ========================================================================== */

/* 1. Global Admin/Member Dashboard Shell & Typography */
.admin,
.member {
  background: var(--bg-workspace) !important;
  color: var(--text-color) !important;
}

.admin .topbar,
.member .topbar {
  background: var(--topbar-bg) !important;
  border-bottom: 1px solid var(--border-color) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03) !important;
}

/* Dashboard Side Navigation */
.admin .side-nav,
.member .side-nav {
  background: var(--card-bg) !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.02) !important;
}

.admin .side-nav strong,
.member .side-nav strong {
  color: var(--text-color) !important;
}

.admin .side-nav a,
.member .side-nav a {
  color: var(--sidebar-text) !important;
}

.admin .side-nav a.active,
.member .side-nav a.active,
.admin .side-nav a:hover,
.member .side-nav a:hover {
  background: rgba(236, 112, 37, 0.06) !important;
  color: #ec7025 !important;
}

/* Dashboard Cards & Layout Elements */
.admin .card,
.member .card,
.admin .panel,
.member .panel,
.admin .stat,
.member .stat {
  border: 1px solid var(--border-color) !important;
  background: var(--card-bg) !important;
  color: var(--text-color) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.02) !important;
}

.admin .card h2,
.member .card h2,
.admin .card h3,
.member .card h3,
.admin .stat strong,
.member .stat strong {
  color: var(--text-color) !important;
}

.admin .card p,
.member .card p,
.admin .card small,
.member .card small,
.admin .card li,
.member .card li,
.admin .stat span,
.member .stat span,
.admin .stat small,
.member .stat small,
.admin .workspace > p,
.member .workspace > p,
.admin .settings-section small,
.member .settings-section small {
  color: var(--card-muted) !important;
}

/* Dashboard Tables */
.admin table,
.member table {
  border: 1px solid var(--border-color) !important;
  background: var(--card-bg) !important;
}

.admin th,
.member th {
  background: var(--bg-workspace) !important;
  color: #ec7025 !important;
  border-bottom: 1px solid var(--border-color) !important;
}

.admin td,
.member td {
  color: var(--text-color) !important;
  border-bottom: 1px solid var(--border-color) !important;
}

/* Dashboard Footer */
.admin .footer,
.member .footer {
  background: var(--bg-workspace) !important;
  border-top: 1px solid var(--border-color) !important;
  color: var(--card-muted) !important;
  box-shadow: none !important;
}

.admin .footer h3,
.member .footer h3 {
  color: var(--text-color) !important;
}

.admin .footer a,
.member .footer a {
  color: var(--card-muted) !important;
}

.admin .footer a:hover,
.member .footer a:hover {
  color: #ec7025 !important;
}

/* Support and Ticket Chat System (Fixing white-on-white text) */
.support-chat-form textarea {
  border: 1px solid var(--border-color) !important;
  background: var(--input-bg) !important;
  color: var(--text-color) !important;
}

.support-chat-form textarea:focus {
  border-color: #ec7025 !important;
  background: var(--input-bg) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(236, 112, 37, 0.15);
}

.admin .support-chat-form button,
.member .support-chat-form button {
  background: #ec7025 !important;
  color: #ffffff !important;
}

.admin .support-chat-form button:hover,
.member .support-chat-form button:hover {
  background: #ff8618 !important;
}


/* 2. Product Showcase Light Theme Overrides */
.product-showcase {
  background: var(--bg-color) !important;
  color: var(--text-color) !important;
}

.product-showcase .section-heading h2,
.product-hero-copy h1,
.product-hero-copy h1 span {
  color: #0f172a !important;
}

.product-hero-copy p {
  color: #475569 !important;
}

.product-market-pills span {
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  background: rgba(15, 23, 42, 0.03) !important;
  color: #334155 !important;
  font-weight: 700;
}

/* Product Media & Image Frames */
.product-visual {
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  background: linear-gradient(135deg, rgba(236,112,37,0.06), rgba(255,255,255,0.02)), #ffffff !important;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.04) !important;
}

.product-image-frame {
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  background: #ffffff !important;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06) !important;
}

/* Live Signal Widget Card */
.product-signal-card {
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06) !important;
  color: #0f172a !important;
}

.product-signal-card span {
  color: #ec7025 !important;
}

.product-signal-card strong {
  color: #0f172a !important;
}

.product-signal-card small {
  color: #475569 !important;
}

/* Product Feature and Process Grids */
.process-grid article,
.benefit-grid article,
.product-admin-sections article {
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  background: #ffffff !important;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.03) !important;
  color: #475569 !important;
}

.process-grid article:hover,
.benefit-grid article:hover {
  background: #ffffff !important;
  border-color: rgba(236, 112, 37, 0.2) !important;
  box-shadow: 0 20px 45px rgba(236, 112, 37, 0.05) !important;
}

.process-grid h3,
.benefit-grid h3,
.product-admin-sections h3 {
  color: #0f172a !important;
}

.process-grid p,
.benefit-grid p,
.product-admin-sections p {
  color: #475569 !important;
}

.process-grid span,
.benefit-grid span {
  border: 1px solid rgba(236, 112, 37, 0.2) !important;
  background: rgba(236, 112, 37, 0.06) !important;
  color: #ec7025 !important;
}

/* "What is Included" Card */
.included-card {
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  background: linear-gradient(135deg, rgba(236,112,37,0.06), rgba(255,255,255,0.02)), #ffffff !important;
}

.included-card h2 {
  color: #0f172a !important;
}

.included-card p {
  color: #475569 !important;
}

.included-card li {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  color: #0f172a !important;
}

/* Product Pricing & Forms */
.product-showcase .card {
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  background: #ffffff !important;
}

.product-showcase .card h2,
.product-showcase .card h3,
.product-showcase .price strong {
  color: #0f172a !important;
}

.product-showcase label {
  color: var(--text-color) !important;
}

.product-showcase input,
.product-showcase select {
  border-color: var(--border-color) !important;
  background: var(--input-bg) !important;
  color: var(--text-color) !important;
}

.backup-head h2 {
  color: #0f172a !important;
}

.backup-head p {
  color: #475569 !important;
}

/* Bento Grid System */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 2rem;
}

.bento-card {
  position: relative;
  overflow: hidden;
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid var(--border-color) !important;
  background: var(--card-bg) !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(15,23,42,0.02) !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}

.bento-card:hover {
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.05), 0 0 40px rgba(236, 112, 37, 0.03) !important;
  border-color: rgba(236, 112, 37, 0.2) !important;
  transform: translateY(-4px);
}

.bento-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.bento-tall {
  grid-row: span 2;
  grid-column: span 1;
  justify-content: space-between;
}

.bento-title {
  font-family: Outfit, sans-serif !important;
  font-size: 1.75rem !important;
  font-weight: 800 !important;
  color: var(--text-color) !important;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.bento-text {
  font-size: 1rem !important;
  color: var(--card-muted) !important;
  line-height: 1.6 !important;
  margin: 0;
}

.bento-icon {
  margin-bottom: 1rem;
}
.bento-svg-icon {
  width: 38px;
  height: 38px;
  display: block;
}

/* Bento Visuals */
.unified-mockup {
  background: var(--bg-workspace);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
}

.mockup-header {
  display: flex;
  gap: 6px;
  margin-bottom: 4px;
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-color);
}

.mockup-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-color);
}

.mockup-status {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.status-active {
  background: rgba(76, 214, 156, 0.1);
  color: #2ecc71;
}

.status-connected {
  background: rgba(236, 112, 37, 0.1);
  color: #ec7025;
}

.status-online {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.structured-timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.timeline-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all 0.3s;
}

.timeline-step.active {
  background: rgba(236, 112, 37, 0.05);
  border-color: rgba(236, 112, 37, 0.15);
}

.step-num {
  font-family: var(--font-mono) !important;
  font-weight: 700;
  color: #cbd5e1;
  transition: color 0.3s;
}

.timeline-step.active .step-num {
  color: #ec7025;
}

.step-label {
  font-weight: 700;
  color: #64748b;
  font-size: 14px;
  transition: color 0.3s;
}

.timeline-step.active .step-label {
  color: var(--text-color);
}

.complete-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
}

.stat-box {
  background: var(--bg-workspace);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.25rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-family: var(--font-mono) !important;
  font-size: 1.85rem !important;
  font-weight: 850 !important;
  color: #ec7025 !important;
}

.stat-label {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Profit Simulator System */
.simulator-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem;
}

.simulator-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 28px;
  padding: 3rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.03) !important;
}

.simulator-inputs {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.input-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.input-header label {
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}

.input-value {
  font-family: var(--font-mono) !important;
  font-size: 1.4rem !important;
  font-weight: 850 !important;
  color: #ec7025 !important;
  background: rgba(236, 112, 37, 0.08);
  padding: 4px 12px;
  border-radius: 8px;
}

.simulator-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #e2e8f0;
  outline: none;
  margin: 12px 0;
}

.simulator-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ec7025;
  cursor: pointer;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 10px rgba(236, 112, 37, 0.3);
  transition: transform 0.1s;
}

.simulator-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.slider-bounds {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  font-family: var(--font-mono);
}

.group-label {
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}

.risk-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.risk-btn {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 12px 6px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.risk-btn:hover {
  border-color: rgba(236, 112, 37, 0.3);
  background: rgba(236, 112, 37, 0.02);
}

.risk-btn.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.risk-title {
  font-size: 14px !important;
  font-weight: 800 !important;
}

.risk-desc {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #64748b;
  font-family: var(--font-mono);
}

.risk-btn.active .risk-desc {
  color: rgba(255,255,255,0.7);
}

.simulator-outputs {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.output-headline {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.output-label {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.output-val-wrapper {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.output-value-main {
  font-family: var(--font-mono) !important;
  font-size: 2.5rem !important;
  font-weight: 850 !important;
  color: #0f172a !important;
}

.output-percentage {
  font-family: var(--font-mono) !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: #4cd69c;
}

.output-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.output-box {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.04);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.box-label {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #64748b !important;
}

.box-value {
  font-family: var(--font-mono) !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  color: #0f172a !important;
}

.box-value.risk-warning {
  color: #ec7025 !important;
}

.simulator-cta {
  margin-top: 10px;
}

.simulator-btn {
  display: block;
  text-align: center;
  background: #ec7025;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  padding: 14px 20px !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 25px rgba(236, 112, 37, 0.2) !important;
  transition: all 0.3s;
}

.simulator-btn:hover {
  background: #d55c14 !important;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(236, 112, 37, 0.3) !important;
}

/* Bento Responsive System */
@media (max-width: 968px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-wide {
    grid-column: span 1;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .bento-tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}

@media (max-width: 768px) {
  .simulator-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem;
  }
}

/* 3. Navigation & Header Enhancements */
.topbar {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.topbar.scrolled {
  top: 8px;
  min-height: 52px;
  padding: 6px 12px 6px 18px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08), 0 0 15px rgba(236, 112, 37, 0.06) !important;
  border-color: rgba(236, 112, 37, 0.15) !important;
}

.topbar.scrolled .brand img {
  height: 42px !important;
}

.main-nav a {
  transition: all 0.2s ease;
}

.main-nav a.active {
  background: rgba(236, 112, 37, 0.06) !important;
  color: #ec7025 !important;
}

/* Language Switcher Redesign */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: #f8fafc;
}

.lang-switch a {
  min-height: 28px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  transition: all 0.2s;
}

.lang-switch a:hover {
  color: #0f172a;
}

.lang-switch a.active,
.main-nav .lang-switch a.active {
  background: #0f172a !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* 4. Hero Background Grid Overlay */
.front .hero {
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(236, 112, 37, 0.22), transparent 45%),
    linear-gradient(var(--hero-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid-line) 1px, transparent 1px),
    var(--hero-gradient);
  background-size: 100% 100%, 48px 48px, 48px 48px, 100% 100%;
}

/* 5. Scroll Reveal System */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Timeline Pulse Animation */
@keyframes timelinePulse {
  0%, 100% { border-color: rgba(236, 112, 37, 0.15); box-shadow: none; }
  50% { border-color: rgba(236, 112, 37, 0.35); box-shadow: 0 0 12px rgba(236, 112, 37, 0.08); }
}

.timeline-step.active {
  animation: timelinePulse 2.5s infinite ease-in-out;
}

/* 6. SaaS Dashboards Sidebars & Tables */
.admin-menu {
  background: #ffffff !important;
  border-right: 1px solid rgba(15, 23, 42, 0.08) !important;
  padding: 2rem 1.5rem !important;
}

.admin-menu strong {
  font-family: Outfit, sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin-bottom: 2rem;
  display: block;
}

.admin-menu a {
  display: flex !important;
  align-items: center !important;
  padding: 12px 16px !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #475569 !important;
  transition: all 0.2s !important;
  margin-bottom: 4px !important;
  border: none !important;
  background: transparent !important;
}

.admin-menu a:hover {
  background: #f8fafc !important;
  color: #0f172a !important;
}

.admin-menu a.active {
  background: rgba(236, 112, 37, 0.06) !important;
  color: #ec7025 !important;
}

/* Technical Dashboard Tables */
.workspace table,
.app-shell table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 1.5rem;
}

.workspace th,
.app-shell th {
  background: #f8fafc !important;
  color: #475569 !important;
  font-family: Outfit, sans-serif !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 14px 18px !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
  text-align: left;
}

.workspace td,
.app-shell td {
  padding: 14px 18px !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.04) !important;
  color: #0f172a !important;
  font-size: 14px !important;
}

.workspace tr:nth-child(even) td,
.app-shell tr:nth-child(even) td {
  background: #fdfdfe !important;
}

.workspace td.mono,
.app-shell td.mono,
.workspace td:nth-child(3),
.workspace td:nth-child(4),
.app-shell td:nth-child(3),
.app-shell td:nth-child(4) {
  font-family: var(--font-mono) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

/* 7. Input focus orange halos */
input:focus, 
select:focus, 
textarea:focus {
  outline: none !important;
  border-color: #ec7025 !important;
  box-shadow: 0 0 0 3px rgba(236, 112, 37, 0.12) !important;
}

/* 8. Education Room Tabs & Telegram Partners Grid */
.education-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.education-tabs .tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  color: var(--muted) !important;
  transition: all 0.2s ease-in-out;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
}
.education-tabs .tab-btn:hover {
  background: rgba(15, 23, 42, 0.04);
  color: var(--dark) !important;
}
.education-tabs .tab-btn.active {
  background: var(--blue) !important;
  color: white !important;
  border-color: var(--blue) !important;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 1rem;
}
.partner-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}
.partner-image {
  height: 180px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.partner-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  gap: 15px;
}
.partner-info h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 850;
  color: var(--dark);
}
.telegram-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none !important;
  padding: 12px 16px;
  font-weight: 700;
  border-radius: 8px;
  transition: background 0.2s;
}

/* 9. Live Sessions Card Grid */
.live-sessions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 1rem;
}
.live-session-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.live-session-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}
.live-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #f04438;
  color: #fff;
  padding: 6px 12px;
  font-weight: 800;
  font-size: 0.8rem;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(240, 68, 56, 0.35);
  letter-spacing: 0.5px;
}

/* 10. Hero Indicators Custom Buttons */
.hero-indicators button {
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 10px 22px;
  font-family: Outfit, sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #334155;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-indicators button:hover {
  background: #ec7025;
  color: #ffffff;
  border-color: #ec7025;
  box-shadow: 0 4px 15px rgba(236, 112, 37, 0.25);
  transform: translateY(-2px);
}

/* 11. Trading Room Expansion Layouts */
.step-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(236, 112, 37, 0.06);
  color: #ec7025;
  padding: 8px 16px;
  border-radius: 99px;
  font-weight: 800;
  font-size: 13px;
  border: 1px solid rgba(236, 112, 37, 0.15);
}
.step-badge .star-icon {
  font-size: 14px;
}

.signals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 24px;
  margin-top: 2rem;
}
.signal-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.signal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}
.signal-img-container {
  position: relative;
  background: #090d16;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.signal-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
  transition: transform 0.5s;
}
.signal-card:hover .signal-img-container img {
  transform: scale(1.05);
}
.signal-icon-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 18px;
}
.signal-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.signal-card-body h3 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  margin-top: 0;
}
.signal-card-body p {
  color: #64748b;
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}
.signal-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ec7025;
  font-size: 16px;
  transition: all 0.25s;
  margin-left: auto;
}
.signal-card:hover .signal-arrow-btn {
  background: #ec7025;
  color: #ffffff;
  border-color: #ec7025;
  box-shadow: 0 4px 12px rgba(236, 112, 37, 0.3);
}

.indicator-main-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  margin-top: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}
@media (max-width: 992px) {
  .indicator-main-card {
    grid-template-columns: 1fr;
  }
}
.indicator-video-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16/9;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.indicator-video-wrapper iframe,
.indicator-video-wrapper video {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.indicator-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.indicator-details h2 {
  font-size: 24px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 12px;
  margin-top: 0;
}
.indicator-details > p {
  color: #475569;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.advantage-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.advantage-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(236, 112, 37, 0.08);
  border: 1px solid rgba(236, 112, 37, 0.15);
  color: #ec7025;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.advantage-text h4 {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
}
.advantage-text p {
  color: #64748b;
  font-size: 13.5px;
  line-height: 1.5;
  margin: 0;
}

.tradingview-box {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  padding: 24px;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tradingview-form-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}
@media (max-width: 576px) {
  .tradingview-form-row {
    flex-direction: column;
    align-items: stretch;
  }
}

.indicators-sub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.indicator-sub-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color 0.25s, box-shadow 0.25s;
  text-decoration: none;
}
.indicator-sub-card:hover {
  border-color: rgba(236, 112, 37, 0.2);
  box-shadow: 0 4px 15px rgba(236, 112, 37, 0.05);
}
.indicator-sub-card .sub-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #090d16;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ec7025;
  font-size: 20px;
  flex-shrink: 0;
}
.indicator-sub-card .sub-text {
  flex-grow: 1;
}
.indicator-sub-card .sub-text strong {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 2px;
}
.indicator-sub-card .sub-text span {
  display: block;
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.4;
}
.indicator-sub-card .sub-arrow {
  color: #cbd5e1;
  font-size: 16px;
  transition: color 0.2s;
}
.indicator-sub-card:hover .sub-arrow {
  color: #ec7025;
}

.live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 24px;
  margin-top: 2rem;
}
.live-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.live-img-container {
  position: relative;
  height: 220px;
  background: #090d16;
}
.live-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.live-badge-red {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #ef4444;
  color: #ffffff;
  padding: 6px 12px;
  font-weight: 800;
  font-size: 11px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.35);
}
.live-badge-red::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}
.live-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.live-card-body h3 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  margin-top: 0;
  line-height: 1.3;
}
.live-card-body p {
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}
.live-info-row {
  display: flex;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  margin-bottom: 20px;
}
.live-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-size: 13.5px;
  font-weight: 600;
}
.live-info-item svg {
  width: 16px;
  height: 16px;
  color: #64748b;
}
.live-btn-zoom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(236, 112, 37, 0.06);
  color: #ec7025;
  border: 1px solid rgba(236, 112, 37, 0.15);
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.25s;
}
.live-btn-zoom:hover {
  background: #ec7025;
  color: #ffffff;
  border-color: #ec7025;
  box-shadow: 0 4px 15px rgba(236, 112, 37, 0.25);
}

/* Theme Toggle Button styling */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--input-bg);
  color: var(--text-color);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.theme-toggle:hover {
  transform: scale(1.05);
  border-color: #ec7025;
  color: #ec7025;
}
.theme-toggle-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Toggle displays based on data-theme attribute */
html[data-theme="dark"] .theme-toggle-sun {
  display: block !important;
}
html[data-theme="dark"] .theme-toggle-moon {
  display: none !important;
}
html[data-theme="light"] .theme-toggle-sun {
  display: none !important;
}
html[data-theme="light"] .theme-toggle-moon {
  display: block !important;
}
html:not([data-theme]) .theme-toggle-moon {
  display: block;
}
html:not([data-theme]) .theme-toggle-sun {
  display: none;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .theme-toggle-moon {
    display: none !important;
  }
  html:not([data-theme]) .theme-toggle-sun {
    display: block !important;
  }
}

/* Custom Scrollbars in Dark Mode */
html[data-theme="dark"] {
  --color-scrollbar-track: #05070c;
  --color-scrollbar-thumb: #1e293b;
  scrollbar-color: var(--color-scrollbar-thumb) var(--color-scrollbar-track);
}
@supports not (scrollbar-color: auto) {
  html[data-theme="dark"]::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  html[data-theme="dark"]::-webkit-scrollbar-track {
    background: #05070c;
  }
  html[data-theme="dark"]::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 999px;
  }
}

/* Logo visibility toggling based on theme */
html[data-theme="dark"] .logo-light {
  display: none !important;
}
html[data-theme="dark"] .logo-dark {
  display: block !important;
}
html[data-theme="light"] .logo-light {
  display: block !important;
}
html[data-theme="light"] .logo-dark {
  display: none !important;
}
html:not([data-theme]) .logo-light {
  display: block;
}
html:not([data-theme]) .logo-dark {
  display: none;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .logo-light {
    display: none !important;
  }
  html:not([data-theme]) .logo-dark {
    display: block !important;
  }
}

/* Dark mode readability fixes for the public landing pages.
   Several late landing-page rules set dark ink colors with !important,
   so these overrides must live at the end of the file. */
html[data-theme="dark"] .front h1,
html[data-theme="dark"] .front h2,
html[data-theme="dark"] .front h3,
html[data-theme="dark"] .front h2.section-title,
html[data-theme="dark"] .front .section h2,
html[data-theme="dark"] .front .ft-section h2,
html[data-theme="dark"] .front .section-heading h2,
html[data-theme="dark"] .front .ft-heading h2,
html[data-theme="dark"] .front .page-hero h1,
html[data-theme="dark"] .front .pillar-title,
html[data-theme="dark"] .front .risk-title,
html[data-theme="dark"] .front .bento-title,
html[data-theme="dark"] .front .indicator-details h2 {
  color: var(--text-color) !important;
}

html[data-theme="dark"] .front p,
html[data-theme="dark"] .front li,
html[data-theme="dark"] .front .section-heading p:last-child,
html[data-theme="dark"] .front .ft-heading p,
html[data-theme="dark"] .front .page-hero > p,
html[data-theme="dark"] .front .card p,
html[data-theme="dark"] .front .card li,
html[data-theme="dark"] .front .pillar-copy,
html[data-theme="dark"] .front .live-card-body p,
html[data-theme="dark"] .front .live-info-item {
  color: var(--muted) !important;
}

html[data-theme="dark"] .footer {
  color: var(--muted) !important;
}

html[data-theme="dark"] .footer h3,
html[data-theme="dark"] .footer strong {
  color: var(--text-color) !important;
}

html[data-theme="dark"] .footer a,
html[data-theme="dark"] .footer span,
html[data-theme="dark"] .socials,
html[data-theme="dark"] .socials a {
  color: var(--muted) !important;
}

html[data-theme="dark"] .footer a:hover,
html[data-theme="dark"] .socials a:hover {
  color: #ffffff !important;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .front h1,
  html:not([data-theme]) .front h2,
  html:not([data-theme]) .front h3,
  html:not([data-theme]) .front h2.section-title,
  html:not([data-theme]) .front .section h2,
  html:not([data-theme]) .front .ft-section h2,
  html:not([data-theme]) .front .section-heading h2,
  html:not([data-theme]) .front .ft-heading h2,
  html:not([data-theme]) .front .page-hero h1,
  html:not([data-theme]) .front .pillar-title,
  html:not([data-theme]) .front .risk-title,
  html:not([data-theme]) .front .bento-title,
  html:not([data-theme]) .front .indicator-details h2 {
    color: var(--text-color) !important;
  }

  html:not([data-theme]) .front p,
  html:not([data-theme]) .front li,
  html:not([data-theme]) .front .section-heading p:last-child,
  html:not([data-theme]) .front .ft-heading p,
  html:not([data-theme]) .front .page-hero > p,
  html:not([data-theme]) .front .card p,
  html:not([data-theme]) .front .card li,
  html:not([data-theme]) .front .pillar-copy,
  html:not([data-theme]) .front .live-card-body p,
  html:not([data-theme]) .front .live-info-item {
    color: var(--muted) !important;
  }

  html:not([data-theme]) .footer {
    color: var(--muted) !important;
  }

  html:not([data-theme]) .footer h3,
  html:not([data-theme]) .footer strong {
    color: var(--text-color) !important;
  }

  html:not([data-theme]) .footer a,
  html:not([data-theme]) .footer span,
  html:not([data-theme]) .socials,
  html:not([data-theme]) .socials a {
    color: var(--muted) !important;
  }

  html:not([data-theme]) .footer a:hover,
  html:not([data-theme]) .socials a:hover {
    color: #ffffff !important;
  }
}

/* Dark mode panel fixes for hardcoded white landing sections. */
html[data-theme="dark"] .front .pillar-content-card,
html[data-theme="dark"] .front .mission-compare-card,
html[data-theme="dark"] .front .how-cards-v2 .card,
html[data-theme="dark"] .front #audience .audience-grid-v2,
html[data-theme="dark"] .front .final-cta-card {
  background: #0f172a !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22) !important;
}

html[data-theme="dark"] .front .final-cta-v2 {
  background: var(--bg-color) !important;
}

html[data-theme="dark"] .front .pillar-cta-box,
html[data-theme="dark"] .front .final-cta-input {
  background: #111c2f !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
}

html[data-theme="dark"] .front .pillar-title,
html[data-theme="dark"] .front .pillar-price,
html[data-theme="dark"] .front .compare-header,
html[data-theme="dark"] .front .compare-text strong,
html[data-theme="dark"] .front .how-cards-v2 .card h3,
html[data-theme="dark"] .front #audience .audience-grid-v2 h2,
html[data-theme="dark"] .front #audience .audience-grid-v2 li,
html[data-theme="dark"] .front .final-cta-v2 h2,
html[data-theme="dark"] .front .final-cta-card h3,
html[data-theme="dark"] .front .final-cta-input {
  color: var(--text-color) !important;
}

html[data-theme="dark"] .front .pillar-desc,
html[data-theme="dark"] .front .pillar-checklist li,
html[data-theme="dark"] .front .pillar-requirements li,
html[data-theme="dark"] .front .compare-text p,
html[data-theme="dark"] .front .how-cards-v2 .card p,
html[data-theme="dark"] .front .final-cta-v2 p.cta-desc,
html[data-theme="dark"] .front .final-cta-card p.card-desc {
  color: var(--muted) !important;
}

html[data-theme="dark"] .front .final-cta-input::placeholder {
  color: rgba(148, 163, 184, 0.78) !important;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .front .pillar-content-card,
  html:not([data-theme]) .front .mission-compare-card,
  html:not([data-theme]) .front .how-cards-v2 .card,
  html:not([data-theme]) .front #audience .audience-grid-v2,
  html:not([data-theme]) .front .final-cta-card {
    background: #0f172a !important;
    border-color: rgba(255, 255, 255, 0.10) !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22) !important;
  }

  html:not([data-theme]) .front .final-cta-v2 {
    background: var(--bg-color) !important;
  }

  html:not([data-theme]) .front .pillar-cta-box,
  html:not([data-theme]) .front .final-cta-input {
    background: #111c2f !important;
    border-color: rgba(255, 255, 255, 0.10) !important;
  }

  html:not([data-theme]) .front .pillar-title,
  html:not([data-theme]) .front .pillar-price,
  html:not([data-theme]) .front .compare-header,
  html:not([data-theme]) .front .compare-text strong,
  html:not([data-theme]) .front .how-cards-v2 .card h3,
  html:not([data-theme]) .front #audience .audience-grid-v2 h2,
  html:not([data-theme]) .front #audience .audience-grid-v2 li,
  html:not([data-theme]) .front .final-cta-v2 h2,
  html:not([data-theme]) .front .final-cta-card h3,
  html:not([data-theme]) .front .final-cta-input {
    color: var(--text-color) !important;
  }

  html:not([data-theme]) .front .pillar-desc,
  html:not([data-theme]) .front .pillar-checklist li,
  html:not([data-theme]) .front .pillar-requirements li,
  html:not([data-theme]) .front .compare-text p,
  html:not([data-theme]) .front .how-cards-v2 .card p,
  html:not([data-theme]) .front .final-cta-v2 p.cta-desc,
  html:not([data-theme]) .front .final-cta-card p.card-desc {
    color: var(--muted) !important;
  }

  html:not([data-theme]) .front .final-cta-input::placeholder {
    color: rgba(148, 163, 184, 0.78) !important;
  }
}

/* Mobile header/menu viewport lock. */
@media (max-width: 980px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .topbar,
  .front .topbar,
  .admin .topbar,
  .member .topbar {
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: calc(100vw - 24px) !important;
    transform: none !important;
  }

  .topbar .brand,
  .front .topbar .brand,
  .admin .topbar .brand,
  .member .topbar .brand {
    min-width: 0 !important;
    max-width: calc(100vw - 98px) !important;
  }

  .topbar .brand img,
  .front .topbar .brand img,
  .admin .topbar .brand img,
  .member .topbar .brand img {
    max-width: min(190px, calc(100vw - 112px)) !important;
    object-fit: contain !important;
  }

  .main-nav,
  .front .main-nav,
  .admin .main-nav,
  .member .main-nav {
    left: auto !important;
    right: 0 !important;
    width: min(360px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;
    overflow-x: hidden !important;
  }
}

@media (max-width: 420px) {
  .topbar,
  .front .topbar,
  .admin .topbar,
  .member .topbar {
    left: 8px !important;
    right: 8px !important;
    max-width: calc(100vw - 16px) !important;
    padding-left: 10px !important;
    padding-right: 8px !important;
  }

  .topbar .brand img,
  .front .topbar .brand img,
  .admin .topbar .brand img,
  .member .topbar .brand img {
    max-width: min(168px, calc(100vw - 104px)) !important;
  }

  .main-nav,
  .front .main-nav,
  .admin .main-nav,
  .member .main-nav {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
  }
}

/* Mobile dark header logo/menu contrast. */
@media (max-width: 980px) {
  html[data-theme="dark"] .topbar,
  html[data-theme="dark"] .front .topbar,
  html[data-theme="dark"] .admin .topbar,
  html[data-theme="dark"] .member .topbar {
    background: rgba(9, 13, 22, 0.92) !important;
    border-color: rgba(148, 163, 184, 0.18) !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34) !important;
  }

  html[data-theme="dark"] .topbar .logo-dark,
  html[data-theme="dark"] .front .topbar .logo-dark,
  html[data-theme="dark"] .admin .topbar .logo-dark,
  html[data-theme="dark"] .member .topbar .logo-dark {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
  }

  html[data-theme="dark"] .topbar .logo-light,
  html[data-theme="dark"] .front .topbar .logo-light,
  html[data-theme="dark"] .admin .topbar .logo-light,
  html[data-theme="dark"] .member .topbar .logo-light {
    display: none !important;
  }

  html[data-theme="dark"] .menu-button,
  html[data-theme="dark"] .theme-toggle {
    background: rgba(15, 23, 42, 0.96) !important;
    border-color: rgba(236, 112, 37, 0.38) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.26) !important;
  }

  html[data-theme="dark"] .menu-button span {
    background: currentColor !important;
  }

  html[data-theme="dark"] .menu-button:hover,
  html[data-theme="dark"] .theme-toggle:hover {
    border-color: #ec7025 !important;
    color: #ec7025 !important;
  }

  html[data-theme="dark"] .main-nav,
  html[data-theme="dark"] .front .main-nav,
  html[data-theme="dark"] .admin .main-nav,
  html[data-theme="dark"] .member .main-nav {
    background: rgba(9, 13, 22, 0.98) !important;
    border-color: rgba(148, 163, 184, 0.22) !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42) !important;
  }

  html[data-theme="dark"] .main-nav a,
  html[data-theme="dark"] .front .main-nav a,
  html[data-theme="dark"] .admin .main-nav a,
  html[data-theme="dark"] .member .main-nav a,
  html[data-theme="dark"] .main-nav .lang-switch a {
    color: #e5edf8 !important;
    background: transparent !important;
  }

  html[data-theme="dark"] .main-nav a:hover,
  html[data-theme="dark"] .front .main-nav a:hover,
  html[data-theme="dark"] .admin .main-nav a:hover,
  html[data-theme="dark"] .member .main-nav a:hover,
  html[data-theme="dark"] .main-nav a.active,
  html[data-theme="dark"] .main-nav .lang-switch a.active {
    background: rgba(236, 112, 37, 0.16) !important;
    color: #ffffff !important;
  }

  html[data-theme="dark"] .main-nav .lang-switch {
    background: rgba(15, 23, 42, 0.92) !important;
    border-color: rgba(148, 163, 184, 0.18) !important;
  }
}

@media (max-width: 980px) and (prefers-color-scheme: dark) {
  html:not([data-theme]) .topbar,
  html:not([data-theme]) .front .topbar,
  html:not([data-theme]) .admin .topbar,
  html:not([data-theme]) .member .topbar {
    background: rgba(9, 13, 22, 0.92) !important;
    border-color: rgba(148, 163, 184, 0.18) !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34) !important;
  }

  html:not([data-theme]) .topbar .logo-dark,
  html:not([data-theme]) .front .topbar .logo-dark,
  html:not([data-theme]) .admin .topbar .logo-dark,
  html:not([data-theme]) .member .topbar .logo-dark {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
  }

  html:not([data-theme]) .topbar .logo-light,
  html:not([data-theme]) .front .topbar .logo-light,
  html:not([data-theme]) .admin .topbar .logo-light,
  html:not([data-theme]) .member .topbar .logo-light {
    display: none !important;
  }

  html:not([data-theme]) .menu-button,
  html:not([data-theme]) .theme-toggle {
    background: rgba(15, 23, 42, 0.96) !important;
    border-color: rgba(236, 112, 37, 0.38) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.26) !important;
  }

  html:not([data-theme]) .menu-button span {
    background: currentColor !important;
  }

  html:not([data-theme]) .main-nav,
  html:not([data-theme]) .front .main-nav,
  html:not([data-theme]) .admin .main-nav,
  html:not([data-theme]) .member .main-nav {
    background: rgba(9, 13, 22, 0.98) !important;
    border-color: rgba(148, 163, 184, 0.22) !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42) !important;
  }

  html:not([data-theme]) .main-nav a,
  html:not([data-theme]) .front .main-nav a,
  html:not([data-theme]) .admin .main-nav a,
  html:not([data-theme]) .member .main-nav a,
  html:not([data-theme]) .main-nav .lang-switch a {
    color: #e5edf8 !important;
    background: transparent !important;
  }

  html:not([data-theme]) .main-nav a:hover,
  html:not([data-theme]) .front .main-nav a:hover,
  html:not([data-theme]) .admin .main-nav a:hover,
  html:not([data-theme]) .member .main-nav a:hover,
  html:not([data-theme]) .main-nav a.active,
  html:not([data-theme]) .main-nav .lang-switch a.active {
    background: rgba(236, 112, 37, 0.16) !important;
    color: #ffffff !important;
  }

  html:not([data-theme]) .main-nav .lang-switch {
    background: rgba(15, 23, 42, 0.92) !important;
    border-color: rgba(148, 163, 184, 0.18) !important;
  }
}

@media (max-width: 980px) {
  body.front:has(.auth-shell) .topbar {
    background: rgba(9, 13, 22, 0.92) !important;
    border-color: rgba(148, 163, 184, 0.18) !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34) !important;
  }

  body.front:has(.auth-shell) .topbar .logo-dark {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
  }

  body.front:has(.auth-shell) .topbar .logo-light {
    display: none !important;
  }

  body.front:has(.auth-shell) .menu-button,
  body.front:has(.auth-shell) .theme-toggle {
    background: rgba(15, 23, 42, 0.96) !important;
    border-color: rgba(236, 112, 37, 0.38) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.26) !important;
  }

  body.front:has(.auth-shell) .menu-button span {
    background: currentColor !important;
  }
}

@media (max-width: 680px) {
  .pillar-tabs-container,
  .front .pillar-tabs-container {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    padding-inline: 0 !important;
  }

  .pillar-tabs,
  .front .pillar-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    gap: 6px !important;
    border-radius: 18px !important;
  }

  .pillar-tab-btn,
  .front .pillar-tab-btn {
    width: 100% !important;
    min-width: 0 !important;
    padding: 11px 8px !important;
    white-space: normal !important;
    text-align: center !important;
    font-size: 11.5px !important;
    line-height: 1.15 !important;
  }

  .front #partenaires > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .front #partenaires .card {
    grid-column: auto !important;
  }
}

/* Admin/member dark-mode contrast pass for tables and action buttons. */
html[data-theme="dark"] .admin table,
html[data-theme="dark"] .member table,
html[data-theme="dark"] .workspace table,
html[data-theme="dark"] .app-shell table {
  background: #0f172a !important;
  border-color: rgba(148, 163, 184, 0.20) !important;
}

html[data-theme="dark"] .admin th,
html[data-theme="dark"] .member th,
html[data-theme="dark"] .workspace th,
html[data-theme="dark"] .app-shell th {
  background: #18243a !important;
  color: #dbe7f7 !important;
  border-bottom-color: rgba(148, 163, 184, 0.22) !important;
}

html[data-theme="dark"] .admin td,
html[data-theme="dark"] .member td,
html[data-theme="dark"] .workspace td,
html[data-theme="dark"] .app-shell td,
html[data-theme="dark"] .workspace tr:nth-child(even) td,
html[data-theme="dark"] .app-shell tr:nth-child(even) td {
  background: #101a2d !important;
  color: #f8fafc !important;
  border-bottom-color: rgba(148, 163, 184, 0.16) !important;
}

html[data-theme="dark"] .admin tr:nth-child(odd) td,
html[data-theme="dark"] .member tr:nth-child(odd) td,
html[data-theme="dark"] .workspace tr:nth-child(odd) td,
html[data-theme="dark"] .app-shell tr:nth-child(odd) td {
  background: #0d1627 !important;
}

html[data-theme="dark"] .admin td strong,
html[data-theme="dark"] .member td strong,
html[data-theme="dark"] .workspace td strong,
html[data-theme="dark"] .app-shell td strong {
  color: #ffffff !important;
}

html[data-theme="dark"] .admin .button.secondary,
html[data-theme="dark"] .member .button.secondary,
html[data-theme="dark"] .admin td .button.secondary,
html[data-theme="dark"] .member td .button.secondary,
html[data-theme="dark"] .admin td button.button.secondary,
html[data-theme="dark"] .member td button.button.secondary {
  background: #eaf1fb !important;
  color: #0b1220 !important;
  border-color: #eaf1fb !important;
  box-shadow: none !important;
}

html[data-theme="dark"] .admin .button.danger,
html[data-theme="dark"] .member .button.danger,
html[data-theme="dark"] .admin td .button.danger,
html[data-theme="dark"] .member td .button.danger {
  background: #c93a2c !important;
  color: #ffffff !important;
  border-color: #e25745 !important;
}

html[data-theme="dark"] .admin td form,
html[data-theme="dark"] .member td form {
  display: inline-flex !important;
}

html[data-theme="dark"] .admin td > div[style*="display: flex"],
html[data-theme="dark"] .member td > div[style*="display: flex"] {
  flex-wrap: wrap !important;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .admin table,
  html:not([data-theme]) .member table,
  html:not([data-theme]) .workspace table,
  html:not([data-theme]) .app-shell table {
    background: #0f172a !important;
    border-color: rgba(148, 163, 184, 0.20) !important;
  }

  html:not([data-theme]) .admin th,
  html:not([data-theme]) .member th,
  html:not([data-theme]) .workspace th,
  html:not([data-theme]) .app-shell th {
    background: #18243a !important;
    color: #dbe7f7 !important;
    border-bottom-color: rgba(148, 163, 184, 0.22) !important;
  }

  html:not([data-theme]) .admin td,
  html:not([data-theme]) .member td,
  html:not([data-theme]) .workspace td,
  html:not([data-theme]) .app-shell td,
  html:not([data-theme]) .workspace tr:nth-child(even) td,
  html:not([data-theme]) .app-shell tr:nth-child(even) td {
    background: #101a2d !important;
    color: #f8fafc !important;
    border-bottom-color: rgba(148, 163, 184, 0.16) !important;
  }

  html:not([data-theme]) .admin tr:nth-child(odd) td,
  html:not([data-theme]) .member tr:nth-child(odd) td,
  html:not([data-theme]) .workspace tr:nth-child(odd) td,
  html:not([data-theme]) .app-shell tr:nth-child(odd) td {
    background: #0d1627 !important;
  }

  html:not([data-theme]) .admin td strong,
  html:not([data-theme]) .member td strong,
  html:not([data-theme]) .workspace td strong,
  html:not([data-theme]) .app-shell td strong {
    color: #ffffff !important;
  }

  html:not([data-theme]) .admin .button.secondary,
  html:not([data-theme]) .member .button.secondary,
  html:not([data-theme]) .admin td .button.secondary,
  html:not([data-theme]) .member td .button.secondary,
  html:not([data-theme]) .admin td button.button.secondary,
  html:not([data-theme]) .member td button.button.secondary {
    background: #eaf1fb !important;
    color: #0b1220 !important;
    border-color: #eaf1fb !important;
    box-shadow: none !important;
  }

  html:not([data-theme]) .admin .button.danger,
  html:not([data-theme]) .member .button.danger,
  html:not([data-theme]) .admin td .button.danger,
  html:not([data-theme]) .member td .button.danger {
    background: #c93a2c !important;
    color: #ffffff !important;
    border-color: #e25745 !important;
  }

  html:not([data-theme]) .admin td form,
  html:not([data-theme]) .member td form {
    display: inline-flex !important;
  }

  html:not([data-theme]) .admin td > div[style*="display: flex"],
  html:not([data-theme]) .member td > div[style*="display: flex"] {
    flex-wrap: wrap !important;
  }
}

/* Arabic / RTL localization polish */
html[dir="rtl"] {
  direction: rtl;
}

html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select {
  text-align: right;
}

html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[type="url"],
html[dir="rtl"] input[type="number"],
html[dir="rtl"] input[type="password"],
html[dir="rtl"] code,
html[dir="rtl"] .mono,
html[dir="rtl"] .amount,
html[dir="rtl"] .price,
html[dir="rtl"] .offer-price,
html[dir="rtl"] .pillar-price {
  direction: ltr;
  text-align: left;
}

html[dir="rtl"] .topbar,
html[dir="rtl"] .main-nav,
html[dir="rtl"] .footer-top,
html[dir="rtl"] .footer-grid,
html[dir="rtl"] .workspace-header,
html[dir="rtl"] .actions,
html[dir="rtl"] .tools-tabs,
html[dir="rtl"] .lang-options,
html[dir="rtl"] .cards,
html[dir="rtl"] .split,
html[dir="rtl"] .app-shell {
  direction: rtl;
}

html[dir="rtl"] .brand,
html[dir="rtl"] .footer-brand,
html[dir="rtl"] .user-chip,
html[dir="rtl"] .lang-switch,
html[dir="rtl"] .socials,
html[dir="rtl"] .button,
html[dir="rtl"] .nav-icon {
  direction: ltr;
}

html[dir="rtl"] .main-nav,
html[dir="rtl"] .side-nav,
html[dir="rtl"] .member-sidebar,
html[dir="rtl"] .workspace,
html[dir="rtl"] .auth-card,
html[dir="rtl"] .card,
html[dir="rtl"] .footer-grid > div {
  text-align: right;
}

html[dir="rtl"] .dropdown-content {
  left: auto;
  right: 0;
  text-align: right;
}

html[dir="rtl"] .dropdown-content a:hover {
  transform: translateX(-5px);
}

html[dir="rtl"] .notification-dropdown-menu {
  right: auto !important;
  left: 0 !important;
  text-align: right !important;
}

html[dir="rtl"] ul,
html[dir="rtl"] ol {
  padding-left: 0;
  padding-right: 1.2rem;
}

html[dir="rtl"] .challenge-cards li,
html[dir="rtl"] .pricing-offer-cards li,
html[dir="rtl"] .broker-list article,
html[dir="rtl"] .lesson-list a,
html[dir="rtl"] .support-chat-message {
  direction: rtl;
  text-align: right;
}

@media (max-width: 980px) {
  html[dir="rtl"] .main-nav,
  html[dir="rtl"] .front .main-nav,
  html[dir="rtl"] .admin .main-nav,
  html[dir="rtl"] .member .main-nav {
    left: 0 !important;
    right: auto !important;
  }
}
