/* ==========================================================================
   UNIVERSAL ERP — MODERN SAAS MARKETING & CLIENT EXPERIENCE DESIGN SYSTEM
   LIGHT THEME FIRST • ENTERPRISE GRADE • HIGH-PERFORMANCE MICRO-ANIMATIONS
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root,
[data-theme="light"] {
  /* Brand Identity - Clean Enterprise Light Palette */
  --mkt-bg: #f8fafc;
  --mkt-bg-secondary: #ffffff;
  --mkt-bg-surface: #ffffff;
  --mkt-bg-surface-hover: #f1f5f9;
  --mkt-bg-card: #ffffff;
  --mkt-bg-card-solid: #ffffff;
  
  --mkt-border: rgba(226, 232, 240, 0.9);
  --mkt-border-focus: #2563eb;
  --mkt-border-light: #f1f5f9;

  --mkt-text-main: #0f172a;
  --mkt-text-muted: #475569;
  --mkt-text-dim: #94a3b8;
  --mkt-text-inverse: #ffffff;

  --mkt-primary: #2563eb;
  --mkt-primary-hover: #1d4ed8;
  --mkt-primary-glow: rgba(37, 99, 235, 0.2);
  
  --mkt-cyan: #0284c7;
  --mkt-cyan-glow: rgba(2, 132, 199, 0.2);
  --mkt-emerald: #059669;
  --mkt-emerald-glow: rgba(5, 150, 105, 0.2);
  --mkt-amber: #d97706;
  --mkt-purple: #7c3aed;
  --mkt-rose: #e11d48;

  --mkt-gradient-primary: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --mkt-gradient-text: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #334155 100%);
  --mkt-gradient-accent: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #0284c7 100%);
  --mkt-gradient-card: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  --mkt-gradient-hero: radial-gradient(ellipse 90% 60% at 50% -15%, rgba(37, 99, 235, 0.08) 0%, rgba(6, 182, 212, 0.04) 50%, transparent 80%);

  --mkt-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --mkt-shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --mkt-shadow-lg: 0 20px 40px -8px rgba(15, 23, 42, 0.09), 0 10px 15px -3px rgba(15, 23, 42, 0.03);
  --mkt-shadow-glow: 0 10px 30px rgba(37, 99, 235, 0.15);

  --mkt-radius-sm: 8px;
  --mkt-radius-md: 12px;
  --mkt-radius-lg: 18px;
  --mkt-radius-xl: 24px;
  --mkt-radius-full: 9999px;

  --mkt-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mkt-font-mono: 'JetBrains Mono', monospace;

  --mkt-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --mkt-transition-bounce: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Base Marketing Resets & Container */
.marketing-wrapper {
  background-color: var(--mkt-bg);
  color: var(--mkt-text-main);
  font-family: var(--mkt-font-sans);
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.mkt-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.mkt-container-narrow {
  max-width: 980px;
}

/* Atmospheric Ambient Background */
.mkt-ambient-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 800px;
  background: var(--mkt-gradient-hero);
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   1. LOADING SCREEN EXPERIENCE
   ========================================================================== */
.erp-loader-overlay {
  position: fixed;
  inset: 0;
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
}

.erp-loader-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.erp-loader-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 380px;
  padding: 32px;
}

.erp-loader-logo-ring {
  position: relative;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.erp-loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 99, 235, 0.15);
  border-top-color: var(--mkt-primary);
  border-right-color: #06b6d4;
  animation: erpSpin 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.erp-loader-icon {
  font-size: 32px;
  animation: erpPulse 2s ease-in-out infinite;
}

.erp-loader-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--mkt-text-main);
  margin-bottom: 8px;
}

.erp-loader-progress-track {
  width: 220px;
  height: 4px;
  background: rgba(226, 232, 240, 0.8);
  border-radius: 999px;
  overflow: hidden;
  margin: 16px 0;
  position: relative;
}

.erp-loader-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 45%;
  background: var(--mkt-gradient-primary);
  border-radius: 999px;
  animation: erpProgressIndeterminate 1.5s ease-in-out infinite;
}

.erp-loader-status-msg {
  font-size: 13px;
  color: var(--mkt-text-muted);
  min-height: 20px;
  transition: opacity 0.3s ease;
}

@keyframes erpSpin {
  to { transform: rotate(360deg); }
}

@keyframes erpPulse {
  0%, 100% { transform: scale(1); opacity: 0.95; }
  50% { transform: scale(1.08); opacity: 1; filter: drop-shadow(0 4px 12px var(--mkt-primary-glow)); }
}

@keyframes erpProgressIndeterminate {
  0% { left: -40%; width: 30%; }
  50% { left: 30%; width: 60%; }
  100% { left: 100%; width: 30%; }
}

/* ==========================================================================
   2. NAVBAR
   ========================================================================== */
.mkt-navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--mkt-transition);
  padding: 16px 0;
  background: transparent;
}

.mkt-navbar.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--mkt-border);
  padding: 12px 0;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
}

.mkt-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.mkt-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}

.mkt-brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--mkt-gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 14px var(--mkt-primary-glow);
  transition: transform var(--mkt-transition);
}

.mkt-brand:hover .mkt-brand-logo {
  transform: scale(1.06);
}

.mkt-brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--mkt-text-main);
}

.mkt-brand-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: var(--mkt-radius-full);
  background: rgba(37, 99, 235, 0.08);
  color: var(--mkt-primary);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.mkt-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.mkt-nav-link {
  color: var(--mkt-text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: var(--mkt-transition);
  cursor: pointer;
  padding: 6px 0;
  position: relative;
}

.mkt-nav-link:hover {
  color: var(--mkt-primary);
}

.mkt-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mkt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--mkt-radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: var(--mkt-transition);
  border: none;
  font-family: inherit;
  white-space: nowrap;
}

.mkt-btn:active {
  transform: scale(0.98);
}

.mkt-btn-ghost {
  background: transparent;
  color: var(--mkt-text-muted);
}

.mkt-btn-ghost:hover {
  color: var(--mkt-text-main);
  background: var(--mkt-bg-surface-hover);
}

.mkt-btn-primary {
  background: linear-gradient(135deg, var(--mkt-primary) 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--mkt-primary-glow);
}

.mkt-btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--mkt-primary-glow);
}

.mkt-btn-primary-glow {
  background: var(--mkt-gradient-primary);
  color: #ffffff;
  box-shadow: 0 4px 16px var(--mkt-primary-glow);
}

.mkt-btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--mkt-primary-glow);
}

.mkt-btn-secondary {
  background: #ffffff;
  color: var(--mkt-text-main);
  border: 1px solid var(--mkt-border);
  box-shadow: var(--mkt-shadow-sm);
}

.mkt-btn-secondary:hover {
  background: var(--mkt-bg-surface-hover);
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-1px);
}

.mkt-btn-outline {
  background: #ffffff;
  color: var(--mkt-text-main);
  border: 1px solid var(--mkt-border);
  box-shadow: var(--mkt-shadow-sm);
}

.mkt-btn-outline:hover {
  background: var(--mkt-bg-surface-hover);
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateY(-1px);
}

.mkt-btn-lg {
  padding: 13px 26px;
  font-size: 15px;
  border-radius: var(--mkt-radius-md);
}

.mkt-nav-toggle,
.mkt-menu-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid var(--mkt-border);
  color: var(--mkt-text-main);
  width: 40px;
  height: 40px;
  border-radius: var(--mkt-radius-sm);
  font-size: 18px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: var(--mkt-shadow-sm);
}

.mkt-nav-toggle:hover,
.mkt-menu-toggle:hover {
  background: var(--mkt-bg-surface-hover);
}

/* ==========================================================================
   3. HERO SECTION & LIVE DASHBOARD
   ========================================================================== */
.mkt-hero {
  position: relative;
  z-index: 1;
  padding: 60px 0 90px;
  overflow: hidden;
}

.mkt-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.mkt-hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mkt-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--mkt-radius-full);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  font-size: 12px;
  font-weight: 700;
  color: var(--mkt-primary);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.06);
}

.mkt-pill-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mkt-emerald);
  box-shadow: 0 0 10px var(--mkt-emerald);
  animation: mktPulseDot 2s infinite;
}

@keyframes mktPulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.6; }
}

.mkt-hero-title {
  font-size: 56px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--mkt-text-main);
  margin-bottom: 20px;
}

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

.mkt-hero-desc,
.mkt-hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--mkt-text-muted);
  max-width: 520px;
  margin-bottom: 32px;
}

.mkt-hero-ctas,
.mkt-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.mkt-hero-metrics {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid var(--mkt-border);
  border-radius: var(--mkt-radius-md);
  box-shadow: var(--mkt-shadow-sm);
}

.mkt-metric-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mkt-metric-item .mkt-metric-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--mkt-text-main);
}

.mkt-metric-item .mkt-metric-lbl {
  font-size: 12px;
  color: var(--mkt-text-muted);
  font-weight: 500;
}

.mkt-metric-divider {
  width: 1px;
  height: 32px;
  background: var(--mkt-border);
}

/* Hero Right: Live Interactive Floating Dashboard Preview Frame */
.mkt-hero-right {
  position: relative;
}

@keyframes gentleHeroFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.mkt-dash-preview-frame,
.mkt-dashboard-float {
  background: #ffffff;
  border: 1px solid var(--mkt-border);
  border-radius: var(--mkt-radius-lg);
  box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.12), 0 10px 20px -5px rgba(15, 23, 42, 0.04);
  position: relative;
  z-index: 2;
  overflow: hidden;
  animation: gentleHeroFloat 6s ease-in-out infinite;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.mkt-dash-preview-frame:hover,
.mkt-dashboard-float:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px -12px rgba(15, 23, 42, 0.16);
}

.mkt-dash-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #f8fafc;
  border-bottom: 1px solid var(--mkt-border);
}

.mkt-dash-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mkt-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.mkt-dot.red { background: #ef4444; }
.mkt-dot.yellow { background: #f59e0b; }
.mkt-dot.green { background: #10b981; }

.mkt-dash-url-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mkt-font-mono);
  font-size: 11px;
  color: #4338ca;
  background: #eef2ff;
  border: 1px solid #e0e7ff;
  padding: 4px 12px;
  border-radius: var(--mkt-radius-full);
}

.mkt-dash-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--mkt-radius-full);
  background: rgba(5, 150, 105, 0.1);
  color: var(--mkt-emerald);
  border: 1px solid rgba(5, 150, 105, 0.25);
}

.mkt-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mkt-emerald);
  box-shadow: 0 0 6px var(--mkt-emerald);
}

.mkt-dash-body {
  padding: 20px;
  background: #ffffff;
}

.mkt-dash-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.mkt-dash-stat-card,
.mkt-metric-box {
  background: #f8fafc;
  border: 1px solid var(--mkt-border);
  border-radius: var(--mkt-radius-md);
  padding: 14px;
  position: relative;
  overflow: hidden;
  transition: var(--mkt-transition);
}

.mkt-dash-stat-card:hover,
.mkt-metric-box:hover {
  background: #f1f5f9;
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-2px);
}

.mkt-dash-stat-label,
.mkt-metric-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mkt-text-muted);
  margin-bottom: 6px;
}

.mkt-dash-stat-value,
.mkt-metric-val {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--mkt-text-main);
}

.mkt-dash-stat-trend {
  font-size: 11px;
  font-weight: 600;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mkt-dash-stat-trend.positive { color: var(--mkt-emerald); }
.mkt-dash-stat-trend.neutral { color: var(--mkt-primary); }
.mkt-dash-stat-trend.negative { color: #dc2626; }

.mkt-dash-feed-box {
  background: #f8fafc;
  border: 1px solid var(--mkt-border);
  border-radius: var(--mkt-radius-md);
  padding: 14px;
}

.mkt-dash-feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mkt-feed-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mkt-text-main);
}

.mkt-badge-cyan {
  background: rgba(2, 132, 199, 0.1);
  color: var(--mkt-cyan);
  border: 1px solid rgba(2, 132, 199, 0.25);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--mkt-radius-full);
}

.mkt-dash-feed-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mkt-activity-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid var(--mkt-border);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  animation: mktFeedSlideIn 0.35s ease forwards;
}

.mkt-activity-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--mkt-text-main);
  font-weight: 500;
}

.mkt-activity-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.mkt-activity-time {
  font-size: 10px;
  color: var(--mkt-text-dim);
}

@keyframes mktFeedSlideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   4. LIVE BUSINESS STRIP & SYSTEM STATUS
   ========================================================================== */
.mkt-live-strip-section {
  padding: 24px 0;
  border-top: 1px solid var(--mkt-border);
  border-bottom: 1px solid var(--mkt-border);
  background: #ffffff;
  box-shadow: var(--mkt-shadow-sm);
}

.mkt-live-strip-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.mkt-live-strip-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mkt-text-muted);
  white-space: nowrap;
}

.mkt-live-strip-nodes {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mkt-strip-node {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #f8fafc;
  border: 1px solid var(--mkt-border);
  border-radius: var(--mkt-radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--mkt-text-main);
  white-space: nowrap;
  transition: var(--mkt-transition);
}

.mkt-strip-node:hover {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: var(--mkt-shadow-sm);
}

.mkt-strip-arrow {
  color: var(--mkt-text-dim);
  font-size: 12px;
}

/* ==========================================================================
   5. PROBLEM → SOLUTION SECTION
   ========================================================================== */
.mkt-section {
  padding: 90px 0;
  position: relative;
  z-index: 1;
}

.mkt-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.mkt-section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mkt-primary);
  margin-bottom: 12px;
  display: inline-block;
}

.mkt-section-title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--mkt-text-main);
  margin-bottom: 16px;
}

.mkt-section-desc {
  font-size: 16px;
  color: var(--mkt-text-muted);
  line-height: 1.6;
}

.mkt-problem-grid {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: center;
  gap: 24px;
}

.mkt-compare-card {
  border-radius: var(--mkt-radius-lg);
  padding: 32px;
  position: relative;
  background: #ffffff;
}

.mkt-compare-card.problem-side {
  background: #fff;
  border: 1px solid rgba(239, 68, 68, 0.25);
  box-shadow: 0 4px 20px -2px rgba(239, 68, 68, 0.06);
}

.mkt-compare-card.solution-side {
  background: #ffffff;
  border: 1px solid rgba(5, 150, 105, 0.3);
  box-shadow: 0 8px 30px -4px rgba(5, 150, 105, 0.08);
}

.mkt-compare-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 18px;
  font-weight: 700;
  color: var(--mkt-text-main);
}

.mkt-compare-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
}

.mkt-compare-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--mkt-text-main);
}

.mkt-compare-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mkt-transform-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--mkt-gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #ffffff;
  box-shadow: 0 4px 14px var(--mkt-primary-glow);
}

/* ==========================================================================
   6. INTERACTIVE PRODUCT SHOWCASE
   ========================================================================== */
.mkt-showcase-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.mkt-tab-btn {
  background: #ffffff;
  border: 1px solid var(--mkt-border);
  color: var(--mkt-text-muted);
  padding: 10px 20px;
  border-radius: var(--mkt-radius-full);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--mkt-transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--mkt-shadow-sm);
}

.mkt-tab-btn:hover {
  background: var(--mkt-bg-surface-hover);
  color: var(--mkt-text-main);
  transform: translateY(-1px);
}

.mkt-tab-btn.active {
  background: var(--mkt-primary);
  color: #ffffff;
  border-color: var(--mkt-primary);
  box-shadow: 0 4px 14px var(--mkt-primary-glow);
}

.mkt-showcase-frame {
  background: #ffffff;
  border: 1px solid var(--mkt-border);
  border-radius: var(--mkt-radius-xl);
  overflow: hidden;
  box-shadow: var(--mkt-shadow-lg);
}

.mkt-showcase-topbar {
  background: #f8fafc;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--mkt-border);
}

.mkt-browser-dots {
  display: flex;
  gap: 6px;
}

.mkt-browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mkt-browser-url {
  background: #eef2ff;
  border: 1px solid #e0e7ff;
  padding: 4px 16px;
  border-radius: 6px;
  font-size: 11px;
  font-family: var(--mkt-font-mono);
  color: #4338ca;
}

.mkt-showcase-body {
  padding: 24px;
  min-height: 480px;
  background: #ffffff;
}

/* ==========================================================================
   7. PHONE CAMERA SCANNER & OFFLINE MOCKUPS
   ========================================================================== */
.mkt-scanner-layout,
.mkt-dual-feature-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 992px) {
  .mkt-scanner-layout,
  .mkt-dual-feature-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.mkt-scanner-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mkt-scanner-visual,
.mkt-phone-mockup-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mkt-phone-frame {
  width: 290px;
  height: 520px;
  background: #ffffff;
  border: 8px solid #e2e8f0;
  border-radius: 36px;
  box-shadow: 0 25px 60px -10px rgba(15, 23, 42, 0.15);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.mkt-phone-notch {
  width: 110px;
  height: 18px;
  background: #e2e8f0;
  border-radius: 0 0 12px 12px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.mkt-camera-viewfinder,
.mkt-phone-camera-view {
  flex: 1;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.05) 0%, #f8fafc 90%);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.mkt-laser-line,
.mkt-scanner-laser {
  position: absolute;
  left: 20px;
  right: 20px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #0284c7, #2563eb, transparent);
  box-shadow: 0 0 12px #2563eb, 0 0 24px #0284c7;
  top: 35%;
  animation: laserScan 2.4s ease-in-out infinite alternate;
  z-index: 5;
}

@keyframes laserScan {
  0% { top: 22%; opacity: 0.4; }
  50% { opacity: 1; }
  100% { top: 62%; opacity: 0.4; }
}

.mkt-scan-corners {
  position: absolute;
  top: 24%;
  left: 24px;
  right: 24px;
  height: 140px;
  pointer-events: none;
}

.mkt-scan-corners .corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: #0284c7;
  border-style: solid;
}

.mkt-scan-corners .corner.tl { top: 0; left: 0; border-width: 3px 0 0 3px; border-radius: 4px 0 0 0; }
.mkt-scan-corners .corner.tr { top: 0; right: 0; border-width: 3px 3px 0 0; border-radius: 0 4px 0 0; }
.mkt-scan-corners .corner.bl { bottom: 0; left: 0; border-width: 0 0 3px 3px; border-radius: 0 0 0 4px; }
.mkt-scan-corners .corner.br { bottom: 0; right: 0; border-width: 0 3px 3px 0; border-radius: 0 0 4px 0; }

.mkt-scan-detected-card,
.mkt-product-found-card {
  background: #ffffff;
  border: 1px solid var(--mkt-border);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--mkt-shadow-md);
  z-index: 6;
  animation: mktPopIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mkt-detected-sku {
  font-family: var(--mkt-font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--mkt-primary);
  margin-bottom: 2px;
  letter-spacing: 0.04em;
}

.mkt-detected-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--mkt-text-main);
  margin-bottom: 2px;
}

.mkt-detected-price {
  font-size: 12px;
  color: var(--mkt-emerald);
  font-weight: 700;
}

@keyframes mktPopIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Offline POS 5-Stage Visualization Chain */
.mkt-offline-chain {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 32px 0;
}

.mkt-offline-node {
  background: #ffffff;
  border: 1px solid var(--mkt-border);
  border-radius: var(--mkt-radius-md);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 130px;
  box-shadow: var(--mkt-shadow-sm);
  transition: var(--mkt-transition);
}

.mkt-offline-node:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: var(--mkt-shadow-md);
}

.mkt-offline-node.alert {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.04);
}

.mkt-offline-node.active {
  border-color: rgba(37, 99, 235, 0.4);
  background: rgba(37, 99, 235, 0.06);
}

.mkt-offline-node.success {
  border-color: rgba(5, 150, 105, 0.4);
  background: rgba(5, 150, 105, 0.06);
}

.mkt-offline-node .node-icon {
  font-size: 22px;
  margin-bottom: 6px;
}

.mkt-offline-node b {
  font-size: 13px;
  color: var(--mkt-text-main);
  margin-bottom: 2px;
}

.mkt-offline-node small {
  font-size: 11px;
  color: var(--mkt-text-muted);
}

.node-arrow {
  color: var(--mkt-text-dim);
  font-size: 18px;
  font-weight: 700;
}

/* Offline POS Diagram Legacy */
.mkt-offline-flow-card {
  background: #ffffff;
  border: 1px solid var(--mkt-border);
  border-radius: var(--mkt-radius-lg);
  padding: 32px;
  box-shadow: var(--mkt-shadow-sm);
}

.mkt-offline-flow-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  position: relative;
}

.mkt-offline-flow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 18px;
  top: 38px;
  bottom: -16px;
  width: 2px;
  background: var(--mkt-border);
}

.mkt-step-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--mkt-primary);
  flex-shrink: 0;
}

/* ==========================================================================
   8. INDUSTRY CARDS & 14 CORE MODULES
   ========================================================================== */
.mkt-industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.mkt-industry-card {
  background: #ffffff;
  border: 1px solid var(--mkt-border);
  border-radius: var(--mkt-radius-md);
  padding: 26px;
  box-shadow: var(--mkt-shadow-sm);
  transition: var(--mkt-transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mkt-industry-card:hover {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--mkt-shadow-md);
}

.mkt-modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.mkt-module-card,
.mkt-feature-card {
  background: #ffffff;
  border: 1px solid var(--mkt-border);
  border-radius: var(--mkt-radius-md);
  padding: 24px;
  box-shadow: var(--mkt-shadow-sm);
  transition: var(--mkt-transition);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mkt-module-card:hover,
.mkt-feature-card:hover {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--mkt-shadow-md);
}

.mkt-module-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* ==========================================================================
   9. AUTH SPLIT LOGIN & 5-STEP ONBOARDING
   ========================================================================== */
.mkt-auth-wrapper {
  min-height: 100vh;
  width: 100vw;
  background: radial-gradient(circle at 50% 10%, #eef2ff 0%, #f8fafc 50%, #ffffff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
}

.mkt-login-split-card {
  width: 100%;
  max-width: 1020px;
  min-height: 600px;
  background: #ffffff;
  border: 1px solid var(--mkt-border);
  border-radius: var(--mkt-radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.12);
}

.mkt-login-brand-panel {
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--mkt-border);
  position: relative;
}

.mkt-login-form-panel {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
}

/* 5-Step Progressive Onboarding Modal Card */
.mkt-onboarding-card {
  width: 100%;
  max-width: 580px;
  background: #ffffff;
  border: 1px solid var(--mkt-border);
  border-radius: var(--mkt-radius-xl);
  padding: 40px;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.12);
}

.mkt-progress-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  position: relative;
}

.mkt-step-indicator {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  background: #f1f5f9;
  border: 1px solid var(--mkt-border);
  color: var(--mkt-text-muted);
  transition: var(--mkt-transition);
  z-index: 2;
}

.mkt-step-indicator.active {
  background: var(--mkt-primary);
  border-color: var(--mkt-primary);
  color: #ffffff;
  box-shadow: 0 0 14px var(--mkt-primary-glow);
}

.mkt-step-indicator.completed {
  background: var(--mkt-emerald);
  border-color: var(--mkt-emerald);
  color: #ffffff;
}

.mkt-steps-connector {
  position: absolute;
  top: 15px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--mkt-border);
  z-index: 1;
}

.mkt-steps-connector-fill {
  height: 100%;
  background: var(--mkt-primary);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.mkt-footer {
  background: #f8fafc;
  border-top: 1px solid var(--mkt-border);
  padding: 80px 0 40px;
  position: relative;
  z-index: 1;
}

.mkt-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.mkt-footer-col-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mkt-text-main);
  margin-bottom: 18px;
}

.mkt-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mkt-footer-link {
  color: var(--mkt-text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: var(--mkt-transition);
  cursor: pointer;
}

.mkt-footer-link:hover {
  color: var(--mkt-primary);
  transform: translateX(2px);
}

.mkt-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--mkt-border);
  font-size: 13px;
  color: var(--mkt-text-dim);
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   11. MOBILE DRAWER & NAVIGATION OVERLAY
   ========================================================================== */
.mkt-mobile-drawer,
#mkt-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 99999;
  padding: 32px 24px;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.mkt-mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.mkt-mobile-close {
  background: transparent;
  border: 1px solid var(--mkt-border);
  color: var(--mkt-text-main);
  width: 40px;
  height: 40px;
  border-radius: var(--mkt-radius-sm);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--mkt-transition);
}

.mkt-mobile-close:hover {
  background: var(--mkt-bg-surface-hover);
}

.mkt-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.mkt-mobile-link {
  color: var(--mkt-text-main);
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid var(--mkt-border);
  display: block;
  transition: var(--mkt-transition);
}

.mkt-mobile-link:hover {
  color: var(--mkt-primary);
  padding-left: 8px;
}

.mkt-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

/* ==========================================================================
   12. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .mkt-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mkt-hero-title {
    font-size: 44px;
  }

  .mkt-dashboard-float {
    transform: none;
  }

  .mkt-problem-grid {
    grid-template-columns: 1fr;
  }

  .mkt-compare-divider {
    transform: rotate(90deg);
    margin: 12px 0;
  }

  .mkt-dual-feature-grid {
    grid-template-columns: 1fr;
  }

  .mkt-login-split-card {
    grid-template-columns: 1fr;
  }

  .mkt-login-brand-panel {
    display: none;
  }

  .mkt-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mkt-nav-links {
    display: none;
  }

  .mkt-nav-toggle,
  .mkt-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mkt-hero-title {
    font-size: 34px;
  }

  .mkt-hero-desc {
    font-size: 16px;
  }

  .mkt-dash-metrics-grid {
    grid-template-columns: 1fr;
  }

  .mkt-section-title {
    font-size: 28px;
  }

  .mkt-footer-grid {
    grid-template-columns: 1fr;
  }
}

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