/* Data Management – Vercel-style light theme | data.merchantsbazaar.com */
:root {
  --bg: rgba(250, 250, 250, 0.98);
  --bg-pure: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.8);
  --bg-elevated: #ffffff;
  --text: #171717;
  --text-muted: #737373;
  --text-secondary: #525252;
  --accent: #171717;
  --accent-hover: #000000;
  --accent-dim: rgba(0, 0, 0, 0.06);
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.12);
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Transparent white overlay – Vercel-style subtle grain optional */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--text-muted);
}

/* Nav – Vercel-style light bar */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
  transition: background var(--transition);
}

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

.site-logo {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: -0.02em;
}
.site-logo span { color: var(--text-muted); font-weight: 500; }

.site-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.875rem;
}
.site-links a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  font-family: var(--font);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover {
  background: var(--accent-dim);
  border-color: var(--border-strong);
  color: var(--text);
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: 5rem 1.5rem 5.5rem;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  animation: heroFade 0.6s ease;
}

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

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
  color: var(--text);
}

.hero .lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: border-color var(--transition), background var(--transition);
}
.hero-badge:hover {
  background: var(--bg-elevated);
  border-color: var(--border-strong);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.hero-cta .btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  animation: sectionFade 0.5s ease;
}

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

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
  color: var(--text);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Cards – Vercel-style minimal */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  backdrop-filter: blur(8px);
}

.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-hover);
}

/* Showcase sections – Vercel-style split layout + category tags + layered mockups */
.showcase-section {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.showcase-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: border-color var(--transition), background var(--transition);
}

.showcase-tag:hover {
  background: var(--bg-elevated);
  border-color: var(--border-strong);
  color: var(--text);
}

.showcase-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.showcase-content {
  max-width: 420px;
}

.showcase-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.showcase-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.showcase-desc-secondary {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.btn-with-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-arrow {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* Layered mockup cards */
.showcase-visual {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-stack {
  position: relative;
  width: 100%;
  max-width: 340px;
  min-height: 200px;
  margin-left: auto;
  margin-right: 0;
}

.mockup-stack-right {
  margin-left: 0;
  margin-right: auto;
}

.mockup-card {
  position: absolute;
  width: 100%;
  max-width: 280px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), 0 8px 30px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.mockup-card:hover {
  box-shadow: var(--shadow-hover), 0 12px 40px rgba(0, 0, 0, 0.08);
}

.mockup-card-1 {
  z-index: 3;
  top: 0;
  right: 0;
  transform: rotate(-3deg);
}

.mockup-card-2 {
  z-index: 2;
  top: 24px;
  right: 24px;
  transform: rotate(2deg);
  opacity: 0.95;
}

.mockup-card-3 {
  z-index: 1;
  top: 48px;
  right: 48px;
  transform: rotate(-1deg);
  opacity: 0.9;
}

.mockup-stack-right .mockup-card-1 {
  right: auto;
  left: 0;
  transform: rotate(3deg);
}

.mockup-stack-right .mockup-card-2 {
  right: auto;
  left: 24px;
  transform: rotate(-2deg);
}

.mockup-bar {
  height: 28px;
  background: var(--accent-dim);
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.mockup-body {
  padding: 1rem 1.25rem;
  min-height: 100px;
}

.mockup-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.mockup-lines span {
  display: block;
  height: 6px;
  background: var(--accent-dim);
  border-radius: 4px;
  margin-bottom: 0.5rem;
  max-width: 85%;
}

.mockup-lines span:last-child {
  max-width: 60%;
}

.mockup-dots {
  width: 48px;
  height: 32px;
  background-image: radial-gradient(circle, var(--border-strong) 1.5px, transparent 1.5px);
  background-size: 10px 10px;
  border-radius: 4px;
}

.mockup-card-light {
  background: var(--bg-pure);
}

.showcase-section-alt .showcase-content {
  grid-column: 2;
  margin-left: 0;
  margin-right: auto;
}

.showcase-section-alt .showcase-visual {
  grid-column: 1;
  grid-row: 1;
}

@media (max-width: 900px) {
  .showcase-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .showcase-content {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .showcase-section-alt .showcase-content {
    grid-column: 1;
    margin-left: auto;
    margin-right: auto;
  }

  .showcase-section-alt .showcase-visual {
    grid-column: 1;
    grid-row: 2;
  }

  .mockup-stack {
    margin-left: auto;
    margin-right: auto;
  }

  .mockup-stack-right {
    margin-left: auto;
    margin-right: auto;
  }

  .mockup-card-1 { right: 50%; left: 50%; transform: translateX(-50%) rotate(-3deg); }
  .mockup-card-2 { right: 50%; left: 50%; transform: translateX(-50%) translateY(24px) rotate(2deg); margin-left: 20px; }
  .mockup-card-3 { right: 50%; left: 50%; transform: translateX(-50%) translateY(48px) rotate(-1deg); margin-left: 40px; }

  .mockup-stack-right .mockup-card-1 { left: 50%; right: auto; transform: translateX(-50%) rotate(3deg); }
  .mockup-stack-right .mockup-card-2 { left: 50%; right: auto; transform: translateX(-50%) translateY(24px) rotate(-2deg); margin-left: -20px; }
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--accent-dim);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Download page */
.download-hero {
  position: relative;
  z-index: 1;
  padding: 3rem 1.5rem 2rem;
  text-align: center;
}

.download-hero h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
  color: var(--text);
}

.download-hero p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.95rem;
}

.os-selector {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.os-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition);
  min-width: 130px;
  font-family: var(--font);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.os-option:hover {
  border-color: var(--border-strong);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}

.os-option.selected {
  border-color: var(--text);
  background: var(--accent-dim);
  color: var(--text);
}

.os-option .icon {
  flex-shrink: 0;
}

.os-option .os-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.download-result {
  max-width: 420px;
  margin: 0 auto 2rem;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  animation: sectionFade 0.4s ease;
  backdrop-filter: blur(8px);
}

.download-result h3 {
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.download-result p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.download-result .btn {
  width: 100%;
  padding: 0.75rem;
  font-size: 0.9rem;
}

.download-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Features list */
.features-list {
  list-style: none;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.features-list li:last-child { border-bottom: none; }

.features-list .fi {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.features-list strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.features-list span {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* FAQ section (SEO + rich results) */
.faq-section {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.faq-list {
  list-style: none;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item dt {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.faq-item dd {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.faq-item dd a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-item dd a:hover {
  color: var(--accent);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 4rem;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.site-footer a {
  color: var(--text-muted);
}
.site-footer a:hover {
  color: var(--text);
}

/* Page header */
.page-header {
  position: relative;
  z-index: 1;
  padding: 2.5rem 1.5rem 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
  color: var(--text);
}

.page-header p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .site-nav { padding: 0.6rem 1rem; }
  .site-nav-inner { flex-direction: column; gap: 0.75rem; }
  .site-links { gap: 1rem; }
  .hero { padding: 3.5rem 1rem 4rem; }
  .section { padding: 2rem 1rem; }
  .os-option { min-width: 110px; padding: 1rem 1.25rem; }
}
