@import url('fonts/fonts.css');
    /* CSS Reset & Design System Variables */
    :root {
      --heading: #0f172a;
      --body: #475569;
      --muted: #64748b;
      --brand-blue: #2563eb;
      --brand-violet: #7c3aed;
      --brand-gradient: linear-gradient(90deg, #2563eb, #7c3aed);
      --badge-bg: #eff6ff;
      --badge-border: #bfdbfe;
      --badge-text: #1d4ed8;
      --card-bg: rgba(255, 255, 255, 0.88);
      --card-border: #e2e8f0;
      --radius: 14px;
      --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);

      --status-success-text: #16a34a;
      --status-success-bg: #f0fdf4;
      --status-warning-text: #b45309;
      --status-warning-bg: #fffbeb;
      --status-error-text: #dc2626;
      --status-error-bg: #fef2f2;
      --status-info-text: #2563eb;
      --status-info-bg: #eff6ff;
      --status-debug-text: #64748b;
      --status-debug-bg: #f1f5f9;

      --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      --font-mono: ui-monospace, "JetBrains Mono", Menlo, Consolas, Monaco, monospace;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      font-family: var(--font-body);
      color: var(--body);
      background-color: #ffffff;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      line-height: 1.5;
      position: relative;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    /* Ambient Mesh Gradient Glow */
    .bg-mesh-glow {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      pointer-events: none;
      z-index: 0;
      background:
        radial-gradient(circle at 12% 18%, rgba(169, 214, 245, 0.55) 0%, rgba(169, 214, 245, 0) 52%),
        radial-gradient(circle at 88% 22%, rgba(227, 201, 243, 0.45) 0%, rgba(227, 201, 243, 0) 50%);
      filter: blur(48px);
      opacity: 0.95;
    }

    .app-wrapper {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }

    /* Header */
    header.site-header {
      height: 64px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 1.5rem;
      background: rgba(255, 255, 255, 0.85);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--card-border);
      position: sticky;
      top: 0;
      z-index: 40;
    }

    .brand-logo-link {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      text-decoration: none;
    }

    .brand-mark {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      background: var(--brand-gradient);
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: 800;
      font-size: 1.1rem;
      box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    }

    .brand-text-maf {
      font-family: var(--font-heading);
      font-weight: 800;
      font-size: 1.35rem;
      color: var(--heading);
      letter-spacing: -0.03em;
    }

    .brand-text-labs {
      font-family: var(--font-heading);
      font-weight: 800;
      font-size: 1.35rem;
      background: var(--brand-gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      letter-spacing: -0.03em;
    }

    .site-nav {
      display: flex;
      align-items: center;
      gap: 1.5rem;
    }

    .nav-links {
      display: flex;
      gap: 1.25rem;
      list-style: none;
    }

    .nav-links a {
      color: var(--body);
      text-decoration: none;
      font-weight: 500;
      font-size: 0.95rem;
      transition: color 0.15s ease;
    }

    .nav-links a:hover {
      color: var(--brand-blue);
    }

    .mobile-nav-toggle {
      display: none;
      background: none;
      border: 1px solid var(--card-border);
      padding: 0.4rem 0.6rem;
      border-radius: 8px;
      cursor: pointer;
      font-size: 1.1rem;
    }

    /* Compact Hero (<140px on desktop) */
    .compact-hero {
      padding: 0.75rem 1.5rem 0.6rem;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      max-width: 1200px;
      margin: 0 auto;
      gap: 0.3rem;
    }

    .pill-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      background-color: var(--badge-bg);
      border: 1px solid var(--badge-border);
      color: var(--badge-text);
      font-size: 0.72rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      padding: 0.2rem 0.65rem;
      border-radius: 9999px;
    }

    .pill-badge svg {
      width: 12px;
      height: 12px;
    }

    .compact-hero h1 {
      font-family: var(--font-heading);
      font-size: 1.7rem;
      font-weight: 800;
      color: var(--heading);
      letter-spacing: -0.03em;
      line-height: 1.2;
    }

    .gradient-text {
      background: var(--brand-gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero-subtitle {
      font-size: 0.9rem;
      color: var(--body);
      max-width: 780px;
    }

    .privacy-tagline {
      font-size: 0.76rem;
      font-weight: 500;
      color: var(--status-success-text);
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      background: var(--status-success-bg);
      padding: 0.15rem 0.6rem;
      border-radius: 9999px;
      border: 1px solid rgba(22, 163, 74, 0.2);
    }

    /* Common Button & Form Styles */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.4rem;
      font-family: var(--font-body);
      font-size: 0.85rem;
      font-weight: 600;
      border-radius: 10px;
      padding: 0.45rem 0.85rem;
      cursor: pointer;
      transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
      border: none;
      outline: none;
      white-space: nowrap;
      user-select: none;
    }

    .btn:focus-visible {
      box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.22);
    }

    .btn-primary {
      background: var(--brand-gradient);
      color: #ffffff;
      box-shadow: 0 4px 14px rgba(79, 70, 229, 0.26);
    }

    .btn-primary:hover {
      transform: translateY(-1px);
      box-shadow: 0 6px 18px rgba(79, 70, 229, 0.35);
    }

    .btn-secondary {
      background: #ffffff;
      color: var(--heading);
      border: 1px solid var(--card-border);
    }

    .btn-secondary:hover {
      border-color: var(--brand-blue);
      color: var(--brand-blue);
      background-color: #f8fafc;
    }

    .btn-icon {
      padding: 0.45rem;
      border-radius: 8px;
    }

    .btn-sm {
      padding: 0.3rem 0.6rem;
      font-size: 0.78rem;
      border-radius: 6px;
    }

    /* Workspace Section */
    .workspace-container {
      width: 100%;
      max-width: 1720px;
      margin: 0 auto;
      padding: 0 1rem;
      display: flex;
      flex-direction: column;
      flex: 1;
    }

    /* Fullscreen Focus Mode */
    .workspace-container.is-focus-mode {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      max-width: 100vw;
      width: 100vw;
      height: 100vh;
      margin: 0;
      padding: 0.75rem;
      background: #f8fafc;
      z-index: 9999;
    }

    /* Toolbar & Filter Bar */
    .workspace-toolbar {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 0.6rem 0.85rem;
      margin-bottom: 0.6rem;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      backdrop-filter: blur(12px);
    }

    .toolbar-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    .toolbar-group {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      flex-wrap: wrap;
    }

    /* Query Box & Field Autocomplete */
    .query-box-wrapper {
      position: relative;
      flex: 1;
      min-width: 260px;
    }

    .input-field {
      width: 100%;
      height: 36px;
      padding: 0.4rem 0.75rem;
      font-size: 0.84rem;
      font-family: var(--font-body);
      border: 1px solid var(--card-border);
      border-radius: 8px;
      background: #ffffff;
      color: var(--heading);
      transition: border-color 0.15s ease, box-shadow 0.15s ease;
    }

    .input-field:focus {
      outline: none;
      border-color: var(--brand-blue);
      box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    }

    .query-syntax-hint {
      position: absolute;
      top: 100%;
      left: 0;
      background: #ffffff;
      border: 1px solid var(--card-border);
      border-radius: 8px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.12);
      padding: 0.4rem;
      z-index: 50;
      max-height: 180px;
      overflow-y: auto;
      width: 100%;
      display: none;
    }

    .query-syntax-hint.visible {
      display: block;
    }

    .autocomplete-item {
      padding: 0.35rem 0.6rem;
      font-size: 0.8rem;
      font-family: var(--font-mono);
      cursor: pointer;
      border-radius: 4px;
    }

    .autocomplete-item:hover, .autocomplete-item.selected {
      background-color: #f1f5f9;
      color: var(--brand-blue);
    }

    .query-error-toast {
      font-size: 0.75rem;
      color: var(--status-error-text);
      background: var(--status-error-bg);
      border: 1px solid #fecaca;
      border-radius: 6px;
      padding: 0.2rem 0.55rem;
      display: none;
      align-items: center;
      gap: 0.35rem;
    }

    .query-error-toast.visible {
      display: inline-flex;
    }

    /* Level Filter Chips */
    .level-chips-bar {
      display: flex;
      align-items: center;
      gap: 0.35rem;
      flex-wrap: wrap;
    }

    .chip-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      padding: 0.25rem 0.55rem;
      border-radius: 6px;
      font-size: 0.75rem;
      font-weight: 600;
      cursor: pointer;
      border: 1px solid transparent;
      user-select: none;
      transition: all 0.15s ease;
      background: #f1f5f9;
      color: var(--muted);
    }

    .chip-btn.active.chip-all { background: #e2e8f0; color: var(--heading); }
    .chip-btn.active.chip-error { background: var(--status-error-bg); color: var(--status-error-text); border-color: #fca5a5; }
    .chip-btn.active.chip-warn { background: var(--status-warning-bg); color: var(--status-warning-text); border-color: #fde68a; }
    .chip-btn.active.chip-info { background: var(--status-info-bg); color: var(--status-info-text); border-color: #bfdbfe; }
    .chip-btn.active.chip-debug { background: #e2e8f0; color: #334155; border-color: #cbd5e1; }
    .chip-btn.active.chip-trace { background: #f8fafc; color: #64748b; border-color: #e2e8f0; }

    .chip-count {
      background: rgba(0,0,0,0.06);
      padding: 0.05rem 0.35rem;
      border-radius: 4px;
      font-size: 0.7rem;
    }

    /* Popovers & Modal Dialogs */
    .popover-card {
      position: absolute;
      top: 100%;
      right: 0;
      margin-top: 0.4rem;
      background: #ffffff;
      border: 1px solid var(--card-border);
      border-radius: 12px;
      box-shadow: 0 10px 30px rgba(15,23,42,0.14);
      padding: 0.9rem;
      z-index: 60;
      width: 320px;
      display: none;
    }

    .popover-card.open {
      display: block;
    }

    /* Split Workspace Panes */
    .workspace-split {
      display: flex;
      flex: 1;
      min-height: 560px;
      height: calc(100vh - 270px);
      gap: 0;
      position: relative;
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      overflow: hidden;
      backdrop-filter: blur(12px);
    }

    .pane {
      display: flex;
      flex-direction: column;
      height: 100%;
      min-width: 25%;
      position: relative;
      background: rgba(255, 255, 255, 0.7);
    }

    .pane-left {
      width: 55%;
      border-right: 1px solid transparent;
    }

    .pane-right {
      flex: 1;
    }

    /* Draggable Split Divider */
    .split-divider {
      width: 8px;
      background: #f1f5f9;
      cursor: col-resize;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      z-index: 20;
      transition: background 0.15s ease;
      border-left: 1px solid var(--card-border);
      border-right: 1px solid var(--card-border);
    }

    .split-divider:hover, .split-divider.is-dragging {
      background: #e2e8f0;
    }

    .split-divider::after {
      content: "";
      width: 2px;
      height: 28px;
      background: #94a3b8;
      border-radius: 2px;
    }

    /* Pane Header */
    .pane-header {
      height: 42px;
      padding: 0 0.85rem;
      background: #f8fafc;
      border-bottom: 1px solid var(--card-border);
      display: flex;
      align-items: center;
      justify-content: space-between;
      user-select: none;
    }

    .pane-title {
      font-size: 0.82rem;
      font-weight: 700;
      color: var(--heading);
      text-transform: uppercase;
      letter-spacing: 0.04em;
      display: flex;
      align-items: center;
      gap: 0.45rem;
    }

    .pane-stats {
      font-size: 0.75rem;
      color: var(--muted);
      font-weight: 500;
    }

    .pane-actions {
      display: flex;
      align-items: center;
      gap: 0.35rem;
    }

    /* Virtualized Log Table */
    .table-container {
      flex: 1;
      overflow: auto;
      position: relative;
      background: #ffffff;
      outline: none;
    }

    .log-table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
      font-family: var(--font-mono);
      font-size: 0.82rem;
      line-height: 1.5;
      table-layout: fixed;
    }

    .log-table thead {
      position: sticky;
      top: 0;
      z-index: 10;
      background: #f8fafc;
    }

    .log-table th {
      padding: 0.4rem 0.6rem;
      text-align: left;
      font-weight: 600;
      font-size: 0.76rem;
      color: var(--heading);
      border-bottom: 1px solid var(--card-border);
      border-right: 1px solid #f1f5f9;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      position: relative;
      cursor: pointer;
      user-select: none;
    }

    .log-table th:hover {
      background: #f1f5f9;
    }

    .log-table th .resizer {
      position: absolute;
      top: 0;
      right: 0;
      width: 5px;
      cursor: col-resize;
      user-select: none;
      height: 100%;
    }

    .log-row {
      cursor: pointer;
      border-bottom: 1px solid #f1f5f9;
      transition: background 0.08s ease;
    }

    .log-row:hover {
      background-color: #f8fafc;
    }

    .log-row.is-selected {
      background-color: #eff6ff !important;
      outline: 1px solid #93c5fd;
    }

    .log-row.level-error {
      border-left: 3px solid var(--status-error-text);
    }
    .log-row.level-warn {
      border-left: 3px solid var(--status-warning-text);
    }
    .log-row.level-info {
      border-left: 3px solid var(--status-info-text);
    }
    .log-row.level-debug {
      border-left: 3px solid #94a3b8;
    }

    .log-cell {
      padding: 0.35rem 0.6rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      vertical-align: middle;
      border-bottom: 1px solid #f8fafc;
    }

    .log-cell.cell-msg {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .log-badge {
      display: inline-block;
      padding: 0.1rem 0.4rem;
      border-radius: 4px;
      font-size: 0.68rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .badge-error { background: var(--status-error-bg); color: var(--status-error-text); border: 1px solid #fecaca; }
    .badge-warn { background: var(--status-warning-bg); color: var(--status-warning-text); border: 1px solid #fde68a; }
    .badge-info { background: var(--status-info-bg); color: var(--status-info-text); border: 1px solid #bfdbfe; }
    .badge-debug { background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; }
    .badge-raw { background: #fff1f2; color: #be123c; border: 1px solid #fecdd3; }

    /* Drop Zone / Empty State */
    .empty-drop-zone {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 2rem;
      text-align: center;
      background: rgba(255, 255, 255, 0.95);
      z-index: 15;
      gap: 1rem;
    }

    .empty-drop-zone.drag-over {
      background: #eff6ff;
      border: 2px dashed var(--brand-blue);
    }

    .drop-icon-box {
      width: 56px;
      height: 56px;
      border-radius: 14px;
      background: #eff6ff;
      color: var(--brand-blue);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    }

    /* Right Details Inspector Pane */
    .details-inspector {
      flex: 1;
      overflow-y: auto;
      padding: 1rem;
      background: #ffffff;
      font-family: var(--font-mono);
      font-size: 0.84rem;
    }

    .detail-card {
      border: 1px solid var(--card-border);
      border-radius: 8px;
      background: #fafafa;
      margin-bottom: 0.85rem;
      overflow: hidden;
    }

    .detail-card-header {
      padding: 0.4rem 0.75rem;
      background: #f1f5f9;
      font-size: 0.74rem;
      font-weight: 700;
      color: var(--heading);
      border-bottom: 1px solid var(--card-border);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .detail-card-body {
      padding: 0.75rem;
      overflow-x: auto;
    }

    /* Stack Trace formatting */
    .stack-trace-view {
      color: #b91c1c;
      background: #fef2f2;
      border: 1px solid #fee2e2;
      border-radius: 6px;
      padding: 0.75rem;
      white-space: pre-wrap;
      word-break: break-all;
      line-height: 1.45;
      font-size: 0.78rem;
    }

    /* Tree View / Pretty JSON */
    .json-tree {
      list-style: none;
      padding-left: 1rem;
    }
    .json-tree-root {
      padding-left: 0;
    }
    .json-node {
      margin: 0.2rem 0;
      position: relative;
    }
    .json-key {
      color: #7c3aed;
      font-weight: 600;
      cursor: pointer;
    }
    .json-string { color: #059669; word-break: break-word; }
    .json-number { color: #d97706; }
    .json-boolean { color: #2563eb; font-weight: 600; }
    .json-null { color: #94a3b8; font-style: italic; }
    .json-toggle-icon {
      cursor: pointer;
      display: inline-block;
      width: 14px;
      font-weight: 800;
      user-select: none;
      color: var(--muted);
    }

    /* Insights Drawer */
    .insights-panel {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: #ffffff;
      z-index: 25;
      padding: 1.25rem;
      overflow-y: auto;
      display: none;
    }
    .insights-panel.visible {
      display: block;
    }

    /* Progress Bar */
    .worker-progress-bar {
      height: 3px;
      width: 100%;
      background: #e2e8f0;
      position: absolute;
      top: 0;
      left: 0;
      z-index: 100;
      display: none;
    }
    .worker-progress-fill {
      height: 100%;
      background: var(--brand-gradient);
      width: 0%;
      transition: width 0.1s linear;
    }

    /* Live Toast */
    .toast-notice {
      position: fixed;
      bottom: 1.5rem;
      right: 1.5rem;
      background: var(--heading);
      color: #ffffff;
      font-size: 0.84rem;
      font-weight: 500;
      padding: 0.6rem 1rem;
      border-radius: 8px;
      box-shadow: 0 10px 25px rgba(0,0,0,0.2);
      z-index: 10000;
      display: none;
      align-items: center;
      gap: 0.5rem;
    }
    .toast-notice.success {
      background: #15803d;
    }

    /* SEO Article & Content Below Fold */
    .content-article-section {
      max-width: 1080px;
      margin: 3.5rem auto 2rem;
      padding: 0 1.5rem;
      color: var(--body);
    }

    .content-article-section h2 {
      font-family: var(--font-heading);
      font-size: 1.6rem;
      font-weight: 800;
      color: var(--heading);
      letter-spacing: -0.02em;
      margin: 2rem 0 1rem;
    }

    .content-article-section h3 {
      font-family: var(--font-heading);
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--heading);
      margin: 1.5rem 0 0.6rem;
    }

    .content-article-section p {
      margin-bottom: 1rem;
      line-height: 1.7;
    }

    .content-article-section ol, .content-article-section ul {
      margin-bottom: 1.25rem;
      padding-left: 1.5rem;
      line-height: 1.7;
    }

    .content-article-section code {
      font-family: var(--font-mono);
      font-size: 0.85em;
      background: #f1f5f9;
      padding: 0.15rem 0.35rem;
      border-radius: 4px;
      color: #0f172a;
    }

    .code-comparison-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
      margin: 1.5rem 0;
    }

    .code-card {
      background: #0f172a;
      color: #e2e8f0;
      border-radius: 10px;
      padding: 1rem;
      font-family: var(--font-mono);
      font-size: 0.8rem;
      overflow-x: auto;
      line-height: 1.5;
    }

    .code-card-header {
      color: #94a3b8;
      font-size: 0.72rem;
      text-transform: uppercase;
      font-weight: 700;
      margin-bottom: 0.5rem;
      border-bottom: 1px solid #334155;
      padding-bottom: 0.3rem;
    }

    /* FAQ Details Accordions */
    .faq-accordion-group {
      margin-top: 1.5rem;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

    details.faq-item {
      background: #ffffff;
      border: 1px solid var(--card-border);
      border-radius: 10px;
      padding: 0.85rem 1.1rem;
      transition: all 0.15s ease;
    }

    details.faq-item[open] {
      box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
      border-color: #cbd5e1;
    }

    summary.faq-question {
      font-weight: 700;
      color: var(--heading);
      cursor: pointer;
      list-style: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 1rem;
    }

    summary.faq-question::-webkit-details-marker {
      display: none;
    }

    summary.faq-question::after {
      content: "+";
      font-size: 1.25rem;
      font-weight: 400;
      color: var(--brand-blue);
    }

    details[open] summary.faq-question::after {
      content: "\2212";
    }

    .faq-answer {
      margin-top: 0.75rem;
      padding-top: 0.75rem;
      border-top: 1px solid #f1f5f9;
      line-height: 1.65;
      color: var(--body);
      font-size: 0.92rem;
    }

    /* Footer & More Tools */
    footer.site-footer {
      background: #f8fafc;
      border-top: 1px solid var(--card-border);
      padding: 3rem 1.5rem 2rem;
      margin-top: 4rem;
    }

    .footer-content {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 2rem;
    }

    .more-tools-row {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

    .more-tools-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 0.75rem;
    }

    .tool-link-card {
      padding: 0.75rem 1rem;
      background: #ffffff;
      border: 1px solid var(--card-border);
      border-radius: 10px;
      text-decoration: none;
      color: var(--heading);
      font-weight: 600;
      font-size: 0.88rem;
      transition: all 0.15s ease;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .tool-link-card:hover {
      border-color: var(--brand-blue);
      color: var(--brand-blue);
      transform: translateY(-1px);
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 1.5rem;
      border-top: 1px solid var(--card-border);
      font-size: 0.82rem;
      color: var(--muted);
      flex-wrap: wrap;
      gap: 1rem;
    }

    /* Mobile Adaptations (<900px) */
    @media (max-width: 900px) {
      .workspace-split {
        flex-direction: column;
        height: auto;
        min-height: unset;
      }
      .split-divider {
        display: none;
      }
      .pane-left {
        width: 100% !important;
        min-height: 60vh;
      }
      .pane-right {
        width: 100% !important;
        min-height: 50vh;
        border-top: 1px solid var(--card-border);
      }
      .code-comparison-grid {
        grid-template-columns: 1fr;
      }
      .site-nav .nav-links {
        display: none;
      }
      .mobile-nav-toggle {
        display: block;
      }
    }


/* Ambient Background Blobs (Fixed across entire viewport) */
.blob-bg-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  -webkit-filter: blur(80px);
  opacity: 0.85;
  will-change: transform;
}

.blob-1 {
  top: -12vh;
  left: -8vw;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.32) 0%, rgba(59, 130, 246, 0.16) 45%, rgba(255, 255, 255, 0) 70%);
  animation: blob-float-1 20s infinite ease-in-out alternate;
}

.blob-2 {
  top: -10vh;
  right: -10vw;
  width: 48vw;
  height: 48vw;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.28) 0%, rgba(168, 85, 247, 0.15) 45%, rgba(255, 255, 255, 0) 70%);
  animation: blob-float-2 24s infinite ease-in-out alternate;
}

.blob-3 {
  bottom: -15vh;
  left: -10vw;
  width: 52vw;
  height: 52vw;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, rgba(14, 165, 233, 0.14) 45%, rgba(255, 255, 255, 0) 70%);
  animation: blob-float-3 22s infinite ease-in-out alternate;
}

.blob-4 {
  bottom: -10vh;
  right: -8vw;
  width: 46vw;
  height: 46vw;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.28) 0%, rgba(236, 72, 153, 0.15) 45%, rgba(255, 255, 255, 0) 70%);
  animation: blob-float-4 26s infinite ease-in-out alternate;
}

@keyframes blob-float-1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(5vw, 6vh) scale(1.06); }
  100% { transform: translate(-3vw, 10vh) scale(0.96); }
}

@keyframes blob-float-2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-6vw, 8vh) scale(1.08); }
  100% { transform: translate(4vw, 5vh) scale(0.94); }
}

@keyframes blob-float-3 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6vw, -8vh) scale(1.06); }
  100% { transform: translate(-4vw, -4vh) scale(0.95); }
}

@keyframes blob-float-4 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-5vw, -6vh) scale(1.08); }
  100% { transform: translate(6vw, -10vh) scale(0.95); }
}

/* Ensure foreground content stacks above blobs */
header, main, footer, .container, .site-header, .site-footer, .workspace, article {
  position: relative;
  z-index: 1;
}
