* { box-sizing: border-box; }

:root {
  color-scheme: light;
  --primary: #10b981;
  --primary-hover: #059669;
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  transition: opacity 0s;
}

body.loading { opacity: 0; }

::selection {
  background: var(--primary);
  color: #fff;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }
.inset-4 { inset: 1rem; }
.top-0 { top: 0; }
.top-3 { top: 0.75rem; }
.top-20 { top: 5rem; }
.right-3 { right: 0.75rem; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.left-3 { left: 0.75rem; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-50 { z-index: 50; }
.z-\[60\] { z-index: 60; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-4 { margin-top: 1rem; }
.mt-auto { margin-top: auto; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.-ml-5 { margin-left: -1.25rem; }
.block { display: block; }
.flex { display: flex; }
.hidden { display: none; }
.h-3\.5 { height: 0.875rem; }
.h-4 { height: 1rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-56 { height: 14rem; }
.h-auto { height: auto; }
.h-full { height: 100%; }
.min-h-\[1\.25rem\] { min-height: 1.25rem; }
.min-h-\[400px\] { min-height: 400px; }
.min-h-screen { min-height: 100vh; }
.w-3\.5 { width: 0.875rem; }
.w-4 { width: 1rem; }
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-\[50\%\] { width: 50%; }
.w-auto { width: auto; }
.w-fit { width: fit-content; }
.w-full { width: 100%; }
.max-h-\[65vh\] { max-height: 65vh; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-full { max-width: 100%; }
.max-w-none { max-width: none; }
.flex-1 { flex: 1 1 0%; }
.flex-grow { flex-grow: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.cursor-col-resize { cursor: col-resize; }
.cursor-pointer { cursor: pointer; }
.select-none { user-select: none; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.space-y-2\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.625rem; }
.overflow-hidden { overflow: hidden; }
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }
.border { border: 1px solid; }
.border-2 { border: 2px solid; }
.border-b { border-bottom: 1px solid; }
.border-b-2 { border-bottom: 2px solid; }
.border-r-\[1\.5px\] { border-right: 1.5px solid; }
.border-dashed { border-style: dashed; }
.border-white { border-color: #fff; }
.border-gray-100 { border-color: #f3f4f6; }
.border-gray-200 { border-color: #e5e7eb; }
.border-primary { border-color: var(--primary); }
.bg-white { background-color: #fff; }
.bg-white\/80 { background-color: rgba(255, 255, 255, 0.8); }
.bg-white\/90 { background-color: rgba(255, 255, 255, 0.9); }
.bg-white\/95 { background-color: rgba(255, 255, 255, 0.95); }
.bg-gray-50\/50 { background-color: rgba(249, 250, 251, 0.5); }
.bg-gray-50\/80 { background-color: rgba(249, 250, 251, 0.8); }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-900 { background-color: #111827; }
.bg-emerald-600 { background-color: #059669; }
.bg-primary { background-color: var(--primary); }
[class*="bg-[url("] {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0iI2Y5ZmRmZCI+PHJlY3Qgd2lkdGg9IjEwIiBoZWlnaHQ9IjEwIiBmaWxsPSIjZjJmMmYyIi8+PHJlY3QgeD0iMTAiIHk9IjEwIiB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIGZpbGw9IiNmMmYyZjIiLz48L3N2Zz4=");
}
.p-5 { padding: 1.25rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.pt-12 { padding-top: 3rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-12 { padding-bottom: 3rem; }
.text-center { text-align: center; }
.font-mono { font-family: Consolas, "SFMono-Regular", monospace; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.tracking-tight { letter-spacing: -0.025em; }
.text-white { color: #fff; }
.text-emerald-100 { color: #d1fae5; }
.text-emerald-500 { color: #10b981; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-gray-900 { color: #111827; }
.text-primary { color: var(--primary); }
.text-warning { color: #b45309; }
.underline { text-decoration-line: underline; }
.underline-offset-2 { text-underline-offset: 2px; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-\[0_1px_3px_rgba\(0\,0\,0\,0\.2\)\] { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); }
.shadow-\[1px_0_4px_rgba\(0\,0\,0\,0\.15\)\] { box-shadow: 1px 0 4px rgba(0, 0, 0, 0.15); }
.box-content { box-sizing: content-box; }
.backdrop-blur { backdrop-filter: blur(8px); }
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.backdrop-blur-md { backdrop-filter: blur(12px); }
.transition-all { transition-property: all; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; }
.transition-opacity { transition-property: opacity; }
.transition-transform { transition-property: transform; }
.transition-all,
.transition-colors,
.transition-opacity,
.transition-transform {
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.duration-100 { transition-duration: 100ms; }
.duration-200 { transition-duration: 200ms; }
.object-contain { object-fit: contain; }
.object-right-bottom { object-position: right bottom; }
.pointer-events-none { pointer-events: none; }
.hover\:bg-black:hover { background-color: #000; }
.hover\:bg-gray-50:hover { background-color: #f9fafb; }
.hover\:bg-primary-hover:hover { background-color: var(--primary-hover); }
.hover\:text-black:hover { color: #000; }
.hover\:text-primary:hover,
.hover\:text-primary-hover:hover { color: var(--primary-hover); }
.hover\:text-white:hover { color: #fff; }
.active\:scale-\[0\.98\]:active { transform: scale(0.98); }
.group:hover .group-hover\:border-gray-300 { border-color: #d1d5db; }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:text-gray-700 { color: #374151; }
.animate-spin { animation: spin 1s linear infinite; }

.batch-list {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
}

.batch-card {
  display: grid;
  grid-template-columns: minmax(320px, 42%) minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-height: 156px;
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background: #fff;
}

.batch-comparison {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.5rem;
  min-width: 0;
}

.batch-pane {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 132px;
  border-radius: 0.5rem;
  background: #f9fafb;
  overflow: hidden;
}

.batch-pane-label {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 1;
  padding: 0.125rem 0.375rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.9);
  color: #374151;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1rem;
}

.batch-image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.batch-main {
  min-width: 0;
  text-align: left;
}

.batch-title {
  margin: 0 0 0.375rem;
  overflow: hidden;
  color: #111827;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.batch-status {
  color: #6b7280;
  font-size: 0.75rem;
  line-height: 1rem;
}

.batch-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.batch-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  min-height: 2.25rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  transition: transform 100ms, background-color 150ms;
}

.batch-button:active { transform: scale(0.98); }

.batch-button.primary {
  background: var(--primary);
  color: #fff;
}

.batch-button.secondary {
  background: #111827;
  color: #fff;
}

.batch-button svg {
  width: 1rem;
  height: 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (min-width: 640px) {
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 768px) {
  .md\:inline-block { display: inline-block; }
  .md\:flex-row { flex-direction: row; }
  .md\:w-64 { width: 16rem; }
  .md\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
}

@media (max-width: 767px) {
  .batch-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .batch-pane {
    height: 116px;
  }

  .batch-actions {
    justify-content: flex-end;
  }
}

@media (min-width: 1024px) {
  .lg\:w-72 { width: 18rem; }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}

.nav-tabs {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.nav-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #4b5563;
  transition: background-color 150ms ease, color 150ms ease;
}

.nav-tab:hover {
  background-color: #f3f4f6;
  color: #111827;
}

.nav-tab.active {
  background-color: #ecfdf5;
  color: #059669;
}

.upload-shell {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.upload-cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  background-color: var(--primary);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
}

.upload-options-bar {
  padding: 0.75rem 1rem;
  border-top: 1px solid #f3f4f6;
  background-color: #f9fafb;
}

.toggle-checkbox {
  width: 1rem;
  height: 1rem;
  accent-color: var(--primary);
  cursor: pointer;
}

.preview-bar {
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Personal Utility App Shell & Mobile Responsive */
.app-body {
  background-color: #eef2f6;
  min-height: 100dvh;
  -webkit-tap-highlight-color: transparent;
}

.m-0 { margin: 0; }

.app-topbar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
}

.app-topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 56px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.app-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.app-brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #0f172a;
  color: #34d399;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.app-brand-text strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-brand-text small {
  font-size: 0.72rem;
  color: #64748b;
}

.app-segmented {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 10px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  gap: 2px;
}

.app-seg-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  height: 32px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #475569;
  transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.app-seg-item:hover {
  color: #0f172a;
}

.app-seg-item.active {
  background: #fff;
  color: #059669;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.app-topbar-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.app-util-btn {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.app-util-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.app-main {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 20px 36px;
}

.app-workspace-header {
  max-width: 820px;
  margin: 0 auto 20px;
}

.app-section {
  margin-top: 16px;
}

.app-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.app-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.upload-dropzone {
  min-height: 176px;
  padding: 24px 16px;
}

.upload-dashed-frame {
  position: absolute;
  inset: 12px;
  border: 2px dashed #cbd5e1;
  border-radius: 10px;
  transition: border-color 150ms ease;
}

.upload-dropzone:hover .upload-dashed-frame {
  border-color: var(--primary);
}

.upload-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ecfdf5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-toggle-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.84rem;
  color: #334155;
  cursor: pointer;
  user-select: none;
  text-align: left;
  line-height: 1.4;
}

.single-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 18px;
  align-items: start;
}

.single-stage {
  min-width: 0;
}

.sticky-inspector {
  position: sticky;
  top: 72px;
}

.inspector-title {
  margin: 0 0 14px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
}

.action-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-btn {
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 100ms ease, background-color 150ms ease, border-color 150ms ease;
  touch-action: manipulation;
}

.app-btn:active {
  transform: scale(0.98);
}

.app-btn-sm {
  width: auto;
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.82rem;
}

.app-btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.app-btn-primary:hover {
  background: var(--primary-hover);
}

.app-btn-dark {
  background: #0f172a;
  color: #fff;
}

.app-btn-dark:hover {
  background: #1e293b;
}

.app-btn-secondary {
  background: #fff;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.app-btn-secondary:hover {
  background: #f8fafc;
}

.comparison-stage {
  min-height: 360px;
  padding: 12px;
}

#comparisonContainer {
  touch-action: none;
}

.slider-knob {
  width: 32px;
  height: 32px;
}

.slider-hint-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: #059669;
  background: #ecfdf5;
  padding: 2px 8px;
  border-radius: 999px;
}

.meta-readout {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.meta-readout p {
  margin: 0;
  line-height: 1.35;
}

.stage-tag {
  position: absolute;
  top: 10px;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.76);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
}

.stage-tag-left { left: 10px; }
.stage-tag-right { right: 10px; }

.app-statusbar {
  padding: 10px 20px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.76rem;
  text-align: center;
}

.mobile-bottom-nav {
  display: none;
}

@media (max-width: 900px) {
  .single-grid {
    grid-template-columns: 1fr;
  }

  .sticky-inspector {
    position: static;
  }
}

@media (max-width: 640px) {
  .app-topbar-inner {
    height: 52px;
    padding: 0 12px;
    grid-template-columns: 1fr auto;
  }

  .app-brand-text small,
  .app-topbar-right,
  .app-statusbar {
    display: none;
  }

  .app-seg-item {
    min-width: 64px;
    padding: 0 10px;
    font-size: 0.8rem;
  }

  .app-main {
    padding: 12px 12px calc(80px + env(safe-area-inset-bottom));
  }

  .app-workspace-header {
    margin-bottom: 12px;
  }

  .upload-dropzone {
    min-height: 152px;
    padding: 18px 12px;
  }

  .upload-options-bar {
    padding: 10px 12px;
  }

  .ai-toggle-label {
    justify-content: flex-start;
    font-size: 0.8rem;
  }

  .comparison-stage {
    min-height: 240px;
    padding: 8px;
  }

  .slider-knob {
    width: 38px;
    height: 38px;
  }

  .batch-list {
    padding: 10px;
  }

  .batch-card {
    padding: 10px;
    gap: 10px;
  }

  .batch-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .batch-button {
    min-height: 42px;
    width: 100%;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid #e2e8f0;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  }

  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 48px;
    border-radius: 10px;
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 600;
    text-decoration: none;
  }

  .mobile-nav-item.active {
    color: #059669;
    background: #ecfdf5;
  }
}

/* Commercial SaaS Landing Page Theme */
.saas-body {
  background: #ffffff;
  min-height: 100dvh;
  -webkit-tap-highlight-color: transparent;
}

.saas-container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.saas-navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
}

.saas-navbar-inner {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.saas-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.saas-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.28);
}

.saas-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.saas-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  transition: background-color 150ms ease, color 150ms ease;
}

.saas-nav-link:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.saas-nav-link.active {
  background: #ecfdf5;
  color: #059669;
}

.saas-hero {
  padding: 44px 0 36px;
  background:
    radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.13), transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid #e2e8f0;
}

.saas-hero-copy {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
}

.saas-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.saas-title {
  margin: 0 0 12px;
  font-size: clamp(26px, 4.2vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #0f172a;
}

.saas-title span {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.saas-subtitle {
  margin: 0;
  font-size: 0.98rem;
  color: #475569;
  line-height: 1.6;
}

.saas-upload-wrap {
  max-width: 780px;
  margin: 0 auto;
}

.saas-workspace-section {
  padding: 28px 0 12px;
  background: #f8fafc;
}

.saas-benefits {
  padding: 48px 0 56px;
  background: #ffffff;
}

.saas-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.saas-benefit-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
}

.saas-benefit-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #ecfdf5;
  color: #059669;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.saas-benefit-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.saas-benefit-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #475569;
}

.saas-footer {
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 28px 0;
  margin-top: auto;
}

.saas-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: #64748b;
}

.saas-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.saas-footer-links a {
  font-weight: 600;
  color: #475569;
}

.saas-footer-links a:hover {
  color: #059669;
}

@media (max-width: 820px) {
  .saas-benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .saas-container {
    width: calc(100% - 24px);
  }
  .saas-navbar-inner {
    height: 56px;
  }
  .saas-hide-sm {
    display: none;
  }
  .saas-nav-link {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
  .saas-hero {
    padding: 24px 0 22px;
  }
  .saas-benefits {
    padding: 32px 0 36px;
  }
  .saas-footer {
    padding: 22px 0 calc(86px + env(safe-area-inset-bottom));
  }
}
