@import url('fonts/fonts.css');

    /* Design Tokens matching MafLabs homepage */
    :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;
      --card-radius: 14px;
      --card-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
      --focus-ring: 0 0 0 4px rgba(37, 99, 235, 0.15);
      --status-success: #16a34a;
      --status-success-bg: #f0fdf4;
      --status-warning: #b45309;
      --status-warning-bg: #fffbeb;
      --status-error: #dc2626;
      --status-error-bg: #fef2f2;
      --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;
    }

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

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

    /* Soft Mesh Glow Background (Light Theme Only) */
    .bg-mesh {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      pointer-events: none;
      z-index: -1;
      background:
        radial-gradient(circle 600px at 5% 15%, rgba(169, 214, 245, 0.55), transparent 70%),
        radial-gradient(circle 650px at 95% 20%, rgba(227, 201, 243, 0.45), transparent 70%),
        linear-gradient(180deg, transparent 65%, #ffffff 100%);
      filter: blur(40px);
    }

    /* Header */
    header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 64px;
      padding: 0 2rem;
      border-bottom: 1px solid rgba(226, 232, 240, 0.8);
      background: rgba(255, 255, 255, 0.85);
      backdrop-filter: blur(12px);
      position: sticky;
      top: 0;
      z-index: 40;
    }

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

    .brand-logo-icon {
      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-family: var(--font-heading);
      font-size: 1.1rem;
      box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
    }

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

    .brand-text .navy {
      color: var(--heading);
    }

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

    .nav-links {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      list-style: none;
    }

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

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

    .nav-toggle-btn {
      display: none;
      background: none;
      border: none;
      padding: 6px;
      cursor: pointer;
      color: var(--heading);
    }

    /* Compact Hero Section (<140px tall) */
    .hero-section {
      padding: 0.85rem 2rem 0.5rem;
      max-width: 1720px;
      margin: 0 auto;
    }

    .hero-badge-wrap {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: 0.35rem;
    }

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

    .hero-h1 {
      font-family: var(--font-heading);
      font-weight: 800;
      font-size: 1.55rem;
      color: var(--heading);
      letter-spacing: -0.03em;
      line-height: 1.25;
      margin-bottom: 0.2rem;
    }

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

    .hero-subline {
      font-size: 0.875rem;
      color: var(--body);
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 0.75rem;
    }

    .privacy-tag {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      font-size: 0.78rem;
      color: var(--status-success);
      background: var(--status-success-bg);
      padding: 2px 8px;
      border-radius: 6px;
      font-weight: 600;
    }

    /* Workspace Shell */
    .workspace-wrapper {
      max-width: 1720px;
      margin: 0 auto;
      padding: 0.5rem 1.5rem 1.5rem;
    }

    /* Workspace Toolbar */
    .workspace-toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 0.75rem;
      margin-bottom: 0.6rem;
      background: var(--card-bg);
      backdrop-filter: blur(10px);
      padding: 0.5rem 0.85rem;
      border-radius: var(--card-radius);
      border: 1px solid var(--card-border);
      box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
    }

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

    /* Buttons */
    .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.5rem 0.9rem;
      cursor: pointer;
      transition: all 0.15s ease;
      text-decoration: none;
      border: none;
      min-height: 38px;
      user-select: none;
    }

    .btn:focus-visible {
      outline: none;
      box-shadow: var(--focus-ring);
    }

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

    .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);
    }

    .btn-sm {
      padding: 0.35rem 0.65rem;
      font-size: 0.78rem;
      min-height: 32px;
      border-radius: 8px;
    }

    .btn-icon {
      padding: 0.35rem;
      min-width: 32px;
      min-height: 32px;
    }

    /* Split Screen Panes Layout */
    .split-container {
      display: flex;
      height: calc(100vh - 215px);
      min-height: 570px;
      position: relative;
      gap: 0;
      border-radius: var(--card-radius);
      box-shadow: var(--card-shadow);
    }

    /* Focus Mode Overlay */
    .split-container.is-focus-mode {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      z-index: 100;
      padding: 1rem;
      background: #ffffff;
      border-radius: 0;
    }

    .pane {
      background: var(--card-bg);
      backdrop-filter: blur(12px);
      border: 1px solid var(--card-border);
      border-radius: var(--card-radius);
      display: flex;
      flex-direction: column;
      overflow: hidden;
      position: relative;
    }

    #paneLeft,
    .pane-left {
      width: 50%;
      min-width: 25%;
    }

    #paneRight,
    .pane-right {
      flex: 1;
      min-width: 25%;
    }

    .pane-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.6rem 0.9rem;
      border-bottom: 1px solid var(--card-border);
      background: rgba(255, 255, 255, 0.95);
    }

    .pane-title-group {
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }

    .pane-title {
      font-family: var(--font-heading);
      font-weight: 700;
      font-size: 0.95rem;
      color: var(--heading);
    }

    .pane-stats {
      font-size: 0.75rem;
      color: var(--muted);
      font-family: var(--font-mono);
      background: #f1f5f9;
      padding: 2px 7px;
      border-radius: 6px;
    }

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

    .pane-body {
      flex: 1;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      position: relative;
    }

    /* Draggable Divider */
    .split-divider {
      width: 10px;
      cursor: col-resize;
      background: transparent;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      z-index: 10;
      user-select: none;
      margin: 0 -5px;
    }

    .split-divider-handle {
      width: 4px;
      height: 48px;
      border-radius: 999px;
      background: #cbd5e1;
      transition: background 0.2s;
    }

    .split-divider:hover .split-divider-handle,
    .split-divider.is-dragging .split-divider-handle {
      background: var(--brand-blue);
      height: 72px;
    }

    /* Left Editor Area */
    .editor-textarea {
      flex: 1;
      width: 100%;
      height: 100%;
      border: none;
      outline: none;
      padding: 1rem;
      resize: none;
      font-family: var(--font-mono);
      font-size: 0.92rem;
      line-height: 1.6;
      color: var(--heading);
      background: transparent;
    }

    .editor-textarea::placeholder {
      color: #94a3b8;
    }

    .dropzone-overlay {
      position: absolute;
      inset: 0;
      background: rgba(239, 246, 255, 0.92);
      border: 2px dashed var(--brand-blue);
      display: none;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 0.5rem;
      color: var(--brand-blue);
      font-weight: 600;
      z-index: 20;
    }

    .dropzone-overlay.is-active {
      display: flex;
    }

    /* Right Split Panes: Tree (top) and Viewer (bottom) */
    .files-pane-top {
      height: 42%;
      min-height: 140px;
      border-bottom: 1px solid var(--card-border);
      display: flex;
      flex-direction: column;
      background: #ffffff;
    }

    .files-pane-bottom {
      flex: 1;
      display: flex;
      flex-direction: column;
      background: rgba(248, 250, 252, 0.6);
      overflow: hidden;
    }

    .file-tree-container {
      flex: 1;
      overflow-y: auto;
      padding: 0.5rem;
    }

    .tree-item {
      display: flex;
      align-items: center;
      gap: 0.45rem;
      padding: 0.35rem 0.5rem;
      border-radius: 6px;
      font-size: 0.82rem;
      font-family: var(--font-mono);
      cursor: pointer;
      user-select: none;
      transition: background 0.15s;
    }

    .tree-item:hover {
      background: #f1f5f9;
    }

    .tree-item.is-selected {
      background: #e0f2fe;
      color: #0369a1;
      font-weight: 600;
    }

    .tree-item.is-superseded {
      opacity: 0.55;
      text-decoration: line-through;
    }

    .tree-item input[type="checkbox"] {
      cursor: pointer;
      width: 15px;
      height: 15px;
      accent-color: var(--brand-blue);
    }

    .tree-item-name {
      flex: 1;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    /* Confidence & Warning Badges */
    .chip {
      font-size: 0.7rem;
      padding: 1px 6px;
      border-radius: 4px;
      font-weight: 600;
      text-transform: uppercase;
      font-family: var(--font-body);
    }

    .chip-fence { background: #e0e7ff; color: #4338ca; }
    .chip-comment { background: #dcfce7; color: #15803d; }
    .chip-nearby { background: #fef3c7; color: #b45309; }
    .chip-guessed { background: #f1f5f9; color: #475569; }
    .chip-warning { background: #fee2e2; color: #b91c1c; }
    .chip-patch { background: #ede9fe; color: #6d28d9; }
    .chip-text { background: #f3f4f6; color: #6b7280; }

    /* Viewer / Editor Bottom Pane */
    .viewer-meta-bar {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      padding: 0.45rem 0.85rem;
      border-bottom: 1px solid var(--card-border);
      background: #ffffff;
      flex-wrap: wrap;
    }

    .meta-input-group {
      display: flex;
      align-items: center;
      gap: 0.35rem;
    }

    .meta-input-group label {
      font-size: 0.74rem;
      font-weight: 600;
      color: var(--muted);
    }

    .meta-input {
      font-family: var(--font-mono);
      font-size: 0.8rem;
      padding: 0.25rem 0.5rem;
      border: 1px solid var(--card-border);
      border-radius: 6px;
      outline: none;
      background: #ffffff;
    }

    .meta-input:focus {
      border-color: var(--brand-blue);
      box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
    }

    .viewer-editor {
      flex: 1;
      width: 100%;
      height: 100%;
      border: none;
      outline: none;
      padding: 0.85rem 1rem;
      font-family: var(--font-mono);
      font-size: 0.88rem;
      line-height: 1.6;
      background: #fafafa;
      color: #1e293b;
      resize: none;
    }

    /* Popover Modal for Options */
    .popover-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.25);
      backdrop-filter: blur(4px);
      z-index: 60;
      display: none;
      align-items: center;
      justify-content: center;
    }

    .popover-backdrop.is-open {
      display: flex;
    }

    .popover-card {
      background: #ffffff;
      border-radius: var(--card-radius);
      width: 90%;
      max-width: 480px;
      box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
      border: 1px solid var(--card-border);
      padding: 1.5rem;
    }

    .popover-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 1.25rem;
    }

    .popover-header h3 {
      font-family: var(--font-heading);
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--heading);
    }

    .option-row {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 1rem;
      padding: 0.65rem 0;
      border-bottom: 1px solid #f1f5f9;
    }

    .option-label-wrap {
      flex: 1;
    }

    .option-title {
      font-size: 0.88rem;
      font-weight: 600;
      color: var(--heading);
    }

    .option-desc {
      font-size: 0.78rem;
      color: var(--muted);
      margin-top: 2px;
    }

    .option-control select,
    .option-control input[type="text"] {
      padding: 0.35rem 0.6rem;
      border: 1px solid var(--card-border);
      border-radius: 6px;
      font-size: 0.85rem;
      outline: none;
    }

    /* Toast Notification / Aria Live */
    .toast-notice {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      background: #0f172a;
      color: #ffffff;
      padding: 0.65rem 1.1rem;
      border-radius: 8px;
      font-size: 0.85rem;
      font-weight: 500;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
      z-index: 1000;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      opacity: 0;
      transform: translateY(10px);
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
      pointer-events: none;
    }

    .toast-notice.is-show {
      opacity: 1;
      transform: translateY(0);
    }

    .toast-success {
      background: var(--status-success);
    }

    /* Progress Bar */
    .progress-bar-container {
      width: 100%;
      height: 3px;
      background: #e2e8f0;
      position: absolute;
      top: 0;
      left: 0;
      overflow: hidden;
      display: none;
    }

    .progress-bar-fill {
      width: 0%;
      height: 100%;
      background: var(--brand-gradient);
      transition: width 0.2s ease;
    }

    /* SEO Longform Content Section */
    .seo-content-section {
      max-width: 980px;
      margin: 3.5rem auto 2rem;
      padding: 0 1.5rem;
      color: var(--body);
    }

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

    .seo-content-section h3 {
      font-family: var(--font-heading);
      font-weight: 700;
      font-size: 1.25rem;
      color: var(--heading);
      margin: 1.5rem 0 0.5rem;
    }

    .seo-content-section p {
      font-size: 0.98rem;
      line-height: 1.7;
      margin-bottom: 1.1rem;
    }

    .seo-content-section ol, .seo-content-section ul {
      margin: 0.75rem 0 1.25rem 1.5rem;
      font-size: 0.98rem;
      line-height: 1.7;
    }

    .seo-content-section li {
      margin-bottom: 0.4rem;
    }

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

    .code-block-box {
      background: #f8fafc;
      border: 1px solid var(--card-border);
      border-radius: 10px;
      overflow: hidden;
    }

    .code-block-header {
      background: #edf2f7;
      padding: 0.4rem 0.8rem;
      font-size: 0.78rem;
      font-weight: 700;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .code-block-box pre {
      padding: 0.85rem;
      font-family: var(--font-mono);
      font-size: 0.82rem;
      line-height: 1.5;
      overflow-x: auto;
      color: #1e293b;
    }

    /* FAQ Accordion */
    .faq-accordion {
      margin: 1.5rem 0;
    }

    details.faq-item {
      background: #ffffff;
      border: 1px solid var(--card-border);
      border-radius: 10px;
      margin-bottom: 0.75rem;
      overflow: hidden;
      transition: all 0.2s ease;
    }

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

    details.faq-item summary {
      padding: 1rem 1.25rem;
      font-family: var(--font-heading);
      font-weight: 700;
      font-size: 1.05rem;
      color: var(--heading);
      cursor: pointer;
      user-select: none;
      position: relative;
      list-style: none;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

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

    details.faq-item summary::after {
      content: '+';
      font-size: 1.3rem;
      color: var(--brand-blue);
      font-weight: 400;
      transition: transform 0.2s;
    }

    details.faq-item[open] summary::after {
      content: '−';
    }

    .faq-answer {
      padding: 0 1.25rem 1.25rem;
      font-size: 0.95rem;
      line-height: 1.65;
      color: var(--body);
    }

    /* Footer */
    footer {
      border-top: 1px solid var(--card-border);
      background: #ffffff;
      padding: 3rem 2rem 2rem;
      margin-top: 4rem;
    }

    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer-top {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 2rem;
      margin-bottom: 2.5rem;
    }

    .footer-brand h4 {
      font-family: var(--font-heading);
      font-weight: 800;
      font-size: 1.3rem;
      margin-bottom: 0.5rem;
    }

    .footer-brand p {
      font-size: 0.88rem;
      color: var(--muted);
      max-width: 320px;
    }

    .footer-links-col h5 {
      font-size: 0.85rem;
      font-weight: 700;
      color: var(--heading);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 0.85rem;
    }

    .footer-links-col ul {
      list-style: none;
    }

    .footer-links-col li {
      margin-bottom: 0.45rem;
    }

    .footer-links-col a {
      text-decoration: none;
      color: var(--muted);
      font-size: 0.88rem;
      transition: color 0.15s;
    }

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

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

    /* Embedded Test Suite Modal */
    .test-suite-modal {
      position: fixed;
      inset: 0;
      background: rgba(15, 23, 42, 0.4);
      backdrop-filter: blur(6px);
      z-index: 120;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 1.5rem;
    }

    .test-suite-modal.is-active {
      display: flex;
    }

    .test-suite-window {
      background: #ffffff;
      width: 100%;
      max-width: 780px;
      max-height: 85vh;
      border-radius: var(--card-radius);
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
      border: 1px solid var(--card-border);
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .test-suite-header {
      padding: 1rem 1.25rem;
      border-bottom: 1px solid var(--card-border);
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: #f8fafc;
    }

    .test-suite-body {
      flex: 1;
      overflow-y: auto;
      padding: 1.25rem;
      font-family: var(--font-mono);
      font-size: 0.84rem;
    }

    .test-item-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.5rem 0.75rem;
      border-radius: 6px;
      margin-bottom: 0.4rem;
      background: #f8fafc;
      border: 1px solid #e2e8f0;
    }

    .test-item-row.passed {
      background: var(--status-success-bg);
      border-color: #bbf7d0;
      color: var(--status-success);
    }

    .test-item-row.failed {
      background: var(--status-error-bg);
      border-color: #fecaca;
      color: var(--status-error);
    }

    /* Sticky Bottom Bar for Mobile (<900px) */
    .mobile-sticky-action-bar {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: #ffffff;
      border-top: 1px solid var(--card-border);
      padding: 0.75rem 1rem;
      z-index: 50;
      box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
      gap: 0.75rem;
    }

    /* Responsive Queries */
    @media (max-width: 900px) {
      .split-container {
        flex-direction: column;
        height: auto;
        min-height: unset;
      }
      .pane-left, .pane-right {
        width: 100% !important;
        min-height: 55vh;
      }
      .split-divider {
        display: none;
      }
      .code-comparison-grid {
        grid-template-columns: 1fr;
      }
      .mobile-sticky-action-bar {
        display: flex;
      }
      body {
        padding-bottom: 70px;
      }
    }

    @media (max-width: 700px) {
      header {
        padding: 0 1rem;
      }
      .nav-links {
        display: none;
      }
      .nav-toggle-btn {
        display: block;
      }
      .hero-section {
        padding: 0.75rem 1rem 0.5rem;
      }
      .workspace-wrapper {
        padding: 0.5rem 0.75rem 1rem;
      }
      .hero-h1 {
        font-size: 1.3rem;
      }
    }

    /* Accessibility: Reduced Motion */
    @media (prefers-reduced-motion: reduce) {
      *, ::before, ::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: initial !important;
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
      }
    }


/* Ambient Viewport Floating Mesh Blobs */
.blob-bg-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  transition: all 0.5s ease;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, rgba(168, 85, 247, 0) 70%);
  top: -100px;
  left: -100px;
  animation: blob-float-1 25s infinite alternate ease-in-out;
}

.blob-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35) 0%, rgba(14, 165, 233, 0) 70%);
  bottom: -150px;
  right: -150px;
  animation: blob-float-2 28s infinite alternate ease-in-out;
}

.blob-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, rgba(244, 63, 94, 0) 70%);
  top: 40%;
  right: 15%;
  animation: blob-float-3 22s infinite alternate ease-in-out;
}

.blob-4 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(20, 184, 166, 0) 70%);
  bottom: 10%;
  left: 20%;
  animation: blob-float-4 30s infinite alternate ease-in-out;
}

@keyframes blob-float-1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(120px, 80px) scale(1.1); }
  100% { transform: translate(50px, 150px) scale(0.95); }
}

@keyframes blob-float-2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-100px, -90px) scale(1.08); }
  100% { transform: translate(-140px, -40px) scale(0.92); }
}

@keyframes blob-float-3 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-80px, 110px) scale(1.15); }
  100% { transform: translate(-120px, -60px) scale(0.9); }
}

@keyframes blob-float-4 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(90px, -120px) scale(1.05); }
  100% { transform: translate(140px, 60px) scale(0.95); }
}

