/* ============================================================
   Aladin Marketplace – Design System (matches provided mockup)
   ============================================================ */

:root {
  --primary: #6C3CE1;
  --primary-dark: #5A2EC0;
  --primary-light: #8B5CF6;
  --primary-gradient: linear-gradient(135deg, #7C4DFF 0%, #6C3CE1 100%);
  --secondary: #3B82F6;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --info: #06B6D4;
  --bg: #F8F9FC;
  --bg-card: #FFFFFF;
  --text: #1E1E2D;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.1);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-full: 9999px;
  --nav-h: 64px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

a { color: var(--primary); text-decoration: none; transition: color .15s; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; display: block; }

/* ---------- Navbar ---------- */
.navbar {
  background: #1A1A2E;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -.02em;
}

.navbar-brand .logo-icon {
  width: 28px;
  height: 28px;
  background: var(--primary-gradient);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.navbar-actions { display: flex; align-items: center; gap: .75rem; }

.navbar-user {
  color: #D1D5DB;
  font-size: .875rem;
  margin-right: .5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .6rem 1.25rem;
  font-size: .9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
  line-height: 1.4;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #fff;
  border-color: transparent;
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(108,60,225,.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: none;
  padding: .5rem .75rem;
}
.btn-ghost:hover { background: var(--border-light); color: var(--text); }

.btn-sm { padding: .4rem .85rem; font-size: .8rem; }
.btn-lg { padding: .8rem 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #DC2626; color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #059669; color: #fff; }
.btn-warning { background: var(--warning); color: #fff; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-fluid { padding: 0 1.5rem; max-width: 1400px; margin: 0 auto; }

.page { padding: 2rem 0 4rem; }

/* ---------- Hero (Landing) ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0 3rem;
  min-height: 420px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-illustration .briefcase-icon {
  width: 180px;
  height: 180px;
  color: var(--primary);
  opacity: .9;
}

/* ---------- Features Section ---------- */
.section-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 3rem 0 2rem;
  color: var(--text);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  transition: transform .2s, box-shadow .2s;
}

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

.feature-card .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  background: rgba(108,60,225,.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: .5rem;
}

.feature-card p {
  font-size: .9rem;
  color: var(--text-muted);
}

/* ---------- Auth Pages ---------- */
.auth-wrapper {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 440px;
  border: 1px solid var(--border-light);
}

.auth-card h1 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: .35rem;
  text-align: center;
}

.auth-card .subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 1.75rem;
}

/* ---------- Forms ---------- */
.form-group { margin-bottom: 1.15rem; }

.form-label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .4rem;
}

.form-control {
  width: 100%;
  padding: .7rem 1rem;
  font-size: .95rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108,60,225,.15);
}

.form-control::placeholder { color: var(--text-light); }

textarea.form-control { min-height: 120px; resize: vertical; }

select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-hint { font-size: .8rem; color: var(--text-muted); margin-top: .3rem; }

.form-actions {
  display: flex;
  gap: .75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* ---------- Dashboard Layout ---------- */
.dash-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - var(--nav-h));
}

.sidebar {
  background: #1A1A2E;
  padding: 1.5rem 0;
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}

.sidebar-nav { list-style: none; }

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1.5rem;
  color: #A1A1AA;
  font-size: .9rem;
  font-weight: 500;
  transition: all .15s;
  border-left: 3px solid transparent;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: #fff;
  background: rgba(108,60,225,.15);
  border-left-color: var(--primary);
}

.sidebar-nav a svg { flex-shrink: 0; opacity: .7; }
.sidebar-nav a.active svg { opacity: 1; }

.sidebar-section {
  padding: .75rem 1.5rem .35rem;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #71717A;
  font-weight: 600;
}

.main-content {
  padding: 2rem;
  overflow-x: auto;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-header h1 {
  font-size: 1.5rem;
  font-weight: 700;
}

.page-header .subtitle {
  color: var(--text-muted);
  font-size: .9rem;
  margin-top: .2rem;
}

/* ---------- Stats Cards ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.stat-card .stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon.purple { background: rgba(108,60,225,.12); color: var(--primary); }
.stat-icon.blue { background: rgba(59,130,246,.12); color: var(--secondary); }
.stat-icon.green { background: rgba(16,185,129,.12); color: var(--success); }
.stat-icon.orange { background: rgba(245,158,11,.12); color: var(--warning); }
.stat-icon.red { background: rgba(239,68,68,.12); color: var(--danger); }
.stat-icon.cyan { background: rgba(6,182,212,.12); color: var(--info); }

.stat-card .stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.stat-card .stat-label {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: .15rem;
}

/* ---------- Cards & Tables ---------- */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.card-header {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.card-header h2 {
  font-size: 1.05rem;
  font-weight: 600;
}

.card-body { padding: 1.5rem; }

.table-wrap { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

th {
  text-align: left;
  padding: .85rem 1.25rem;
  font-weight: 600;
  color: var(--text-muted);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: var(--border-light);
  border-bottom: 1px solid var(--border);
}

td {
  padding: .9rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(108,60,225,.02); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: .25rem .65rem;
  font-size: .75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  line-height: 1.3;
}

.badge-success { background: rgba(16,185,129,.12); color: #059669; }
.badge-warning { background: rgba(245,158,11,.12); color: #D97706; }
.badge-danger { background: rgba(239,68,68,.12); color: #DC2626; }
.badge-info { background: rgba(59,130,246,.12); color: #2563EB; }
.badge-purple { background: rgba(108,60,225,.12); color: var(--primary); }
.badge-gray { background: rgba(107,114,128,.12); color: #4B5563; }

/* ---------- Alerts ---------- */
.alert {
  padding: .9rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.alert-success { background: rgba(16,185,129,.1); color: #059669; border: 1px solid rgba(16,185,129,.2); }
.alert-error { background: rgba(239,68,68,.1); color: #DC2626; border: 1px solid rgba(239,68,68,.2); }
.alert-info { background: rgba(59,130,246,.1); color: #2563EB; border: 1px solid rgba(59,130,246,.2); }
.alert-warning { background: rgba(245,158,11,.1); color: #D97706; border: 1px solid rgba(245,158,11,.2); }

/* ---------- Pricing Cards ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.pricing-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color .2s, box-shadow .2s;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(108,60,225,.1);
}

.pricing-card.featured::before {
  content: 'Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: .25rem .75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.pricing-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin: .75rem 0;
}
.pricing-card .price span { font-size: .9rem; font-weight: 500; color: var(--text-muted); }
.pricing-card ul {
  list-style: none;
  text-align: left;
  margin: 1.25rem 0 1.75rem;
}
.pricing-card ul li {
  padding: .4rem 0;
  font-size: .9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.pricing-card ul li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
}

/* ---------- Empty State ---------- */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--text-muted);
}
.empty-state svg { margin: 0 auto 1rem; opacity: .4; }
.empty-state h3 { font-size: 1.1rem; color: var(--text); margin-bottom: .5rem; }

/* ---------- ROI Chart Placeholder ---------- */
.roi-bar {
  height: 8px;
  background: var(--border-light);
  border-radius: 4px;
  overflow: hidden;
  margin-top: .5rem;
}
.roi-bar-fill {
  height: 100%;
  background: var(--primary-gradient);
  border-radius: 4px;
  transition: width .5s;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-illustration { order: -1; }
  .hero-illustration .briefcase-icon { width: 120px; height: 120px; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .dash-layout { grid-template-columns: 1fr; }
  .sidebar {
    position: relative;
    height: auto;
    top: 0;
    display: flex;
    overflow-x: auto;
    padding: .5rem;
  }
  .sidebar-nav { display: flex; gap: .25rem; }
  .sidebar-nav a { border-left: none; border-bottom: 3px solid transparent; white-space: nowrap; padding: .6rem 1rem; }
  .sidebar-nav a.active { border-bottom-color: var(--primary); border-left-color: transparent; }
  .sidebar-section { display: none; }
}

@media (max-width: 640px) {
  .navbar { padding: 0 1rem; }
  .hero-content h1 { font-size: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .main-content { padding: 1.25rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .page-header { flex-direction: column; align-items: flex-start; }
}

/* ---------- Utilities ---------- */
.text-muted { color: var(--text-muted); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-primary { color: var(--primary); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.text-sm { font-size: .85rem; }
.text-center { text-align: center; }
.w-full { width: 100%; }

/* ============================================================
   Marketplace Cards & Browse
   ============================================================ */

.mkt-toolbar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}

.mkt-search {
  flex: 1;
  min-width: 200px;
  display: flex;
  gap: .5rem;
}

.mkt-search input {
  flex: 1;
  padding: .65rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: .95rem;
  font-family: inherit;
}
.mkt-search input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108,60,225,.12);
}

.cat-chips {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  overflow-x: auto;
  padding-bottom: .25rem;
}

.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .9rem;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: .8rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  transition: all .15s;
}
.cat-chip:hover, .cat-chip.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(108,60,225,.06);
}

.insights-bar {
  background: linear-gradient(135deg, rgba(108,60,225,.08), rgba(59,130,246,.06));
  border: 1px solid rgba(108,60,225,.15);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}
.insights-bar .ins-item .ins-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}
.insights-bar .ins-item .ins-lbl {
  font-size: .75rem;
  color: var(--text-muted);
}
.insights-bar .ins-hint {
  grid-column: 1 / -1;
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: .25rem;
}

/* Product card grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
  position: relative;
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-card .pc-img {
  position: relative;
  height: 180px;
  background: #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-card .pc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card .pc-img .pc-placeholder {
  color: var(--text-light);
  font-size: 2.5rem;
}
.product-card .pc-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: .7rem;
  padding: .2rem .45rem;
  border-radius: 4px;
}
.product-card .pc-yours {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--primary);
  color: #fff;
  font-size: .7rem;
  font-weight: 600;
  padding: .25rem .55rem;
  border-radius: var(--radius-full);
}

.product-card .pc-body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card .pc-title {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: .5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
.product-card .pc-title a { color: inherit; }
.product-card .pc-title a:hover { color: var(--primary); }

.product-card .pc-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .75rem;
}
.product-card .pc-price span {
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.product-card .pc-specs {
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: .75rem;
}
.product-card .pc-specs .spec-row {
  display: flex;
  justify-content: space-between;
  padding: .2rem 0;
  border-bottom: 1px solid var(--border-light);
}
.product-card .pc-specs .spec-row:last-child { border-bottom: none; }
.product-card .pc-specs .spec-val { color: var(--text); font-weight: 500; }

.product-card .pc-cta {
  margin-top: auto;
}
.product-card .pc-cta .btn {
  width: 100%;
  background: #0D9488;
  border-color: #0D9488;
  color: #fff;
  font-weight: 600;
}
.product-card .pc-cta .btn:hover {
  background: #0F766E;
  border-color: #0F766E;
  color: #fff;
}
.product-card .pc-cta .btn-own {
  background: var(--primary);
  border-color: var(--primary);
}
.product-card .pc-cta .btn-own:hover {
  background: var(--primary-dark);
}

.product-card .pc-supplier {
  padding: .75rem 1rem;
  border-top: 1px solid var(--border-light);
  font-size: .8rem;
}
.product-card .pc-supplier .sup-name {
  font-weight: 600;
  color: var(--text);
}
.product-card .pc-supplier .sup-meta {
  color: var(--text-muted);
  font-size: .75rem;
  margin-top: .15rem;
}
.product-card .pc-supplier .sup-stats {
  display: flex;
  gap: .75rem;
  margin-top: .4rem;
  font-size: .72rem;
  color: var(--text-muted);
}
.product-card .pc-supplier .trust {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  color: #D97706;
  font-weight: 600;
}

/* Service detail page */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .detail-layout { grid-template-columns: 1fr; }
}

.detail-gallery {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.detail-gallery .main-img {
  height: 360px;
  background: #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-gallery .main-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.detail-gallery .thumbs {
  display: flex;
  gap: .5rem;
  padding: .75rem;
  border-top: 1px solid var(--border-light);
  overflow-x: auto;
}
.detail-gallery .thumbs img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
}
.detail-gallery .thumbs img.active,
.detail-gallery .thumbs img:hover { border-color: var(--primary); }

.detail-info {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.detail-info h1 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.detail-info .detail-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  margin: .75rem 0;
}
.detail-info .detail-price span {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.detail-sidebar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}
.detail-sidebar .supplier-box {
  text-align: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1rem;
}
.detail-sidebar .supplier-box .sup-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto .75rem;
}

.comp-table {
  width: 100%;
  font-size: .85rem;
  margin: 1rem 0;
}
.comp-table td {
  padding: .5rem 0;
  border-bottom: 1px solid var(--border-light);
}
.comp-table td:first-child { color: var(--text-muted); width: 40%; }
.comp-table td:last-child { font-weight: 500; }

.mkt-results-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .9rem;
  color: var(--text-muted);
}

/* ============================================================
   Landing page – professional platform presentation
   ============================================================ */
.landing-hero {
  background: linear-gradient(160deg, #F8F9FC 0%, #EEF0FF 50%, #F8F9FC 100%);
  padding: 4rem 0 3.5rem;
  border-bottom: 1px solid var(--border-light);
}
.landing-hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}
.landing-badge {
  display: inline-block;
  background: rgba(108,60,225,.12);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .35rem .75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}
.landing-hero-copy h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: 1.15rem;
  color: var(--text);
}
.landing-hero-copy > p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}
.landing-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
  font-size: .85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.hero-card-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero-mini-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow);
}
.hero-mini-card .hmc-icon {
  width: 48px;
  height: 48px;
  background: rgba(108,60,225,.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.hero-mini-card strong {
  display: block;
  font-size: .95rem;
  margin-bottom: .15rem;
}
.hero-mini-card span {
  font-size: .8rem;
  color: var(--text-muted);
}

.landing-stats {
  background: #1A1A2E;
  color: #fff;
  padding: 1.75rem 0;
}
.landing-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.landing-stats-grid strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: .25rem;
}
.landing-stats-grid span {
  font-size: .8rem;
  color: #A1A1AA;
}

.landing-section {
  padding: 4rem 0;
}
.landing-section-alt {
  background: #F3F4F8;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: -1rem auto 2.5rem;
  font-size: .95rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.step-num {
  width: 36px;
  height: 36px;
  background: var(--primary-gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 1rem;
}
.step-card h3 {
  font-size: 1rem;
  margin-bottom: .5rem;
}
.step-card p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.features-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.feature-card .icon {
  font-size: 1.75rem;
  background: transparent !important;
  width: auto !important;
  height: auto !important;
  margin-bottom: .75rem !important;
}

.cat-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.cat-preview-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  font-weight: 600;
  font-size: .9rem;
  transition: border-color .15s, box-shadow .15s;
}
.cat-preview-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.cat-preview-card .cpi { font-size: 1.5rem; }

.landing-cta {
  background: var(--primary-gradient);
  color: #fff;
  text-align: center;
  padding: 3.5rem 0;
}
.landing-cta h2 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: .75rem;
}
.landing-cta p {
  opacity: .9;
  margin-bottom: 1.75rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.landing-cta .btn-outline-light {
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
.landing-cta .btn-outline-light:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
}
.landing-cta .btn-primary {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.landing-cta .btn-primary:hover {
  background: #F3F4F6;
  color: var(--primary-dark);
}

.landing-footer {
  background: #1A1A2E;
  color: #A1A1AA;
  padding: 1.5rem 0;
  font-size: .85rem;
}
.landing-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
}
.landing-footer strong { color: #fff; }

@media (max-width: 992px) {
  .landing-hero-inner { grid-template-columns: 1fr; }
  .landing-hero-copy h1 { font-size: 2rem; }
  .landing-stats-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .features-grid-4 { grid-template-columns: 1fr 1fr; }
  .cat-preview-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .landing-stats-grid,
  .steps-grid,
  .features-grid-4,
  .cat-preview-grid { grid-template-columns: 1fr; }
}

/* Stronger product card polish */
.product-card {
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.product-card .pc-img {
  background: linear-gradient(145deg, #F3F4F6, #E5E7EB);
}
.product-card .pc-placeholder {
  font-size: 3rem !important;
  opacity: .5;
}
.product-card .pc-specs .spec-row span:first-child {
  color: var(--text-muted);
  margin-right: .5rem;
}
.insights-bar {
  box-shadow: var(--shadow);
}
.ins-item {
  text-align: center;
  background: rgba(255,255,255,.6);
  border-radius: var(--radius-sm);
  padding: .75rem .5rem;
}

/* Fixed toasts – never break page layout */
.toast-stack {
  position: fixed;
  top: calc(var(--nav-h) + 12px);
  right: 16px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  max-width: min(420px, calc(100vw - 32px));
  pointer-events: none;
  transition: opacity .35s, transform .35s;
}
.toast-stack.toast-hide {
  opacity: 0;
  transform: translateY(-8px);
}
.toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  border: 1px solid transparent;
  line-height: 1.4;
}
.toast span { flex: 1; }
.toast-close {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  opacity: .6;
  padding: 0;
  color: inherit;
}
.toast-close:hover { opacity: 1; }
.toast-success {
  background: #ECFDF5;
  color: #065F46;
  border-color: #A7F3D0;
}
.toast-error {
  background: #FEF2F2;
  color: #991B1B;
  border-color: #FECACA;
}

/* Auth split layout with banner */
.auth-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-h));
}
.auth-banner {
  background: linear-gradient(135deg, #1A1A2E 0%, #4C1D95 45%, #6C3CE1 100%),
              url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1200&q=80') center/cover no-repeat;
  background-blend-mode: multiply;
  position: relative;
  min-height: 320px;
}
.auth-banner-register {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 40%, #0D9488 100%),
              url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1200&q=80') center/cover no-repeat;
  background-blend-mode: multiply;
}
.auth-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(26,26,46,.75), rgba(108,60,225,.55));
  display: flex;
  align-items: center;
  padding: 3rem;
}
.auth-banner-register .auth-banner-overlay {
  background: linear-gradient(160deg, rgba(15,23,42,.8), rgba(13,148,136,.5));
}
.auth-banner-content {
  color: #fff;
  max-width: 420px;
}
.auth-banner-content h2 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 1rem 0 .75rem;
}
.auth-banner-content > p {
  opacity: .9;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.auth-banner-points {
  list-style: none;
  font-size: .95rem;
  line-height: 1.9;
  opacity: .95;
}
.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  background: var(--bg);
}
.auth-card-flat {
  box-shadow: none;
  border: none;
  background: transparent;
  padding: 0;
  max-width: 400px;
  width: 100%;
}
.auth-panel .auth-card-flat h1 { text-align: left; }
.auth-panel .auth-card-flat .subtitle { text-align: left; }

.social-login {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin-bottom: 1.25rem;
}
.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .7rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .9rem;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text);
  transition: box-shadow .15s, border-color .15s;
}
.btn-social:hover {
  border-color: #D1D5DB;
  box-shadow: var(--shadow);
  color: var(--text);
}
.btn-linkedin {
  background: #0A66C2;
  border-color: #0A66C2;
  color: #fff !important;
}
.btn-linkedin:hover {
  background: #004182;
  border-color: #004182;
  color: #fff !important;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0;
  color: var(--text-muted);
  font-size: .8rem;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.demo-box {
  background: var(--border-light);
  border-radius: 8px;
  padding: 1rem;
  font-size: .8rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-banner { min-height: 200px; }
  .auth-banner-content h2 { font-size: 1.5rem; }
  .auth-banner-overlay { padding: 1.5rem; }
}

/* Category ticker under hero – soft, on-brand */
.category-ticker {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  background: linear-gradient(180deg, #F5F3FF 0%, #EEF2FF 100%);
  border-bottom: 1px solid #E0E7FF;
  overflow: hidden;
}
.category-ticker-label {
  flex-shrink: 0;
  padding-left: max(1.25rem, calc((100vw - 1100px) / 2 + 1.25rem));
  z-index: 2;
}
.category-ticker-label span {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6C3CE1;
  background: #fff;
  border: 1px solid #DDD6FE;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  box-shadow: 0 1px 2px rgba(108, 60, 225, 0.08);
}
.category-ticker-viewport {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.category-ticker-track {
  display: flex;
  gap: 0.65rem;
  width: max-content;
  animation: cat-ticker 35s linear infinite;
}
.category-ticker:hover .category-ticker-track {
  animation-play-state: paused;
}
.cat-pill {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0.4rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #4C1D95;
  background: #fff;
  border: 1px solid #E9D5FF;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
@keyframes cat-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 640px) {
  .category-ticker-label { display: none; }
  .category-ticker { padding: 0.75rem 0; }
}


/* App modal */
.app-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(2px);
}
.app-modal-overlay[hidden] { display: none !important; }
.app-modal {
  background: #fff;
  border-radius: 14px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
  animation: modalIn .2s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.app-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem .5rem;
}
.app-modal-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}
.app-modal-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #6B7280;
  padding: .15rem .4rem;
  border-radius: 6px;
}
.app-modal-close:hover { background: #F3F4F6; color: #111; }
.app-modal-body {
  padding: .5rem 1.25rem 1rem;
  color: #4B5563;
  font-size: .95rem;
  line-height: 1.5;
}
.app-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: .6rem;
  padding: 0 1.25rem 1.25rem;
}

/* Reviews */
.review-summary {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  background: #F9FAFB;
  border-radius: 12px;
  margin-bottom: 1.25rem;
}
.review-score {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary, #6C3CE1);
  line-height: 1;
}
.review-stars { color: #F59E0B; letter-spacing: 2px; font-size: 1.1rem; }
.review-count { font-size: .85rem; color: #6B7280; }
.review-list { display: flex; flex-direction: column; gap: 1rem; }
.review-item {
  border: 1px solid var(--border, #E5E7EB);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  background: #fff;
}
.review-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .4rem;
}
.review-item-author { font-weight: 600; font-size: .95rem; }
.review-item-date { font-size: .8rem; color: #9CA3AF; }
.review-item-text { color: #4B5563; font-size: .9rem; line-height: 1.55; margin: .35rem 0 0; }
.star-rating-input { display: flex; gap: .25rem; margin-bottom: .75rem; }
.star-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #D1D5DB;
  cursor: pointer;
  padding: 0 .1rem;
  line-height: 1;
}
.star-btn.active, .star-btn:hover { color: #F59E0B; }
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font-size: .85rem;
  font-weight: 600;
  color: #92400E;
  background: #FEF3C7;
  padding: .2rem .55rem;
  border-radius: 999px;
}

/* Card ratings */
.pc-rating {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin: .35rem 0 .5rem;
  font-size: .85rem;
}
.pc-stars { color: #F59E0B; letter-spacing: 1px; }
.pc-rating-text { color: #6B7280; font-weight: 500; }
.pc-rating-empty .pc-rating-text { color: #9CA3AF; font-weight: 400; font-size: .8rem; }

/* Supplier mini avatar on cards */
.pc-supplier { display: flex; align-items: center; gap: .5rem; }
.sup-avatar-img {
  width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.sup-avatar-sm {
  width: 28px; height: 28px; border-radius: 50%; background: #EDE9FE; color: #6C3CE1;
  display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; flex-shrink: 0;
}

/* Navbar avatar */
.navbar-user-link {
  display: flex; align-items: center; gap: .5rem; color: #E5E7EB; text-decoration: none;
  margin-right: .5rem;
}
.navbar-user-link:hover { color: #fff; }
.navbar-avatar {
  width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.25);
}
.navbar-avatar-fallback {
  width: 32px; height: 32px; border-radius: 50%; background: #6C3CE1; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700;
}

/* Profile avatar upload row */
.profile-avatar-row {
  display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.5rem;
}
.profile-avatar-preview {
  width: 80px; height: 80px; border-radius: 50%; background: #EDE9FE; color: #6C3CE1;
  display: flex; align-items: center; justify-content: center; font-size: 1.75rem; font-weight: 700;
  overflow: hidden; flex-shrink: 0; border: 3px solid #DDD6FE;
}
.profile-avatar-preview img { width: 100%; height: 100%; object-fit: cover; }

/* Landing hero search */
.hero-search {
  display: flex; gap: .5rem; margin-top: 1.5rem; max-width: 520px; width: 100%;
}
.hero-search-input {
  flex: 1; padding: .85rem 1.1rem; border: 1.5px solid #E5E7EB; border-radius: 10px;
  font-size: 1rem; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.06);
}
.hero-search-input:focus {
  outline: none; border-color: #6C3CE1; box-shadow: 0 0 0 3px rgba(108,60,225,.15);
}
.hero-search-btn { padding-left: 1.5rem; padding-right: 1.5rem; white-space: nowrap; }
.hero-search-hint {
  margin-top: .65rem; font-size: .85rem; color: #6B7280;
}
.hero-search-hint a { color: #6C3CE1; font-weight: 600; }

.explore-header {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start;
  gap: 1rem; margin-bottom: 1.5rem;
}
.explore-header h1 { font-size: 1.75rem; margin: 0 0 .35rem; }
.explore-cta-btns { display: flex; gap: .5rem; flex-wrap: wrap; }
.explore-page { min-height: calc(100vh - var(--nav-h, 64px)); background: #F8FAFC; }

@media (max-width: 640px) {
  .hero-search { flex-direction: column; }
  .profile-avatar-row { flex-direction: column; align-items: flex-start; }
}

/* Leads page */
.leads-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.leads-stat {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 1rem 1.1rem;
}
.ls-val { font-size: 1.5rem; font-weight: 800; color: #111827; line-height: 1.1; }
.ls-lbl { font-size: .75rem; color: #6B7280; margin-top: .25rem; font-weight: 500; }
.leads-filters { padding: 1rem 1.15rem; margin-bottom: 1rem; }
.leads-filters-row {
  display: flex; flex-wrap: wrap; gap: .85rem; align-items: flex-end;
}
.leads-filters-row .form-control { min-width: 140px; }
.leads-tabs {
  display: flex; gap: .35rem; margin-bottom: 1rem;
  border-bottom: 1px solid #E5E7EB; padding-bottom: 0;
}
.leads-tab {
  padding: .7rem 1rem; font-weight: 600; font-size: .9rem; color: #6B7280;
  border-bottom: 2px solid transparent; margin-bottom: -1px; text-decoration: none;
}
.leads-tab:hover { color: #6C3CE1; }
.leads-tab.active { color: #6C3CE1; border-bottom-color: #6C3CE1; }
.tab-count {
  display: inline-block; background: #F3F4F6; color: #4B5563;
  font-size: .75rem; padding: .1rem .45rem; border-radius: 999px; margin-left: .25rem;
}
.leads-tab.active .tab-count { background: #EDE9FE; color: #6C3CE1; }
.lead-msg {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; color: #4B5563;
}
.leads-table td { vertical-align: top; padding: 1rem .85rem; }

.trust-panel {
  background: #F9FAFB; border: 1px solid #E5E7EB; border-radius: 12px;
  padding: 1rem 1.1rem; margin-top: .75rem;
}
.trust-panel-title {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: #6C3CE1; margin-bottom: .5rem;
}
.trust-about { font-size: .85rem; color: #4B5563; line-height: 1.55; margin: 0 0 .75rem; }
.trust-list { list-style: none; margin: 0; padding: 0; }
.trust-list li {
  display: flex; justify-content: space-between; gap: .75rem;
  font-size: .82rem; padding: .35rem 0; border-bottom: 1px solid #F3F4F6;
}
.trust-list li:last-child { border-bottom: none; }
.trust-list li span { color: #9CA3AF; }
.trust-list li strong { color: #111827; font-weight: 600; text-align: right; }

@media (max-width: 900px) {
  .leads-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .leads-stats { grid-template-columns: 1fr 1fr; }
  .leads-tabs { overflow-x: auto; }
}



/* ===== Landing testimonials (aligned with step/feature cards) ===== */
.tmon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 0.5rem;
}
.tmon-card {
  background: #ffffff;
  border: 1px solid var(--border, #E5E7EB);
  border-radius: var(--radius, 12px);
  padding: 1.5rem 1.35rem 1.35rem;
  box-shadow: var(--shadow, 0 4px 14px rgba(15, 23, 42, 0.05));
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.tmon-quote-mark {
  font-size: 2.5rem;
  line-height: 1;
  color: #6C3CE1;
  opacity: 0.35;
  font-family: Georgia, serif;
  margin-bottom: 0.35rem;
}
.tmon-text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #374151;
  margin: 0 0 1rem;
  flex: 1;
}
.tmon-stars {
  color: #F59E0B;
  letter-spacing: 1px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.tmon-foot {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid #F3F4F6;
  padding-top: 1rem;
  margin-top: auto;
}
.tmon-av {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  max-width: 44px;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.tmon-av-purple { background: #EDE9FE; color: #6C3CE1; }
.tmon-av-teal { background: #CCFBF1; color: #0F766E; }
.tmon-av-amber { background: #FEF3C7; color: #B45309; }
.tmon-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.25;
}
.tmon-role {
  font-size: 0.78rem;
  color: #6B7280;
  margin-top: 0.15rem;
}
.tmon-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  background: #ffffff;
  border: 1px solid var(--border, #E5E7EB);
  border-radius: var(--radius, 12px);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow, 0 4px 14px rgba(15, 23, 42, 0.04));
}
.tmon-strip-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}
.tmon-strip-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #EDE9FE;
  color: #6C3CE1;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.tmon-strip-item strong {
  display: block;
  font-size: 0.88rem;
  color: #111827;
  margin-bottom: 0.15rem;
}
.tmon-strip-item span {
  display: block;
  font-size: 0.78rem;
  color: #6B7280;
  line-height: 1.35;
}
@media (max-width: 960px) {
  .tmon-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .tmon-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .tmon-strip { grid-template-columns: 1fr; }
}

/* Explore / marketplace card CTA row — side by side (override stacked full-width) */
.product-card .pc-cta.pc-cta-row {
  display: flex !important;
  flex-direction: row !important;
  gap: 0.5rem !important;
  margin-top: auto;
  padding-top: 0.75rem;
}
.product-card .pc-cta.pc-cta-row .btn {
  flex: 1 1 0 !important;
  width: auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem !important;
  padding: 0.5rem 0.6rem !important;
  white-space: nowrap;
  border-radius: 8px !important;
}
.product-card .pc-cta.pc-cta-row .btn-outline {
  background: #fff !important;
  border: 1.5px solid #D1D5DB !important;
  color: #374151 !important;
}
.product-card .pc-cta.pc-cta-row .btn-outline:hover {
  border-color: #6C3CE1 !important;
  color: #6C3CE1 !important;
  background: #F5F3FF !important;
}
.product-card .pc-cta.pc-cta-row .btn:not(.btn-outline) {
  background: #0D9488 !important;
  border-color: #0D9488 !important;
  color: #fff !important;
}
.product-card .pc-cta.pc-cta-row .btn:not(.btn-outline):hover {
  background: #0F766E !important;
  border-color: #0F766E !important;
}
