/* NexousHub landing - Analytics page styles (from the page <style> block; JS-template escapes resolved) */
      /* Analytics Specific Styles - Blue/Purple Theme */
    :root {
      --analytics-primary: #3b82f6;
      --analytics-secondary: #8b5cf6;
      --analytics-accent: #06b6d4;
      --analytics-bg: #030712;
      --analytics-surface: #0d1117;
      --analytics-text: #e6edf3;
      --analytics-muted: #7d8590;
      --analytics-border: rgba(255, 255, 255, 0.07);
    }

    .analytics-landing-container {
      background: var(--analytics-bg);
      color: var(--analytics-text);
      overflow-x: hidden;
    }

    html {
      overflow-x: hidden;
    }

    .analytics-landing-container::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
      background-size: 60px 60px;
      pointer-events: none;
      z-index: 0;
    }

    /* Hero Section */
    .analytics-hero {
      position: relative;
      padding: 120px 6% 80px;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      overflow: hidden;
      max-width: 1300px;
      margin: 0 auto;
    }

    .hero-orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(80px);
      pointer-events: none;
    }

    .orb1 {
      width: 400px;
      height: 400px;
      background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
      top: 0;
      left: 0;
      animation: pulse 6s ease-in-out infinite;
    }

    @keyframes pulse {

      0%,
      100% {
        opacity: 0.6;
      }

      50% {
        opacity: 1;
      }
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(59, 130, 246, 0.08);
      border: 1px solid rgba(59, 130, 246, 0.2);
      border-radius: 100px;
      padding: 6px 14px;
      font-size: 0.78rem;
      color: var(--analytics-primary);
      font-weight: 500;
      margin-bottom: 22px;
    }

    .badge-dot {
      width: 6px;
      height: 6px;
      background: var(--analytics-primary);
      border-radius: 50%;
      animation: blink 1.5s infinite;
    }

    @keyframes blink {

      0%,
      100% {
        opacity: 1;
      }

      50% {
        opacity: 0.2;
      }
    }

    .analytics-hero h1 {
      font-size: clamp(2.6rem, 5vw, 4.2rem);
      font-weight: 800;
      line-height: 1.1;
      letter-spacing: -1.5px;
      margin-bottom: 20px;
    }

    .gradient {
      background: linear-gradient(135deg, var(--analytics-primary), var(--analytics-secondary));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero-desc {
      font-size: 1.05rem;
      color: var(--analytics-muted);
      line-height: 1.75;
      margin-bottom: 36px;
    }

    .hero-actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    .btn-analytics-primary {
      background: linear-gradient(135deg, var(--analytics-primary), var(--analytics-secondary));
      color: #fff;
      font-weight: 600;
      padding: 13px 28px;
      border-radius: 10px;
      text-decoration: none;
      box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
      transition: all 0.25s;
    }

    .btn-analytics-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 0 50px rgba(59, 130, 246, 0.35);
    }

    .btn-analytics-secondary {
      background: transparent;
      color: var(--analytics-text);
      font-weight: 500;
      padding: 13px 28px;
      border-radius: 10px;
      border: 1px solid var(--analytics-border);
      text-decoration: none;
      transition: all 0.25s;
    }

    .btn-analytics-secondary:hover {
      border-color: rgba(59, 130, 246, 0.3);
      background: rgba(59, 130, 246, 0.05);
    }

    /* Dashboard Mockup */
    .dashboard {
      background: var(--analytics-surface);
      border: 1px solid var(--analytics-border);
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    }

    .dash-header {
      background: #161b22;
      padding: 14px 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid var(--analytics-border);
    }

    .dash-dots {
      display: flex;
      gap: 6px;
    }

    .dash-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
    }

    .dd-red {
      background: #ff5f57;
    }

    .dd-yellow {
      background: #febc2e;
    }

    .dd-green {
      background: #28c840;
    }

    .dash-title {
      font-size: 0.78rem;
      font-weight: 600;
      color: var(--analytics-muted);
    }

    .dash- {
      padding: 20px;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

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

    .chart-card {
      background: #161b22;
      border: 1px solid var(--analytics-border);
      border-radius: 12px;
      padding: 14px;
      position: relative;
      overflow: hidden;
    }

    .chart-label {
      font-size: 0.7rem;
      color: var(--analytics-muted);
      margin-bottom: 6px;
    }

    .chart-value {
      font-size: 1.4rem;
      font-weight: 800;
    }

    .chart-value.blue {
      color: var(--analytics-primary);
    }

    .chart-value.purple {
      color: var(--analytics-secondary);
    }

    .chart-value.cyan {
      color: var(--analytics-accent);
    }

    .chart-trend {
      font-size: 0.68rem;
      color: #22c55e;
      margin-top: 4px;
    }

    /* Mini chart bars */
    .mini-bars {
      display: flex;
      align-items: flex-end;
      gap: 3px;
      height: 30px;
      margin-top: 8px;
    }

    .mini-bar {
      flex: 1;
      background: linear-gradient(180deg, var(--analytics-primary), var(--analytics-secondary));
      border-radius: 2px;
      opacity: 0.6;
    }

    /* Stats Section */
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      max-width: 1000px;
      margin: 56px auto 0;
    }

    .stat-card {
      background: var(--analytics-surface);
      border: 1px solid var(--analytics-border);
      border-radius: 16px;
      padding: 32px 20px;
      text-align: center;
      transition: all 0.3s;
    }

    .stat-card:hover {
      border-color: rgba(59, 130, 246, 0.2);
      transform: translateY(-4px);
    }

    .stat-num {
      font-size: 2.2rem;
      font-weight: 800;
      background: linear-gradient(135deg, var(--analytics-primary), var(--analytics-secondary));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-bottom: 8px;
    }

    .stat-label {
      font-size: 0.82rem;
      color: var(--analytics-muted);
    }

    /* Section Styles */
    .analytics-section {
      padding: 90px 6%;
      position: relative;
    }

    .section-tag {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      font-size: 0.95rem;
      font-weight: 800;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--analytics-primary);
      margin-bottom: 14px;
    }

    .section-tag::before {
      content: '';
      width: 40px;
      height: 2px;
      background: linear-gradient(90deg, var(--analytics-primary), transparent);
      border-radius: 2px;
      flex-shrink: 0;
    }

    .section-title {
      font-size: clamp(2.25rem, 4.5vw, 3rem);
      font-weight: 800;
      letter-spacing: -1px;
      line-height: 1.15;
      margin-bottom: 14px;
    }

    .section-sub {
      font-size: 1rem;
      color: var(--analytics-muted);
      max-width: 560px;
      line-height: 1.7;
    }

    /* Features Grid */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      max-width: 1200px;
      margin: 56px auto 0;
    }

    /* LMS-style feature cards for Analytics Modules */
    .feat-card {
      background: rgba(255, 255, 255, 0.025);
      border: 1px solid rgba(255, 255, 255, 0.07);
      border-radius: 20px;
      padding: 28px;
      transition: all 0.35s ease;
      position: relative;
      overflow: hidden;
    }

    .feat-card::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 20px;
      background: linear-gradient(135deg, rgba(79, 142, 247, 0.06), transparent 60%);
      opacity: 0;
      transition: opacity 0.35s ease;
    }

    .feat-card:hover {
      transform: translateY(-6px);
      border-color: rgba(79, 142, 247, 0.4);
      box-shadow: 0 0 0 1px rgba(79, 142, 247, 0.2), 0 20px 50px rgba(79, 142, 247, 0.15);
    }

    .feat-card:hover::before {
      opacity: 1;
    }

    .feat-card[data-color="blue"] {
      background: rgba(79, 142, 247, 0.04);
      border-color: rgba(79, 142, 247, 0.12);
      box-shadow: 0 0 40px rgba(79, 142, 247, 0.06) inset;
    }

    .feat-card[data-color="blue"]:hover {
      border-color: rgba(79, 142, 247, 0.45);
      box-shadow: 0 0 0 1px rgba(79, 142, 247, 0.2), 0 20px 50px rgba(79, 142, 247, 0.2), 0 0 60px rgba(79, 142, 247, 0.08) inset;
    }

    .feat-card[data-color="blue"]::before {
      background: linear-gradient(135deg, rgba(79, 142, 247, 0.1), transparent 60%);
    }

    .feat-card[data-color="indigo"] {
      background: rgba(99, 102, 241, 0.04);
      border-color: rgba(99, 102, 241, 0.12);
      box-shadow: 0 0 40px rgba(99, 102, 241, 0.06) inset;
    }

    .feat-card[data-color="indigo"]:hover {
      border-color: rgba(99, 102, 241, 0.45);
      box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.2), 0 20px 50px rgba(99, 102, 241, 0.2), 0 0 60px rgba(99, 102, 241, 0.08) inset;
    }

    .feat-card[data-color="indigo"]::before {
      background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), transparent 60%);
    }

    .feat-card[data-color="purple"] {
      background: rgba(168, 85, 247, 0.04);
      border-color: rgba(168, 85, 247, 0.12);
      box-shadow: 0 0 40px rgba(168, 85, 247, 0.06) inset;
    }

    .feat-card[data-color="purple"]:hover {
      border-color: rgba(168, 85, 247, 0.45);
      box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.2), 0 20px 50px rgba(168, 85, 247, 0.2), 0 0 60px rgba(168, 85, 247, 0.08) inset;
    }

    .feat-card[data-color="purple"]::before {
      background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), transparent 60%);
    }

    .feat-card[data-color="green"] {
      background: rgba(34, 197, 94, 0.04);
      border-color: rgba(34, 197, 94, 0.12);
      box-shadow: 0 0 40px rgba(34, 197, 94, 0.06) inset;
    }

    .feat-card[data-color="green"]:hover {
      border-color: rgba(34, 197, 94, 0.45);
      box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.2), 0 20px 50px rgba(34, 197, 94, 0.2), 0 0 60px rgba(34, 197, 94, 0.08) inset;
    }

    .feat-card[data-color="green"]::before {
      background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), transparent 60%);
    }

    .feat-card[data-color="violet"] {
      background: rgba(139, 92, 246, 0.04);
      border-color: rgba(139, 92, 246, 0.12);
      box-shadow: 0 0 40px rgba(139, 92, 246, 0.06) inset;
    }

    .feat-card[data-color="violet"]:hover {
      border-color: rgba(139, 92, 246, 0.45);
      box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.2), 0 20px 50px rgba(139, 92, 246, 0.2), 0 0 60px rgba(139, 92, 246, 0.08) inset;
    }

    .feat-card[data-color="violet"]::before {
      background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), transparent 60%);
    }

    .feat-card[data-color="amber"] {
      background: rgba(245, 158, 11, 0.04);
      border-color: rgba(245, 158, 11, 0.12);
      box-shadow: 0 0 40px rgba(245, 158, 11, 0.06) inset;
    }

    .feat-card[data-color="amber"]:hover {
      border-color: rgba(245, 158, 11, 0.45);
      box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.2), 0 20px 50px rgba(245, 158, 11, 0.2), 0 0 60px rgba(245, 158, 11, 0.08) inset;
    }

    .feat-card[data-color="amber"]::before {
      background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), transparent 60%);
    }

    .feat-card[data-color="red"] {
      background: rgba(239, 68, 68, 0.04);
      border-color: rgba(239, 68, 68, 0.12);
      box-shadow: 0 0 40px rgba(239, 68, 68, 0.06) inset;
    }

    .feat-card[data-color="red"]:hover {
      border-color: rgba(239, 68, 68, 0.45);
      box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.2), 0 20px 50px rgba(239, 68, 68, 0.2), 0 0 60px rgba(239, 68, 68, 0.08) inset;
    }

    .feat-card[data-color="red"]::before {
      background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), transparent 60%);
    }

    .feat-card[data-color="cyan"] {
      background: rgba(6, 182, 212, 0.04);
      border-color: rgba(6, 182, 212, 0.12);
      box-shadow: 0 0 40px rgba(6, 182, 212, 0.06) inset;
    }

    .feat-card[data-color="cyan"]:hover {
      border-color: rgba(6, 182, 212, 0.45);
      box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.2), 0 20px 50px rgba(6, 182, 212, 0.2), 0 0 60px rgba(6, 182, 212, 0.08) inset;
    }

    .feat-card[data-color="cyan"]::before {
      background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), transparent 60%);
    }

    .w-14 h-14 rounded-xl flex items-center justify-center mb-4 text-2xl  {
      width: 56px;
      height: 56px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      margin-bottom: 18px;
    }

    .feat-name {
      font-size: 1.1rem;
      font-weight: 700;
      margin-bottom: 10px;
      color: #e6edf3;
    }

    .feat-desc {
      font-size: 0.87rem;
      color: var(--analytics-muted);
      line-height: 1.65;
      margin-bottom: 16px;
    }

    /* Responsive */
    @media (min-width: 901px) {
      .quiz-stats-grid {
        grid-template-columns: repeat(4, 1fr) !important;
      }
    }

    @media (max-width: 900px) {
      .analytics-hero {
        grid-template-columns: 1fr;
        gap: 40px;
      }

      .features-grid {
        grid-template-columns: 1fr;
      }

      .stats-grid {
        grid-template-columns: 1fr 1fr;
      }

      .analytics-section {
        padding: 45px 5% !important;
      }

      .analytics-ai-section {
        padding: 60px 5% !important;
      }

      .analytics-ai-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
      }

      .analytics-ai-grid>div:first-child {
        order: 2;
      }

      .analytics-ai-grid>div:last-child {
        order: 1;
      }

      .analytics-orbit-wrap {
        width: 280px !important;
        height: 280px !important;
        margin: 20px auto !important;
        transform: scale(0.75);
        transform-origin: center center;
      }

      .analytics-steps-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 32px !important;
      }

      .analytics-steps-line {
        display: none !important;
      }

      .quiz-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
      }
    }

    @keyframes spin {
      from {
        transform: translate(-50%, -50%) rotate(0deg);
      }

      to {
        transform: translate(-50%, -50%) rotate(360deg);
      }
    }

    @keyframes corePulse {

      0%,
      100% {
        box-shadow: 0 0 0 6px #030712, 0 0 50px rgba(99, 102, 241, 0.4);
      }

      50% {
        box-shadow: 0 0 0 10px #030712, 0 0 80px rgba(99, 102, 241, 0.6);
      }
    }

    /* Metrics Bar — LMS style */
    .ana-metric-item {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 20px 24px;
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.025);
      border: 1px solid rgba(255, 255, 255, 0.07);
      transition: all 0.3s ease;
    }

    .ana-metric-item:hover {
      background: rgba(79, 142, 247, 0.08);
      border-color: rgba(79, 142, 247, 0.25);
      transform: translateY(-3px);
    }

    .ana-metric-num {
      font-size: 1.75rem;
      font-weight: 800;
      font-family: 'Poppins', sans-serif;
      background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.7));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    @media (max-width: 480px) {
      .ana-metrics-bar .grid {
        grid-template-columns: 1fr !important;
      }
    }

    /* ══════════════════════════════════════════
   LIGHT MODE OVERRIDES — Analytics Page
══════════════════════════════════════════ */

    /* Override CSS variables for light mode */
    [data-theme="light"] {
      --analytics-bg: #f8fafc;
      --analytics-surface: #ffffff;
      --analytics-text: #0f172a;
      --analytics-muted: #475569;
      --analytics-border: rgba(15, 23, 42, 0.1);
    }

    /* Body & background */
    /* [data-theme="light"] body {
      background: #f8fafc !important;
      color: #0f172a !important;
    } */

    [data-theme="light"] body::before {
      background-image:
        linear-gradient(rgba(59, 130, 246, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.06) 1px, transparent 1px) !important;
    }

    /* Hero badge */
    [data-theme="light"] .hero-badge {
      background: rgba(59, 130, 246, 0.08) !important;
      border-color: rgba(59, 130, 246, 0.3) !important;
      color: #2563eb !important;
    }

    [data-theme="light"] .badge-dot {
      background: #2563eb !important;
    }

    /* Hero headline & description */
    [data-theme="light"] .analytics-hero h1 {
      color: #0f172a !important;
    }

    [data-theme="light"] .hero-desc {
      color: #475569 !important;
    }

    /* Primary button — always white text on gradient */
    [data-theme="light"] .btn-analytics-primary {
      color: #ffffff !important;
      background: linear-gradient(135deg, #3b82f6, #8b5cf6) !important;
      box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35) !important;
    }

    [data-theme="light"] .btn-analytics-primary:hover {
      color: #ffffff !important;
      box-shadow: 0 6px 30px rgba(59, 130, 246, 0.5) !important;
    }

    /* Secondary button */
    [data-theme="light"] .btn-analytics-secondary {
      color: #0f172a !important;
      border-color: rgba(15, 23, 42, 0.2) !important;
      background: rgba(15, 23, 42, 0.04) !important;
    }

    [data-theme="light"] .btn-analytics-secondary:hover {
      border-color: rgba(59, 130, 246, 0.4) !important;
      background: rgba(59, 130, 246, 0.06) !important;
    }

    /* Metrics bar */
    [data-theme="light"] .ana-metrics-bar {
      border-top-color: rgba(15, 23, 42, 0.08) !important;
      border-bottom-color: rgba(15, 23, 42, 0.08) !important;
    }

    [data-theme="light"] .ana-metric-item {
      background: #ffffff !important;
      border-color: rgba(15, 23, 42, 0.1) !important;
      box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
    }

    [data-theme="light"] .ana-metric-item:hover {
      background: rgba(59, 130, 246, 0.05) !important;
      border-color: rgba(59, 130, 246, 0.25) !important;
    }

    [data-theme="light"] .ana-metric-num {
      background: linear-gradient(135deg, #1e293b, #334155) !important;
      -webkit-background-clip: text !important;
      -webkit-text-fill-color: transparent !important;
      background-clip: text !important;
    }

    /* Inline style: color:rgba(255,255,255,0.4) — muted labels */
    [data-theme="light"] [style*="color:rgba(255,255,255,0.4)"] {
      color: #64748b !important;
    }

    [data-theme="light"] [style*="color:rgba(255,255,255,0.45)"] {
      color: #64748b !important;
    }

    [data-theme="light"] [style*="color:rgba(255,255,255,0.5)"] {
      color: #64748b !important;
    }

    [data-theme="light"] [style*="color:rgba(255,255,255,0.6)"] {
      color: #475569 !important;
    }

    [data-theme="light"] [style*="color:rgba(255,255,255,0.7)"] {
      color: #334155 !important;
    }

    [data-theme="light"] [style*="color:rgba(255,255,255,0.8)"] {
      color: #1e293b !important;
    }

    [data-theme="light"] [style*="color:rgba(255,255,255,0.9)"] {
      color: #0f172a !important;
    }

    /* Tailwind text-white/NN utility classes (not caught by the inline-style selectors above) */
    [data-theme="light"] .analytics-landing-container .text-white/30,
    [data-theme="light"] .analytics-landing-container .text-white/35,
    [data-theme="light"] .analytics-landing-container .text-white/40 {
      color: #94a3b8 !important;
    }

    [data-theme="light"] .analytics-landing-container .text-white/45,
    [data-theme="light"] .analytics-landing-container .text-white/50 {
      color: #64748b !important;
    }

    [data-theme="light"] .analytics-landing-container .text-white/60,
    [data-theme="light"] .analytics-landing-container .text-white/70 {
      color: #475569 !important;
    }

    [data-theme="light"] .analytics-landing-container .text-white/80,
    [data-theme="light"] .analytics-landing-container .text-white/90 {
      color: #1e293b !important;
    }

    /* Section tags */
    [data-theme="light"] .section-tag {
      color: #2563eb !important;
    }

    /* Section titles */
    [data-theme="light"] .section-title {
      color: #0f172a !important;
    }

    [data-theme="light"] .section-sub {
      color: #475569 !important;
    }

    /* Feature cards */
    [data-theme="light"] .feat-card {
      background: #ffffff !important;
      border-color: rgba(15, 23, 42, 0.1) !important;
      box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06) !important;
    }

    [data-theme="light"] .feat-card:hover {
      box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1) !important;
    }

    [data-theme="light"] .feat-name {
      color: #0f172a !important;
    }

    [data-theme="light"] .feat-desc {
      color: #475569 !important;
    }

    /* Stat cards */
    [data-theme="light"] .stat-card {
      background: #ffffff !important;
      border-color: rgba(15, 23, 42, 0.1) !important;
      box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
    }

    [data-theme="light"] .stat-label {
      color: #64748b !important;
    }

    /* Dashboard mockup containers — now handled by .analytics-dash-mockup class */
    [data-theme="light"] .dashboard {
      /* keep as-is */
    }

    /* Inline dark section backgrounds */
    [data-theme="light"] [style*="background:rgba(255,255,255,0.025)"] {
      background: #ffffff !important;
      border-color: rgba(15, 23, 42, 0.08) !important;
    }

    [data-theme="light"] [style*="background:rgba(255,255,255,0.03)"] {
      background: rgba(15, 23, 42, 0.02) !important;
    }

    [data-theme="light"] [style*="background:rgba(255,255,255,0.02)"] {
      background: #ffffff !important;
      border-color: rgba(15,23,42,0.1) !important;
      box-shadow: 0 2px 8px rgba(15,23,42,0.05);
    }

    [data-theme="light"] [style*="background:rgba(255,255,255,0.04)"] {
      background: rgba(15, 23, 42, 0.03) !important;
    }

    [data-theme="light"] [style*="background:rgba(255,255,255,0.05)"] {
      background: rgba(15, 23, 42, 0.04) !important;
    }

    [data-theme="light"] [style*="background:rgba(255,255,255,0.06)"] {
      background: rgba(15, 23, 42, 0.05) !important;
    }

    /* Section backgrounds */
    [data-theme="light"] .analytics-section {
      background: transparent !important;
    }

    /* Text that is hardcoded white */
    [data-theme="light"] .text-white {
      color: #0f172a !important;
    }

    [data-theme="light"] h1,
    [data-theme="light"] h2,
    [data-theme="light"] h3,
    [data-theme="light"] h4 {
      color: #0f172a;
    }

    /* btn-neon (CTA section) — keep white text on gradient */
    [data-theme="light"] .btn-neon {
      color: #ffffff !important;
    }

    /* Step cards (how it works section) */
    [data-theme="light"] .ana-step-card {
      background: #ffffff !important;
      border-color: rgba(15, 23, 42, 0.1) !important;
    }

    [data-theme="light"] .ana-step-card:hover {
      box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1) !important;
    }

    /* Step ring inner circles — fix dark bg & box-shadow on white */
    [data-theme="light"] .ana-ring-inner {
      background: #ffffff !important;
      box-shadow: 0 0 0 5px #ffffff, 0 0 16px rgba(79,142,247,0.2) !important;
    }
    [data-theme="light"] .ana-step-card.s1 .ana-ring-inner { background: #ffffff !important; box-shadow: 0 0 0 5px #ffffff, 0 0 16px rgba(79,142,247,0.25) !important; }
    [data-theme="light"] .ana-step-card.s2 .ana-ring-inner { background: #ffffff !important; box-shadow: 0 0 0 5px #ffffff, 0 0 16px rgba(139,92,246,0.25) !important; }
    [data-theme="light"] .ana-step-card.s3 .ana-ring-inner { background: #ffffff !important; box-shadow: 0 0 0 5px #ffffff, 0 0 16px rgba(245,158,11,0.25) !important; }
    [data-theme="light"] .ana-step-card.s4 .ana-ring-inner { background: #ffffff !important; box-shadow: 0 0 0 5px #ffffff, 0 0 16px rgba(34,197,94,0.25) !important; }
    /* Also override inline style on the inner div */
    [data-theme="light"] .ana-step-ring .ana-ring-inner[style*="background:#030712"] {
      background: #ffffff !important;
    }
    [data-theme="light"] .ana-step-ring .ana-ring-inner[style*="box-shadow:0 0 0 5px #030712"] {
      box-shadow: 0 0 0 5px #ffffff, 0 0 16px rgba(79,142,247,0.2) !important;
    }
    /* Step labels & text */
    [data-theme="light"] .ana-step-card [style*="color:rgba(255,255,255,0.9)"] { color: #1e293b !important; }
    [data-theme="light"] .ana-step-card [style*="color:rgba(255,255,255,0.45)"] { color: #64748b !important; }

    /* CTA / bottom section */
    [data-theme="light"] [style*="background:linear-gradient(135deg,rgba(59,130,246,0.08)"] {
      background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(139, 92, 246, 0.06)) !important;
      border-color: rgba(59, 130, 246, 0.2) !important;
    }

    /* ── Analytics Dashboard Mockup 1 (Attendance) — full white ── */
    [data-theme="light"] .analytics-dash-mockup {
      background: #ffffff !important;
      border-color: rgba(0,0,0,0.1) !important;
      box-shadow: 0 20px 60px rgba(0,0,0,0.1) !important;
    }
    [data-theme="light"] .analytics-dash-topbar {
      background: #f1f5f9 !important;
      border-bottom-color: rgba(0,0,0,0.08) !important;
    }
    [data-theme="light"] .analytics-dash-title {
      color: #64748b !important;
    }
    [data-theme="light"] .analytics-dash-body {
      background: #ffffff !important;
    }
    [data-theme="light"] .analytics-dash-mockup [style*="background:#161b22"] {
      background: #f1f5f9 !important;
      border-color: rgba(0,0,0,0.08) !important;
    }
    [data-theme="light"] .analytics-dash-mockup [style*="background:#0d1117"] {
      background: #ffffff !important;
      border-color: rgba(0,0,0,0.08) !important;
    }
    [data-theme="light"] .analytics-dash-mockup [style*="color:rgba(255,255,255,0.9)"],
    [data-theme="light"] .analytics-dash-mockup [style*="color:rgba(255,255,255,0.85)"],
    [data-theme="light"] .analytics-dash-mockup [style*="color:rgba(255,255,255,0.8)"] { color: #1e293b !important; }
    [data-theme="light"] .analytics-dash-mockup [style*="color:rgba(255,255,255,0.6)"],
    [data-theme="light"] .analytics-dash-mockup [style*="color:rgba(255,255,255,0.5)"] { color: #64748b !important; }
    [data-theme="light"] .analytics-dash-mockup [style*="color:rgba(255,255,255,0.4)"],
    [data-theme="light"] .analytics-dash-mockup [style*="color:rgba(255,255,255,0.35)"],
    [data-theme="light"] .analytics-dash-mockup [style*="color:rgba(255,255,255,0.3)"] { color: #94a3b8 !important; }
    [data-theme="light"] .analytics-dash-mockup [style*="color:#fff"] { color: #1e293b !important; }
    [data-theme="light"] .analytics-dash-mockup [style*="background:rgba(255,255,255,0.06)"] {
      background: #f1f5f9 !important;
      border-color: rgba(0,0,0,0.08) !important;
    }
    [data-theme="light"] .analytics-dash-mockup [style*="stroke:rgba(255,255,255,0.06)"] { stroke: rgba(0,0,0,0.1) !important; }
    [data-theme="light"] .analytics-dash-mockup [style*="border-bottom:1px solid rgba(255,255,255,0.07)"] {
      border-bottom-color: rgba(0,0,0,0.08) !important;
    }
    /* Donut chart center number */
    [data-theme="light"] .analytics-dash-mockup [style*="color:#fff;"] { color: #1e293b !important; }

    /* ── Analytics Mockup 2 (Performance charts) — full white ── */
    [data-theme="light"] .analytics-perf-mockup [style*="background:#161b22"],
    [data-theme="light"] .analytics-quiz-mockup[style*="background:#161b22"] {
      background: #ffffff !important;
      border-color: rgba(0,0,0,0.08) !important;
    }
    [data-theme="light"] .analytics-perf-mockup [style*="color:rgba(255,255,255,0.85)"],
    [data-theme="light"] .analytics-perf-mockup [style*="color:rgba(255,255,255,0.8)"],
    [data-theme="light"] .analytics-quiz-mockup [style*="color:rgba(255,255,255,0.85)"],
    [data-theme="light"] .analytics-quiz-mockup [style*="color:rgba(255,255,255,0.8)"] { color: #1e293b !important; }
    [data-theme="light"] .analytics-perf-mockup [style*="color:rgba(255,255,255,0.5)"],
    [data-theme="light"] .analytics-perf-mockup [style*="color:rgba(255,255,255,0.4)"],
    [data-theme="light"] .analytics-perf-mockup [style*="color:rgba(255,255,255,0.35)"],
    [data-theme="light"] .analytics-perf-mockup [style*="color:rgba(255,255,255,0.3)"],
    [data-theme="light"] .analytics-quiz-mockup [style*="color:rgba(255,255,255,0.5)"],
    [data-theme="light"] .analytics-quiz-mockup [style*="color:rgba(255,255,255,0.4)"],
    [data-theme="light"] .analytics-quiz-mockup [style*="color:rgba(255,255,255,0.35)"] { color: #64748b !important; }
    [data-theme="light"] .analytics-perf-mockup [style*="background:rgba(255,255,255,0.06)"],
    [data-theme="light"] .analytics-quiz-mockup [style*="background:rgba(255,255,255,0.06)"] {
      background: #f1f5f9 !important;
      border-color: rgba(0,0,0,0.08) !important;
    }
    [data-theme="light"] .analytics-quiz-mockup [style*="background:rgba(255,255,255,0.04)"] {
      background: #f8fafc !important;
      border-color: rgba(0,0,0,0.08) !important;
    }
    /* Quiz KPI stat cards */
    [data-theme="light"] .analytics-quiz-mockup [style*="background:rgba(6,182,212,0.08)"],
    [data-theme="light"] .analytics-quiz-mockup [style*="background:rgba(16,185,129,0.08)"],
    [data-theme="light"] .analytics-quiz-mockup [style*="background:rgba(239,68,68,0.08)"],
    [data-theme="light"] .analytics-quiz-mockup [style*="background:rgba(79,142,247,0.08)"] {
      border-color: rgba(0,0,0,0.08) !important;
    }
    [data-theme="light"] .analytics-quiz-mockup [style*="color:rgba(255,255,255,0.6)"] { color: #64748b !important; }
    [data-theme="light"] .analytics-quiz-mockup [style*="color:rgba(255,255,255,0.7)"] { color: #475569 !important; }

    /* ── Token Usage Graph Mockup — full white ── */
    [data-theme="light"] .analytics-token-mockup {
      background: #ffffff !important;
      border-color: rgba(0,0,0,0.1) !important;
      box-shadow: 0 8px 30px rgba(0,0,0,0.08) !important;
    }
    [data-theme="light"] .analytics-token-mockup [style*="color:rgba(255,255,255,0.9)"],
    [data-theme="light"] .analytics-token-mockup [style*="color:rgba(255,255,255,0.85)"] { color: #1e293b !important; }
    [data-theme="light"] .analytics-token-mockup [style*="color:rgba(255,255,255,0.45)"],
    [data-theme="light"] .analytics-token-mockup [style*="color:rgba(255,255,255,0.35)"],
    [data-theme="light"] .analytics-token-mockup [style*="color:rgba(255,255,255,0.3)"] { color: #94a3b8 !important; }
    /* Bar track backgrounds */
    [data-theme="light"] .analytics-token-mockup [style*="background:rgba(255,255,255,0.06)"] {
      background: #f1f5f9 !important;
    }
    /* X-axis divider */
    [data-theme="light"] .analytics-token-mockup [style*="border-top:1px solid rgba(255,255,255,0.05)"] {
      border-top-color: rgba(0,0,0,0.08) !important;
    }
