@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap");

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.82);
  --surface-subtle: #f1f5f9;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.14);
  --text: #090d16;
  --text-secondary: #334155;
  --muted: #64748b;
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-soft: #eef2ff;
  --obsidian: #0f172a;
  --obsidian-hover: #1e293b;
  --green: #059669;
  --green-soft: #ecfdf5;
  --amber: #d97706;
  --amber-soft: #fffbeb;
  --red: #e11d48;
  --red-soft: #fff1f2;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.04), 0 18px 40px -12px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 24px 64px -16px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 20px 54px -14px rgba(79, 70, 229, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 520px at 50% -140px, rgba(99, 102, 241, 0.13), transparent 70%),
    radial-gradient(ellipse 55% 380px at 85% 40px, rgba(14, 165, 233, 0.09), transparent 65%),
    radial-gradient(ellipse 50% 360px at 15% 80px, rgba(16, 185, 129, 0.07), transparent 65%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: "Pretendard Variable", "Pretendard", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: -0.012em;
}

code, pre, .mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}

.hidden {
  display: none !important;
}

/* =========================================================
   Sticky Frosted Glass Navbar & Mega Dropdown
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 120;
  background: var(--surface-glass);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px;
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.025em;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0f172a 0%, #4f46e5 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 6px 16px -4px rgba(79, 70, 229, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.brand-sub {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: -0.01em;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 9px;
  transition: background 0.16s ease, color 0.16s ease;
  cursor: pointer;
  border: none;
  background: transparent;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-item:hover {
  background: rgba(15, 23, 42, 0.05);
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Legacy .nav-links compatibility for SEO subpages */
.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 7px;
  transition: all 0.15s;
}

.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

/* Dropdown Mega-Popover */
.dropdown-wrap {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 560px;
  max-width: calc(100vw - 28px);
  max-height: min(72vh, 620px);
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 200;
}

.dropdown-wrap:hover .dropdown-panel,
.dropdown-wrap:focus-within .dropdown-panel,
.dropdown-wrap.open .dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.dd-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 11px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.14s ease;
}

.dd-link:hover {
  background: #f1f5f9;
}

.dd-ico {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.dd-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.dd-desc {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.35;
}

@media (max-width: 820px) {
  .nav-center {
    display: none;
  }
  .dropdown-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Main Container & Hero Section
   ========================================================= */
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px 20px 84px;
}

.hero {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 30px;
  position: relative;
}

.privacy-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text-secondary);
  border: 1px solid rgba(16, 185, 129, 0.32);
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.08);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 18px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4.4vw, 48px);
  font-weight: 850;
  letter-spacing: -0.036em;
  line-height: 1.18;
  color: var(--text);
}

.text-gradient {
  background: linear-gradient(135deg, #4f46e5 0%, #0284c7 55%, #059669 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  margin: 0 auto;
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(15px, 1.8vw, 17.5px);
  line-height: 1.62;
  font-weight: 450;
}

.hero p b {
  color: var(--text-secondary);
  font-weight: 700;
}

/* Live Visual Diff Showcase Banner */
.live-diff-strip {
  max-width: 960px;
  margin: 24px auto 22px;
  background: linear-gradient(180deg, #0f172a 0%, #162036 100%);
  border-radius: 20px;
  padding: 16px 20px;
  color: #f8fafc;
  box-shadow: 0 18px 42px -12px rgba(15, 23, 42, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.diff-pane {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  padding: 12px 14px;
}

.diff-pane.after {
  background: rgba(16, 185, 129, 0.09);
  border-color: rgba(52, 211, 153, 0.28);
}

.diff-caption {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.diff-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  padding: 4px 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.07);
}

.diff-row:first-of-type {
  border-top: none;
}

.diff-bad {
  color: #fda4af;
  text-decoration: line-through;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.diff-good {
  color: #6ee7b7;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 12px;
}

.diff-arrow-badge {
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.45);
}

@media (max-width: 780px) {
  .live-diff-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .diff-arrow-badge {
    justify-self: center;
  }
}

/* =========================================================
   Tactile Studio Dropzone
   ========================================================= */
.dropzone {
  max-width: 960px;
  margin: 0 auto;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  border: 1.5px dashed rgba(79, 70, 229, 0.35);
  border-radius: var(--radius-lg);
  padding: 38px 24px 32px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.dropzone:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.dropzone.dragover {
  border-color: var(--primary);
  background: #f5f7ff;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.14), var(--shadow-glow);
  transform: scale(1.008);
}

.drop-icon-shell {
  width: 60px;
  height: 60px;
  margin: 0 auto 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, #eef2ff 0%, #e0f2fe 100%);
  border: 1px solid rgba(79, 70, 229, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: 0 10px 24px -8px rgba(79, 70, 229, 0.28);
}

.drop-title {
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: var(--text);
}

.drop-sub {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 18px;
}

.store-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.store-chip {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-secondary);
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 3px 10px;
  border-radius: 999px;
}

.drop-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.14s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(180deg, #4f46e5 0%, #4338ca 100%);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(79, 70, 229, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #4338ca 0%, #3730a3 100%);
  box-shadow: 0 12px 26px -6px rgba(79, 70, 229, 0.68);
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--obsidian);
  color: #fff;
  box-shadow: 0 6px 16px -4px rgba(15, 23, 42, 0.35);
}

.btn-dark:hover {
  background: var(--obsidian-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background: #f8fafc;
  border-color: rgba(79, 70, 229, 0.4);
  color: var(--primary);
}

.btn-green {
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(5, 150, 105, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-green:hover {
  background: linear-gradient(180deg, #059669 0%, #047857 100%);
  transform: translateY(-1px);
}

.btn-sm {
  height: 35px;
  padding: 0 13px;
  border-radius: 9px;
  font-size: 13px;
}

/* =========================================================
   Result Workspace Dashboard
   ========================================================= */
.workspace-panel {
  margin-top: 28px;
  animation: fadeSlideUp 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.kpi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.kpi-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #cbd5e1, transparent);
}

.kpi-card.accent-green::before { background: linear-gradient(90deg, #10b981, #34d399); }
.kpi-card.accent-blue::before { background: linear-gradient(90deg, #4f46e5, #0ea5e9); }
.kpi-card.accent-amber::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }

.kpi-label {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.kpi-val {
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -0.03em;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}

.kpi-val.green { color: var(--green); }
.kpi-val.amber { color: var(--amber); }
.kpi-val.red { color: var(--red); }
.kpi-val.blue { color: var(--primary); }

.export-bar {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.export-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.select-box {
  height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: #fff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.select-box:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.14);
}

.check-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  background: var(--primary-soft);
  color: var(--primary-dark);
  padding: 8px 13px;
  border-radius: 10px;
  border: 1px solid rgba(79, 70, 229, 0.18);
}

.check-inline input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}

/* Data Preview Table */
.table-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.table-head-bar {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: #fcfdff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 750;
  gap: 8px;
  flex-wrap: wrap;
}

.table-scroll {
  overflow-x: auto;
  max-height: 460px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

th, td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  white-space: nowrap;
}

tbody tr {
  transition: background 0.12s ease;
}

tbody tr:hover {
  background: #f8fafc;
}

th {
  background: rgba(248, 250, 252, 0.96);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #475569;
  z-index: 2;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  margin-right: 4px;
  letter-spacing: -0.01em;
}

.tag-fixed { background: var(--green-soft); color: var(--green); border: 1px solid rgba(16, 185, 129, 0.22); }
.tag-island { background: var(--amber-soft); color: var(--amber); border: 1px solid rgba(217, 119, 6, 0.22); }
.tag-merge { background: var(--primary-soft); color: var(--primary); border: 1px solid rgba(79, 70, 229, 0.2); }
.tag-err { background: var(--red-soft); color: var(--red); border: 1px solid rgba(225, 29, 72, 0.22); }

.diff-old {
  text-decoration: line-through;
  color: #94a3b8;
  margin-right: 6px;
  font-size: 12px;
  font-family: "JetBrains Mono", monospace;
}

/* =========================================================
   Bento Grid Showcase & Workflow & Pricing Sections
   ========================================================= */
.section-block {
  margin-top: 76px;
}

.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 34px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.bento-card {
  grid-column: span 6;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.bento-card.span-7 { grid-column: span 7; }
.bento-card.span-5 { grid-column: span 5; }
.bento-card.dark-card {
  background: linear-gradient(145deg, #0f172a 0%, #1e1b4b 100%);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.08);
}

.bento-card.dark-card p {
  color: #cbd5e1;
}

.bento-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.bento-card.dark-card .bento-icon {
  background: rgba(255, 255, 255, 0.1);
  color: #818cf8;
}

.bento-card h3 {
  margin: 0 0 8px;
  font-size: 18.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.bento-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.mini-demo-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 12px 14px;
  font-size: 12.5px;
}

.bento-card.dark-card .mini-demo-box {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 860px) {
  .bento-card,
  .bento-card.span-7,
  .bento-card.span-5 {
    grid-column: span 12;
  }
}

/* 3-Step Workflow */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.step-num {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--obsidian);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.step-card h3 {
  margin: 0 0 6px;
  font-size: 16.5px;
  font-weight: 800;
}

.step-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

@media (max-width: 760px) {
  .steps-row { grid-template-columns: 1fr; }
}

/* On-Page Pricing Grid */
.pricing-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.plan-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.plan-box.popular {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-glow);
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  right: 22px;
  background: linear-gradient(135deg, #4f46e5, #0284c7);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(79, 70, 229, 0.35);
}

.plan-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}

.plan-amount {
  font-size: 36px;
  font-weight: 850;
  letter-spacing: -0.035em;
  margin: 10px 0 4px;
  font-variant-numeric: tabular-nums;
}

.plan-amount span {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}

.plan-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.plan-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-list li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
}

@media (max-width: 880px) {
  .pricing-showcase { grid-template-columns: 1fr; }
}

/* Free Toolkit Hub Grid */
.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 12px;
}

.tool-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 18px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: border-color 0.16s, transform 0.16s, box-shadow 0.16s;
}

.tool-tile:hover {
  border-color: rgba(79, 70, 229, 0.45);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.tool-tile-title {
  font-size: 14px;
  font-weight: 750;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tool-tile-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}

/* Legacy .feature-grid & .f-box support for SEO pages */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
  margin-top: 40px;
}

.f-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.f-box h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
}

.f-box p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

/* Pricing & Paywall Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 13, 22, 0.62);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 300;
}

.modal-card {
  background: var(--surface);
  border-radius: 24px;
  max-width: 540px;
  width: 100%;
  padding: 28px 26px;
  box-shadow: var(--shadow-xl);
  animation: fadeSlideUp 0.22s ease;
}

.price-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0;
}

@media (max-width: 520px) {
  .price-cards { grid-template-columns: 1fr; }
}

.p-card {
  border: 1.5px solid var(--border-strong);
  border-radius: 16px;
  padding: 18px;
}

.p-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, #f5f7ff 0%, #ffffff 100%);
  box-shadow: 0 10px 24px -10px rgba(79, 70, 229, 0.28);
}

.p-price {
  font-size: 26px;
  font-weight: 850;
  letter-spacing: -0.03em;
  margin: 8px 0;
}

/* Footer */
.footer {
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
}

.footer a:hover {
  color: var(--primary);
}


/* =========================================================
   Zero-Friction Customer UX Controls (v2026v3)
   ========================================================= */
.ux-notice {
  max-width: 960px;
  margin: 14px auto 0;
  padding: 13px 18px;
  border-radius: 14px;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.ux-notice.info {
  background: #f0fdf4;
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #065f46;
}

.ux-notice.warn {
  background: #fffbeb;
  border: 1px solid rgba(217, 119, 6, 0.35);
  color: #92400e;
}

.filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-pill {
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.14s ease;
}

.filter-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-pill.active {
  background: var(--obsidian);
  border-color: var(--obsidian);
  color: #fff;
}

.search-mini {
  height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid var(--border-strong);
  font-family: inherit;
  font-size: 12.5px;
  min-width: 190px;
  background: #fff;
}

.search-mini:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

td.editable-cell {
  cursor: text;
  position: relative;
  border-radius: 6px;
  transition: background 0.14s, box-shadow 0.14s;
}

td.editable-cell:hover {
  background: #eef2ff;
}

td.editable-cell:focus {
  outline: none;
  background: #ffffff;
  box-shadow: inset 0 0 0 2px var(--primary);
}

/* Column Mapper & Export Hygiene Bar (v2026v4) */
.hygiene-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 11px 15px;
  margin-bottom: 14px;
  font-size: 13px;
}

.hygiene-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.mapper-panel {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}

.mapper-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.mapper-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 10px;
}

.mapper-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mapper-field label {
  font-size: 11.5px;
  font-weight: 750;
  color: var(--text-secondary);
}

.mapper-field select.unmapped {
  border-color: rgba(217, 119, 6, 0.55);
  background: #fffbeb;
}

.input-mini {
  height: 34px;
  padding: 0 11px;
  border-radius: 9px;
  border: 1px solid var(--border-strong);
  font-family: inherit;
  font-size: 12.5px;
  background: #fff;
  color: var(--text);
  min-width: 170px;
}

.input-mini:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

/* Clipboard Paste Drawer & Table Truncate Notice (v2026v5) */
.paste-drawer {
  max-width: 960px;
  margin: 14px auto 0;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: var(--shadow-md);
}

.paste-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.paste-textarea {
  width: 100%;
  min-height: 120px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text);
  background: #f8fafc;
  resize: vertical;
}

.paste-textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.table-truncate-note {
  padding: 11px 16px;
  background: #f8fafc;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
}

/* Row Exclude, Filter Counts & Dynamic Paywall ROI (v2026v6) */
.pill-cnt {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: rgba(15, 23, 42, 0.07);
  color: inherit;
}

.filter-pill.active .pill-cnt {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

tr.row-excluded {
  opacity: 0.48;
  background: #f8fafc;
}

tr.row-excluded td:not(:last-child):not(:first-child) {
  text-decoration: line-through;
}

.row-act-btn {
  height: 26px;
  padding: 0 8px;
  border-radius: 7px;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--text-secondary);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.12s ease;
}

.row-act-btn:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-soft);
}

tr.row-excluded .row-act-btn:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-soft);
}

.paywall-roi-box {
  margin-top: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--primary-soft);
  border: 1px solid rgba(79, 70, 229, 0.22);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
}

/* Batch Action Pills & Cancel Badge (v2026v7) */
.batch-actions-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tag-cancel {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid rgba(220, 38, 38, 0.22);
}

.btn-xs {
  height: 30px;
  padding: 0 11px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}

.check-inline.is-dimmed {
  opacity: 0.56;
}

@media (max-width: 720px) {
  .export-bar {
    padding: 13px;
  }
  .export-controls {
    width: 100%;
  }
  .export-controls .select-box,
  .export-controls .btn,
  .export-controls .check-inline {
    width: 100%;
    justify-content: center;
  }
  .hygiene-bar {
    padding: 11px 12px;
  }
  .hygiene-group {
    width: 100%;
  }
  .input-mini,
  .search-mini {
    width: 100%;
    min-width: 0;
  }
  .filter-pill,
  .btn-xs,
  .row-act-btn {
    min-height: 36px;
  }
}
