/* ==========================================================================
   UNIVERSAL ERP — MODERN SAAS MARKETING & CLIENT EXPERIENCE DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Brand Identity - Deep Slate & Electric Sapphire / Cyan */
  --mkt-bg: #0b0f19;
  --mkt-bg-secondary: #0f172a;
  --mkt-bg-surface: rgba(18, 26, 47, 0.7);
  --mkt-bg-surface-hover: rgba(30, 41, 69, 0.8);
  --mkt-bg-card: rgba(15, 23, 42, 0.65);
  --mkt-bg-card-solid: #131b2e;
  
  --mkt-border: rgba(255, 255, 255, 0.08);
  --mkt-border-focus: rgba(59, 130, 246, 0.5);
  --mkt-border-light: rgba(255, 255, 255, 0.14);

  --mkt-text-main: #f8fafc;
  --mkt-text-muted: #94a3b8;
  --mkt-text-dim: #64748b;
  --mkt-text-inverse: #0b0f19;

  --mkt-primary: #3b82f6;
  --mkt-primary-hover: #2563eb;
  --mkt-primary-glow: rgba(59, 130, 246, 0.35);
  
  --mkt-cyan: #06b6d4;
  --mkt-cyan-glow: rgba(6, 182, 212, 0.25);
  --mkt-emerald: #10b981;
  --mkt-emerald-glow: rgba(16, 185, 129, 0.25);
  --mkt-amber: #f59e0b;
  --mkt-purple: #8b5cf6;
  --mkt-rose: #f43f5e;

  --mkt-gradient-primary: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  --mkt-gradient-text: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
  --mkt-gradient-accent: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #38bdf8 100%);
  --mkt-gradient-card: linear-gradient(180deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
  --mkt-gradient-hero: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.18), transparent);

  --mkt-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --mkt-shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.4);
  --mkt-shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
  --mkt-shadow-glow: 0 0 30px rgba(59, 130, 246, 0.2);

  --mkt-radius-sm: 8px;
  --mkt-radius-md: 14px;
  --mkt-radius-lg: 20px;
  --mkt-radius-xl: 28px;
  --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.4s 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;
}

.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: #090d16;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s;
}

.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(59, 130, 246, 0.15);
  border-top-color: var(--mkt-primary);
  border-right-color: var(--mkt-cyan);
  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: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 8px;
}

.erp-loader-progress-track {
  width: 220px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  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.9; }
  50% { transform: scale(1.08); opacity: 1; filter: drop-shadow(0 0 12px var(--mkt-primary)); }
}

@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(11, 15, 25, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--mkt-border);
  padding: 12px 0;
  box-shadow: var(--mkt-shadow-sm);
}

.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: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--mkt-gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}

.mkt-brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.mkt-brand-badge {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.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: 500;
  transition: var(--mkt-transition);
  cursor: pointer;
}

.mkt-nav-link:hover {
  color: #ffffff;
}

.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-ghost {
  background: transparent;
  color: var(--mkt-text-muted);
}

.mkt-btn-ghost:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.mkt-btn-primary {
  background: var(--mkt-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}

.mkt-btn-primary:hover {
  background: var(--mkt-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45);
}

.mkt-btn-primary-glow {
  background: var(--mkt-gradient-primary);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.mkt-btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
}

.mkt-btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--mkt-text-main);
  border: 1px solid var(--mkt-border-light);
  backdrop-filter: blur(8px);
}

.mkt-btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  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: transparent;
  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;
}

.mkt-nav-toggle:hover,
.mkt-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--mkt-border-light);
}

/* ==========================================================================
   3. HERO SECTION & LIVE DASHBOARD
   ========================================================================== */
.mkt-hero {
  position: relative;
  z-index: 1;
  padding: 60px 0 80px;
  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(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  font-size: 12px;
  font-weight: 600;
  color: #60a5fa;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.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.3); opacity: 0.6; }
}

.mkt-hero-title {
  font-size: 56px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #ffffff;
  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: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--mkt-border);
  border-radius: var(--mkt-radius-md);
}

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

.mkt-metric-item .mkt-metric-val {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

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

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

.mkt-btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--mkt-text-main);
  border: 1px solid var(--mkt-border-light);
}

.mkt-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

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

.mkt-dash-preview-frame,
.mkt-dashboard-float {
  background: var(--mkt-bg-card-solid);
  border: 1px solid var(--mkt-border-light);
  border-radius: var(--mkt-radius-lg);
  box-shadow: var(--mkt-shadow-lg), 0 0 60px rgba(59, 130, 246, 0.15);
  position: relative;
  z-index: 2;
  backdrop-filter: blur(16px);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.mkt-dash-preview-frame:hover,
.mkt-dashboard-float:hover {
  transform: translateY(-3px);
  box-shadow: var(--mkt-shadow-lg), 0 0 80px rgba(59, 130, 246, 0.25);
}

.mkt-dash-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(0, 0, 0, 0.4);
  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: var(--mkt-text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--mkt-border);
  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(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.mkt-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

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

.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: rgba(255, 255, 255, 0.03);
  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: rgba(255, 255, 255, 0.06);
  border-color: var(--mkt-border-light);
}

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

.mkt-dash-stat-value {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.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: #34d399; }
.mkt-dash-stat-trend.neutral { color: #60a5fa; }
.mkt-dash-stat-trend.negative { color: #f87171; }

.mkt-dash-feed-box {
  background: rgba(11, 15, 25, 0.6);
  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(6, 182, 212, 0.15);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.3);
  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-dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--mkt-border);
}

.mkt-dash-business-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mkt-dash-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.mkt-dash-biz-name {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.mkt-dash-biz-sub {
  font-size: 11px;
  color: var(--mkt-text-dim);
}

.mkt-dash-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--mkt-radius-full);
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

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

.mkt-metric-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--mkt-border);
  border-radius: var(--mkt-radius-md);
  padding: 14px;
  position: relative;
  overflow: hidden;
  transition: var(--mkt-transition);
}

.mkt-metric-box:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--mkt-border-light);
}

.mkt-metric-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mkt-text-muted);
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mkt-metric-val {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  font-family: var(--mkt-font-sans);
}

.mkt-metric-trend {
  font-size: 11px;
  font-weight: 600;
  color: var(--mkt-emerald);
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.mkt-dash-live-activity {
  background: rgba(11, 15, 25, 0.6);
  border: 1px solid var(--mkt-border);
  border-radius: var(--mkt-radius-md);
  padding: 12px 14px;
}

.mkt-live-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mkt-text-dim);
  margin-bottom: 10px;
}

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

.mkt-activity-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  animation: mktFeedSlideIn 0.4s ease forwards;
}

.mkt-activity-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.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(-8px); }
  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: rgba(15, 23, 42, 0.4);
}

.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: rgba(255, 255, 255, 0.03);
  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: rgba(255, 255, 255, 0.06);
  border-color: var(--mkt-border-light);
}

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

/* ==========================================================================
   5. PROBLEM → SOLUTION SECTION
   ========================================================================== */
.mkt-section {
  padding: 100px 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: #ffffff;
  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: 20px;
}

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

.mkt-compare-card.problem-side {
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.18);
}

.mkt-compare-card.solution-side {
  background: rgba(16, 185, 129, 0.04);
  border: 1px solid rgba(16, 185, 129, 0.25);
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.08);
}

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

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

.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 0 20px rgba(59, 130, 246, 0.4);
}

/* ==========================================================================
   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: rgba(255, 255, 255, 0.04);
  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;
}

.mkt-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.mkt-tab-btn.active {
  background: var(--mkt-primary);
  color: #ffffff;
  border-color: var(--mkt-primary);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
}

.mkt-showcase-frame {
  background: #0f172a;
  border: 1px solid var(--mkt-border-light);
  border-radius: var(--mkt-radius-xl);
  overflow: hidden;
  box-shadow: var(--mkt-shadow-lg), 0 0 80px rgba(59, 130, 246, 0.15);
}

.mkt-showcase-topbar {
  background: #1e293b;
  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: rgba(0, 0, 0, 0.3);
  padding: 4px 16px;
  border-radius: 6px;
  font-size: 11px;
  font-family: var(--mkt-font-mono);
  color: var(--mkt-text-muted);
}

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

/* ==========================================================================
   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: #090d16;
  border: 6px solid #1e293b;
  border-radius: 36px;
  box-shadow: var(--mkt-shadow-lg), 0 0 60px rgba(6, 182, 212, 0.25);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.mkt-phone-notch {
  width: 110px;
  height: 18px;
  background: #1e293b;
  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(6, 182, 212, 0.08) 0%, #0b0f19 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, #06b6d4, #3b82f6, transparent);
  box-shadow: 0 0 12px #06b6d4, 0 0 24px #06b6d4;
  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: #06b6d4;
  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: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(6, 182, 212, 0.4);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  z-index: 6;
  animation: mktPopIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.mkt-detected-name {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.mkt-detected-price {
  font-size: 12px;
  color: #34d399;
  font-weight: 700;
}

@keyframes mktPopIn {
  from { transform: scale(0.8); 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: var(--mkt-bg-surface);
  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;
  transition: var(--mkt-transition);
}

.mkt-offline-node:hover {
  transform: translateY(-2px);
  border-color: var(--mkt-border-light);
}

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

.mkt-offline-node.active {
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(59, 130, 246, 0.08);
}

.mkt-offline-node.success {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.08);
}

.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: var(--mkt-bg-card-solid);
  border: 1px solid var(--mkt-border);
  border-radius: var(--mkt-radius-lg);
  padding: 32px;
}

.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(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  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: var(--mkt-bg-card);
  border: 1px solid var(--mkt-border);
  border-radius: var(--mkt-radius-md);
  padding: 24px;
  transition: var(--mkt-transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mkt-industry-card:hover {
  background: var(--mkt-bg-surface-hover);
  border-color: var(--mkt-border-light);
  transform: translateY(-3px);
  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 {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--mkt-border);
  border-radius: var(--mkt-radius-md);
  padding: 20px;
  transition: var(--mkt-transition);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mkt-module-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--mkt-border-focus);
  transform: translateY(-2px);
}

.mkt-module-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.1);
  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: #090d16;
  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: #0f172a;
  border: 1px solid var(--mkt-border-light);
  border-radius: var(--mkt-radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  box-shadow: var(--mkt-shadow-lg), 0 0 80px rgba(59, 130, 246, 0.15);
}

.mkt-login-brand-panel {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 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: #0f172a;
}

/* 5-Step Progressive Onboarding Modal Card */
.mkt-onboarding-card {
  width: 100%;
  max-width: 580px;
  background: #0f172a;
  border: 1px solid var(--mkt-border-light);
  border-radius: var(--mkt-radius-xl);
  padding: 40px;
  box-shadow: var(--mkt-shadow-lg), 0 0 80px rgba(59, 130, 246, 0.2);
}

.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: rgba(255, 255, 255, 0.05);
  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 rgba(59, 130, 246, 0.5);
}

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

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.mkt-footer {
  background: #070a12;
  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: #ffffff;
  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: #ffffff;
}

.mkt-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  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(11, 15, 25, 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: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.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: #60a5fa;
  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;
  }
}
