/* =============================================
   ecomvis — Light Design System
   Brand blue: #1A6CF5  |  Light: #F7F8FA  |  Surface: #FFFFFF
   ============================================= */

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

:root {
  --blue: #1A6CF5;
  --blue-light: #3B82F6;
  --blue-dark: #1557D0;
  --blue-glow: rgba(26, 108, 245, 0.08);
  --dark: #F7F8FA;
  --surface: #FFFFFF;
  --surface-2: #F3F4F6;
  --surface-3: #E9EAEC;
  --border: #E5E7EB;
  --border-blue: rgba(26, 108, 245, 0.2);
  --text: #111827;
  --text-muted: #6B7280;
  --text-dim: #9CA3AF;
  --success: #059669;
  --warning: #D97706;
  --danger: #DC2626;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-blue: 0 4px 14px rgba(26, 108, 245, 0.2);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
  --transition: all 0.2s ease;
  --nav-h: 88px;
}

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

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  font-size: 15px;
}

/* ---- Typography ---- */
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.25; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { color: var(--text-muted); }
a { color: var(--blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--blue-dark); }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--surface-2); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 3px; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  padding: 0 2rem;
  gap: 2rem;
}

.navbar-brand img { height: 80px; width: auto; }

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin-left: auto;
}

.navbar-nav .nav-link {
  color: var(--text-muted);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.navbar-nav .nav-link:hover { color: var(--text); background: var(--surface-2); }
.navbar-nav .nav-link.active { color: var(--blue); font-weight: 600; }

.navbar-avatar {
  width: 34px; height: 34px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: white;
  cursor: pointer;
  border: 2px solid rgba(26,108,245,0.25);
}

.nav-divider { width: 1px; height: 20px; background: var(--border); margin: 0 0.5rem; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
  font-family: var(--font);
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: white; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,108,245,0.3); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--border-blue);
}
.btn-outline:hover { background: var(--blue-glow); color: var(--blue); border-color: var(--blue); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--surface-2); color: var(--text); border-color: var(--border); }

.btn-danger {
  background: var(--danger);
  color: white;
  border-color: var(--danger);
}
.btn-danger:hover { background: #B91C1C; }

.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.82rem; }
.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; border-radius: var(--radius); }
.btn-xl { padding: 1rem 2.5rem; font-size: 1.05rem; border-radius: var(--radius); }
.btn-icon { padding: 0.5rem; border-radius: var(--radius-sm); }

/* =============================================
   CARDS
   ============================================= */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.card:hover { border-color: var(--border-blue); box-shadow: var(--shadow-md); }

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.card-title { font-size: 1rem; font-weight: 600; color: var(--text); }
.card-subtitle { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.15rem; }

/* =============================================
   FORMS
   ============================================= */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--text); margin-bottom: 0.4rem; }
.form-hint { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.3rem; }

.form-control {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font);
  transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,108,245,0.1); }
.form-control::placeholder { color: var(--text-dim); }
.form-control.is-invalid { border-color: var(--danger); }

textarea.form-control { resize: vertical; min-height: 90px; }
.form-error { font-size: 0.8rem; color: var(--danger); margin-top: 0.3rem; }

/* =============================================
   BADGES & STATUS
   ============================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.badge-blue { background: #EFF6FF; color: #2563EB; border: 1px solid #BFDBFE; }
.badge-green { background: #ECFDF5; color: #059669; border: 1px solid #A7F3D0; }
.badge-yellow { background: #FFFBEB; color: #D97706; border: 1px solid #FDE68A; }
.badge-red { background: #FEF2F2; color: #DC2626; border: 1px solid #FECACA; }
.badge-gray { background: #F3F4F6; color: #6B7280; border: 1px solid #E5E7EB; }

.dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.dot-green { background: #059669; }
.dot-yellow { background: #D97706; }
.dot-red { background: #DC2626; }
.dot-gray { background: #9CA3AF; }

/* =============================================
   ALERTS & MESSAGES
   ============================================= */
.alert {
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1rem;
  border: 1px solid;
}
.alert-success { background: #ECFDF5; border-color: #A7F3D0; color: #065F46; }
.alert-error   { background: #FEF2F2; border-color: #FECACA; color: #991B1B; }
.alert-warning { background: #FFFBEB; border-color: #FDE68A; color: #92400E; }
.alert-info    { background: #EFF6FF; border-color: #BFDBFE; color: #1D4ED8; }

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 640px; margin: 0 auto; padding: 0 1.5rem; }
.container-md { max-width: 860px; margin: 0 auto; padding: 0 1.5rem; }

.page-header {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}
.page-header h1 { font-size: 1.6rem; font-weight: 700; }
.page-header p { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.3rem; }
.page-header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

.section { padding: 3rem 0; }
.section-lg { padding: 5rem 0; }

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-start { display: flex; align-items: center; justify-content: flex-start; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.flex-wrap { flex-wrap: wrap; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.w-full { width: 100%; }

/* =============================================
   STAT CARDS
   ============================================= */
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
}
.stat-card:hover { border-color: var(--border-blue); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat-card .stat-icon { width: 40px; height: 40px; border-radius: var(--radius-sm); background: #EFF6FF; border: 1px solid #BFDBFE; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 1rem; }
.stat-card .stat-value { font-size: 2rem; font-weight: 800; color: var(--text); line-height: 1; }
.stat-card .stat-label { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.3rem; }
.stat-card .stat-change { font-size: 0.78rem; margin-top: 0.5rem; color: var(--success); }

/* =============================================
   PROGRESS BAR
   ============================================= */
.progress-bar-wrap { background: var(--surface-2); border-radius: 100px; height: 6px; overflow: hidden; }
.progress-bar-fill { height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--blue), var(--blue-light)); transition: width 0.5s ease; }
.progress-bar-fill.warning { background: linear-gradient(90deg, var(--warning), #F59E0B); }
.progress-bar-fill.danger { background: linear-gradient(90deg, var(--danger), #EF4444); }

/* =============================================
   TABLES
   ============================================= */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; }
thead tr { background: #F9FAFB; }
thead th { padding: 0.75rem 1rem; text-align: left; font-size: 0.78rem; font-weight: 600; color: #374151; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--border); white-space: nowrap; }
tbody tr { border-bottom: 1px solid var(--border); transition: background 0.15s; background: var(--surface); }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: #F9FAFB; }
tbody td { padding: 0.75rem 1rem; font-size: 0.88rem; color: var(--text); vertical-align: middle; }
.td-muted { color: var(--text-muted); }

/* =============================================
   CODE / API KEY
   ============================================= */
.code-block {
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: #374151;
  overflow-x: auto;
  white-space: pre;
  line-height: 1.6;
  max-width: 100%;
  word-break: normal;
}

.api-key-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.9rem;
}
.api-key-field input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.85rem;
  outline: none;
}
.copy-btn {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.copy-btn:hover { background: #EFF6FF; color: var(--blue); border-color: #BFDBFE; }

/* =============================================
   LANDING PAGE
   ============================================= */
.hero {
  min-height: calc(90vh - var(--nav-h));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
  background: var(--surface);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(26,108,245,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 780px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #2563EB;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 span { color: var(--blue); }
.hero p { font-size: 1.1rem; color: var(--text-muted); max-width: 580px; margin-bottom: 2rem; line-height: 1.7; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-demo {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 4rem;
  box-shadow: var(--shadow-md);
}
.hero-demo::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-lg) + 1px);
  background: linear-gradient(135deg, rgba(26,108,245,0.1), transparent, rgba(26,108,245,0.05));
  z-index: -1;
}

/* Features section */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.feature-card:hover { border-color: var(--border-blue); transform: translateY(-3px); box-shadow: var(--shadow-blue); }
.feature-icon { width: 48px; height: 48px; border-radius: var(--radius-sm); background: #EFF6FF; border: 1px solid #BFDBFE; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.88rem; line-height: 1.6; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; counter-reset: step-counter; }
.step { position: relative; }
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-blue);
}
.step h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.85rem; }

/* =============================================
   PRICING CARDS
   ============================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow);
}
.pricing-card:hover { border-color: var(--border-blue); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card.featured {
  border-color: var(--blue);
  background: linear-gradient(160deg, #F0F7FF 0%, #FFFFFF 60%);
  box-shadow: 0 8px 30px rgba(26,108,245,0.15);
  transform: translateY(-4px);
}
.pricing-card.featured:hover { transform: translateY(-7px); box-shadow: 0 12px 40px rgba(26,108,245,0.2); }
.pricing-popular {
  position: absolute;
  top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--blue);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(26,108,245,0.4);
}
.pricing-name { font-size: 0.8rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.pricing-original { font-size: 0.95rem; color: var(--text-dim); font-weight: 500; text-decoration: line-through; margin-bottom: 0.1rem; display: block; }
.pricing-price { margin-bottom: 0.25rem; }
.pricing-price .amount { font-size: 2.75rem; font-weight: 800; color: var(--text); line-height: 1; letter-spacing: -0.02em; }
.pricing-price .period { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }
.pricing-desc { font-size: 0.85rem; color: var(--text-muted); margin: 0.75rem 0 1.5rem; min-height: 2.5rem; line-height: 1.5; }
.pricing-features { list-style: none; margin-bottom: 2rem; flex: 1; }
.pricing-features li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.88rem; color: var(--text-muted); padding: 0.4rem 0; border-bottom: 1px solid var(--border); }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before { content: '✓'; color: var(--blue); font-weight: 700; flex-shrink: 0; margin-top: 0.05rem; }
.pricing-cta { margin-top: auto; }

/* =============================================
   SIDEBAR DASHBOARD LAYOUT
   ============================================= */
.dashboard-layout { display: flex; min-height: calc(100vh - var(--nav-h)); }
.sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 1.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.sidebar-section-label { font-size: 0.7rem; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; padding: 0.5rem 0.75rem 0.25rem; margin-top: 0.5rem; }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}
.sidebar-link:hover { color: var(--text); background: var(--surface-2); }
.sidebar-link.active { color: var(--blue); background: #EFF6FF; font-weight: 600; }
.sidebar-link svg, .sidebar-link .icon { width: 16px; height: 16px; opacity: 0.7; flex-shrink: 0; }
.sidebar-link.active svg, .sidebar-link.active .icon { opacity: 1; }

.dashboard-main { flex: 1; padding: 2rem; min-width: 0; background: var(--dark); }

/* =============================================
   UPLOAD ZONE
   ============================================= */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  background: var(--surface);
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--blue);
  background: #F0F7FF;
}
.upload-zone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.upload-zone h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.upload-zone p { font-size: 0.85rem; }

/* =============================================
   WEBSITE CARD
   ============================================= */
.website-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow);
}
.website-card:hover { border-color: var(--border-blue); box-shadow: var(--shadow-blue); }
.website-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.website-card-name { font-size: 1rem; font-weight: 700; margin-bottom: 0.15rem; }
.website-card-domain { font-size: 0.8rem; color: var(--text-muted); }
.website-card-meta { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.website-card-stat { font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.3rem; }

/* =============================================
   EMPTY STATE
   ============================================= */
.empty-state { padding: 5rem 2rem; text-align: center; }
.empty-state-icon { font-size: 3.5rem; margin-bottom: 1rem; opacity: 0.5; }
.empty-state h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.empty-state p { font-size: 0.9rem; max-width: 360px; margin: 0 auto 1.5rem; }

/* =============================================
   WIDGET DEMO (landing page)
   ============================================= */
.widget-preview {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}
.widget-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--blue);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-blue), 0 4px 20px rgba(0,0,0,0.15);
  transition: var(--transition);
  color: white;
  font-size: 1.4rem;
  padding: 0;
}
.widget-btn:hover { transform: scale(1.08); background: var(--blue-dark); }

.widget-panel {
  display: none;
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 360px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  overflow: hidden;
  animation: slideUp 0.2s ease;
}
.widget-panel.open { display: flex; flex-direction: column; }

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

.widget-header {
  background: var(--blue);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.widget-header-title { font-size: 0.9rem; font-weight: 700; color: white; display: flex; align-items: center; gap: 0.5rem; }
.widget-close { background: none; border: none; color: rgba(255,255,255,0.8); cursor: pointer; font-size: 1.1rem; }

.widget-messages { flex: 1; max-height: 320px; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; background: #F9FAFB; }
.widget-msg { padding: 0.65rem 0.9rem; border-radius: var(--radius-sm); font-size: 0.85rem; max-width: 85%; line-height: 1.5; }
.widget-msg.bot { background: var(--surface); color: var(--text); align-self: flex-start; box-shadow: var(--shadow); }
.widget-msg.user { background: var(--blue); color: white; align-self: flex-end; }

.widget-product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.65rem;
  display: flex;
  gap: 0.6rem;
  font-size: 0.8rem;
  box-shadow: var(--shadow);
}
.widget-product-img { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; background: var(--surface-2); flex-shrink: 0; }
.widget-product-name { font-weight: 600; color: var(--text); margin-bottom: 0.2rem; }
.widget-product-link { color: var(--blue); font-size: 0.75rem; }

.widget-input-row { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1rem; border-top: 1px solid var(--border); background: var(--surface); }
.widget-input { flex: 1; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); padding: 0.5rem 0.75rem; border-radius: 100px; font-size: 0.85rem; outline: none; }
.widget-input:focus { border-color: var(--blue); background: var(--surface); }
.widget-send { background: var(--blue); border: none; color: white; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; transition: var(--transition); }
.widget-send:hover { background: var(--blue-dark); }
.widget-img-btn { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 1rem; padding: 0.3rem; transition: var(--transition); }
.widget-img-btn:hover { color: var(--blue); }

/* =============================================
   FOOTER
   ============================================= */
footer { background: var(--surface); border-top: 1px solid var(--border); padding: 3rem 0; margin-top: auto; }
footer .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 2rem; }
footer h4 { font-size: 0.85rem; font-weight: 700; color: var(--text); margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
footer li a { font-size: 0.85rem; color: var(--text-muted); }
footer li a:hover { color: var(--text); }
.footer-bottom { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.82rem; color: var(--text-dim); margin: 0; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; }

  .navbar { padding: 0 1rem; height: 68px; overflow: visible; }
  .navbar-brand img { height: 70px; }

  .navbar-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); flex-direction: column; align-items: stretch; padding: 0.75rem 1rem; gap: 0.25rem; z-index: 9999; }
  .navbar-nav.open { display: flex; }
  .navbar-nav .nav-link { padding: 0.6rem 0.75rem; }
  .navbar-nav .btn { width: 100%; justify-content: center; }
  .nav-divider { display: none; }

  .nav-toggle { display: flex; position: relative; z-index: 9999; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 10px; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

  .sidebar { display: none; }
  .dashboard-main { padding: 1rem; }

  .container { padding: 0 1.25rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .hero { padding: 3rem 0 2.5rem; min-height: auto; }
  .hero h1 { font-size: 2.1rem; line-height: 1.2; }
  .hero p { font-size: 1rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-demo { padding: 1rem; margin-top: 2.5rem; }
  .hero-demo > div:last-child,
  .hero-demo .demo-cols { grid-template-columns: 1fr !important; }

  .explain-row { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  .explain-row.reverse .explain-img { order: -1; }

  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }

  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: translateY(0); }
  .widget-preview { bottom: 16px; right: 16px; }
  .widget-panel {
    position: fixed;
    bottom: 90px;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    border-radius: var(--radius);
  }
  .widget-messages { max-height: 220px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .section { padding: 2.5rem 0; }
  .section-lg { padding: 3rem 0; }

  table { display: block; overflow-x: auto; }
}

@media (max-width: 480px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.8rem; }
  /* Fix CTA button overflow on small screens */
  .btn-xl { display: block; white-space: normal; line-height: 1.4; text-align: center; padding: 0.9rem 1.25rem; width: 100%; }
}

/* =============================================
   EXPLAIN SECTIONS (image + text rows)
   ============================================= */
.explain-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 3.5rem 0;
}
.explain-img img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: block;
}
.explain-text h2 { margin-bottom: 1rem; }
.explain-text p { color: var(--text-muted); line-height: 1.75; font-size: 1.02rem; }
.explain-text ul { list-style: none; margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.6rem; }
.explain-text ul li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--text); font-size: 0.95rem; }
.explain-text ul li::before { content: '✓'; color: var(--blue); font-weight: 700; flex-shrink: 0; }

/* =============================================
   PAGE HERO (small hero for inner pages)
   ============================================= */
.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0 3rem;
}

/* =============================================
   BLOG
   ============================================= */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.blog-card-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-img-placeholder { display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.blog-card-body { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.blog-card-meta { font-size: 0.78rem; color: var(--text-dim); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.blog-card-body h3 { font-size: 1.1rem; line-height: 1.4; }
.blog-card-body p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; flex: 1; }
.blog-card-link { font-size: 0.88rem; font-weight: 600; color: var(--blue); margin-top: 0.25rem; }
.blog-back { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); text-decoration: none; }
.blog-back:hover { color: var(--blue); }
.blog-detail-img { margin: 2rem 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.blog-detail-img img { width: 100%; display: block; }
.blog-body { margin-top: 1.5rem; }
.blog-body p { font-size: 1.02rem; line-height: 1.8; color: var(--text); margin-bottom: 1.25rem; }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeIn 0.35s ease both; }

@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
.pulse { animation: pulse 2s ease infinite; }

@keyframes spin { to { transform: rotate(360deg); } }
.spin { animation: spin 1s linear infinite; }

/* =============================================
   AUTH PAGES (login, register, password reset)
   ============================================= */
.auth-page {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(26,108,245,0.07) 0%, transparent 70%);
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}
.auth-logo { text-align: center; margin-bottom: 1.5rem; }
.auth-title { font-size: 1.6rem; font-weight: 800; text-align: center; margin: 0 0 0.35rem; }
.auth-sub { text-align: center; color: var(--text-muted); margin: 0 0 1.5rem; font-size: 0.95rem; }

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.7rem 1rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.btn-google:hover { border-color: #BFDBFE; background: #F9FAFB; box-shadow: 0 2px 8px rgba(0,0,0,0.09); color: var(--text); }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
  color: var(--text-dim);
  font-size: 0.8rem;
}
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.auth-field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.auth-field label { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.auth-field input,
.auth-field select,
.auth-field textarea { all: unset; display: block; width: 100%; box-sizing: border-box; padding: 0.65rem 0.9rem; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: 0.95rem; color: var(--text); background: var(--surface); transition: border-color 0.15s ease; }
.auth-field input:focus,
.auth-field select:focus,
.auth-field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(26,108,245,0.1); }
.auth-field-header { display: flex; align-items: center; justify-content: space-between; }
.auth-link-sm { font-size: 0.82rem; color: var(--blue); text-decoration: none; font-weight: 500; }
.auth-link-sm:hover { text-decoration: underline; }
.auth-error { font-size: 0.8rem; color: var(--danger); margin-top: 0.15rem; }
.auth-alert { background: #FEF2F2; border: 1px solid #FECACA; color: #DC2626; border-radius: var(--radius); padding: 0.7rem 0.9rem; font-size: 0.88rem; margin-bottom: 0.75rem; }
.auth-footer-link { text-align: center; margin: 1.25rem 0 0; font-size: 0.88rem; color: var(--text-muted); }
.auth-footer-link a { color: var(--blue); text-decoration: none; font-weight: 600; }
.auth-footer-link a:hover { text-decoration: underline; }
.auth-captcha { background: #F0F9FF; border: 1.5px solid #BAE6FD; border-radius: var(--radius); padding: 0.85rem 1rem; margin-bottom: 1rem; display: flex; flex-direction: column; gap: 0.4rem; }
.auth-captcha label { font-size: 0.88rem; color: #0369A1; font-weight: 600; }
.auth-captcha input { all: unset; display: block; box-sizing: border-box; width: 100%; border: 1.5px solid #BAE6FD; border-radius: 6px; padding: 0.5rem 0.75rem; font-size: 0.95rem; background: white; }
.auth-captcha input:focus { border-color: var(--blue); outline: none; }
.auth-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.req { color: var(--danger); }

@media (max-width: 480px) {
  .auth-card { padding: 2rem 1.25rem; }
  .auth-row-2 { grid-template-columns: 1fr; }
}

/* Fix mobile code block overflow on landing integration section */
@media (max-width: 768px) {
  .code-block { white-space: pre-wrap; word-break: break-all; font-size: 0.75rem; }
  .card { min-width: 0; }
}

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-hero {
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(26,108,245,0.08) 0%, transparent 70%);
  padding: 5rem 0 4rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.about-capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.about-cap-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}
.about-cap-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.about-cap-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.about-cap-card h3 { margin-bottom: 0.6rem; }
.about-cap-card p { font-size: 0.93rem; color: var(--text-muted); line-height: 1.65; }
.about-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.about-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
}
.about-stat-num { font-size: 2.5rem; font-weight: 800; color: var(--blue); line-height: 1; margin-bottom: 0.5rem; }
.about-stat-label { font-size: 0.82rem; color: var(--text-muted); line-height: 1.4; }

@media (max-width: 768px) {
  .about-capabilities { grid-template-columns: 1fr; }
  .about-hero { padding: 3rem 0 2.5rem; }
}

/* =============================================
   LEGAL PAGES (Terms, Privacy)
   ============================================= */
.legal-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
}
.legal-header { margin-bottom: 2.5rem; }
.legal-badge {
  display: inline-block;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.legal-header h1 { font-size: 2.5rem; margin-bottom: 0.4rem; }
.legal-meta { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 1.25rem; }
.legal-header > p { color: var(--text-muted); line-height: 1.75; }
.legal-toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0 2.5rem;
}
.legal-toc h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 0.75rem; }
.legal-toc ol { padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.3rem; }
.legal-toc li { font-size: 0.88rem; color: var(--text-muted); }
.legal-toc a { color: var(--blue); text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
.legal-section {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  margin-top: 2rem;
}
.legal-section h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.9rem; color: var(--text); }
.legal-section h3 { font-size: 1rem; font-weight: 600; margin: 1.4rem 0 0.5rem; color: var(--text); }
.legal-section p { color: var(--text-muted); line-height: 1.75; margin-bottom: 0.9rem; }
.legal-section ul { color: var(--text-muted); line-height: 1.75; margin-bottom: 0.9rem; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 0.35rem; }
.legal-section ul li { display: flex; gap: 0.5rem; align-items: flex-start; }
.legal-section ul li::before { content: '–'; color: var(--blue); flex-shrink: 0; font-weight: 700; }
.legal-contact {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  line-height: 2;
  font-size: 0.93rem;
  margin-top: 0.5rem;
}
.legal-contact a { color: var(--blue); }
.legal-footer-nav {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

/* =============================================
   FOOTER BOTTOM STRIP
   ============================================= */
.footer-strip {
  background: #111111;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 0.7rem 0;
}
.footer-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.65);
  transition: background 0.18s ease, color 0.18s ease;
  text-decoration: none;
}
.footer-social-link:hover { background: rgba(255,255,255,0.18); color: #fff; }
.footer-payment-logos {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
}
.pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 7px;
  border-radius: 4px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  line-height: 1;
}
.pay-badge-img {
  height: 22px;
  border-radius: 4px;
  object-fit: cover;
  max-width: 70px;
  vertical-align: middle;
}
.pay-amex    { background: #016FD0; color: #fff; }
.pay-applepay{ background: #1c1c1e; color: #fff; border: 1px solid rgba(255,255,255,0.18); }
.pay-discover{ background: #F76F20; color: #fff; }
.pay-gpay    { background: #fff; color: #3c4043; }
.pay-jcb     { background: #003087; color: #fff; }
.pay-mc      { background: #EB001B; color: #fff; }
.pay-visa    { background: #1A1F71; color: #fff; letter-spacing: 0.06em; }
.pay-stripe  { background: #635BFF; color: #fff; font-style: italic; }

@media (max-width: 600px) {
  .footer-strip-inner { justify-content: center; }
  .footer-payment-logos { justify-content: center; }
}

/* =============================================
   DASHBOARD — Stat card Upgrade badge
   ============================================= */
.stat-card-plan { position: relative; overflow: visible; }
.btn-upgrade-overlay {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  background: transparent;
  color: #DC2626;
  border: 2.5px solid #DC2626;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.18rem 0.55rem;
  border-radius: 5px;
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.15s ease, color 0.15s ease;
  line-height: 1.4;
}
.btn-upgrade-overlay:hover { background: #DC2626; color: #fff; }

/* =============================================
   DASHBOARD — Domain filter dropdown
   ============================================= */
.domain-filter-select {
  all: unset;
  display: inline-block;
  box-sizing: border-box;
  padding: 0.35rem 2rem 0.35rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 0.6rem center;
  cursor: pointer;
  transition: border-color 0.15s ease;
  min-width: 160px;
}
.domain-filter-select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(26,108,245,0.1); }

/* =============================================
   MISC
   ============================================= */
.divider { height: 1px; background: var(--border); margin: 1.5rem 0; }
.tag { background: #EFF6FF; border: 1px solid #BFDBFE; color: #2563EB; padding: 0.2rem 0.6rem; border-radius: 100px; font-size: 0.75rem; font-weight: 500; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: white; font-weight: 700; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; }
.truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mono { font-family: var(--mono); }
