/*!
 * =============================================================================
 * YS Global Pro Partner Rewards - Design Refresh v21.2.175
 * =============================================================================
 *
 * Pure visual polish layer that sits on top of `ysgp-design.css`.
 * Targets the OS Portal (`#ysgp-portal-root`) and matches the
 * "YS GLOBAL OS PORTAL v6 - System Overview" reference visual.
 *
 * SAFETY:
 *  - Zero JavaScript / JSX / PHP behavior changes.
 *  - Zero changes to the main ysgp-design.css file.
 *  - Scoped to `#ysgp-portal-root` (and the few legacy hooks it owns) so
 *    nothing outside the portal can be affected.
 *  - Uses targeted overrides (no global element resets, no layout removals).
 *
 * Scope guard: OS Portal frontend visual treatment only. Academy, Partner
 * portal logic, Live Chart, AI, payment, REST endpoints, nonces, and all
 * backend systems remain untouched.
 *
 * Author: YS Global
 * Stable: 0.21.2.175
 * =============================================================================
 */

/* ----------------------------------------------------------------------------
 * 1. FONT + DESIGN TOKENS
 * ------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

#ysgp-portal-root {
  /* Base palette - deep matte navy + neon accents */
  --ysr-bg-0: #05070d;
  --ysr-bg-1: #080b13;
  --ysr-bg-2: #0b0f1a;
  --ysr-bg-3: #0e1322;
  --ysr-line: rgba(255, 255, 255, 0.06);
  --ysr-line-strong: rgba(255, 255, 255, 0.10);
  --ysr-line-soft: rgba(255, 255, 255, 0.04);

  /* Text */
  --ysr-text: #f1f5fb;
  --ysr-text-soft: #c8d2e0;
  --ysr-text-muted: #8a96aa;
  --ysr-text-dim: #5a6478;

  /* Neon accents */
  --ysr-cyan: #22d3ee;
  --ysr-cyan-soft: rgba(34, 211, 238, 0.16);
  --ysr-cyan-glow: rgba(34, 211, 238, 0.45);
  --ysr-blue: #3b82f6;
  --ysr-blue-glow: rgba(59, 130, 246, 0.45);
  --ysr-emerald: #34d399;
  --ysr-emerald-glow: rgba(52, 211, 153, 0.45);
  --ysr-purple: #a855f7;
  --ysr-purple-glow: rgba(168, 85, 247, 0.45);
  --ysr-pink: #ec4899;
  --ysr-pink-glow: rgba(236, 72, 153, 0.45);
  --ysr-rose: #f43f5e;

  /* Typography */
  --ysr-font: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ysr-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Radii */
  --ysr-r-sm: 12px;
  --ysr-r-md: 18px;
  --ysr-r-lg: 24px;
  --ysr-r-xl: 28px;
  --ysr-r-pill: 999px;

  /* Shadows / glows */
  --ysr-shadow-card: 0 24px 60px -28px rgba(0, 0, 0, 0.85),
                     0 0 0 1px rgba(255, 255, 255, 0.03);
  --ysr-shadow-hover: 0 32px 70px -22px rgba(0, 0, 0, 0.9);
}

/* ----------------------------------------------------------------------------
 * 2. BODY + BASE
 * ------------------------------------------------------------------------- */
body.ysgp-design-page,
body.ysgp-design-page #ysgp-portal-root.ysgp-fullscreen-root {
  background: radial-gradient(140% 90% at 50% -15%,
              rgba(34, 211, 238, 0.045) 0%,
              rgba(168, 85, 247, 0.02) 35%,
              transparent 65%),
              #05070d !important;
  font-family: var(--ysr-font);
  color: var(--ysr-text);
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#ysgp-portal-root {
  font-family: var(--ysr-font);
  color: var(--ysr-text);
}

/* Subtle ambient grid behind content */
#ysgp-portal-root.ysgp-fullscreen-root::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center;
  mask-image: radial-gradient(110% 80% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(110% 80% at 50% 40%, #000 30%, transparent 75%);
  opacity: 0.7;
}

/* ----------------------------------------------------------------------------
 * 3. SIDEBAR
 * ------------------------------------------------------------------------- */
#ysgp-portal-root aside.w-64 {
  background:
    linear-gradient(180deg, #070a12 0%, #060912 100%) !important;
  border-right: 1px solid var(--ysr-line) !important;
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.015),
              28px 0 60px -40px rgba(0, 0, 0, 0.7);
}

/* Brand bar */
#ysgp-portal-root aside .ysgp-sidebar-brand-bar-v169 {
  border-bottom: 1px solid var(--ysr-line) !important;
  background: linear-gradient(180deg,
    rgba(34, 211, 238, 0.025) 0%,
    transparent 100%);
}

/* Group labels (Main Modules, Intelligence, Ecosystem, Account) */
#ysgp-portal-root aside p.text-\[10px\].font-bold.text-slate-600 {
  color: rgba(255, 255, 255, 0.32) !important;
  font-family: var(--ysr-font);
  font-weight: 700 !important;
  font-size: 10px !important;
  letter-spacing: 0.22em !important;
  padding-left: 14px !important;
  position: relative;
}
#ysgp-portal-root aside p.text-\[10px\].font-bold.text-slate-600::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 1px;
  background: rgba(34, 211, 238, 0.4);
  box-shadow: 0 0 6px rgba(34, 211, 238, 0.5);
}

/* Nav items */
#ysgp-portal-root aside button.w-full.flex.items-center.justify-between {
  border-radius: 14px !important;
  padding: 11px 14px !important;
  position: relative;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
#ysgp-portal-root aside button.w-full.flex.items-center.justify-between span.font-bold.text-xs {
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
  font-size: 12.5px !important;
  font-family: var(--ysr-font);
}
#ysgp-portal-root aside button.w-full.flex.items-center.justify-between:hover {
  background: rgba(255, 255, 255, 0.025) !important;
  transform: translateX(2px);
}
/* Active nav item */
#ysgp-portal-root aside button.w-full.flex.items-center.justify-between.bg-white\/5 {
  background: linear-gradient(90deg,
    rgba(34, 211, 238, 0.10),
    rgba(34, 211, 238, 0.02) 70%) !important;
  border: 1px solid rgba(34, 211, 238, 0.22) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02),
              0 8px 24px -16px rgba(34, 211, 238, 0.4);
}

/* Nav badges (PRO, LIVE, HUB, NEW, AI, LAB, ZOOM, EARN) */
#ysgp-portal-root aside span.relative.z-10[class*="text-[8px]"],
#ysgp-portal-root aside span.relative.z-10[class*="text-[9px]"] {
  font-family: var(--ysr-font-mono) !important;
  font-weight: 700 !important;
  letter-spacing: 0.15em !important;
  padding: 3px 7px !important;
  border-radius: 6px !important;
  font-size: 9px !important;
  border-width: 1px !important;
}

/* Profile card at bottom */
#ysgp-portal-root aside .bg-\[\#0a0d14\].absolute.md\:static {
  background: linear-gradient(180deg,
    rgba(11, 15, 26, 0.6),
    rgba(7, 10, 18, 0.95)) !important;
  border-top: 1px solid var(--ysr-line) !important;
}

/* ----------------------------------------------------------------------------
 * 4. TOP HEADER
 * ------------------------------------------------------------------------- */
#ysgp-portal-root main > header.bg-\[\#0a0d14\] {
  background: rgba(6, 9, 16, 0.78) !important;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--ysr-line) !important;
}

/* SYSTEM NOMINAL pill */
#ysgp-portal-root header div.hidden.lg\:flex.items-center.gap-2.px-3.py-1\.5.rounded-lg {
  background: rgba(52, 211, 153, 0.08) !important;
  border: 1px solid rgba(52, 211, 153, 0.30) !important;
  border-radius: 999px !important;
  padding: 6px 14px !important;
  font-family: var(--ysr-font-mono) !important;
  letter-spacing: 0.22em !important;
  box-shadow: 0 0 18px -4px rgba(52, 211, 153, 0.35),
              inset 0 0 0 1px rgba(52, 211, 153, 0.06);
}
#ysgp-portal-root header div.hidden.lg\:flex.items-center.gap-2 > div.w-1\.5.h-1\.5 {
  width: 7px !important;
  height: 7px !important;
  box-shadow: 0 0 12px var(--ysr-emerald), 0 0 4px var(--ysr-emerald) !important;
}

/* Notification button */
#ysgp-portal-root header button.relative.w-9.h-9.rounded-xl {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--ysr-line-strong) !important;
  border-radius: 12px !important;
  width: 38px !important;
  height: 38px !important;
  transition: all 0.25s ease !important;
}
#ysgp-portal-root header button.relative.w-9.h-9.rounded-xl:hover {
  border-color: rgba(34, 211, 238, 0.4) !important;
  box-shadow: 0 0 18px -4px rgba(34, 211, 238, 0.4);
}

/* ----------------------------------------------------------------------------
 * 5. MAIN CONTENT TYPOGRAPHY
 * ------------------------------------------------------------------------- */
#ysgp-portal-root .ysgp-os-page-title-v139,
#ysgp-portal-root h1.text-3xl,
#ysgp-portal-root h1.text-4xl {
  font-family: var(--ysr-font) !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
  color: #ffffff !important;
  line-height: 1.08 !important;
}

#ysgp-portal-root p.text-sm.text-slate-400.font-mono {
  font-family: var(--ysr-font) !important;
  font-weight: 400 !important;
  color: var(--ysr-text-muted) !important;
  letter-spacing: 0 !important;
  font-size: 14px !important;
}

/* ----------------------------------------------------------------------------
 * 6. RESUME LEARNING BUTTON (cyan -> blue gradient pill)
 * ------------------------------------------------------------------------- */
#ysgp-portal-root button.bg-gradient-to-r.from-cyan-500.to-blue-600 {
  background: linear-gradient(95deg, #22d3ee 0%, #3b82f6 60%, #6366f1 100%) !important;
  border-radius: 999px !important;
  padding: 13px 26px !important;
  font-family: var(--ysr-font) !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  font-size: 12.5px !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow:
    0 10px 30px -8px rgba(34, 211, 238, 0.55),
    0 0 22px -6px rgba(59, 130, 246, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
#ysgp-portal-root button.bg-gradient-to-r.from-cyan-500.to-blue-600:hover {
  transform: translateY(-1px) scale(1.015) !important;
  box-shadow:
    0 14px 40px -8px rgba(34, 211, 238, 0.7),
    0 0 30px -4px rgba(99, 102, 241, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}
#ysgp-portal-root button.bg-gradient-to-r.from-cyan-500.to-blue-600 svg {
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
}

/* ----------------------------------------------------------------------------
 * 7. STAT CARDS (Academy Progress / Signals Hit / Neural Queries / Active License)
 * ------------------------------------------------------------------------- */
#ysgp-portal-root .glass-card,
#ysgp-portal-root div.glass-card {
  background:
    linear-gradient(180deg,
      rgba(15, 20, 34, 0.78) 0%,
      rgba(8, 11, 19, 0.85) 100%) !important;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  box-shadow: var(--ysr-shadow-card);
  position: relative;
}
#ysgp-portal-root .glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.01) 40%,
    transparent 100%);
  -webkit-mask:
    linear-gradient(#000, #000) content-box,
    linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

/* Stat card specific (rounded-[1.5rem] with 4-cell grid) */
#ysgp-portal-root .grid.grid-cols-1.sm\:grid-cols-2.lg\:grid-cols-4 > .glass-card.rounded-\[1\.5rem\] {
  border-radius: 22px !important;
  padding: 22px 22px 20px !important;
  min-height: 180px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease !important;
}
#ysgp-portal-root .grid.grid-cols-1.sm\:grid-cols-2.lg\:grid-cols-4 > .glass-card.rounded-\[1\.5rem\]:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--ysr-shadow-hover);
}

/* Stat card icon halo container */
#ysgp-portal-root .glass-card .w-10.h-10.rounded-xl.flex.items-center.justify-center.border {
  width: 48px !important;
  height: 48px !important;
  border-radius: 14px !important;
  border-width: 1px !important;
  position: relative;
  transition: all 0.35s ease;
}
/* Boost the colored glow behind icon */
#ysgp-portal-root .glass-card .absolute.-right-6.-top-6.w-24.h-24 {
  width: 130px !important;
  height: 130px !important;
  filter: blur(38px);
  opacity: 0.85;
}

/* Big stat value (100%, 98%, 0, YS Neural) */
#ysgp-portal-root .glass-card h4.text-3xl.font-black.text-white {
  font-family: var(--ysr-font) !important;
  font-weight: 800 !important;
  font-size: 36px !important;
  letter-spacing: -0.035em !important;
  line-height: 1 !important;
  color: #ffffff !important;
  margin-bottom: 8px !important;
}

/* Stat title (Academy Progress, etc.) */
#ysgp-portal-root .glass-card .text-xs.text-slate-400.font-medium {
  font-family: var(--ysr-font) !important;
  font-size: 13px !important;
  color: var(--ysr-text-soft) !important;
  font-weight: 500 !important;
  margin-bottom: 12px !important;
  letter-spacing: -0.005em !important;
}

/* Trend pill (1/1 complete, Global Metric, etc.) */
#ysgp-portal-root .glass-card .text-\[10px\].font-mono.px-2.py-1.rounded.inline-block.border {
  font-family: var(--ysr-font-mono) !important;
  font-size: 9.5px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  padding: 5px 10px !important;
  border-radius: 999px !important;
  background: transparent !important;
  font-weight: 600 !important;
}

/* Add a subtle progress shimmer underline to each stat card */
#ysgp-portal-root .grid.grid-cols-1.sm\:grid-cols-2.lg\:grid-cols-4 > .glass-card.rounded-\[1\.5rem\]::after {
  content: '';
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 56px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.08) 40%,
    rgba(34, 211, 238, 0.55) 100%);
  opacity: 0.7;
  pointer-events: none;
}

/* ----------------------------------------------------------------------------
 * 8. LARGE PANEL CARDS (Learning vs Profitability + Live Intelligence)
 * ------------------------------------------------------------------------- */
#ysgp-portal-root .glass-card.rounded-\[2rem\] {
  border-radius: 28px !important;
}

#ysgp-portal-root .grid.grid-cols-1.lg\:grid-cols-3.gap-6.sm\:gap-8 > .glass-card.rounded-\[2rem\] {
  background:
    linear-gradient(180deg,
      rgba(13, 18, 32, 0.78) 0%,
      rgba(7, 10, 18, 0.85) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.045) !important;
  box-shadow: var(--ysr-shadow-card);
}

/* Section headers inside panel cards */
#ysgp-portal-root .glass-card h3.text-lg.font-bold.text-white {
  font-family: var(--ysr-font) !important;
  font-weight: 700 !important;
  font-size: 17px !important;
  letter-spacing: -0.015em !important;
}

/* Select dropdown (Last 30 Days) */
#ysgp-portal-root .glass-card select.custom-select {
  background: rgba(11, 15, 26, 0.7) !important;
  border: 1px solid var(--ysr-line-strong) !important;
  border-radius: 999px !important;
  padding: 7px 14px !important;
  font-family: var(--ysr-font-mono) !important;
  letter-spacing: 0.05em !important;
  font-size: 11px !important;
  color: var(--ysr-text-soft) !important;
  transition: all 0.25s ease !important;
}
#ysgp-portal-root .glass-card select.custom-select:hover {
  border-color: rgba(34, 211, 238, 0.4) !important;
}

/* ----------------------------------------------------------------------------
 * 9. CHART BARS (Learning vs Profitability)
 * ------------------------------------------------------------------------- */
/* Default bars: vibrant purple gradient that matches the reference */
#ysgp-portal-root .glass-card .flex-1.flex.items-end.justify-between .bg-gradient-to-t.from-\[\#12151c\].to-white\/5 {
  background: linear-gradient(180deg,
    rgba(168, 85, 247, 0.85) 0%,
    rgba(124, 58, 237, 0.95) 50%,
    rgba(76, 29, 149, 0.95) 100%) !important;
  border: 1px solid rgba(168, 85, 247, 0.25) !important;
  border-bottom: none !important;
  box-shadow: 0 -2px 14px -4px rgba(168, 85, 247, 0.5),
              inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px 8px 0 0 !important;
}
#ysgp-portal-root .glass-card .flex-1.flex.items-end.justify-between .bg-gradient-to-t.from-\[\#12151c\].to-white\/5:hover {
  background: linear-gradient(180deg,
    rgba(192, 132, 252, 0.95) 0%,
    rgba(168, 85, 247, 1) 50%,
    rgba(124, 58, 237, 1) 100%) !important;
}

/* The last (December) highlighted bar - cyan gradient */
#ysgp-portal-root .glass-card .flex-1.flex.items-end.justify-between > div:last-child .bg-gradient-to-t {
  background: linear-gradient(180deg,
    #67e8f9 0%,
    #22d3ee 50%,
    #0891b2 100%) !important;
  border: 1px solid rgba(34, 211, 238, 0.4) !important;
  border-bottom: none !important;
  box-shadow:
    0 -2px 22px -4px rgba(34, 211, 238, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

/* Chart month labels */
#ysgp-portal-root .glass-card .absolute.-bottom-6.text-\[9px\].font-mono.text-slate-500 {
  font-family: var(--ysr-font-mono) !important;
  font-size: 10px !important;
  letter-spacing: 0.1em !important;
  color: var(--ysr-text-dim) !important;
}

/* ----------------------------------------------------------------------------
 * 10. FEED ITEMS (Live Intelligence)
 * ------------------------------------------------------------------------- */
#ysgp-portal-root .glass-card .flex.gap-4.items-start.p-3.rounded-xl {
  padding: 12px 14px !important;
  border-radius: 14px !important;
  margin-bottom: 4px;
  transition: background 0.2s ease, border-color 0.2s ease !important;
}
#ysgp-portal-root .glass-card .flex.gap-4.items-start.p-3.rounded-xl:hover {
  background: rgba(34, 211, 238, 0.04) !important;
  border-color: rgba(34, 211, 238, 0.12) !important;
}

/* Feed dots - amplified glow */
#ysgp-portal-root .glass-card .mt-1\.5.w-2.h-2.rounded-full {
  width: 10px !important;
  height: 10px !important;
  margin-top: 6px !important;
  flex-shrink: 0;
}

/* Feed title */
#ysgp-portal-root .glass-card .flex.gap-4.items-start h4.text-sm.font-bold {
  font-family: var(--ysr-font) !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  letter-spacing: -0.005em !important;
}
#ysgp-portal-root .glass-card .flex.gap-4.items-start p.text-xs.text-slate-400 {
  font-family: var(--ysr-font) !important;
  font-size: 12px !important;
  color: var(--ysr-text-muted) !important;
  line-height: 1.5 !important;
}
#ysgp-portal-root .glass-card .flex.gap-4.items-start span.text-\[10px\].font-mono.text-slate-500 {
  font-family: var(--ysr-font-mono) !important;
  font-size: 10px !important;
  letter-spacing: 0.1em !important;
  color: var(--ysr-text-dim) !important;
}

/* ----------------------------------------------------------------------------
 * 11. SCROLLBARS (subtle, dark, neon thumb)
 * ------------------------------------------------------------------------- */
#ysgp-portal-root ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
#ysgp-portal-root ::-webkit-scrollbar-track {
  background: transparent;
}
#ysgp-portal-root ::-webkit-scrollbar-thumb {
  background: rgba(34, 211, 238, 0.15);
  border-radius: 999px;
}
#ysgp-portal-root ::-webkit-scrollbar-thumb:hover {
  background: rgba(34, 211, 238, 0.35);
}
#ysgp-portal-root {
  scrollbar-color: rgba(34, 211, 238, 0.2) transparent;
  scrollbar-width: thin;
}

/* Selection */
#ysgp-portal-root ::selection {
  background: rgba(34, 211, 238, 0.35);
  color: #ffffff;
}

/* ----------------------------------------------------------------------------
 * 12. PLAN / SUBSCRIPTION CARDS (PlanCard - used on Orders/Subscriptions page)
 * ------------------------------------------------------------------------- */
#ysgp-portal-root .glass-card.rounded-\[2rem\].p-8 h4.text-2xl.font-black.text-white {
  font-family: var(--ysr-font) !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
}
#ysgp-portal-root .glass-card.rounded-\[2rem\].p-8 span.text-4xl,
#ysgp-portal-root .glass-card.rounded-\[2rem\].p-8 span.text-5xl {
  font-family: var(--ysr-font) !important;
  font-weight: 800 !important;
  letter-spacing: -0.045em !important;
}

/* ----------------------------------------------------------------------------
 * 13. INTERACTIVE BUTTONS (Back to Overview, generic action buttons)
 * ------------------------------------------------------------------------- */
#ysgp-portal-root button.px-6.py-3,
#ysgp-portal-root button.px-6.py-4,
#ysgp-portal-root button.px-8.py-4 {
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease !important;
}

/* Cyan/blue gradient secondary buttons polish */
#ysgp-portal-root button.bg-cyan-500\/10.text-cyan-400.border.border-cyan-500\/30 {
  background: rgba(34, 211, 238, 0.07) !important;
  border-color: rgba(34, 211, 238, 0.30) !important;
  border-radius: 14px !important;
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.06);
}
#ysgp-portal-root button.bg-cyan-500\/10.text-cyan-400.border.border-cyan-500\/30:hover {
  background: #22d3ee !important;
  color: #04101b !important;
  box-shadow: 0 10px 30px -10px rgba(34, 211, 238, 0.7);
}

/* ----------------------------------------------------------------------------
 * 14. INPUTS
 * ------------------------------------------------------------------------- */
#ysgp-portal-root input.w-full.bg-\[\#0a0d14\].border.border-white\/5 {
  font-family: var(--ysr-font) !important;
  background: rgba(8, 11, 19, 0.8) !important;
  border: 1px solid var(--ysr-line-strong) !important;
  border-radius: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
#ysgp-portal-root input.w-full.bg-\[\#0a0d14\].border.border-white\/5:focus {
  border-color: rgba(34, 211, 238, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
}

/* ----------------------------------------------------------------------------
 * 15. ANIMATIONS - smoother slide-up entrance
 * ------------------------------------------------------------------------- */
@keyframes ysrFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
#ysgp-portal-root .animate-slide-up {
  animation: ysrFadeIn 0.45s cubic-bezier(0.22, 0.61, 0.36, 1) both !important;
}

/* Staggered children animation for stat card grid */
#ysgp-portal-root .animate-slide-up .grid.grid-cols-1.sm\:grid-cols-2.lg\:grid-cols-4 > * {
  animation: ysrFadeIn 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
#ysgp-portal-root .animate-slide-up .grid.grid-cols-1.sm\:grid-cols-2.lg\:grid-cols-4 > *:nth-child(1) { animation-delay: 60ms; }
#ysgp-portal-root .animate-slide-up .grid.grid-cols-1.sm\:grid-cols-2.lg\:grid-cols-4 > *:nth-child(2) { animation-delay: 130ms; }
#ysgp-portal-root .animate-slide-up .grid.grid-cols-1.sm\:grid-cols-2.lg\:grid-cols-4 > *:nth-child(3) { animation-delay: 200ms; }
#ysgp-portal-root .animate-slide-up .grid.grid-cols-1.sm\:grid-cols-2.lg\:grid-cols-4 > *:nth-child(4) { animation-delay: 270ms; }

#ysgp-portal-root .animate-slide-up .grid.grid-cols-1.lg\:grid-cols-3 > * {
  animation: ysrFadeIn 0.65s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
#ysgp-portal-root .animate-slide-up .grid.grid-cols-1.lg\:grid-cols-3 > *:nth-child(1) { animation-delay: 340ms; }
#ysgp-portal-root .animate-slide-up .grid.grid-cols-1.lg\:grid-cols-3 > *:nth-child(2) { animation-delay: 410ms; }

/* ----------------------------------------------------------------------------
 * 16. NOTIFICATIONS DROPDOWN POLISH
 * ------------------------------------------------------------------------- */
#ysgp-portal-root .absolute.top-12.right-0.bg-\[\#0b0f19\].border.border-white\/10.rounded-2xl {
  background: rgba(8, 12, 22, 0.95) !important;
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(34, 211, 238, 0.15) !important;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.9),
              0 0 30px -8px rgba(34, 211, 238, 0.18) !important;
  border-radius: 20px !important;
}
#ysgp-portal-root .absolute.top-12.right-0 h3.text-white.font-bold.text-sm {
  font-family: var(--ysr-font) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
}

/* ----------------------------------------------------------------------------
 * 17. PRO PARTNER PROGRAM (when entering Partner Hub)
 * Subtle polish - preserve full layout
 * ------------------------------------------------------------------------- */
#ysgp-portal-root .ysgp-partner-program-card {
  border-radius: 22px !important;
}
#ysgp-portal-root .ysgp-partner-program-welcome h2 {
  font-family: var(--ysr-font) !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
}

/* ----------------------------------------------------------------------------
 * 18. RESPONSIVE - Mobile polish
 * ------------------------------------------------------------------------- */
@media (max-width: 767px) {
  #ysgp-portal-root .ysgp-os-page-title-v139,
  #ysgp-portal-root h1.text-3xl {
    font-size: 28px !important;
    letter-spacing: -0.03em !important;
  }
  #ysgp-portal-root .glass-card h4.text-3xl.font-black.text-white {
    font-size: 30px !important;
  }
  #ysgp-portal-root button.bg-gradient-to-r.from-cyan-500.to-blue-600 {
    width: 100%;
    justify-content: center;
  }
  /* Slightly tighter card padding on mobile */
  #ysgp-portal-root .grid.grid-cols-1.sm\:grid-cols-2.lg\:grid-cols-4 > .glass-card.rounded-\[1\.5rem\] {
    padding: 18px 18px 18px !important;
    min-height: 160px;
  }
  /* Disable ambient grid on mobile to save GPU */
  #ysgp-portal-root.ysgp-fullscreen-root::before {
    display: none;
  }
}

/* ----------------------------------------------------------------------------
 * 19. ACADEMY PAGE PANEL POLISH (existing layout preserved)
 * ------------------------------------------------------------------------- */
#ysgp-portal-root .ysgp-academy-course-card-v133,
#ysgp-portal-root .ysgp-academy-language-card-v133,
#ysgp-portal-root .ysgp-academy-lesson-card-v133 {
  font-family: var(--ysr-font) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}
#ysgp-portal-root .ysgp-academy-course-card-v133:hover,
#ysgp-portal-root .ysgp-academy-language-card-v133:hover {
  transform: translateY(-3px);
}

/* ----------------------------------------------------------------------------
 * 20. UTILITY - reduce motion preference
 * ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  #ysgp-portal-root *,
  #ysgp-portal-root *::before,
  #ysgp-portal-root *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =============================================================================
 * End of v21.2.175 Design Refresh
 * ========================================================================= */


/* v352: unify AI Syllabus + Reviews section backgrounds with the new purple landing direction.
   Scope is intentionally limited to section backgrounds / heading color system only.
   Preserve inner cards, layout, and interaction structure. */
#ysgp-landing-root .ysgp-ai-syllabus-section-bg-v295,
#ysgp-landing-root .ysgp-reviews-section-bg-v298{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  background-color:#010204!important;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(168,85,247,.16) 0%, rgba(168,85,247,0) 34%),
    radial-gradient(circle at 14% 58%, rgba(76,29,149,.14) 0%, rgba(76,29,149,0) 30%),
    radial-gradient(circle at 88% 62%, rgba(124,58,237,.12) 0%, rgba(124,58,237,0) 34%),
    linear-gradient(180deg, rgba(6,4,14,.96) 0%, rgba(3,2,8,.985) 100%)!important;
  background-size:cover!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
}
#ysgp-landing-root .ysgp-ai-syllabus-section-bg-v295::before,
#ysgp-landing-root .ysgp-reviews-section-bg-v298::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  pointer-events:none!important;
  z-index:0!important;
  background:
    linear-gradient(90deg, rgba(255,255,255,.02) 0, rgba(255,255,255,.02) 1px, transparent 1px, transparent 84px),
    linear-gradient(0deg, rgba(255,255,255,.018) 0, rgba(255,255,255,.018) 1px, transparent 1px, transparent 84px),
    radial-gradient(circle at 52% 16%, rgba(192,132,252,.08), transparent 20%),
    radial-gradient(circle at 80% 76%, rgba(168,85,247,.06), transparent 22%);
  opacity:.42!important;
  mask-image:linear-gradient(to bottom, rgba(0,0,0,.95), rgba(0,0,0,.78));
}
#ysgp-landing-root .ysgp-ai-syllabus-section-bg-v295 > *,
#ysgp-landing-root .ysgp-reviews-section-bg-v298 > *{
  position:relative!important;
  z-index:1!important;
}
#ysgp-landing-root .ysgp-reviews-section-bg-v298 .text-center.mb-16 h2{
  color:#c4b5fd!important;
  text-shadow:none!important;
}
#ysgp-landing-root .ysgp-reviews-section-bg-v298 .text-center.mb-16 h3{
  color:#f8fafc!important;
  text-shadow:0 10px 28px rgba(0,0,0,.32)!important;
}
#ysgp-landing-root .ysgp-reviews-section-bg-v298 .text-center.mb-16 h3 span{
  background-image:linear-gradient(90deg,#ffffff 0%, #e9d5ff 44%, #c084fc 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  color:transparent!important;
  filter:none!important;
}
#ysgp-landing-root .ysgp-reviews-section-bg-v298 .glass-panel{
  border-color:rgba(192,132,252,.12)!important;
}
#ysgp-landing-root .ysgp-reviews-section-bg-v298 .glass-panel:hover{
  border-color:rgba(192,132,252,.24)!important;
  box-shadow:0 20px 52px rgba(0,0,0,.28), 0 0 22px rgba(168,85,247,.08), inset 0 1px 0 rgba(255,255,255,.05)!important;
}


/* v353: Access / Pricing section unified purple theme.
   Purpose: replace the older blue/image-led background feeling with the new dark-purple direction,
   and tune typography / package card glow without changing the pricing structure or layout. */
#ysgp-landing-root .ysgp-access-section-bg-v299{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  background-color:#010204!important;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(168,85,247,.15) 0%, rgba(168,85,247,0) 30%),
    radial-gradient(circle at 14% 58%, rgba(76,29,149,.14) 0%, rgba(76,29,149,0) 30%),
    radial-gradient(circle at 86% 60%, rgba(124,58,237,.12) 0%, rgba(124,58,237,0) 32%),
    linear-gradient(180deg, rgba(6,4,14,.97) 0%, rgba(3,2,8,.988) 100%)!important;
  background-size:cover!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
}
#ysgp-landing-root .ysgp-access-section-bg-v299::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  pointer-events:none!important;
  z-index:0!important;
  background:
    linear-gradient(90deg, rgba(255,255,255,.02) 0, rgba(255,255,255,.02) 1px, transparent 1px, transparent 84px),
    linear-gradient(0deg, rgba(255,255,255,.018) 0, rgba(255,255,255,.018) 1px, transparent 1px, transparent 84px),
    radial-gradient(circle at 50% 18%, rgba(192,132,252,.09), transparent 24%),
    radial-gradient(circle at 84% 78%, rgba(168,85,247,.07), transparent 24%);
  opacity:.40!important;
  mask-image:linear-gradient(to bottom, rgba(0,0,0,.96), rgba(0,0,0,.78));
}
#ysgp-landing-root .ysgp-access-section-bg-v299 > .max-w-7xl{
  position:relative!important;
  z-index:1!important;
}
#ysgp-landing-root .ysgp-access-section-bg-v299 .text-center.mb-20 h2{
  color:#c4b5fd!important;
  font-family:var(--ysgp-font-display,"Plus Jakarta Sans","Manrope",Inter,system-ui,sans-serif)!important;
  font-size:11px!important;
  font-weight:850!important;
  letter-spacing:.22em!important;
  text-transform:uppercase!important;
  text-shadow:none!important;
}
#ysgp-landing-root .ysgp-access-section-bg-v299 .text-center.mb-20 h3{
  color:#f8fafc!important;
  font-family:var(--ysgp-font-display,"Plus Jakarta Sans","Manrope",Inter,system-ui,sans-serif)!important;
  font-size:clamp(42px,4.6vw,74px)!important;
  font-weight:820!important;
  line-height:.98!important;
  letter-spacing:-.065em!important;
  text-shadow:0 10px 28px rgba(0,0,0,.34)!important;
}
#ysgp-landing-root .ysgp-access-section-bg-v299 .text-center.mb-20 h3 span{
  background-image:linear-gradient(90deg,#ffffff 0%, #ede9fe 40%, #d8b4fe 76%, #c084fc 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  color:transparent!important;
  filter:none!important;
}
#ysgp-landing-root .ysgp-access-section-bg-v299 .ysgp-pricing-mode-bar-v268{
  background:linear-gradient(180deg,rgba(14,10,28,.82),rgba(9,7,19,.72))!important;
  border-color:rgba(192,132,252,.16)!important;
  box-shadow:0 18px 46px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.045)!important;
  backdrop-filter:blur(18px) saturate(125%)!important;
  -webkit-backdrop-filter:blur(18px) saturate(125%)!important;
}
#ysgp-landing-root .ysgp-access-section-bg-v299 .ysgp-pricing-mode-bar-v268 button{
  color:#cbd5e1!important;
  font-family:var(--ysgp-font-display,"Plus Jakarta Sans","Manrope",Inter,system-ui,sans-serif)!important;
  font-size:13px!important;
  font-weight:820!important;
  letter-spacing:.01em!important;
}
#ysgp-landing-root .ysgp-access-section-bg-v299 .ysgp-pricing-mode-bar-v268 button.is-active{
  color:#ffffff!important;
  background:linear-gradient(135deg,rgba(168,85,247,.26),rgba(124,58,237,.20))!important;
  border-color:rgba(216,180,254,.22)!important;
  box-shadow:0 10px 24px rgba(0,0,0,.24),0 0 16px rgba(168,85,247,.12),inset 0 1px 0 rgba(255,255,255,.10)!important;
}
#ysgp-landing-root .ysgp-access-section-bg-v299 .ysgp-plan-group-head-v261 span{
  color:#f8fafc!important;
  font-family:var(--ysgp-font-display,"Plus Jakarta Sans","Manrope",Inter,system-ui,sans-serif)!important;
  font-size:15px!important;
  font-weight:850!important;
  letter-spacing:.13em!important;
  text-shadow:none!important;
}
#ysgp-landing-root .ysgp-access-section-bg-v299 .ysgp-plan-group-head-v261 small{
  color:#e9d5ff!important;
  border-color:rgba(192,132,252,.22)!important;
  background:rgba(168,85,247,.08)!important;
  box-shadow:none!important;
}
#ysgp-landing-root .ysgp-access-section-bg-v299 .ysgp-package-card-landing{
  background:linear-gradient(180deg,rgba(12,8,25,.78),rgba(7,5,16,.70))!important;
  border:1px solid rgba(168,85,247,.24)!important;
  box-shadow:0 22px 60px rgba(0,0,0,.28),0 0 22px rgba(168,85,247,.07),inset 0 1px 0 rgba(255,255,255,.04)!important;
  backdrop-filter:blur(16px) saturate(120%)!important;
  -webkit-backdrop-filter:blur(16px) saturate(120%)!important;
}
#ysgp-landing-root .ysgp-access-section-bg-v299 .ysgp-package-card-landing:hover{
  border-color:rgba(192,132,252,.34)!important;
  background:linear-gradient(180deg,rgba(16,10,30,.84),rgba(9,7,20,.76))!important;
  box-shadow:0 26px 70px rgba(0,0,0,.32),0 0 32px rgba(168,85,247,.12),inset 0 1px 0 rgba(255,255,255,.05)!important;
}
#ysgp-landing-root .ysgp-access-section-bg-v299 .ysgp-package-card-landing h4{
  color:#f8fafc!important;
  font-family:var(--ysgp-font-display,"Plus Jakarta Sans","Manrope",Inter,system-ui,sans-serif)!important;
  font-size:clamp(22px,1.7vw,28px)!important;
  font-weight:800!important;
  letter-spacing:-.04em!important;
  text-shadow:none!important;
}
#ysgp-landing-root .ysgp-access-section-bg-v299 .ysgp-package-card-landing p.text-sm{
  color:#cbd5e1!important;
  font-size:13.5px!important;
  line-height:1.55!important;
  font-weight:500!important;
}
#ysgp-landing-root .ysgp-access-section-bg-v299 .ysgp-package-card-landing .text-5xl{
  background-image:linear-gradient(90deg,#ffffff 0%,#f5f3ff 42%,#e9d5ff 76%,#d8b4fe 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  color:transparent!important;
  filter:none!important;
  font-weight:850!important;
  letter-spacing:-.055em!important;
}
#ysgp-landing-root .ysgp-access-section-bg-v299 .ysgp-package-card-landing .text-slate-400.text-xs{
  color:#a78bfa!important;
  font-family:var(--ysgp-font-display,"Plus Jakarta Sans","Manrope",Inter,system-ui,sans-serif)!important;
  font-weight:800!important;
  letter-spacing:.08em!important;
}
#ysgp-landing-root .ysgp-access-section-bg-v299 .ysgp-package-card-landing .inline-block.px-4.py-2{
  color:#f5eaff!important;
  background:rgba(168,85,247,.10)!important;
  border-color:rgba(168,85,247,.26)!important;
  box-shadow:0 0 16px rgba(168,85,247,.08)!important;
  font-weight:820!important;
}
#ysgp-landing-root .ysgp-access-section-bg-v299 .ysgp-package-card-landing ul{
  color:#eef2ff!important;
  font-family:var(--ysgp-font-display,"Plus Jakarta Sans","Manrope",Inter,system-ui,sans-serif)!important;
}
#ysgp-landing-root .ysgp-access-section-bg-v299 .ysgp-package-card-landing li{
  color:#dbe2f0!important;
  font-size:14px!important;
  line-height:1.45!important;
  font-weight:560!important;
  letter-spacing:-.012em!important;
}
#ysgp-landing-root .ysgp-access-section-bg-v299 .ysgp-package-card-landing li svg{
  color:#c084fc!important;
  filter:none!important;
}
#ysgp-landing-root .ysgp-access-section-bg-v299 .ysgp-package-card-landing button{
  color:#f8fafc!important;
  background:linear-gradient(135deg,rgba(255,255,255,.07),rgba(255,255,255,.035))!important;
  border-color:rgba(226,232,240,.12)!important;
  font-family:var(--ysgp-font-display,"Plus Jakarta Sans","Manrope",Inter,system-ui,sans-serif)!important;
  font-size:18px!important;
  font-weight:790!important;
  letter-spacing:-.025em!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 12px 26px rgba(0,0,0,.20)!important;
}
#ysgp-landing-root .ysgp-access-section-bg-v299 .ysgp-package-card-landing button:hover{
  color:#ffffff!important;
  background:linear-gradient(135deg,#8b5cf6,#d946ef)!important;
  border-color:rgba(216,180,254,.44)!important;
  box-shadow:0 0 24px rgba(168,85,247,.18),0 18px 38px rgba(0,0,0,.26)!important;
}
@media(max-width:767px){
  #ysgp-landing-root .ysgp-access-section-bg-v299 .text-center.mb-20 h3{
    font-size:clamp(36px,12vw,48px)!important;
    line-height:1.05!important;
  }
  #ysgp-landing-root .ysgp-access-section-bg-v299 .ysgp-package-card-landing li{
    font-size:13.5px!important;
  }
  #ysgp-landing-root .ysgp-access-section-bg-v299 .ysgp-package-card-landing button{
    font-size:16px!important;
  }
}


/* v354: Restore Institutional-Grade Market Intelligence AI terminal/tool.
   The tool component still exists in React; previous visual cleanup added strong section/panel overrides.
   This restores visibility and keeps the purple design direction without restoring old videos. */
#ysgp-landing-root #neural-ai > .max-w-6xl > .glass-panel{
  display:block!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
  margin-top:0!important;
  background:linear-gradient(180deg,rgba(12,8,25,.76),rgba(6,5,16,.72))!important;
  border:1px solid rgba(168,85,247,.20)!important;
  box-shadow:0 22px 60px rgba(0,0,0,.30),0 0 26px rgba(168,85,247,.08),inset 0 1px 0 rgba(255,255,255,.045)!important;
  backdrop-filter:blur(16px) saturate(120%)!important;
  -webkit-backdrop-filter:blur(16px) saturate(120%)!important;
}

#ysgp-landing-root #neural-ai > .max-w-6xl > .glass-panel > .relative.z-10{
  display:block!important;
  opacity:1!important;
  visibility:visible!important;
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
}

#ysgp-landing-root #neural-ai > .max-w-6xl > .glass-panel .flex.flex-col.sm\:flex-row{
  display:flex!important;
  opacity:1!important;
  visibility:visible!important;
}

#ysgp-landing-root #neural-ai .terminal-shadow{
  display:flex!important;
  opacity:1!important;
  visibility:visible!important;
  min-height:360px!important;
  overflow:hidden!important;
  background:linear-gradient(180deg,rgba(3,7,18,.88),rgba(2,4,10,.94))!important;
  border-color:rgba(168,85,247,.14)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 16px 44px rgba(0,0,0,.26)!important;
}

#ysgp-landing-root #neural-ai .terminal-shadow *,
#ysgp-landing-root #neural-ai input,
#ysgp-landing-root #neural-ai button{
  visibility:visible!important;
}

#ysgp-landing-root #neural-ai input{
  border-color:rgba(168,85,247,.16)!important;
  background:rgba(0,0,0,.38)!important;
  color:#f8fafc!important;
}

#ysgp-landing-root #neural-ai input:focus{
  border-color:rgba(192,132,252,.45)!important;
  box-shadow:0 0 0 1px rgba(168,85,247,.30)!important;
}

#ysgp-landing-root #neural-ai button{
  background:linear-gradient(135deg,#8b5cf6,#d946ef)!important;
  color:#ffffff!important;
  border:1px solid rgba(216,180,254,.28)!important;
  box-shadow:0 16px 34px rgba(168,85,247,.22)!important;
}

#ysgp-landing-root #neural-ai .ysgp-neural-kicker-v286{
  background:transparent!important;
  border-color:rgba(168,85,247,.22)!important;
  color:#c4b5fd!important;
  box-shadow:none!important;
  text-shadow:none!important;
}

#ysgp-landing-root #neural-ai .ysgp-neural-title-accent-v286{
  background-image:linear-gradient(90deg,#ffffff 0%,#e9d5ff 44%,#c084fc 100%)!important;
  filter:none!important;
}

@media(max-width:767px){
  #ysgp-landing-root #neural-ai > .max-w-6xl > .glass-panel{
    padding:12px!important;
    border-radius:28px!important;
    overflow:visible!important;
  }
  #ysgp-landing-root #neural-ai .terminal-shadow{
    min-height:300px!important;
  }
}


/* v355: Heading typography + purple accent unification
   Goal: remove the obvious cyan/blue heading feel, keep the same layout, and make large landing headings match the Institutional-Grade display style more closely. */
#ysgp-landing-root{
  --ysgp-v355-display: var(--ysgp-font-display, "Plus Jakarta Sans", "Manrope", Inter, system-ui, sans-serif);
  --ysgp-v355-kicker: #c4b5fd;
  --ysgp-v355-kicker-shadow: rgba(192,132,252,.24);
  --ysgp-v355-accent-1: #ffffff;
  --ysgp-v355-accent-2: #f5e9ff;
  --ysgp-v355-accent-3: #d8b4fe;
  --ysgp-v355-accent-4: #a78bfa;
}

/* Small upper labels / kickers */
#ysgp-landing-root .ysgp-platform-kicker-v286,
#ysgp-landing-root .ysgp-neural-kicker-v286,
#ysgp-landing-root .ysgp-reviews-section-bg-v298 .text-center.mb-16 h2,
#ysgp-landing-root .ysgp-access-section-bg-v299 .text-center.mb-20 h2{
  font-family: var(--ysgp-v355-display) !important;
  color: var(--ysgp-v355-kicker) !important;
  text-shadow: 0 0 14px var(--ysgp-v355-kicker-shadow) !important;
}

/* Large headings: use the same display family feel as Institutional-Grade */
#ysgp-landing-root .ysgp-platform-title-v286,
#ysgp-landing-root .ysgp-neural-title-v286,
#ysgp-landing-root .ysgp-reviews-section-bg-v298 .text-center.mb-16 h3,
#ysgp-landing-root .ysgp-access-section-bg-v299 .text-center.mb-20 h3{
  font-family: var(--ysgp-v355-display) !important;
  font-weight: 820 !important;
  letter-spacing: -.06em !important;
  line-height: .98 !important;
  color: #fbf7ff !important;
  text-shadow: 0 14px 36px rgba(0,0,0,.38), 0 0 18px rgba(168,85,247,.10) !important;
}

/* Accent words inside the big headings */
#ysgp-landing-root .ysgp-platform-title-accent-v286,
#ysgp-landing-root .ysgp-neural-title-accent-v286,
#ysgp-landing-root .ysgp-reviews-section-bg-v298 .text-center.mb-16 h3 span,
#ysgp-landing-root .ysgp-access-section-bg-v299 .text-center.mb-20 h3 span{
  background-image: linear-gradient(90deg, var(--ysgp-v355-accent-1) 0%, var(--ysgp-v355-accent-2) 34%, var(--ysgp-v355-accent-3) 68%, var(--ysgp-v355-accent-4) 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  filter: drop-shadow(0 0 12px rgba(168,85,247,.16)) !important;
}

/* Keep descriptions readable with the new tone */
#ysgp-landing-root .ysgp-platform-subtitle-v286,
#ysgp-landing-root .ysgp-neural-subtitle-v286,
#ysgp-landing-root .ysgp-reviews-section-bg-v298 .glass-panel .text-xs.text-slate-500.font-mono,
#ysgp-landing-root .ysgp-access-section-bg-v299 .ysgp-package-card-landing p.text-sm{
  color:#cfc7e7 !important;
}

/* Mobile readability */
@media(max-width:767px){
  #ysgp-landing-root .ysgp-platform-title-v286,
  #ysgp-landing-root .ysgp-neural-title-v286,
  #ysgp-landing-root .ysgp-reviews-section-bg-v298 .text-center.mb-16 h3,
  #ysgp-landing-root .ysgp-access-section-bg-v299 .text-center.mb-20 h3{
    line-height:1.04 !important;
    letter-spacing:-.05em !important;
  }
}


/* v356 fallback: same heading/purple style in external CSS. Actual live override is in landing.js inline CSS. */
#ysgp-landing-root .ysgp-kicker-v356,
#ysgp-landing-root .ysgp-platform-kicker-v286,
#ysgp-landing-root .ysgp-neural-kicker-v286,
#ysgp-landing-root .ysgp-reviews-section-bg-v298 .text-center.mb-16 h2,
#ysgp-landing-root .ysgp-access-section-bg-v299 .text-center.mb-20 h2{
  font-family:var(--ysgp-font-display,"Plus Jakarta Sans","Manrope",Inter,system-ui,sans-serif)!important;
  color:#c4b5fd!important;
  text-shadow:0 0 12px rgba(168,85,247,.18)!important;
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  filter:none!important;
}
#ysgp-landing-root .ysgp-main-heading-v356,
#ysgp-landing-root .ysgp-platform-title-v286,
#ysgp-landing-root .ysgp-neural-title-v286,
#ysgp-landing-root .ysgp-reviews-section-bg-v298 .text-center.mb-16 h3,
#ysgp-landing-root .ysgp-access-section-bg-v299 .text-center.mb-20 h3{
  font-family:var(--ysgp-font-display,"Plus Jakarta Sans","Manrope",Inter,system-ui,sans-serif)!important;
  color:#fbf7ff!important;
  font-weight:820!important;
  letter-spacing:-.062em!important;
  line-height:.99!important;
}
#ysgp-landing-root .ysgp-heading-accent-v356,
#ysgp-landing-root .ysgp-platform-title-accent-v286,
#ysgp-landing-root .ysgp-neural-title-accent-v286,
#ysgp-landing-root .ysgp-reviews-section-bg-v298 .text-center.mb-16 h3 span,
#ysgp-landing-root .ysgp-access-section-bg-v299 .text-center.mb-20 h3 span{
  background-image:linear-gradient(90deg,#fff 0%,#f5e9ff 35%,#d8b4fe 68%,#a78bfa 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  color:transparent!important;
}

/* v359 external fallback for heading colors in case inline style is delayed */
#ysgp-landing-root #reviews .text-center h2,
#ysgp-landing-root #access .text-center h2,
#ysgp-landing-root #platform .text-center h2,
#ysgp-landing-root .ysgp-kicker-v357{color:#e9d5ff!important;-webkit-text-fill-color:#e9d5ff!important;background:transparent!important;background-image:none!important;}
#ysgp-landing-root #reviews .text-center h3,
#ysgp-landing-root #access .text-center h3,
#ysgp-landing-root #platform .text-center h3,
#ysgp-landing-root .ysgp-main-heading-v357{background-image:linear-gradient(90deg,#fff 0%,#faf5ff 42%,#ede9fe 70%,#ddd6fe 100%)!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important;}
#ysgp-landing-root #reviews .text-center h3 span,
#ysgp-landing-root #access .text-center h3 span,
#ysgp-landing-root #platform .text-center h3 span,
#ysgp-landing-root .ysgp-heading-accent-v357{background-image:linear-gradient(90deg,#f5e9ff 0%,#e9d5ff 36%,#d8b4fe 68%,#c084fc 100%)!important;-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important;}

/* v361 emergency restore external fallback: safe scoped headings only */
#ysgp-landing-root #access > div > .text-center h2,
#ysgp-landing-root #reviews > .text-center h2,
#ysgp-landing-root #platform .text-center h2{
  color:#d8b4fe!important;-webkit-text-fill-color:#d8b4fe!important;background:transparent!important;background-image:none!important;filter:none!important;text-shadow:none!important;
}
#ysgp-landing-root #access > div > .text-center h3,
#ysgp-landing-root #reviews > .text-center h3,
#ysgp-landing-root #platform .text-center h3{
  color:#fbf7ff!important;-webkit-text-fill-color:#fbf7ff!important;background:none!important;background-image:none!important;filter:none!important;text-shadow:none!important;
}
#ysgp-landing-root #access > div > .text-center h3 span,
#ysgp-landing-root #reviews > .text-center h3 span,
#ysgp-landing-root #platform .text-center h3 span{
  background-image:linear-gradient(90deg,#f7efff 0%,#e9d5ff 35%,#d8b4fe 68%,#c084fc 100%)!important;
  -webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important;filter:none!important;text-shadow:none!important;
}
#ysgp-landing-root nav *,#ysgp-landing-root header *,#ysgp-landing-root footer *,#ysgp-landing-root form *,#ysgp-landing-root button,#ysgp-landing-root button *{filter:none!important;}
