@import url('fonts/fonts.css');
    /* MafLabs Exact Design System Styles */
    :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-sm: 8px;
      --radius-md: 10px;
      --radius-card: 14px;
      --card-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
      --primary-shadow: 0 6px 16px rgba(79, 70, 229, 0.28);
      --font-heading: "Outfit", system-ui, -apple-system, sans-serif;
      --font-body: "Inter", system-ui, -apple-system, sans-serif;
      --font-mono: ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;
      --status-success-text: #16a34a;
      --status-success-bg: #f0fdf4;
      --status-warning-text: #b45309;
      --status-warning-bg: #fffbeb;
      --status-error-text: #dc2626;
      --status-error-bg: #fef2f2;
    }

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

    body {
      background-color: #ffffff;
      color: var(--body);
      font-family: var(--font-body);
      font-size: 15px;
      line-height: 1.6;
      min-height: 100vh;
      position: relative;
      overflow-x: hidden;
    }

    /* Soft Mesh Glow Background Blobs */
    .mesh-glow {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 0;
      overflow: hidden;
    }
    .glow-blob {
      position: absolute;
      border-radius: 50%;
      filter: blur(100px);
    }
    .glow-left {
      top: -100px;
      left: -150px;
      width: 600px;
      height: 550px;
      background: radial-gradient(circle, rgba(169, 214, 245, 0.55) 0%, rgba(169, 214, 245, 0) 70%);
    }
    .glow-right {
      top: -80px;
      right: -150px;
      width: 650px;
      height: 600px;
      background: radial-gradient(circle, rgba(227, 201, 243, 0.45) 0%, rgba(227, 201, 243, 0) 70%);
    }

    /* Header */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 40;
      background: rgba(255, 255, 255, 0.9);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--card-border);
      height: 60px;
      display: flex;
      align-items: center;
    }
    .header-container {
      max-width: 1600px;
      width: 100%;
      margin: 0 auto;
      padding: 0 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .brand-logo {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
    }
    .brand-text {
      font-family: var(--font-heading);
      font-size: 20px;
      font-weight: 800;
      letter-spacing: -0.02em;
    }
    .brand-navy { color: var(--heading); }
    .brand-gradient-text {
      background: var(--brand-gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .site-nav {
      display: flex;
      align-items: center;
      gap: 14px;
    }
    .nav-link {
      color: var(--body);
      text-decoration: none;
      font-size: 14px;
      font-weight: 500;
      transition: color 0.15s ease;
    }
    .nav-link:hover { color: var(--brand-blue); }
    .nav-divider { color: #cbd5e1; font-size: 12px; }
    .nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--heading); padding: 4px; }

    /* Main Layout */
    .main-layout {
      position: relative;
      z-index: 1;
      max-width: 1600px;
      margin: 0 auto;
      padding: 12px 24px 40px;
    }

    /* Hero (< 140px on desktop) */
    .compact-hero {
      padding: 8px 0 16px;
      max-height: 140px;
    }
    .hero-top-row {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 6px;
    }
    .pill-badge {
      display: inline-block;
      padding: 2px 10px;
      border-radius: 999px;
      background: var(--badge-bg);
      border: 1px solid var(--badge-border);
      color: var(--badge-text);
      font-size: 12px;
      font-weight: 600;
    }
    .privacy-tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      font-weight: 500;
      color: #059669;
    }
    .hero-title {
      font-family: var(--font-heading);
      font-size: 26px;
      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: 14px;
      color: var(--muted);
      margin-top: 2px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    /* Toolbar */
    .workspace-section {
      margin-bottom: 48px;
    }
    .toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 12px;
      flex-wrap: wrap;
    }
    .toolbar-group {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      padding: 8px 16px;
      font-size: 14px;
      font-weight: 600;
      border-radius: var(--radius-md);
      cursor: pointer;
      border: 1px solid transparent;
      transition: all 0.15s ease;
      text-decoration: none;
      min-height: 38px;
    }
    .btn:focus-visible {
      outline: none;
      box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
    }
    .btn-primary {
      background: var(--brand-gradient);
      color: #ffffff;
      box-shadow: var(--primary-shadow);
      border: none;
    }
    .btn-primary:hover:not(:disabled) {
      transform: translateY(-1px);
      box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
    }
    .btn-secondary {
      background: #ffffff;
      border-color: var(--card-border);
      color: var(--heading);
    }
    .btn-secondary:hover:not(:disabled) {
      border-color: var(--brand-blue);
      color: var(--brand-blue);
    }
    .btn:disabled {
      opacity: 0.5;
      cursor: not-allowed;
      transform: none !important;
    }
    .btn-sm {
      padding: 5px 11px;
      font-size: 13px;
      min-height: 32px;
      border-radius: var(--radius-sm);
    }
    .btn-kbd {
      background: rgba(255, 255, 255, 0.25);
      padding: 2px 6px;
      border-radius: 4px;
      font-size: 11px;
      font-family: var(--font-mono);
      font-weight: 600;
    }
    .btn-icon-only {
      padding: 8px;
      min-width: 38px;
    }

    /* Encoding and Status Pills */
    .encoding-status-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 5px 12px;
      background: #ffffff;
      border: 1px solid var(--card-border);
      border-radius: var(--radius-md);
      font-size: 13px;
      color: var(--muted);
      font-weight: 500;
    }
    .status-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #10b981;
    }
    .inline-select {
      background: transparent;
      border: none;
      font-size: 13px;
      font-weight: 600;
      color: var(--heading);
      cursor: pointer;
      outline: none;
    }
    .badge-count {
      background: var(--brand-blue);
      color: #fff;
      font-size: 11px;
      font-weight: 700;
      padding: 1px 7px;
      border-radius: 999px;
    }

    /* Worker Progress Bar */
    .progress-bar-container {
      width: 100%;
      height: 20px;
      background: #f1f5f9;
      border-radius: 10px;
      overflow: hidden;
      margin-bottom: 12px;
      position: relative;
      display: flex;
      align-items: center;
      border: 1px solid var(--card-border);
    }
    .progress-bar-fill {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 0%;
      background: var(--brand-gradient);
      transition: width 0.15s ease;
    }
    .progress-bar-text {
      position: relative;
      z-index: 2;
      width: 100%;
      text-align: center;
      font-size: 11px;
      font-weight: 600;
      color: var(--heading);
    }

    /* Split Workspace: 100dvh - header - hero - toolbar (min 560px) */
    .split-workspace {
      display: flex;
      width: 100%;
      height: calc(100vh - 220px);
      min-height: 560px;
      gap: 0;
      background: transparent;
      position: relative;
    }

    .workspace-pane {
      background: var(--card-bg);
      backdrop-filter: blur(10px);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-card);
      box-shadow: var(--card-shadow);
      display: flex;
      flex-direction: column;
      overflow: hidden;
      position: relative;
    }
    .pane-left {
      width: 50%;
    }
    .pane-right {
      flex: 1;
    }

    /* Pane Header */
    .pane-header {
      padding: 10px 16px;
      background: rgba(248, 250, 252, 0.8);
      border-bottom: 1px solid var(--card-border);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      min-height: 50px;
    }
    .pane-title-group {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .pane-title {
      font-family: var(--font-heading);
      font-size: 15px;
      font-weight: 700;
      color: var(--heading);
    }
    .pane-stat {
      font-size: 12px;
      color: var(--muted);
      font-family: var(--font-mono);
      background: #f1f5f9;
      padding: 2px 7px;
      border-radius: 6px;
    }
    .pane-actions {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    /* Draggable Resizer */
    .workspace-resizer {
      width: 12px;
      cursor: col-resize;
      display: flex;
      align-items: center;
      justify-content: center;
      user-select: none;
      z-index: 5;
    }
    .resizer-handle {
      width: 4px;
      height: 48px;
      background: #cbd5e1;
      border-radius: 999px;
      transition: background 0.15s ease, transform 0.15s ease;
    }
    .workspace-resizer:hover .resizer-handle,
    .workspace-resizer.dragging .resizer-handle {
      background: var(--brand-blue);
      transform: scaleY(1.3);
    }

    /* Body & Code Editors */
    .pane-body {
      flex: 1;
      display: flex;
      position: relative;
      overflow: hidden;
      background: #ffffff;
    }
    .editor-body {
      display: flex;
      flex-direction: row;
    }
    .line-numbers {
      width: 44px;
      background: #fafafa;
      color: #94a3b8;
      font-family: var(--font-mono);
      font-size: 13px;
      line-height: 1.6;
      padding: 12px 6px;
      text-align: right;
      user-select: none;
      border-right: 1px solid #f1f5f9;
      overflow: hidden;
      white-space: pre-line;
    }
    .code-editor {
      flex: 1;
      width: 100%;
      height: 100%;
      border: none;
      outline: none;
      padding: 12px 16px;
      font-family: var(--font-mono);
      font-size: 14px;
      line-height: 1.6;
      color: var(--heading);
      background: transparent;
      resize: none;
      white-space: pre;
      overflow: auto;
      tab-size: 2;
    }
    .code-editor::placeholder {
      color: #94a3b8;
    }

    /* Drop Zone Overlay */
    .drop-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(37, 99, 235, 0.08);
      border: 2px dashed var(--brand-blue);
      border-radius: var(--radius-card);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 20;
      backdrop-filter: blur(4px);
    }
    .drop-message {
      text-align: center;
      color: var(--brand-blue);
      font-weight: 600;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
    }

    /* Output View Switcher */
    .view-toggle {
      display: inline-flex;
      background: #f1f5f9;
      border-radius: var(--radius-sm);
      padding: 2px;
      border: 1px solid var(--card-border);
    }
    .toggle-btn {
      background: transparent;
      border: none;
      padding: 3px 9px;
      font-size: 12px;
      font-weight: 600;
      color: var(--muted);
      border-radius: 6px;
      cursor: pointer;
    }
    .toggle-btn.active {
      background: #ffffff;
      color: var(--brand-blue);
      box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    }

    .output-text-container {
      width: 100%;
      height: 100%;
      display: flex;
    }

    /* Table View Preview */
    .output-table-container {
      flex: 1;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }
    .table-scroll-wrapper {
      flex: 1;
      overflow: auto;
    }
    .grid-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 13px;
      font-family: var(--font-mono);
    }
    .grid-table th {
      position: sticky;
      top: 0;
      background: #f8fafc;
      color: var(--heading);
      font-weight: 700;
      text-align: left;
      padding: 8px 12px;
      border-bottom: 2px solid var(--card-border);
      border-right: 1px solid var(--card-border);
      white-space: nowrap;
      z-index: 2;
    }
    .grid-table td {
      padding: 6px 12px;
      border-bottom: 1px solid #f1f5f9;
      border-right: 1px solid #f1f5f9;
      white-space: nowrap;
      color: var(--body);
      max-width: 320px;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .grid-table tr:hover td {
      background-color: #f8fafc;
    }
    .row-amber {
      background-color: #fffbeb !important;
    }
    .cell-repaired {
      background-color: #fef3c7 !important;
      color: #92400e !important;
      font-weight: 600;
      position: relative;
    }
    .row-num-cell {
      background: #f8fafc;
      color: #94a3b8;
      text-align: center;
      width: 44px;
      font-weight: 600;
      user-select: none;
    }
    .table-summary-bar {
      padding: 6px 14px;
      background: #f8fafc;
      border-top: 1px solid var(--card-border);
      font-size: 12px;
      color: var(--muted);
      display: flex;
      justify-content: space-between;
    }

    /* Focus Mode Overlay */
    body.is-focused .split-workspace {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      width: 100vw;
      height: 100vh;
      z-index: 100;
      background: #ffffff;
      padding: 16px;
      box-sizing: border-box;
    }

    /* Diagnostics & Change Log Drawer */
    .problems-drawer {
      position: fixed;
      bottom: 24px;
      right: 24px;
      width: 460px;
      max-width: calc(100vw - 48px);
      max-height: 480px;
      background: #ffffff;
      border: 1px solid var(--card-border);
      border-radius: var(--radius-card);
      box-shadow: 0 12px 36px rgba(15, 23, 42, 0.16);
      z-index: 50;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      animation: slideUp 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }
    @keyframes slideUp {
      from { transform: translateY(20px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }
    .drawer-header {
      padding: 12px 18px;
      background: #f8fafc;
      border-bottom: 1px solid var(--card-border);
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .drawer-title-group {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .drawer-title-group h3 {
      font-family: var(--font-heading);
      font-size: 15px;
      font-weight: 700;
      color: var(--heading);
    }
    .badge-pill-safe {
      background: #f0fdf4;
      color: #16a34a;
      border: 1px solid #bbf7d0;
      font-size: 11px;
      font-weight: 700;
      padding: 2px 7px;
      border-radius: 999px;
    }
    .badge-pill-guessed {
      background: #fffbeb;
      color: #b45309;
      border: 1px solid #fde68a;
      font-size: 11px;
      font-weight: 700;
      padding: 2px 7px;
      border-radius: 999px;
    }
    .drawer-filters {
      padding: 8px 18px;
      background: #ffffff;
      border-bottom: 1px solid #f1f5f9;
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 12px;
    }
    .drawer-body {
      flex: 1;
      overflow-y: auto;
      padding: 12px 18px;
      max-height: 360px;
    }
    .empty-drawer-state {
      text-align: center;
      padding: 30px 10px;
      color: var(--muted);
      font-size: 13px;
    }
    .change-item {
      padding: 10px;
      border: 1px solid var(--card-border);
      border-radius: var(--radius-sm);
      margin-bottom: 8px;
      background: #fafafa;
      font-size: 13px;
    }
    .change-item-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 4px;
    }
    .change-rule {
      font-weight: 700;
      color: var(--heading);
    }
    .change-loc {
      font-family: var(--font-mono);
      font-size: 12px;
      color: var(--brand-blue);
    }
    .change-diff {
      font-family: var(--font-mono);
      font-size: 12px;
      margin-top: 4px;
      word-break: break-all;
    }
    .diff-before {
      color: #dc2626;
      text-decoration: line-through;
    }
    .diff-after {
      color: #16a34a;
      font-weight: 600;
      margin-left: 6px;
    }

    /* Dropdown Menus */
    .dropdown-wrapper { position: relative; }
    .dropdown-menu {
      position: absolute;
      right: 0;
      top: calc(100% + 6px);
      background: #ffffff;
      border: 1px solid var(--card-border);
      border-radius: var(--radius-md);
      box-shadow: 0 10px 25px rgba(0,0,0,0.1);
      min-width: 220px;
      z-index: 60;
      padding: 6px;
    }
    .dropdown-item {
      width: 100%;
      text-align: left;
      background: none;
      border: none;
      padding: 8px 12px;
      font-size: 13px;
      color: var(--heading);
      border-radius: 6px;
      cursor: pointer;
    }
    .dropdown-item:hover {
      background: #f1f5f9;
      color: var(--brand-blue);
    }
    .dropdown-divider {
      height: 1px;
      background: var(--card-border);
      margin: 4px 0;
    }

    /* Modal Dialogs */
    .modal-backdrop {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(15, 23, 42, 0.45);
      backdrop-filter: blur(4px);
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }
    .modal-dialog {
      background: #ffffff;
      border-radius: var(--radius-card);
      border: 1px solid var(--card-border);
      box-shadow: 0 20px 40px rgba(0,0,0,0.18);
      width: 100%;
      max-width: 600px;
      max-height: 90vh;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      animation: modalScale 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .modal-sm { max-width: 440px; }
    @keyframes modalScale {
      from { transform: scale(0.95); opacity: 0; }
      to { transform: scale(1); opacity: 1; }
    }
    .modal-header {
      padding: 16px 20px;
      border-bottom: 1px solid var(--card-border);
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .modal-header h3 {
      font-family: var(--font-heading);
      font-size: 18px;
      font-weight: 700;
      color: var(--heading);
    }
    .modal-body {
      padding: 20px;
      overflow-y: auto;
    }
    .modal-footer {
      padding: 14px 20px;
      border-top: 1px solid var(--card-border);
      display: flex;
      justify-content: flex-end;
      gap: 10px;
      background: #f8fafc;
    }
    .option-section {
      margin-bottom: 20px;
      padding-bottom: 14px;
      border-bottom: 1px solid #f1f5f9;
    }
    .option-section:last-child {
      margin-bottom: 0;
      padding-bottom: 0;
      border-bottom: none;
    }
    .option-section h4 {
      font-size: 13px;
      font-weight: 700;
      color: var(--brand-blue);
      text-transform: uppercase;
      letter-spacing: 0.04em;
      margin-bottom: 10px;
    }
    .option-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 10px;
      font-size: 14px;
      color: var(--heading);
    }
    .form-control {
      padding: 6px 10px;
      border: 1px solid var(--card-border);
      border-radius: var(--radius-sm);
      font-size: 13px;
      background: #ffffff;
      color: var(--heading);
      outline: none;
    }
    .form-control:focus {
      border-color: var(--brand-blue);
    }

    /* Shortcuts Table */
    .shortcuts-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 14px;
    }
    .shortcuts-table td {
      padding: 10px 8px;
      border-bottom: 1px solid #f1f5f9;
    }
    .shortcuts-table kbd {
      background: #f1f5f9;
      border: 1px solid #cbd5e1;
      padding: 3px 7px;
      border-radius: 5px;
      font-family: var(--font-mono);
      font-size: 12px;
      box-shadow: 0 1px 0 #cbd5e1;
    }

    /* Mobile Sticky Action Bar */
    .mobile-action-bar {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      border-top: 1px solid var(--card-border);
      padding: 10px 16px;
      z-index: 45;
      gap: 10px;
    }
    .mobile-action-bar .btn {
      flex: 1;
      min-height: 44px;
    }

    /* SEO Rich Copy & Accordions */
    .seo-section {
      border-top: 1px solid var(--card-border);
      padding-top: 48px;
      margin-top: 32px;
    }
    .seo-container {
      max-width: 900px;
      margin: 0 auto;
    }
    .seo-article h2 {
      font-family: var(--font-heading);
      font-size: 26px;
      font-weight: 800;
      color: var(--heading);
      letter-spacing: -0.02em;
      margin-bottom: 16px;
    }
    .seo-article h3 {
      font-family: var(--font-heading);
      font-size: 20px;
      font-weight: 700;
      color: var(--heading);
      margin: 32px 0 14px;
    }
    .seo-article p {
      margin-bottom: 16px;
      line-height: 1.7;
    }
    .numbered-guide {
      padding-left: 20px;
      margin-bottom: 24px;
    }
    .numbered-guide li {
      margin-bottom: 12px;
      line-height: 1.6;
    }
    .feature-bullets {
      padding-left: 20px;
      margin-bottom: 24px;
    }
    .feature-bullets li {
      margin-bottom: 10px;
    }
    .feature-bullets code,
    .seo-article code {
      background: #f1f5f9;
      padding: 2px 6px;
      border-radius: 4px;
      font-family: var(--font-mono);
      font-size: 13px;
      color: var(--brand-violet);
    }
    .code-comparison-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      margin: 20px 0 28px;
    }
    .code-block-wrapper {
      background: #0f172a;
      border-radius: var(--radius-md);
      overflow: hidden;
      position: relative;
    }
    .code-block-badge {
      display: block;
      padding: 6px 12px;
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }
    .code-block-badge.error { background: #ef4444; color: #fff; }
    .code-block-badge.success { background: #10b981; color: #fff; }
    .code-block-wrapper pre {
      padding: 14px;
      color: #e2e8f0;
      font-family: var(--font-mono);
      font-size: 12px;
      line-height: 1.5;
      overflow-x: auto;
    }
    .problems-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 16px;
      margin: 20px 0 28px;
    }
    .problem-card {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-md);
      padding: 16px;
    }
    .problem-card h4 {
      color: var(--heading);
      font-size: 15px;
      font-weight: 700;
      margin-bottom: 6px;
    }
    .problem-card p {
      font-size: 13px;
      color: var(--muted);
      margin: 0;
      line-height: 1.5;
    }

    /* FAQ Details & Summary */
    .faq-accordion-list {
      margin-top: 16px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .faq-item {
      background: #ffffff;
      border: 1px solid var(--card-border);
      border-radius: var(--radius-md);
      overflow: hidden;
      transition: border-color 0.15s ease;
    }
    .faq-item[open] {
      border-color: var(--brand-blue);
    }
    .faq-question {
      padding: 14px 18px;
      font-weight: 600;
      color: var(--heading);
      cursor: pointer;
      list-style: none;
      display: flex;
      align-items: center;
      justify-content: space-between;
      user-select: none;
    }
    .faq-question::-webkit-details-marker { display: none; }
    .faq-question::after {
      content: "+";
      font-size: 18px;
      color: var(--brand-blue);
      font-weight: 700;
      transition: transform 0.2s ease;
    }
    .faq-item[open] .faq-question::after {
      content: "−";
    }
    .faq-answer {
      padding: 0 18px 16px;
      color: var(--body);
      font-size: 14px;
      line-height: 1.6;
    }

    /* Related Tools Grid */
    .related-tools-section {
      margin-top: 48px;
      border-top: 1px solid var(--card-border);
      padding-top: 28px;
    }
    .related-tools-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 16px;
      margin-top: 16px;
    }
    .tool-card-link {
      display: flex;
      flex-direction: column;
      padding: 16px;
      background: #ffffff;
      border: 1px solid var(--card-border);
      border-radius: var(--radius-md);
      text-decoration: none;
      transition: all 0.15s ease;
    }
    .tool-card-link:hover {
      border-color: var(--brand-blue);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
    }
    .tool-card-title {
      font-family: var(--font-heading);
      font-weight: 700;
      color: var(--heading);
      font-size: 15px;
      margin-bottom: 4px;
    }
    .tool-card-desc {
      font-size: 13px;
      color: var(--muted);
      line-height: 1.5;
    }

    /* Site Footer */
    .site-footer {
      border-top: 1px solid var(--card-border);
      background: #ffffff;
      padding: 36px 24px 24px;
      margin-top: 48px;
      position: relative;
      z-index: 10;
    }
    .footer-container {
      max-width: 1600px;
      margin: 0 auto;
    }
    .footer-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 20px;
      padding-bottom: 24px;
      border-bottom: 1px solid #f1f5f9;
    }
    .footer-brand {
      font-family: var(--font-heading);
      font-size: 18px;
      font-weight: 800;
    }
    .footer-tagline {
      font-size: 13px;
      color: var(--muted);
      font-weight: normal;
      margin-top: 2px;
    }
    .footer-links {
      display: flex;
      gap: 20px;
    }
    .footer-links a {
      color: var(--body);
      text-decoration: none;
      font-size: 14px;
    }
    .footer-links a:hover { color: var(--brand-blue); }
    .footer-bottom {
      padding-top: 20px;
      text-align: center;
      font-size: 13px;
      color: var(--muted);
    }

    /* Hidden Utility */
    .hidden { display: none !important; }
    .visually-hidden {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    /* Responsive Queries */
    @media (max-width: 900px) {
      .split-workspace {
        flex-direction: column;
        height: auto;
      }
      .workspace-pane {
        width: 100% !important;
        min-height: 60vh;
      }
      .workspace-resizer {
        display: none;
      }
      .mobile-action-bar {
        display: flex;
      }
      .toolbar-right {
        width: 100%;
        justify-content: space-between;
      }
      .code-comparison-grid {
        grid-template-columns: 1fr;
      }
      .main-layout {
        padding-bottom: 80px;
      }
    }
    @media (max-width: 700px) {
      .site-nav {
        display: none;
      }
      .nav-toggle {
        display: block;
      }
      .hero-title {
        font-size: 22px;
      }
      .hero-subtitle {
        white-space: normal;
      }
    }

    /* Reduced Motion */
    @media (prefers-reduced-motion: reduce) {
      * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
      }
    }


/* 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;
}
