/* ═══════════════════════════════════════════════════════════════════════
   ResellerHub — Marketing Website Styles
   Color scheme: Deep navy base (#060B14) with green accent
   Fonts: DM Sans (body) + Outfit (headings) + JetBrains Mono (data)
   ═══════════════════════════════════════════════════════════════════════ */

/* ── CSS Variables (Dark = default) ──────────────────────────────── */
:root {
  --bg:          #060B14;
  --bg-2:        #0D1117;
  --bg-3:        #161B22;
  --border:      rgba(255,255,255,0.06);
  --text:        #F9FAFB;
  --text-dim:    #9CA3AF;
  --text-muted:  #6B7280;
  --green:       #22c55e;
  --green-dim:   rgba(34,197,94,0.10);
  --green-glow:  rgba(34,197,94,0.22);
  --accent:      #4ade80;
  --card-bg:     #0D1117;
  --card-border: #1F2937;
  --shadow:      0 25px 60px rgba(0,0,0,0.5);
  --radius:      16px;
  --transition:  all 0.35s cubic-bezier(0.4,0,0.2,1);
  --c-free:      #6B7280;
  --c-starter:   #3B82F6;
  --c-pro:       #8B5CF6;
  --c-proplus:   #A855F7;
  --c-max:       #F59E0B;
  --c-maxplus:   #EF4444;
  /* App demo colors */
  --app-bg:      #0a0a0b;
  --app-card:    #111113;
  --app-surface: #18181b;
  --app-border:  rgba(255,255,255,0.07);
  --app-text:    #e4e4e7;
  --app-muted:   #71717a;
}

[data-theme="light"] {
  --bg:          #f8fafc;
  --bg-2:        #f1f5f9;
  --bg-3:        #e2e8f0;
  --border:      rgba(0,0,0,0.07);
  --text:        #0f172a;
  --text-dim:    #475569;
  --text-muted:  #64748b;
  --green:       #16a34a;
  --green-dim:   rgba(22,163,74,0.08);
  --green-glow:  rgba(22,163,74,0.18);
  --accent:      #15803d;
  --card-bg:     #ffffff;
  --card-border: #e2e8f0;
  --shadow:      0 25px 60px rgba(0,0,0,0.08);
  --app-bg:      #fafafa;
  --app-card:    #ffffff;
  --app-surface: #f4f4f5;
  --app-border:  rgba(0,0,0,0.08);
  --app-text:    #18181b;
  --app-muted:   #a1a1aa;
}

/* ── Reset ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  transition: background 0.4s, color 0.4s;
  line-height: 1.6;
}

/* Subtle noise texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}
[data-theme="light"] body::before { opacity: 0.15; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Navigation ──────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 68px;
  background: rgba(6,11,20,0.88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s;
}
[data-theme="light"] .nav { background: rgba(248,250,252,0.88); }

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.25rem;
  color: var(--text); flex-shrink: 0;
}
/* .logo-icon renders the brand PNG (logo.png). NO border-radius applied —
   the PNG already has its own rounded-corner design baked in. Adding a CSS
   border-radius on top clipped the artwork and reshaped the icon. */
.logo-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}
.logo-icon.sm { width: 30px; height: 30px; }

.nav-links {
  display: flex; gap: 1.6rem; list-style: none;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-links a { color: var(--text-dim); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

.nav-right { display: flex; align-items: center; gap: 0.75rem; }

/* Theme toggle */
.theme-toggle {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--card-bg); border: 1px solid var(--card-border);
  cursor: pointer; padding: 0; transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0; color: var(--text-muted);
}
.theme-toggle:hover { background: var(--bg-3); color: var(--text); }
.theme-toggle .icon-sun, .theme-toggle .icon-moon {
  position: absolute; width: 14px; height: 14px; transition: transform 0.3s, opacity 0.3s;
}
[data-theme="dark"] .theme-toggle .icon-sun { transform: rotate(0deg) scale(1); opacity: 1; }
[data-theme="dark"] .theme-toggle .icon-moon { transform: rotate(-90deg) scale(0.5); opacity: 0; }
[data-theme="light"] .theme-toggle .icon-sun { transform: rotate(90deg) scale(0.5); opacity: 0; }
[data-theme="light"] .theme-toggle .icon-moon { transform: rotate(0deg) scale(1); opacity: 1; }
:root:not([data-theme="light"]) .theme-toggle .icon-sun { transform: rotate(0deg) scale(1); opacity: 1; }
:root:not([data-theme="light"]) .theme-toggle .icon-moon { transform: rotate(-90deg) scale(0.5); opacity: 0; }

.btn-nav {
  background: var(--green); color: #fff; border: none; border-radius: 10px;
  padding: 9px 20px; font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem; font-weight: 600; cursor: pointer;
  transition: var(--transition); display: inline-flex; align-items: center;
  gap: 6px; white-space: nowrap;
}
.btn-nav:hover { transform: translateY(-1px); box-shadow: 0 8px 24px var(--green-glow); }
.btn-nav-outline { background: transparent; border: 1px solid var(--card-border); color: var(--text-dim); }
.btn-nav-outline:hover { border-color: var(--green); color: var(--text); box-shadow: none; }

.nav-menu-btn {
  display: none; background: none; border: 1px solid var(--border);
  border-radius: 8px; padding: 6px 8px; color: var(--text); cursor: pointer; line-height: 0;
}

/* ── Mobile nav ──────────────────────────────────────────────────── */
.mobile-nav {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg); z-index: 200; flex-direction: column; overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 68px; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.mobile-nav-close { background: none; border: none; color: var(--text); cursor: pointer; padding: 4px; line-height: 0; }
.mobile-nav-links { display: flex; flex-direction: column; padding: 1rem 5%; flex: 1; }
.mobile-nav-links a {
  font-size: 1.1rem; color: var(--text-dim); font-weight: 500;
  padding: 14px 0; border-bottom: 1px solid var(--border); transition: color 0.2s;
}
.mobile-nav-links a:hover { color: var(--text); }
.mobile-nav-actions { display: flex; flex-direction: column; gap: 10px; padding: 1rem 5%; }
.mobile-btn { width: 100%; justify-content: center; text-align: center; }
.mobile-nav-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 5%; border-top: 1px solid var(--border); flex-shrink: 0;
}
.mobile-nav-footer span { font-size: 0.9rem; color: var(--text-dim); }
.hide-mobile { display: inline-flex; }

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; padding: 120px 5% 80px; text-align: center; overflow: hidden;
}
.hero-glow {
  position: absolute; top: 15%; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
  pointer-events: none; animation: pulse-glow 4s ease-in-out infinite;
}
[data-theme="light"] .hero-glow { background: radial-gradient(circle, rgba(22,163,74,0.12) 0%, transparent 70%); }
@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1;   transform: translateX(-50%) scale(1.08); }
}

.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-dim); border: 1px solid rgba(34,197,94,0.2);
  border-radius: 50px; padding: 6px 18px; font-size: 0.82rem;
  font-weight: 500; color: var(--green); margin-bottom: 2rem;
  animation: fadeUp 0.6s ease both;
}
.hero-badge .dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; animation: blink 1.5s ease infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero h1 {
  font-family: 'Outfit', sans-serif; font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -0.03em;
  margin-bottom: 1.5rem; animation: fadeUp 0.7s 0.1s ease both;
}
.hero h1 .green { color: var(--green); }
.hero h1 .line { display: block; }

.hero-sub {
  font-size: 1.15rem; color: var(--text-dim); max-width: 560px;
  margin: 0 auto 2.5rem; line-height: 1.7; font-weight: 400;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; animation: fadeUp 0.7s 0.3s ease both; }
.btn-primary {
  background: var(--green); color: #fff; border: none; border-radius: 12px;
  padding: 15px 32px; font-family: 'DM Sans', sans-serif; font-size: 1rem;
  font-weight: 600; cursor: pointer; transition: var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px var(--green-glow); }
.btn-ghost {
  background: var(--card-bg); color: var(--text-dim); border: 1px solid var(--card-border);
  border-radius: 12px; padding: 15px 32px; font-family: 'DM Sans', sans-serif;
  font-size: 1rem; font-weight: 500; cursor: pointer; transition: var(--transition);
}
.btn-ghost:hover { color: var(--text); border-color: var(--green); transform: translateY(-2px); }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--border);
  animation: fadeUp 0.7s 0.4s ease both;
}
.stat { text-align: center; }
.stat-num { font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 800; color: var(--green); line-height: 1; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

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

/* ═══════════════════════════════════════════════════════════════════════
   Interactive App Demo
   ═══════════════════════════════════════════════════════════════════════ */

.demo-section { padding: 0 5% 100px; position: relative; max-width: 1400px; margin: 0 auto; scroll-margin-top: 80px; }
.demo-intro { text-align: center; margin-bottom: 2.5rem; }
.demo-intro .section-sub { margin: 0 auto 0; }

/* Browser chrome */
.demo-chrome {
  background: var(--app-card); border: 1px solid var(--app-border); border-bottom: none;
  border-radius: 16px 16px 0 0; padding: 12px 16px; display: flex; align-items: center; gap: 12px;
}
.chrome-dots { display: flex; gap: 6px; }
.chrome-dots span { width: 10px; height: 10px; border-radius: 50%; }
.chrome-dots span:nth-child(1) { background: #ef4444; }
.chrome-dots span:nth-child(2) { background: #f59e0b; }
.chrome-dots span:nth-child(3) { background: #22c55e; }
.chrome-reload-spinner {
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid transparent; border-top-color: var(--app-muted);
  animation: chromeSpin 0.5s linear infinite;
  display: none; position: absolute; left: 10px; top: 0; bottom: 0; margin: auto 0;
}
.chrome-reload-spinner.active { display: block; }
@keyframes chromeSpin { to { transform: rotate(360deg); } }
.chrome-url {
  flex: 1; text-align: center; font-size: 0.72rem; color: var(--app-muted);
  background: var(--app-bg); border: 1px solid var(--app-border);
  border-radius: 6px; padding: 5px 12px; font-family: 'JetBrains Mono', monospace;
  text-decoration: none; display: block; transition: color 0.15s; position: relative;
}
.chrome-url:hover { color: var(--app-text); }

/* App preview container */
.app-preview {
  background: var(--app-bg); border-radius: 0 0 16px 16px; overflow: hidden;
  border: 1px solid var(--app-border); border-top: none; position: relative;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.03);
}
[data-theme="light"] .app-preview { box-shadow: 0 40px 100px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.05); }

/* App top bar */
.app-bar {
  background: var(--app-card); padding: 0 20px; display: flex; align-items: center;
  border-bottom: 1px solid var(--app-border); height: 52px;
}
.app-topnav-logo {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 0.82rem;
  color: var(--app-text); margin-right: 24px; white-space: nowrap; line-height: 1.2;
}
.app-topnav-tabs { display: flex; align-items: center; height: 100%; gap: 0; flex: 1; }
.app-topnav-tabs span {
  display: flex; align-items: center; height: 100%; padding: 0 14px;
  font-size: 0.78rem; color: var(--app-muted); border-bottom: 2px solid transparent;
  white-space: nowrap; cursor: default; transition: color 0.2s;
}
.app-topnav-tabs span.active { color: #22c55e; border-bottom-color: #22c55e; }
.app-topnav-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.app-search-bar {
  display: flex; align-items: center; gap: 6px;
  background: var(--app-surface); border: 1px solid var(--app-border);
  border-radius: 6px; padding: 5px 12px; font-size: 0.72rem; color: var(--app-muted); width: 180px;
}
.app-search-bar input {
  background: none; border: none; outline: none; color: var(--app-text);
  font-family: 'DM Sans', sans-serif; font-size: 0.72rem; width: 100%;
}
.app-search-bar input::placeholder { color: var(--app-muted);
}
.app-plan-badge { font-size: 0.7rem; font-weight: 600; color: #8B5CF6; }

/* App inner content */
.app-inner { padding: 0; background: var(--app-bg); }
.app-content-area { display: flex; min-height: 0; overflow: hidden; }
.app-list-panel { flex: 1; padding: 1.5rem; overflow: hidden; }

/* Page header */
.app-page-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; margin-bottom: 1.25rem;
}
.app-page-title { font-family: 'Outfit', sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--app-text); margin-bottom: 3px; }
.app-page-sub { font-size: 0.75rem; color: var(--app-muted); }
.app-actions { display: flex; gap: 8px; align-items: center; }
.app-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 1px solid var(--app-border); border-radius: 8px;
  padding: 7px 14px; font-size: 0.75rem; color: var(--app-muted);
  cursor: pointer; font-family: 'DM Sans', sans-serif; transition: all 0.2s;
}
.app-btn:hover { border-color: rgba(255,255,255,0.2); color: var(--app-text); }
[data-theme="light"] .app-btn:hover { border-color: #cbd5e1; }
.app-btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: #22c55e; border: none; border-radius: 8px;
  padding: 7px 14px; font-size: 0.75rem; font-weight: 600; color: #fff;
  cursor: pointer; font-family: 'DM Sans', sans-serif; transition: all 0.2s;
}
.app-btn-primary:hover { filter: brightness(1.1); }

/* Summary stats bar — matching real app StatCard */
.app-summary { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 1.25rem; }
.stat-card {
  display: flex; align-items: center; overflow: hidden; min-width: 0;
  border-radius: 10px; border: 1px solid rgba(255,255,255,0.08); background: #111113;
  box-shadow: 0 1px 3px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
}
[data-theme="light"] .stat-card {
  border: 1px solid #e5e7eb; background: #ffffff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.stat-accent { width: 3px; align-self: stretch; flex-shrink: 0; border-radius: 3px 0 0 3px; }
.stat-body { flex: 1; padding: 8px 10px; min-width: 0; }
.stat-val {
  font-size: 0.92rem; font-weight: 800; line-height: 1;
  color: #ffffff; font-family: 'DM Sans', sans-serif;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
[data-theme="light"] .stat-val { color: #111827; }
.stat-lbl {
  margin-top: 4px; font-size: 0.55rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; color: #6b7280;
  white-space: nowrap;
}
[data-theme="dark"] .stat-lbl { color: #6b7280; }
.stat-icon-wrap {
  width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; margin-right: 8px;
}
.stat-icon { width: 16px; height: 16px; }

/* Table card */
.app-table-card { background: var(--app-card); border: 1px solid var(--app-border); border-radius: 12px; overflow: hidden; }
.app-table-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--app-border);
}
.app-table-title { font-family: 'Outfit', sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--app-text); }
.app-table-count { font-size: 0.72rem; color: var(--app-muted); }

/* Column header */
.app-col-header {
  display: grid; grid-template-columns: 30px 48px 1fr 100px 70px 50px 28px 24px 30px;
  padding: 9px 14px; font-size: 0.68rem; color: var(--app-muted);
  border-bottom: 1px solid var(--app-border); font-weight: 500;
  letter-spacing: 0.02em; align-items: center;
  min-height: 46px; box-sizing: border-box;
}

/* Product rows */
.app-rows { }

.demo-empty-state {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 56px 20px; text-align: center;
}
.demo-empty-icon {
  width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin-bottom: 2px;
  background: #f3f4f6; color: #d1d5db;
}
[data-theme="dark"] .demo-empty-icon {
  background: rgba(255,255,255,0.04); color: #404040;
}
.demo-empty-text { font-size: 0.78rem; font-weight: 600; color: #9ca3af; }
[data-theme="dark"] .demo-empty-text { color: #525252; }
.demo-empty-sub { font-size: 0.72rem; color: #9ca3af; max-width: 240px; line-height: 1.5; }
[data-theme="dark"] .demo-empty-sub { color: #525252; }
.demo-empty-actions { display: flex; gap: 8px; margin-top: 8px; }
.demo-empty-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px;
  border-radius: 8px; font-size: 0.75rem; font-weight: 600; cursor: pointer;
  font-family: 'DM Sans', sans-serif; transition: all 0.2s;
  background: transparent; border: 1px solid var(--app-border); color: var(--app-muted);
}
.demo-empty-btn:hover { border-color: rgba(255,255,255,0.15); color: var(--app-text); }
[data-theme="light"] .demo-empty-btn:hover { border-color: #cbd5e1; }
.demo-empty-btn.primary { background: #22c55e; border: none; color: #fff; }
.demo-empty-btn.primary:hover { filter: brightness(1.1); }

.demo-pagination {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-top: 1px solid var(--app-border);
  font-size: 0.72rem; color: var(--app-muted);
}
.pag-btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 12px; border-radius: 6px; font-size: 0.72rem; font-weight: 500;
  background: none; border: 1px solid var(--app-border); color: var(--app-muted);
  cursor: pointer; font-family: 'DM Sans', sans-serif; transition: all 0.15s;
}
.pag-btn:hover { border-color: var(--app-text); color: var(--app-text); }
.pag-btn.disabled { opacity: 0.3; cursor: default; pointer-events: none; }
.pag-info { font-size: 0.72rem; color: var(--app-muted); }
.app-row {
  display: grid; grid-template-columns: 30px 48px 1fr 100px 70px 50px 28px 24px 30px;
  padding: 6px 14px; align-items: center; font-size: 0.78rem;
  border-bottom: 1px solid rgba(255,255,255,0.03); color: var(--app-text);
  cursor: pointer; transition: background 0.15s;
}
[data-theme="light"] .app-row { border-bottom-color: #f4f4f5; }
.app-row:last-child { border-bottom: none; }
.app-row:hover { background: rgba(59,130,246,0.06); }
.app-row.selected { background: rgba(59,130,246,0.10); }
.app-row:hover .row-title { color: #60a5fa; }

.col-check {
  width: 14px; height: 14px; border: 1.5px solid var(--app-border); border-radius: 3px;
  flex-shrink: 0; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.15s; position: relative;
}
.col-check::before {
  content: ''; position: absolute; top: -10px; left: -10px; right: -10px; bottom: -10px;
}
.row-thumb {
  width: 32px; height: 32px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  overflow: hidden; background: var(--app-surface);
}
.row-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }

.row-title-group { min-width: 0; }
.row-title {
  font-size: 0.78rem; color: var(--app-text); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; transition: color 0.15s;
}
.row-sku { font-size: 0.65rem; color: var(--app-muted); font-family: 'JetBrains Mono', monospace; }
.row-marketplaces { display: flex; gap: 3px; align-items: center; justify-content: center; flex-wrap: nowrap; }
.mp-icon { flex-shrink: 0; display: block; }
.mp-ebay { width: 18px; height: 18px; }
.mp-vinted { width: 20px; height: 20px; position: relative; top: 2px; }
.mp-loading {
  display: inline-block; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid transparent;
  animation: listingSpin 0.5s linear infinite;
  margin: 0 3px; flex-shrink: 0;
}
.mp-loading-post { border-top-color: #f59e0b; }
.mp-loading-end { border-top-color: #ef4444; }

.condition-pill {
  display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 6px; font-size: 0.65rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap;
}
.condition-pill[data-cond="New"] { background: rgba(16,185,129,0.1); color: #059669; border: 1px solid rgba(16,185,129,0.2); }
.condition-pill[data-cond="Like New"] { background: rgba(34,197,94,0.1); color: #16a34a; border: 1px solid rgba(34,197,94,0.2); }
.condition-pill[data-cond="Very Good"] { background: rgba(132,204,22,0.1); color: #65a30d; border: 1px solid rgba(132,204,22,0.2); }
.condition-pill[data-cond="Good"] { background: rgba(251,191,36,0.1); color: #b45309; border: 1px solid rgba(251,191,36,0.2); }
.condition-pill[data-cond="Acceptable"] { background: rgba(251,146,60,0.1); color: #c2410c; border: 1px solid rgba(251,146,60,0.2); }
.condition-pill[data-cond="For Parts"] { background: rgba(194,65,12,0.1); color: #9a3412; border: 1px solid rgba(194,65,12,0.2); }
[data-theme="dark"] .condition-pill[data-cond="New"] { background: rgba(52,211,153,0.1); color: #34d399; border-color: rgba(52,211,153,0.15); }
[data-theme="dark"] .condition-pill[data-cond="Like New"] { background: rgba(74,222,128,0.1); color: #4ade80; border-color: rgba(74,222,128,0.15); }
[data-theme="dark"] .condition-pill[data-cond="Very Good"] { background: rgba(163,230,53,0.1); color: #a3e635; border-color: rgba(163,230,53,0.15); }
[data-theme="dark"] .condition-pill[data-cond="Good"] { background: rgba(251,191,36,0.1); color: #fbbf24; border-color: rgba(251,191,36,0.15); }
[data-theme="dark"] .condition-pill[data-cond="Acceptable"] { background: rgba(251,146,60,0.1); color: #fb923c; border-color: rgba(251,146,60,0.15); }
[data-theme="dark"] .condition-pill[data-cond="For Parts"] { background: rgba(234,88,12,0.12); color: #f97316; border-color: rgba(234,88,12,0.2); }

.detail-listing-left .mp-icon {
  position: static; top: auto;
}
.detail-listing-left .mp-ebay { width: 20px; height: 20px; margin-left: 3px; margin-right: 3px; }
.detail-listing-left .mp-vinted { width: 26px; height: 26px; }

.import-back-btn {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 6px;
  color: var(--app-muted); cursor: pointer; transition: all 0.15s; flex-shrink: 0;
}
.import-back-btn:hover { color: var(--app-text); background: var(--app-surface); }

.row-price { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; font-weight: 500; }
.row-qty { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; }
.stock-badge {
  display: inline-flex; padding: 2px 8px; border-radius: 4px;
  font-size: 0.7rem; font-weight: 600; font-family: 'JetBrains Mono', monospace;
}
.stock-badge.in-stock { background: rgba(34,197,94,0.12); color: #22c55e; }
.stock-badge.low { background: rgba(245,158,11,0.12); color: #f59e0b; }
.stock-badge.out { background: rgba(239,68,68,0.12); color: #ef4444; }

.row-sold { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; color: var(--app-muted); }

.row-sync {
  display: flex; align-items: center; justify-content: center;
  color: var(--app-muted); opacity: 0.3;
}
.row-sync.needs-sync {
  opacity: 1; color: #f59e0b; cursor: pointer;
  transition: transform 0.2s;
}
.row-sync.needs-sync:hover { transform: scale(1.2); }
.row-sync.syncing svg { animation: spin 0.8s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.row-menu {
  display: flex; align-items: center; justify-content: center; color: var(--app-muted);
  opacity: 0.4; cursor: pointer; position: relative; width: 20px; height: 20px;
  border-radius: 50%; transition: all 0.15s; margin-left: auto;
}
.row-menu:hover, .row-menu.active {
  opacity: 1; background: rgba(255,255,255,0.08); color: var(--app-text);
}
[data-theme="light"] .row-menu:hover, [data-theme="light"] .row-menu.active {
  background: #f1f5f9; color: #374151;
}

/* ── Detail Panel (desktop) ────────────────────────────────────── */
.app-detail-panel {
  width: 340px; flex-shrink: 0; overflow: hidden; background: var(--app-card);
  border-left: 1px solid var(--app-border);
  margin-right: -340px;
  transition: margin-right 0.25s cubic-bezier(0.4,0,0.2,1);
}
.app-detail-panel.open { margin-right: 0; }

.detail-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; min-height: 300px; gap: 12px; color: var(--app-muted);
}
.detail-empty p { font-size: 0.78rem; }

.detail-content { padding: 20px; animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.detail-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.detail-close {
  width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--app-muted); border-radius: 50%; transition: background 0.15s; flex-shrink: 0;
}
.detail-close:hover { background: var(--app-surface); color: var(--app-text); }

.detail-thumb {
  width: 100%; aspect-ratio: 16/10; border-radius: 10px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: var(--app-surface);
}
.detail-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }

.detail-title { font-family: 'Outfit', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--app-text); margin-bottom: 4px; }
.detail-sku-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.detail-sku { font-size: 0.68rem; color: var(--app-muted); font-family: 'JetBrains Mono', monospace; }

.detail-edit-icon {
  display: inline-flex; opacity: 0; color: var(--app-muted);
  margin-left: 6px; transition: opacity 0.15s;
}
.detail-field .detail-edit-icon {
  position: absolute; left: 100%; top: 50%; transform: translateY(-50%);
  margin-left: 6px;
}
.detail-editable { cursor: pointer; }
.detail-editable:hover .detail-edit-icon { opacity: 1; }
.detail-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: 20px;
  border: 1px solid var(--app-border); border-radius: 10px;
  background: var(--app-surface);
  overflow: hidden;
}
.detail-grid.detail-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.detail-field {
  padding: 6px 10px; position: relative; text-align: center;
  transition: background 0.15s; line-height: 1.2;
}
.detail-field:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 20%; bottom: 20%;
  width: 1px; background: var(--app-border);
}
.detail-field.detail-editable:hover { background: rgba(255,255,255,0.03); }
[data-theme="light"] .detail-field.detail-editable:hover { background: rgba(0,0,0,0.03); }
.detail-grid > .detail-field:first-child { border-radius: 10px 0 0 10px; }
.detail-grid > .detail-field:last-child { border-radius: 0 10px 10px 0; }
.detail-field-label {
  font-size: 0.58rem; color: var(--app-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 600; margin-bottom: 3px; line-height: 1.3;
}
.detail-field-value {
  font-size: 0.9rem; font-weight: 700; color: var(--app-text);
  font-family: 'Outfit', sans-serif; letter-spacing: -0.01em;
  display: inline-block; position: relative;
}

.detail-section-title {
  font-size: 0.72rem; font-weight: 600; color: var(--app-muted);
  text-transform: uppercase; letter-spacing: 0.05em; margin: 16px 0 8px;
}

/* Sync needed badge in detail */
.detail-sync-bar {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.2);
  border-radius: 8px; padding: 10px 14px; margin-bottom: 16px;
  overflow: hidden; transition: height 0.3s ease, padding 0.3s ease, margin 0.3s ease, opacity 0.3s ease;
}
.detail-sync-text { font-size: 0.75rem; color: #f59e0b; font-weight: 500; }
.detail-sync-btn {
  background: #f59e0b; color: #fff; border: none; border-radius: 6px;
  padding: 5px 14px; font-size: 0.72rem; font-weight: 600; cursor: pointer;
  font-family: 'DM Sans', sans-serif; transition: all 0.2s;
}
.detail-sync-btn:hover { filter: brightness(1.1); }
.detail-sync-btn.syncing { opacity: 0.7; pointer-events: none; }

/* Listing rows with hover effect */
.detail-listing {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 12px; background: var(--app-surface); border-radius: 8px; margin-bottom: 6px;
  height: 36px; box-sizing: border-box;
  transition: background 0.15s;
}
.detail-listing.clickable { cursor: pointer; }
.detail-listing.clickable:hover { background: rgba(59,130,246,0.08); }
.detail-listing.clickable:hover .detail-listing-name { color: #60a5fa; }
.detail-listing-left { display: flex; align-items: center; gap: 8px; }
.detail-listing-name { font-size: 0.75rem; font-weight: 500; color: var(--app-text); transition: color 0.15s; }
.detail-listing-status { font-size: 0.65rem; font-weight: 600; padding: 2px 8px; border-radius: 4px; }
.listing-active { background: rgba(34,197,94,0.12); color: #22c55e; }
.listing-none { background: var(--app-border); color: var(--app-muted); }
.listing-posting {
  background: rgba(245,158,11,0.12); color: #f59e0b;
  display: inline-flex; align-items: center; gap: 5px;
}
.listing-posting-spinner {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  border: 1.5px solid transparent; border-top-color: #f59e0b;
  animation: listingSpin 0.5s linear infinite;
}
.listing-ending {
  background: rgba(239,68,68,0.12); color: #ef4444;
  display: inline-flex; align-items: center; gap: 5px;
}
.listing-ending-spinner {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  border: 1.5px solid transparent; border-top-color: #ef4444;
  animation: listingSpin 0.5s linear infinite;
}
@keyframes listingSpin { to { transform: rotate(360deg); } }
.detail-listing-right { display: flex; align-items: center; gap: 2px; }
.detail-listing-remove, .detail-listing-add, .detail-listing-spacer {
  display: flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  color: var(--app-muted); transition: color 0.15s, background 0.15s; margin-left: 6px;
  flex-shrink: 0;
}
.detail-listing-remove, .detail-listing-add { cursor: pointer; }
.detail-listing-remove svg, .detail-listing-add svg { width: 16px; height: 16px; }
.detail-listing-remove:hover { color: #ef4444; background: rgba(239,68,68,0.1); }
.detail-listing-add:hover { color: #22c55e; background: rgba(34,197,94,0.1); }
.listing-action-menu {
  position: absolute; right: 0; top: 100%; margin-top: 4px; z-index: 50;
  background: var(--app-card); border: 1px solid var(--app-border);
  border-radius: 8px; padding: 4px 0; min-width: 140px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
[data-theme="light"] .listing-action-menu { box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.listing-action-item {
  padding: 7px 14px; font-size: 0.75rem; color: var(--app-text);
  cursor: pointer; transition: background 0.12s;
}
.listing-action-item:hover { background: var(--app-surface); }
.listing-action-warn { color: #ef4444; }
.listing-action-warn:hover { background: rgba(239,68,68,0.08); }
.listing-action-amber { color: #f59e0b; }
.listing-action-amber:hover { background: rgba(245,158,11,0.08); }

.detail-txn-list {
  max-height: 160px; overflow-y: auto;
  margin-right: -12px;
  scrollbar-width: thin;
  scrollbar-color: var(--app-muted) transparent;
  scrollbar-gutter: stable;
}
.detail-txn-list::-webkit-scrollbar { width: 4px; }
.detail-txn-list::-webkit-scrollbar-track { background: transparent; }
.detail-txn-list::-webkit-scrollbar-thumb { background: var(--app-muted); border-radius: 2px; }
.detail-txn-list::-webkit-scrollbar-thumb:hover { background: var(--app-text); }
.detail-txn-list .detail-txn { margin-right: 8px; }
.detail-txn {
  display: flex; align-items: center;
  padding: 6px 0; border-bottom: 1px solid var(--app-border); font-size: 0.72rem;
}
.detail-txn:last-child { border-bottom: none; }
.detail-txn-type { color: var(--app-muted); flex: 1; }
.detail-txn-qty { font-family: 'JetBrains Mono', monospace; font-weight: 600; width: 40px; text-align: center; }
.txn-sale { color: #ef4444; }
.txn-add { color: #22c55e; }
.detail-txn-date { font-size: 0.65rem; color: var(--app-muted); width: 50px; text-align: right; }

/* ── Mobile Detail Overlay ─────────────────────────────────────── */
.mobile-detail-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--app-bg); z-index: 150; overflow-y: auto;
  animation: slideUp 0.3s ease;
}
.mobile-detail-overlay.open { display: block; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

.mobile-detail-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--app-border);
  background: var(--app-card); position: sticky; top: 0; z-index: 1;
}
.mobile-detail-back {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600; color: #60a5fa; cursor: pointer;
  background: none; border: none; font-family: 'DM Sans', sans-serif;
}
.mobile-detail-body { padding: 20px; }

/* ── Demo Modal ────────────────────────────────────────────────── */
.demo-modal-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  z-index: 300; align-items: center; justify-content: center; padding: 20px;
}
.demo-modal-overlay.open { display: flex; }

.demo-modal {
  background: var(--app-card); border: 1px solid var(--app-border);
  border-radius: 16px; width: 100%; max-width: 520px; max-height: 80vh;
  overflow-y: auto; animation: modalIn 0.25s ease;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
[data-theme="light"] .demo-modal { box-shadow: 0 30px 80px rgba(0,0,0,0.15); }
@keyframes modalIn { from { opacity: 0; transform: scale(0.95) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }

.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--app-border);
}
.modal-title { font-family: 'Outfit', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--app-text); }
.modal-close {
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--app-muted); border-radius: 6px; transition: background 0.15s;
}
.modal-close:hover { background: var(--app-surface); color: var(--app-text); }

.modal-body { padding: 24px; }

.modal-field { margin-bottom: 16px; }
.modal-label { display: block; font-size: 0.75rem; font-weight: 600; color: var(--app-muted); margin-bottom: 6px; }
.modal-input {
  width: 100%; padding: 10px 14px; background: var(--app-surface);
  border: 1px solid var(--app-border); border-radius: 8px;
  color: var(--app-text); font-family: 'DM Sans', sans-serif; font-size: 0.85rem;
  outline: none; transition: border-color 0.2s;
}
.modal-input:focus { border-color: #22c55e; }
.modal-input::placeholder { color: var(--app-muted); }
textarea.modal-input { resize: vertical; min-height: 80px; }
select.modal-input {
  cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2371717a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 10px;
  padding-right: 32px;
}
select.modal-input option {
  background: var(--app-card); color: var(--app-text); padding: 8px;
}
.condition-select { font-size: 0.82rem; }

.modal-photo-zone {
  border: 2px dashed var(--app-border); border-radius: 10px;
  padding: 30px; text-align: center; color: var(--app-muted); font-size: 0.82rem;
  transition: border-color 0.2s;
}
.modal-photo-zone svg { margin: 0 auto 8px; opacity: 0.4; }
.modal-photo-grid { display: flex; gap: 8px; flex-wrap: wrap; }
.modal-photo-thumb {
  width: 72px; height: 72px; border-radius: 8px; background: var(--app-surface);
  border: 1px solid var(--app-border); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.modal-photo-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }

.modal-footer {
  padding: 16px 24px; border-top: 1px solid var(--app-border);
  display: flex; justify-content: flex-end; gap: 10px;
}
.modal-btn-cancel {
  padding: 9px 20px; background: transparent; border: 1px solid var(--app-border);
  border-radius: 8px; color: var(--app-muted); font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem; font-weight: 500; cursor: pointer; transition: all 0.2s;
}
.modal-btn-cancel:hover { border-color: var(--app-text); color: var(--app-text); }
.modal-btn-disabled {
  padding: 9px 20px; background: var(--app-surface); border: none;
  border-radius: 8px; color: var(--app-muted); font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem; font-weight: 600; cursor: not-allowed; opacity: 0.6;
}

/* Import modal marketplace cards */
/* Import marketplace selection cards (matching real app) */
.import-choose-label {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--app-muted); margin-bottom: 14px;
}
.import-mp-cards { display: flex; flex-direction: column; gap: 10px; }
.import-mp-card {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 14px 16px; border-radius: 14px; cursor: pointer; text-align: left;
  transition: all 0.2s; background: none; font-family: 'DM Sans', sans-serif;
}
.import-mp-card.ebay-card {
  border: 1px solid rgba(0,100,210,0.2); background: rgba(0,100,210,0.02);
}
.import-mp-card.ebay-card:hover {
  border-color: rgba(0,100,210,0.4); background: rgba(0,100,210,0.05); box-shadow: 0 2px 8px rgba(0,100,210,0.08);
}
[data-theme="dark"] .import-mp-card.ebay-card { background: rgba(0,100,210,0.04); }
[data-theme="dark"] .import-mp-card.ebay-card:hover { background: rgba(0,100,210,0.08); }
.import-mp-card.vinted-card {
  border: 1px solid rgba(9,177,186,0.2); background: rgba(9,177,186,0.02);
}
.import-mp-card.vinted-card:hover {
  border-color: rgba(9,177,186,0.4); background: rgba(9,177,186,0.05); box-shadow: 0 2px 8px rgba(9,177,186,0.08);
}
[data-theme="dark"] .import-mp-card.vinted-card { background: rgba(9,177,186,0.04); }
[data-theme="dark"] .import-mp-card.vinted-card:hover { background: rgba(9,177,186,0.08); }
.import-mp-logo {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 56px; height: 38px; border-radius: 10px; font-weight: 800; font-size: 13px;
  letter-spacing: -0.3px;
}
.ebay-logo-pill { background: rgba(0,100,210,0.07); }
[data-theme="dark"] .ebay-logo-pill { background: rgba(0,100,210,0.12); }
.vinted-logo-pill { background: rgba(9,177,186,0.08); color: #09B1BA; font-size: 11px; }
[data-theme="dark"] .vinted-logo-pill { background: rgba(9,177,186,0.14); }
.import-mp-info { flex: 1; }
.import-mp-name { font-size: 0.82rem; font-weight: 600; color: var(--app-text); }
.import-mp-connected {
  display: flex; align-items: center; gap: 5px; margin-top: 2px;
  font-size: 0.72rem; color: #16a34a;
}
[data-theme="dark"] .import-mp-connected { color: #4ade80; }
.connected-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #4ade80; flex-shrink: 0;
}
.import-mp-arrow {
  width: 14px; height: 14px; color: var(--app-muted); opacity: 0.4; flex-shrink: 0;
  transition: transform 0.2s;
}
.import-mp-card:hover .import-mp-arrow { transform: translateX(2px); opacity: 0.7; }

/* Post modal marketplace toggles (reuses import-option class) */
.import-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.import-option {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 20px; background: var(--app-surface); border: 2px solid var(--app-border);
  border-radius: 12px; cursor: pointer; transition: all 0.2s;
}
.import-option:hover { border-color: rgba(255,255,255,0.15); }
[data-theme="light"] .import-option:hover { border-color: #cbd5e1; }
.import-option.selected { border-color: #22c55e; background: rgba(34,197,94,0.06); }
.import-option-name { font-size: 0.88rem; font-weight: 700; }
.import-option-name.ebay { color: #e53238; }
.import-option-name.vinted { color: #09b1ba; }

.import-progress {
  text-align: center; padding: 20px 0;
}
.import-spinner {
  width: 32px; height: 32px; border: 3px solid var(--app-border);
  border-top-color: #22c55e; border-radius: 50%;
  animation: spin 0.8s linear infinite; margin: 0 auto 12px;
}
.import-status { font-size: 0.85rem; color: var(--app-muted); }
.import-found {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 1rem; font-weight: 600; color: var(--app-text); margin-top: 12px;
}
.import-found .count { color: #22c55e; font-family: 'JetBrains Mono', monospace; }

/* ── In-app Modal Overlay ────────────────────────────────────── */
.demo-modal-overlay-inner {
  display: none; position: absolute; top: 0; left: 0; right: 0; min-height: 100%;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(3px);
  z-index: 200; align-items: center; justify-content: center; padding: 20px;
  border-radius: 0 0 16px 16px;
}
.demo-modal-overlay-inner.open { display: flex; }
/* When modal is open, ensure the app has enough height for the modal content */
.demo-modal-inner {
  background: var(--app-card); border: 1px solid var(--app-border);
  border-radius: 16px; width: 100%; max-width: 480px;
  animation: modalIn 0.25s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
[data-theme="light"] .demo-modal-inner { box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.modal-btn-green {
  padding: 9px 20px; background: #22c55e; border: none;
  border-radius: 8px; color: #fff; font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.modal-btn-green:hover { background: #16a34a; }
.modal-btn-green.secondary {
  background: transparent; color: #22c55e; border: 1px solid rgba(34,197,94,0.3);
}
.modal-btn-green.secondary:hover { background: rgba(34,197,94,0.08); }
.modal-btn-red {
  padding: 9px 20px; background: #ef4444; border: none;
  border-radius: 8px; color: #fff; font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.modal-btn-red:hover { background: #dc2626; }

/* ── Checkbox checked state ──────────────────────────────────── */
.col-check.checked { background: #22c55e; border-color: #22c55e; }
.app-row.row-checked { background: rgba(34,197,94,0.06); }

/* ── Row menu dropdown ───────────────────────────────────────── */
.row-menu-dropdown {
  position: fixed; z-index: 300;
  background: var(--app-card); border: 1px solid var(--app-border);
  border-radius: 10px; min-width: 140px; padding: 4px 0;
  box-shadow: 0 12px 36px rgba(0,0,0,0.4); animation: fadeIn 0.15s ease;
}
[data-theme="light"] .row-menu-dropdown { box-shadow: 0 12px 36px rgba(0,0,0,0.12); }
.row-menu-item {
  display: flex; align-items: center; gap: 8px; padding: 8px 14px;
  font-size: 0.78rem; color: var(--app-text); cursor: pointer; transition: background 0.12s;
  white-space: nowrap;
}
.row-menu-item:hover { background: rgba(59,130,246,0.08); }
.row-menu-item.menu-delete { color: #ef4444; }
.row-menu-item.menu-delete:hover { background: rgba(239,68,68,0.08); }

/* ── Bulk actions bar ────────────────────────────────────────── */
.app-col-header:has(.bulk-bar) { display: flex; }
.bulk-bar {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; gap: 8px;
}
.bulk-bar-left { display: flex; align-items: center; gap: 10px; }
.bulk-bar-right { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.bulk-count { font-size: 0.75rem; font-weight: 600; color: var(--app-text); }
.bulk-action-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 6px; font-size: 0.68rem; font-weight: 600;
  background: var(--app-surface); border: 1px solid var(--app-border);
  color: var(--app-text); cursor: pointer; transition: all 0.15s;
  font-family: 'DM Sans', sans-serif; white-space: nowrap;
}
.bulk-action-btn:hover { border-color: #60a5fa; color: #60a5fa; }
.bulk-sync-btn:hover { border-color: #f59e0b; color: #f59e0b; }
.bulk-post-btn:hover { border-color: #f59e0b; color: #f59e0b; }
.bulk-end-btn:hover { border-color: #ef4444; color: #ef4444; }
.bulk-delete-btn:hover { border-color: #ef4444; color: #ef4444; }

/* ── Sort headers ──────────────────────────────────────────────── */
.sort-header {
  cursor: pointer; user-select: none; transition: color 0.15s; white-space: nowrap;
}
.sort-header:hover { color: var(--app-text); }
.sort-header.active { color: #22c55e; }
[data-theme="light"] .sort-header.active { color: #059669; }
.sort-arrow { display: inline-block; margin-left: 2px; vertical-align: middle; }

/* ── Demo Toast ────────────────────────────────────────────────── */
.demo-toast {
  position: absolute; bottom: 16px; right: 16px; z-index: 400;
  background: var(--app-card); border: 1px solid var(--app-border);
  border-radius: 12px; padding: 14px 20px; display: none; align-items: center; gap: 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4); animation: toastIn 0.3s ease;
  font-size: 0.85rem; color: var(--app-text); font-weight: 500;
  max-width: 360px;
}
[data-theme="light"] .demo-toast { box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
.demo-toast.show { display: flex; }
.demo-toast .toast-icon { flex-shrink: 0; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ═══════════════════════════════════════════════════════════════════════
   Platforms
   ═══════════════════════════════════════════════════════════════════════ */

.platforms { padding: 20px 5% 100px; text-align: center; }
.platforms p { font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 2rem; font-weight: 500; }
.platform-logos { display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.platform-logo {
  display: flex; align-items: center; gap: 10px;
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px;
  padding: 14px 28px; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.1rem;
  color: var(--text-muted); transition: var(--transition); cursor: default;
}
.platform-logo:hover { border-color: var(--green); color: var(--text); transform: translateY(-2px); }
.platform-logo.ebay { color: #e53238; }
.platform-logo.ebay:hover { border-color: #e53238; }
.platform-logo.vinted { color: #09b1ba; }
.platform-logo.vinted:hover { border-color: #09b1ba; }
.platform-logo.coming-soon { opacity: 0.5; }

/* ═══════════════════════════════════════════════════════════════════════
   Sections shared
   ═══════════════════════════════════════════════════════════════════════ */

.section-label { font-size: 0.78rem; font-weight: 600; color: var(--green); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; }
.section-title { font-family: 'Outfit', sans-serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 1rem; }
.section-sub { color: var(--text-dim); font-size: 1.05rem; max-width: 520px; line-height: 1.7; font-weight: 400; margin-bottom: 3.5rem; }

/* ═══════════════════════════════════════════════════════════════════════
   Features
   ═══════════════════════════════════════════════════════════════════════ */

.features { padding: 80px 5%; max-width: 1200px; margin: 0 auto; }
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5px;
  background: var(--border); border: 1px solid var(--border); border-radius: 20px; overflow: hidden;
}
.feature-card {
  background: var(--bg); padding: 2rem; transition: var(--transition);
  position: relative; overflow: hidden;
}
[data-theme="light"] .feature-card { background: var(--card-bg); }
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover { background: var(--bg-2); }
[data-theme="light"] .feature-card:hover { background: #f1f5f9; }

.feature-icon {
  width: 48px; height: 48px; background: var(--green-dim); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem; border: 1px solid rgba(34,197,94,0.15); color: var(--green);
}
.feature-card h4 { font-family: 'Outfit', sans-serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--text); }
.feature-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* ═══════════════════════════════════════════════════════════════════════
   Multiple Devices Section
   ═══════════════════════════════════════════════════════════════════════ */

.devices-section {
  padding: 80px 5%; max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 60px;
}
.devices-text { flex: 1; flex-shrink: 0; }
.mobile-features { display: flex; flex-direction: column; gap: 14px; }
.mobile-feature { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: var(--text-dim); font-weight: 500; }

.devices-showcase {
  flex: 1.2; position: relative; min-height: 420px; display: flex; align-items: center; justify-content: center;
}

/* Laptop device */
.device-laptop {
  position: relative; z-index: 1;
}
.laptop-screen {
  width: 400px; height: 250px; background: var(--app-bg);
  border: 2px solid #27272a; border-radius: 8px 8px 0 0; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
[data-theme="light"] .laptop-screen { border-color: #d4d4d8; box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
.laptop-base {
  width: 460px; height: 14px; background: #27272a; border-radius: 0 0 8px 8px;
  margin: 0 auto; position: relative; margin-left: -30px;
}
[data-theme="light"] .laptop-base { background: #d4d4d8; }
.laptop-notch {
  width: 60px; height: 4px; background: #3f3f46; border-radius: 0 0 4px 4px;
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
}
[data-theme="light"] .laptop-notch { background: #a1a1aa; }

/* Laptop inner content */
.laptop-inner-bar {
  background: var(--app-card); padding: 0 10px; display: flex; align-items: center;
  height: 28px; border-bottom: 1px solid var(--app-border); gap: 6px;
}
.laptop-inner-logo {
  width: 16px; height: 16px; background: #22c55e; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.4rem; font-weight: 800; color: #fff;
}
.laptop-inner-tab {
  font-size: 0.45rem; color: #22c55e; padding: 0 6px; height: 100%;
  display: flex; align-items: center; border-bottom: 1px solid #22c55e;
}
.laptop-inner-rows { padding: 6px; }
.laptop-inner-row {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 6px; border-bottom: 1px solid var(--app-border);
  font-size: 0.4rem; color: var(--app-text);
}
.laptop-inner-row:last-child { border-bottom: none; }
.laptop-inner-thumb {
  width: 16px; height: 16px; border-radius: 3px; flex-shrink: 0;
  background: var(--app-surface); overflow: hidden;
}
.laptop-inner-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 1px; }
.laptop-inner-title { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.laptop-inner-price { font-family: 'JetBrains Mono', monospace; font-size: 0.4rem; color: var(--app-muted); }

/* Tablet device */
.device-tablet {
  position: absolute; right: -10px; top: -10px; z-index: 2;
  transform: rotate(3deg);
}
.tablet-screen {
  width: 200px; height: 280px; background: var(--app-bg);
  border: 3px solid #27272a; border-radius: 14px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
[data-theme="light"] .tablet-screen { border-color: #d4d4d8; box-shadow: 0 20px 50px rgba(0,0,0,0.1); }

.tablet-inner-bar {
  background: var(--app-card); padding: 10px 8px 6px;
  border-bottom: 1px solid var(--app-border);
}
.tablet-inner-title {
  font-family: 'Outfit', sans-serif; font-size: 0.6rem; font-weight: 800; color: var(--app-text);
}
.tablet-inner-rows { padding: 4px; }
.tablet-inner-row {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 6px; border-bottom: 1px solid var(--app-border);
}
.tablet-inner-row:last-child { border-bottom: none; }
.tablet-inner-thumb { width: 22px; height: 22px; border-radius: 4px; flex-shrink: 0; background: var(--app-surface); overflow: hidden; }
.tablet-inner-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 2px; }
.tablet-inner-info { flex: 1; min-width: 0; }
.tablet-inner-name { font-size: 0.5rem; font-weight: 600; color: var(--app-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tablet-inner-meta { font-size: 0.42rem; color: var(--app-muted); font-family: 'JetBrains Mono', monospace; }

/* Phone device */
.device-phone {
  position: absolute; right: 30px; bottom: -30px; z-index: 3;
  width: 130px; height: 260px; background: #1a1a1e;
  border-radius: 20px; padding: 6px; transform: rotate(-3deg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
[data-theme="light"] .device-phone { background: #e4e4e7; box-shadow: 0 20px 50px rgba(0,0,0,0.12); }
.phone-notch-sm {
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 48px; height: 14px; background: #1a1a1e; border-radius: 0 0 8px 8px; z-index: 2;
}
[data-theme="light"] .phone-notch-sm { background: #e4e4e7; }
.phone-screen-sm {
  width: 100%; height: 100%; background: var(--app-bg);
  border-radius: 15px; overflow: hidden; position: relative;
}
.phone-home-bar-sm {
  position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 48px; height: 3px; background: rgba(255,255,255,0.2); border-radius: 2px; z-index: 2;
}
[data-theme="light"] .phone-home-bar-sm { background: rgba(0,0,0,0.2); }

/* Phone screen content */
.phone-header {
  background: var(--app-card); padding: 20px 8px 6px;
  border-bottom: 1px solid var(--app-border);
}
.phone-header-title { font-family: 'Outfit', sans-serif; font-size: 0.55rem; font-weight: 800; color: var(--app-text); }
.phone-products { padding: 4px; display: flex; flex-direction: column; gap: 3px; }
.phone-product {
  display: flex; align-items: center; gap: 5px;
  background: var(--app-card); border: 1px solid var(--app-border);
  border-radius: 6px; padding: 5px;
}
.phone-product-thumb { width: 22px; height: 22px; border-radius: 4px; flex-shrink: 0; background: var(--app-surface); overflow: hidden; }
.phone-product-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 2px; }
.phone-product-info { flex: 1; min-width: 0; }
.phone-product-name { font-size: 0.42rem; font-weight: 600; color: var(--app-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone-product-price { font-family: 'JetBrains Mono', monospace; font-size: 0.38rem; color: var(--app-muted); }

/* ═══════════════════════════════════════════════════════════════════════
   How it works
   ═══════════════════════════════════════════════════════════════════════ */

.how-it-works { padding: 80px 5%; max-width: 1200px; margin: 0 auto; }

/* Steps grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}

/* Individual card */
.step-card {
  position: relative; padding: 2rem 1.75rem 1.75rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1),
              border-color 0.25s ease,
              box-shadow 0.25s ease;
}
.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34,197,94,0.25);
  box-shadow: 0 12px 40px rgba(34,197,94,0.06), 0 0 0 1px rgba(34,197,94,0.08);
}
[data-theme="light"] .step-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.06), 0 0 0 1px rgba(34,197,94,0.12);
}

/* Header row — icon + badge */
.step-header {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1.25rem;
}

/* Icon */
.step-icon-wrap {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--green-dim); border: 1px solid rgba(34,197,94,0.10);
  display: flex; align-items: center; justify-content: center;
  color: var(--green); flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.step-card:hover .step-icon-wrap {
  background: rgba(34,197,94,0.12); border-color: rgba(34,197,94,0.20);
  box-shadow: 0 0 16px rgba(34,197,94,0.10);
}

/* Step badge label */
.step-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem; font-weight: 600;
  color: var(--green); opacity: 0.5;
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* Text */
.step-card h4 {
  font-family: 'Outfit', sans-serif; font-size: 1.05rem; font-weight: 700;
  margin-bottom: 0.5rem; color: var(--text);
}
.step-card p {
  font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   Pricing
   ═══════════════════════════════════════════════════════════════════════ */

.pricing { padding: 80px 5%; max-width: 1050px; margin: 0 auto; text-align: center; }
.billing-toggle {
  display: inline-flex; background: var(--bg-2); border: 1px solid var(--card-border);
  border-radius: 12px; padding: 4px; gap: 2px; margin-bottom: 44px;
}
.billing-toggle button {
  padding: 8px 20px; border-radius: 9px; border: none; cursor: pointer;
  background: transparent; color: var(--text-muted); font-family: 'DM Sans', sans-serif;
  font-weight: 600; font-size: 0.82rem; display: inline-flex; align-items: center;
  gap: 7px; transition: all 0.2s;
}
.billing-toggle button:hover { color: var(--text); background: rgba(255,255,255,0.05); }
[data-theme="light"] .billing-toggle button:hover { background: rgba(0,0,0,0.04); }
.billing-toggle button.active { background: var(--bg-3); color: var(--text); }
.billing-toggle .badge { font-size: 0.65rem; font-weight: 700; padding: 2px 7px; border-radius: 99px; background: var(--bg-3); color: var(--text-muted); }
.billing-toggle button.active .badge { background: #10B981; color: #fff; }

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; text-align: left; }
.price-card {
  background: var(--card-bg); border: 1.5px solid var(--card-border); border-radius: 18px;
  padding: 22px 18px 20px; display: flex; flex-direction: column;
  position: relative; transition: transform 0.18s, box-shadow 0.18s;
}
.price-card:hover { transform: translateY(-4px); }
.price-card.popular { border-color: rgba(139,92,246,0.5); }
[data-theme="light"] .price-card { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
[data-theme="light"] .price-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); }

.price-card .popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--c-pro); color: #fff; font-size: 0.56rem; font-weight: 800;
  padding: 3px 14px; border-radius: 20px; letter-spacing: 0.1em;
  text-transform: uppercase; white-space: nowrap;
}
.plan-name { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.plan-tagline { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 14px; min-height: 32px; line-height: 1.4; }
.plan-price { margin-bottom: 14px; display: flex; align-items: flex-start; gap: 2px; }
.plan-price .whole { font-family: 'Outfit', sans-serif; font-size: 2.1rem; font-weight: 800; color: var(--text); line-height: 1; }
.plan-price .dec { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 0.875rem; color: var(--text-muted); margin-top: 4px; }
.plan-price .period { font-size: 0.72rem; color: var(--text-muted); margin-top: auto; margin-bottom: 4px; margin-left: 4px; }
.plan-price .was { font-size: 0.72rem; color: var(--text-muted); text-decoration: line-through; margin-left: 8px; margin-top: auto; margin-bottom: 4px; }
.plan-savings { display: inline-block; margin-bottom: 14px; background: rgba(16, 185, 129, 0.12); color: #10b981; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.02em; padding: 3px 10px; border-radius: 999px; }

.tier-toggle { display: flex; background: var(--bg-3); border-radius: 10px; padding: 3px; gap: 2px; margin-bottom: 14px; }
.tier-toggle button {
  flex: 1; padding: 7px 4px; border-radius: 8px; border: none; background: transparent;
  color: var(--text-muted); font-family: 'DM Sans', sans-serif; font-weight: 600;
  font-size: 0.68rem; cursor: pointer; line-height: 1.3; text-align: center; transition: all 0.2s;
}
.tier-toggle button.active { color: #fff; }
.tier-toggle button small { display: block; font-size: 0.62rem; font-weight: 400; opacity: 0.85; }
.plan-divider { border: none; border-top: 1px solid var(--card-border); margin-bottom: 14px; }
/* Credits box — mirrors the app's /pricing card (clean label/value rows). */
.plan-credits-box { margin-bottom: 14px; border: 1px solid var(--card-border); background: var(--bg-2); border-radius: 8px; padding: 9px 12px; }
.plan-credits-row { display: flex; align-items: center; justify-content: space-between; font-size: 0.72rem; }
.plan-credits-row + .plan-credits-row { margin-top: 5px; }
.plan-credits-row > span { color: var(--text-muted); }
.plan-features { flex: 1; margin-bottom: 18px; }
.plan-features .feat { display: flex; align-items: flex-start; gap: 7px; margin-bottom: 7px; }
.plan-features .feat .dot { font-size: 7px; margin-top: 5px; flex-shrink: 0; }
.plan-features .feat span { font-size: 0.74rem; color: var(--text-muted); line-height: 1.4; }
.plan-btn {
  display: block; width: 100%; padding: 10px 0; border: 1.5px solid var(--card-border);
  background: transparent; border-radius: 10px; color: var(--text-dim);
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.78rem;
  cursor: pointer; transition: all 0.2s; text-align: center;
}
.plan-btn:hover { transform: translateY(-2px) scale(1.02); filter: brightness(1.15); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
[data-theme="light"] .plan-btn:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.pricing-note { text-align: center; margin-top: 28px; font-size: 0.82rem; color: var(--text-muted); }
.pricing-note strong { color: var(--text-dim); font-weight: 600; }

/* How credits work — mirrors the /pricing section in the app. */
.credit-usage { margin-top: 48px; max-width: 1200px; margin-left: auto; margin-right: auto; }
.credit-usage-head { text-align: center; margin-bottom: 20px; }
.credit-usage-title { font-size: 1.1rem; font-weight: 600; color: var(--text); margin: 6px 0 0; }
.credit-usage-grid {
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
@media (min-width: 720px) {
  .credit-usage-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.credit-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border, rgba(255,255,255,0.06));
  border-radius: 12px;
  font-size: 0.85rem;
  color: var(--text-dim);
}
[data-theme="light"] .credit-row { box-shadow: 0 2px 8px rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.08); }
.credit-cost {
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
}
[data-theme="light"] .credit-cost { background: rgba(0,0,0,0.05); }
.credit-cost.free { background: rgba(16, 185, 129, 0.14); color: #10b981; }

/* ═══════════════════════════════════════════════════════════════════════
   Testimonials
   ═══════════════════════════════════════════════════════════════════════ */

.testimonials { padding: 80px 5%; max-width: 1200px; margin: 0 auto; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.testi-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; padding: 1.75rem; transition: var(--transition); }
.testi-card:hover { border-color: var(--green); transform: translateY(-3px); }
.stars { display: flex; gap: 2px; margin-bottom: 0.75rem; }
.testi-quote { font-size: 0.9rem; color: var(--text-dim); line-height: 1.7; margin-bottom: 1.25rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.82rem; font-weight: 700; font-family: 'Outfit', sans-serif; flex-shrink: 0; }
.testi-name { font-family: 'Outfit', sans-serif; font-size: 0.9rem; font-weight: 700; color: var(--text); }
.testi-role { font-size: 0.75rem; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════════════════
   Support / CTA / Footer
   ═══════════════════════════════════════════════════════════════════════ */

.support-section { padding: 80px 5%; max-width: 1200px; margin: 0 auto; }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.support-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; padding: 2rem; transition: var(--transition); display: flex; flex-direction: column; }
.support-card:hover { border-color: var(--green); transform: translateY(-3px); }
.support-icon { width: 52px; height: 52px; background: var(--green-dim); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; border: 1px solid rgba(34,197,94,0.15); color: var(--green); }
.support-card h4 { font-family: 'Outfit', sans-serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--text); }
.support-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; flex: 1; }
.support-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 1rem; font-size: 0.82rem; font-weight: 600; color: var(--green); transition: opacity 0.2s; }
.support-card:hover .support-link { opacity: 0.8; }

.cta-section {
  margin: 40px 5% 80px; max-width: 1200px; padding: 4rem 3rem;
  background: linear-gradient(135deg, rgba(34,197,94,0.08) 0%, rgba(34,197,94,0.03) 100%);
  border: 1px solid rgba(34,197,94,0.18); border-radius: 24px;
  text-align: center; position: relative; overflow: hidden;
}
@media (min-width: 1310px) { .cta-section { margin-left: auto; margin-right: auto; } }
.cta-glow { position: absolute; top: -50%; left: 50%; transform: translateX(-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(34,197,94,0.06) 0%, transparent 70%); pointer-events: none; }
.cta-section h2 { font-family: 'Outfit', sans-serif; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 1rem; position: relative; }
.cta-section p { color: var(--text-muted); font-size: 1rem; margin-bottom: 2rem; font-weight: 400; position: relative; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

.footer { border-top: 1px solid var(--border); padding: 3rem 5%; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 3rem; max-width: 1300px; margin: 0 auto; }
.footer-brand p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; max-width: 260px; margin-top: 0.75rem; }
.footer-col h5 { font-family: 'Outfit', sans-serif; font-size: 0.85rem; font-weight: 700; margin-bottom: 1rem; color: var(--text); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { font-size: 0.82rem; color: var(--text-muted); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid var(--border); padding: 1.5rem 5%; display: flex; justify-content: space-between; align-items: center; max-width: 1300px; margin: 0 auto; font-size: 0.78rem; color: var(--text-muted); }
.footer-bottom a { color: var(--text-muted); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--green); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .devices-showcase { min-height: 350px; }
  .laptop-screen { width: 320px; height: 200px; }
  .laptop-base { width: 380px; margin-left: -30px; }
  .tablet-screen { width: 160px; height: 224px; }
  .device-phone { width: 110px; height: 220px; }
}

@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .app-detail-panel { width: 280px; margin-right: -280px; }
  .app-detail-panel.open { margin-right: 0; }
  .devices-section { gap: 40px; }
}

@media (max-width: 900px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .devices-section { flex-direction: column; text-align: center; }
  .devices-text { max-width: 500px; margin: 0 auto; }
  .mobile-features { align-items: center; }
  .devices-showcase { min-height: 320px; width: 100%; max-width: 500px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: block; }
  .hide-mobile { display: none !important; }
  .nav { padding: 0 4%; }

  .hero { min-height: auto; padding: 110px 5% 60px; }
  .hero h1 { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  .hero-sub { font-size: 1rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

  .demo-section { padding: 0 3% 60px; }
  .app-topnav-tabs { display: none; }
  .app-search-bar { display: none; }
  .app-detail-panel { display: none !important; }
  .app-col-header, .app-row { grid-template-columns: 30px 36px 1fr 70px 50px; }
  .app-col-header > :nth-child(4), .app-col-header > :nth-child(6),
  .app-col-header > :nth-child(8), .app-col-header > :nth-child(9),
  .app-row > :nth-child(4), .app-row > :nth-child(6),
  .app-row > :nth-child(8), .app-row > :nth-child(9) { display: none; }
  .app-inner { min-height: auto; }
  .app-summary { grid-template-columns: repeat(2, 1fr); }

  .laptop-screen { width: 260px; height: 162px; }
  .laptop-base { width: 300px; margin-left: -20px; }
  .tablet-screen { width: 130px; height: 182px; }
  .device-phone { width: 90px; height: 180px; border-radius: 14px; }
  .phone-notch-sm { width: 36px; height: 10px; }
  .device-tablet { right: -5px; }
  .device-phone { right: 20px; bottom: -20px; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .billing-toggle { flex-wrap: wrap; justify-content: center; }
  .billing-toggle button { padding: 8px 14px; font-size: 0.78rem; }
  .features-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr 1fr; }
  .cta-section { padding: 3rem 1.5rem; margin: 40px 4% 60px; }
  .platforms { padding: 20px 5% 60px; }
  .platform-logos { gap: 1rem; }
  .platform-logo { padding: 12px 20px; font-size: 1rem; }
  .section-sub { font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .hero { padding: 100px 5% 48px; }
  .hero h1 { font-size: clamp(2rem, 10vw, 3rem); margin-bottom: 1rem; }
  .hero-sub { margin-bottom: 2rem; font-size: 0.95rem; }
  .hero-badge { font-size: 0.75rem; padding: 5px 14px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; text-align: center; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 2.5rem; padding-top: 2rem; }
  .stat-num { font-size: 1.6rem; }
  .stat-label { font-size: 0.72rem; }
  .app-actions { display: none; }
  .app-list-panel { padding: 1rem; }
  .app-col-header, .app-row { padding: 8px 12px; }

  .devices-showcase { min-height: 280px; }
  .laptop-screen { width: 220px; height: 138px; }
  .laptop-base { width: 260px; margin-left: -20px; }
  .tablet-screen { width: 110px; height: 154px; }
  .device-phone { width: 76px; height: 152px; border-radius: 12px; right: 10px; }
  .phone-notch-sm { width: 30px; height: 8px; border-radius: 0 0 6px 6px; }

  .footer { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .section-sub { margin-bottom: 2.5rem; }
  .feature-card { padding: 1.5rem; }
  .support-card { padding: 1.5rem; }
  .testi-card { padding: 1.5rem; }
  .price-card { padding: 18px 14px 16px; }
  .plan-price .whole { font-size: 1.8rem; }
  .steps-grid { grid-template-columns: 1fr; gap: 1rem; }
  .step-card { padding: 1.5rem 1.25rem; }
}

/* ── Add Product & Import Modal Styles ─────────────────────────── */
.modal-field-error .modal-input { border-color: #ef4444; }
.modal-field-error select.modal-input { border-color: #ef4444; }
.modal-field-msg { font-size: 0.72rem; color: #ef4444; margin-top: 4px; }
.qty-control { display: flex; align-items: center; gap: 0; }
.qty-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--app-surface); border: 1px solid var(--app-border); color: var(--app-text); cursor: pointer; font-size: 1.1rem; font-weight: 600; transition: background 0.15s; user-select: none; font-family: 'DM Sans', sans-serif; }
.qty-btn:first-child { border-radius: 8px 0 0 8px; }
.qty-btn:last-child { border-radius: 0 8px 8px 0; }
.qty-btn:hover { background: var(--app-border); }
.qty-btn:active { background: rgba(34,197,94,0.15); }
.qty-value { width: 48px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--app-surface); border-top: 1px solid var(--app-border); border-bottom: 1px solid var(--app-border); font-family: 'JetBrains Mono', monospace; font-size: 0.9rem; font-weight: 600; color: var(--app-text); }
.qty-input { width: 48px; height: 36px; background: var(--app-surface); border: none; border-top: 1px solid var(--app-border); border-bottom: 1px solid var(--app-border); font-family: 'JetBrains Mono', monospace; font-size: 0.9rem; font-weight: 600; color: var(--app-text); text-align: center; outline: none; padding: 0; -moz-appearance: textfield; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.price-input-wrap { position: relative; }
.price-input-wrap .price-prefix { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--app-muted); font-size: 0.85rem; pointer-events: none; }
.price-input-wrap .modal-input { padding-left: 28px; }
.import-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; background: var(--app-surface); margin-bottom: 6px; }
.import-item-thumb { width: 32px; height: 32px; border-radius: 6px; background: var(--app-surface); overflow: hidden; flex-shrink: 0; }
.import-item-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.import-item-info { flex: 1; min-width: 0; }
.import-item-title { font-size: 0.78rem; font-weight: 600; color: var(--app-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.import-item-price { font-size: 0.68rem; color: var(--app-muted); font-family: 'JetBrains Mono', monospace; }
.import-item-badge { font-size: 0.65rem; font-weight: 600; padding: 3px 10px; border-radius: 4px; background: var(--app-border); color: var(--app-muted); flex-shrink: 0; text-align: center; line-height: 1.3; }
.import-item-check { width: 18px; height: 18px; border: 2px solid var(--app-border); border-radius: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; transition: all 0.15s; }
.import-item-check.checked { background: #22c55e; border-color: #22c55e; }
.import-item-progress { flex-shrink: 0; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; }
.import-item-spinner { width: 16px; height: 16px; border: 2px solid var(--app-border); border-top-color: #22c55e; border-radius: 50%; animation: spin 0.8s linear infinite; }
