/* ─── FixDrop Design System ─────────────────────────────────────────── */
/* Based on Untitled UI tokens */

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

:root {
  /* Brand */
  --brand-primary: #2563eb;
  --brand-primary-hover: #1d4ed8;
  --brand-primary-light: #eff6ff;
  --brand-secondary: #0f172a;
  --brand-accent: #f59e0b;
  --brand-accent-hover: #d97706;

  /* Grays */
  --gray-25:  #fcfcfd;
  --gray-50:  #f9fafb;
  --gray-100: #f2f4f7;
  --gray-200: #e4e7ec;
  --gray-300: #d0d5dd;
  --gray-400: #98a2b3;
  --gray-500: #667085;
  --gray-600: #475467;
  --gray-700: #344054;
  --gray-800: #1d2939;
  --gray-900: #101828;

  /* Semantic */
  --text-primary:   var(--gray-900);
  --text-secondary: var(--gray-600);
  --text-tertiary:  var(--gray-400);
  --border:         var(--gray-200);
  --border-strong:  var(--gray-300);
  --surface:        #ffffff;
  --surface-raised: var(--gray-25);
  --surface-hover:  var(--gray-50);

  /* Status */
  --success:      #12b76a;
  --success-light: #ecfdf3;
  --warning:      #f79009;
  --warning-light: #fffaeb;
  --error:        #f04438;
  --error-light:  #fef3f2;

  /* Spacing */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Radii */
  --radius-sm:  6px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --radius-2xl: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(16,24,40,.05);
  --shadow-sm: 0 1px 3px rgba(16,24,40,.1), 0 1px 2px rgba(16,24,40,.06);
  --shadow-md: 0 4px 8px -2px rgba(16,24,40,.1), 0 2px 4px -2px rgba(16,24,40,.06);
  --shadow-lg: 0 12px 16px -4px rgba(16,24,40,.08), 0 4px 6px -2px rgba(16,24,40,.03);
  --shadow-xl: 0 20px 24px -4px rgba(16,24,40,.08), 0 8px 8px -4px rgba(16,24,40,.03);

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;
}

/* ─── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font-family: inherit; }

/* ─── Utilities ──────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.hidden { display: none !important; }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-xs);
}
.btn-primary:hover:not(:disabled) {
  background: var(--brand-primary-hover);
  border-color: var(--brand-primary-hover);
}

.btn-secondary {
  background: #fff;
  color: var(--gray-700);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover:not(:disabled) { background: var(--gray-50); }

.btn-accent {
  background: var(--brand-accent);
  color: #fff;
  border-color: var(--brand-accent);
  box-shadow: var(--shadow-xs);
}
.btn-accent:hover:not(:disabled) {
  background: var(--brand-accent-hover);
  border-color: var(--brand-accent-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--brand-primary);
  border-color: transparent;
}
.btn-ghost:hover:not(:disabled) { background: var(--brand-primary-light); }

.btn-lg { padding: 14px 24px; font-size: 16px; border-radius: var(--radius-lg); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-xl { padding: 18px 32px; font-size: 18px; border-radius: var(--radius-lg); }

/* ─── Badges ─────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--radius-full);
  border: 1px solid;
}
.badge-blue   { background: #eff6ff; color: var(--brand-primary); border-color: #bfdbfe; }
.badge-green  { background: var(--success-light); color: #027a48; border-color: #abefc6; }
.badge-amber  { background: var(--warning-light); color: #b54708; border-color: #fec84b; }
.badge-red    { background: var(--error-light); color: #b42318; border-color: #fecdca; }
.badge-gray   { background: var(--gray-100); color: var(--gray-700); border-color: var(--gray-200); }

/* ─── Cards ──────────────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card-body { padding: var(--space-6); }
.card-hover { transition: box-shadow 0.2s, transform 0.2s; }
.card-hover:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

/* ─── Forms ──────────────────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: var(--space-2); }
.form-label { font-size: 14px; font-weight: 500; color: var(--gray-700); }
.form-input {
  padding: 10px 14px;
  font-size: 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text-primary);
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}
.form-input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,.08);
}
.form-input::placeholder { color: var(--text-tertiary); }

/* ─── Navigation ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  display: flex;
  align-items: center;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 800;
  font-size: 20px;
  color: var(--brand-secondary);
  letter-spacing: -0.5px;
}
.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--brand-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.nav-user {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--border);
}
.nav-user-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

/* ─── Hero Section ───────────────────────────────────────────────────────── */
.hero {
  padding-top: calc(var(--nav-height) + var(--space-20));
  padding-bottom: var(--space-24);
  text-align: center;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--surface) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37,99,235,.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  background: var(--brand-primary-light);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: var(--space-6);
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--brand-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  color: var(--gray-900);
  max-width: 760px;
  margin: 0 auto var(--space-6);
}
.hero-title span { color: var(--brand-primary); }
.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto var(--space-10);
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}
.hero-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  font-size: 13px;
  color: var(--text-secondary);
}
.hero-avatars {
  display: flex;
}
.hero-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid white;
  margin-left: -8px;
  background: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.hero-avatar:first-child { margin-left: 0; }
.hero-avatar.av2 { background: #7c3aed; }
.hero-avatar.av3 { background: #059669; }
.hero-avatar.av4 { background: #db2777; }
.hero-avatar.av5 { background: #d97706; }

/* ─── Hero Visual Card ───────────────────────────────────────────────────── */
.hero-visual {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}
.hero-card-mockup {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  padding: var(--space-6);
  text-align: left;
}
.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
}
.mockup-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
}
.mockup-line-items { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-4); }
.mockup-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  font-size: 13px;
}
.mockup-line-label { color: var(--text-secondary); font-weight: 500; }
.mockup-line-amount { font-weight: 700; color: var(--gray-900); }
.mockup-line-badge { }
.mockup-bids {
  display: flex;
  gap: var(--space-2);
}
.mockup-bid {
  flex: 1;
  padding: var(--space-3);
  background: var(--gray-50);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 12px;
  border: 1px solid var(--border);
}
.mockup-bid.winner {
  background: var(--success-light);
  border-color: #abefc6;
}
.mockup-bid-shop { font-weight: 600; color: var(--text-secondary); margin-bottom: 2px; }
.mockup-bid-price { font-size: 18px; font-weight: 800; color: var(--gray-900); }
.mockup-bid.winner .mockup-bid-price { color: #027a48; }
.mockup-bid-save { font-size: 11px; color: var(--text-tertiary); }
.mockup-bid.winner .mockup-bid-save { color: #027a48; font-weight: 600; }

/* Floating badges on mockup */
.hero-float-badge {
  position: absolute;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  box-shadow: var(--shadow-lg);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.hero-float-badge.left {
  left: -40px;
  bottom: 80px;
}
.hero-float-badge.right {
  right: -40px;
  top: 60px;
}
.float-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.float-icon-blue  { background: var(--brand-primary-light); }
.float-icon-green { background: var(--success-light); }

/* ─── Section Headers ────────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-16);
}
.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: var(--space-3);
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--gray-900);
  margin-bottom: var(--space-4);
}
.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── How It Works ───────────────────────────────────────────────────────── */
.section { padding: var(--space-24) 0; }
.section-alt { background: var(--gray-50); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.66% + 40px);
  right: calc(16.66% + 40px);
  height: 2px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-primary-light));
  z-index: 0;
}
.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: white;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  box-shadow: 0 0 0 8px var(--brand-primary-light);
}
.step-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  box-shadow: var(--shadow-md);
}
.step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-3);
}
.step-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── Features ───────────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
.feature-card {
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  background: white;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}
.feature-icon-blue   { background: var(--brand-primary-light); }
.feature-icon-green  { background: var(--success-light); }
.feature-icon-amber  { background: var(--warning-light); }
.feature-icon-purple { background: #f5f3ff; }
.feature-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-2);
}
.feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── Two CTA Panels ─────────────────────────────────────────────────────── */
.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  padding: var(--space-24) 0;
}
.cta-panel {
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.cta-panel-customer {
  background: var(--brand-primary);
  color: white;
}
.cta-panel-shop {
  background: var(--gray-900);
  color: white;
}
.cta-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}
.cta-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.cta-desc {
  font-size: 15px;
  opacity: 0.8;
  line-height: 1.6;
}
.cta-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.cta-list li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 14px;
  font-weight: 500;
  opacity: 0.9;
}
.cta-check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.cta-btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 24px;
  background: white;
  border-radius: var(--radius-lg);
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
  transition: all 0.15s;
  align-self: flex-start;
  cursor: pointer;
  border: none;
}
.cta-btn-white:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.cta-panel-shop .cta-btn-white { color: var(--gray-900); }

/* ─── Feed Section ───────────────────────────────────────────────────────── */
.feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}
.feed-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
}
.feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-4);
}
.feed-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  transition: box-shadow 0.2s;
}
.feed-card:hover { box-shadow: var(--shadow-md); }
.feed-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}
.feed-card-title { font-size: 15px; font-weight: 700; color: var(--gray-900); flex: 1; margin-right: var(--space-2); }
.feed-card-meta { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-4); font-size: 13px; color: var(--text-secondary); }
.feed-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
}
.feed-card-price { font-size: 18px; font-weight: 800; color: var(--gray-900); }
.feed-card-bids { font-size: 12px; color: var(--text-secondary); }
.feed-bids-count { font-weight: 700; color: var(--brand-primary); }
.feed-loading {
  text-align: center;
  padding: var(--space-16);
  color: var(--text-secondary);
  font-size: 15px;
}
.feed-empty {
  text-align: center;
  padding: var(--space-16);
  color: var(--text-secondary);
  font-size: 15px;
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  border: 2px dashed var(--border);
}

/* Skeleton loading */
.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-50) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ─── Urgency Pills ──────────────────────────────────────────────────────── */
.urgency-urgent   { background: var(--error-light); color: #b42318; border: 1px solid #fecdca; }
.urgency-standard { background: var(--warning-light); color: #b54708; border: 1px solid #fec84b; }
.urgency-patient  { background: var(--success-light); color: #027a48; border: 1px solid #abefc6; }

/* ─── Stats Bar ──────────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--gray-900);
  color: white;
  padding: var(--space-5) 0;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-16);
}
.stat-item { text-align: center; }
.stat-number { font-size: 28px; font-weight: 800; letter-spacing: -1px; }
.stat-label { font-size: 13px; color: var(--gray-400); margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: var(--gray-700); }

/* ─── Auth Modal ─────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}
.modal {
  background: white;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 440px;
  padding: var(--space-8);
  position: relative;
}
.modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: background 0.15s;
}
.modal-close:hover { background: var(--gray-100); }
.modal-logo { text-align: center; margin-bottom: var(--space-6); }
.modal-title { font-size: 22px; font-weight: 800; color: var(--gray-900); text-align: center; margin-bottom: var(--space-2); }
.modal-subtitle { font-size: 14px; color: var(--text-secondary); text-align: center; margin-bottom: var(--space-6); }
.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  width: 100%;
  padding: 12px 20px;
  background: white;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-700);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.15s;
}
.google-btn:hover { background: var(--gray-50); box-shadow: var(--shadow-md); }
.modal-divider {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: var(--space-5) 0;
  font-size: 13px;
  color: var(--text-tertiary);
}
.modal-divider::before,
.modal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.modal-terms { font-size: 12px; color: var(--text-tertiary); text-align: center; margin-top: var(--space-5); line-height: 1.5; }
.modal-terms a { color: var(--text-secondary); text-decoration: underline; }

/* ─── Notification Toast ─────────────────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.toast {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--gray-900);
  color: white;
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-xl);
  animation: slide-in 0.3s ease;
  max-width: 340px;
}
.toast-success { border-left: 3px solid var(--success); }
.toast-error   { border-left: 3px solid var(--error); }
@keyframes slide-in {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ─── Page sections (show/hide) ──────────────────────────────────────────── */
.page-section { display: none; }
.page-section.active { display: block; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  background: var(--gray-900);
  color: white;
  padding: var(--space-16) 0 var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}
.footer-brand-name {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: var(--space-3);
  letter-spacing: -0.5px;
}
.footer-brand-desc { font-size: 14px; color: var(--gray-400); line-height: 1.6; }
.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-300);
  margin-bottom: var(--space-4);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: var(--space-2); }
.footer-links a { font-size: 14px; color: var(--gray-400); transition: color 0.15s; }
.footer-links a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--gray-500);
}

/* ─── SVG Icons ──────────────────────────────────────────────────────────── */
svg { flex-shrink: 0; }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .steps-grid::before { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .container { padding: 0 var(--space-4); }

  .nav-links { display: none; }
  .hero { padding-top: calc(var(--nav-height) + var(--space-12)); padding-bottom: var(--space-16); }
  .hero-title { letter-spacing: -1px; }
  .hero-float-badge { display: none; }

  .steps-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .features-grid { grid-template-columns: 1fr; }
  .cta-split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--space-3); text-align: center; }
  .stats-inner { gap: var(--space-8); flex-wrap: wrap; }
  .stat-divider { display: none; }
  .feed-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .cta-panel { padding: var(--space-6); }
}

/* ─── Shop Dashboard ─────────────────────────────────────────────────────── */

.info-banner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--brand-primary-light);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
  font-size: 14px;
  color: var(--brand-primary);
  font-weight: 500;
  margin-bottom: var(--space-6);
}

.shop-form-header { margin-bottom: var(--space-8); }
.shop-form { margin-top: var(--space-6); }
.form-section-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--border);
}
.form-hint { font-size: 12px; color: var(--text-tertiary); margin-top: var(--space-1); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.required { color: var(--error); }

/* Category checkboxes */
.category-checkboxes { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.category-check {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}
.category-check:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.category-check input { accent-color: var(--brand-primary); }
.category-check:has(input:checked) {
  background: var(--brand-primary-light);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

/* Auto-discount card */
.auto-discount-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  background: var(--gray-50);
}
.auto-discount-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
}
.auto-discount-title { font-size: 15px; font-weight: 700; color: var(--gray-900); margin-bottom: var(--space-1); }
.auto-discount-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.auto-discount-preview { display: flex; flex-direction: column; align-items: center; gap: 2px; flex-shrink: 0; }
.discount-pct-display { font-size: 28px; font-weight: 800; color: var(--brand-primary); line-height: 1; }
.discount-value-label { font-size: 15px; font-weight: 700; color: var(--brand-primary); min-width: 40px; text-align: right; }

/* Dashboard header */
.dash-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-6);
  gap: var(--space-4);
}
.dash-title { font-size: 26px; font-weight: 800; color: var(--gray-900); letter-spacing: -0.5px; margin-bottom: var(--space-1); }
.dash-subtitle { font-size: 14px; color: var(--text-secondary); }

/* Auto-bid pill */
.auto-bid-toggle-pill {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: white;
}
.auto-bid-toggle-pill.active {
  border-color: #abefc6;
  background: var(--success-light);
  color: #027a48;
}
.auto-bid-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
  flex-shrink: 0;
}
.auto-bid-dot.active {
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(18,183,106,0.2);
}

/* Stats row */
.shop-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}
.shop-stat-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  text-align: center;
  box-shadow: var(--shadow-xs);
}
.shop-stat-num { font-size: 28px; font-weight: 800; color: var(--gray-900); letter-spacing: -1px; }
.shop-stat-label { font-size: 12px; color: var(--text-secondary); margin-top: var(--space-1); }

/* Two-column layout */
.dash-columns {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--space-8);
  align-items: start;
}
.dash-col-side {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-4));
  max-height: calc(100vh - var(--nav-height) - var(--space-8));
  overflow-y: auto;
}

/* Filter chips */
.feed-filters { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-bottom: var(--space-4); }
.filter-chip {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: white;
  cursor: pointer;
  transition: all 0.15s;
}
.filter-chip:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.filter-chip.active { background: var(--brand-primary); border-color: var(--brand-primary); color: white; }

/* Shop request card */
.shop-request-card { cursor: default; }
.shop-request-card.bid-done { opacity: 0.6; }
.bid-submitted-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: var(--success-light);
  color: #027a48;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #abefc6;
}
.deadline-label { font-size: 11px; font-weight: 600; color: var(--error); }

/* My bids panel */
.my-bid-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-4);
  margin-bottom: var(--space-3);
  transition: box-shadow 0.15s;
}
.my-bid-card:hover { box-shadow: var(--shadow-sm); }
.my-bid-card.bid-accepted { border-color: #abefc6; background: var(--success-light); }
.my-bid-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}
.my-bid-title { font-size: 13px; font-weight: 600; color: var(--gray-900); line-height: 1.4; flex: 1; }
.my-bid-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 12px;
  color: var(--text-tertiary);
  margin-bottom: var(--space-2);
  flex-wrap: wrap;
}
.my-bid-price { font-size: 20px; font-weight: 800; color: var(--gray-900); }
.my-bid-discount { font-size: 12px; color: var(--success); font-weight: 600; }
.auto-bid-chip {
  display: inline-flex;
  padding: 2px 8px;
  background: var(--warning-light);
  color: #b54708;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  border: 1px solid #fec84b;
}
.bid-accepted-banner {
  margin-top: var(--space-3);
  padding: var(--space-2) var(--space-3);
  background: white;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 600;
  color: #027a48;
  border: 1px solid #abefc6;
}

/* ─── Bid Modal ──────────────────────────────────────────────────────────── */
.bid-modal { max-height: 90vh; overflow-y: auto; }
.bid-request-card {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin: var(--space-4) 0;
}
.bid-request-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}
.bid-request-title { font-size: 15px; font-weight: 700; color: var(--gray-900); }
.bid-request-meta { font-size: 13px; color: var(--text-secondary); margin-bottom: var(--space-2); line-height: 1.5; }
.bid-request-original { font-size: 13px; color: var(--text-secondary); }
.bid-request-original strong { color: var(--gray-900); font-size: 15px; }

/* Bid mode toggle */
.bid-section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: var(--space-3);
}
.bid-mode-toggle {
  display: flex;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.bid-mode-btn {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  background: white;
  border: none;
  cursor: pointer;
  transition: all 0.12s;
}
.bid-mode-btn + .bid-mode-btn { border-left: 1px solid var(--border-strong); }
.bid-mode-btn.active { background: var(--brand-primary); color: white; }

/* Itemized table */
.bid-item-header {
  display: grid;
  grid-template-columns: 1fr 90px 120px;
  gap: var(--space-2);
  padding: 6px var(--space-3);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-2);
}
.bid-item-row {
  display: grid;
  grid-template-columns: 1fr 90px 120px;
  gap: var(--space-2);
  align-items: center;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
}
.bid-item-row:hover { background: var(--gray-50); }
.bid-item-desc { display: flex; flex-direction: column; gap: 2px; }
.bid-item-name { font-size: 13px; font-weight: 500; color: var(--gray-900); }
.bid-item-original { font-size: 13px; color: var(--text-secondary); font-weight: 500; }
.bid-item-input { padding: 6px 10px; font-size: 13px; text-align: right; }
.bid-items-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3);
  background: var(--gray-50);
  border-radius: var(--radius-md);
  margin-top: var(--space-2);
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-900);
  border-top: 2px solid var(--border);
}

/* Flat discount */
.bid-flat-result { font-size: 14px; color: var(--text-secondary); margin-top: var(--space-2); }

/* Bid summary bar */
.bid-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4);
  background: var(--gray-900);
  border-radius: var(--radius-lg);
  margin-top: var(--space-4);
  color: white;
}
.bid-summary-original { font-size: 13px; color: var(--gray-400); }
.bid-summary-offer { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.bid-summary-label { font-size: 12px; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.06em; }
.bid-summary-total { font-size: 22px; font-weight: 800; color: white; }
.bid-blind-note { text-align: center; font-size: 12px; color: var(--text-tertiary); margin-top: var(--space-3); }

/* ─── Shop responsive ────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .dash-columns { grid-template-columns: 1fr; }
  .dash-col-side { position: static; max-height: none; }
  .shop-stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .form-row-2 { grid-template-columns: 1fr; }
  .dash-header { flex-direction: column; align-items: flex-start; }
  .bid-item-header, .bid-item-row { grid-template-columns: 1fr 70px 100px; }
}
@media (max-width: 480px) {
  .shop-stats-row { grid-template-columns: 1fr 1fr; }
  .bid-item-header span:nth-child(2), .bid-item-row .bid-item-original { display: none; }
  .bid-item-header, .bid-item-row { grid-template-columns: 1fr 100px; }
}
