:root {
  --vb-deep-blue: #0F1B3D;
  --vb-blue: #1E4ED8;
  --vb-node-blue: #3B82F6;
  --vb-sky: #38BDF8;
  --vb-cyan: #22D3EE;

  --vb-text: #0B1220;
  --vb-text-muted: #64748B;
  --vb-border: #E2E8F0;
  --vb-surface: #FFFFFF;
  --vb-surface-soft: #F8FAFC;

  --vb-dark-bg: #020617;
  --vb-dark-surface: #0F172A;
  --vb-dark-border: #1E293B;
  --vb-dark-text: #E5E7EB;

  --vb-success: #16A34A;
  --vb-warning: #F59E0B;
  --vb-error: #DC2626;
  --vb-info: #0284C7;

  --vb-radius-sm: 8px;
  --vb-radius-md: 12px;
  --vb-radius-lg: 16px;
  --vb-radius-xl: 20px;
  --vb-radius-pill: 999px;

  --vb-shadow-1: 0 1px 2px rgba(2, 6, 23, 0.06);
  --vb-shadow-2: 0 6px 18px rgba(15, 27, 61, 0.08);
  --vb-shadow-3: 0 12px 32px rgba(15, 27, 61, 0.12);

  --vb-gradient: linear-gradient(135deg, #1E4ED8 0%, #3B82F6 55%, #22D3EE 100%);

  --vb-font-ui: 'Inter', sans-serif;
  --vb-font-display: 'Space Grotesk', sans-serif;

  --vb-container: 1120px;
  --vb-container-wide: 1280px;

  --vb-header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--vb-font-ui);
  color: var(--vb-text);
  background: var(--vb-surface-soft);
  line-height: 1.5;
}

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

a {
  color: var(--vb-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--vb-container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--vb-border);
}

.site-header-inner {
  min-height: var(--vb-header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.logo {
  color: var(--vb-deep-blue);
  font-family: var(--vb-font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.logo:hover {
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--vb-text);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.nav a:hover {
  color: var(--vb-blue);
}

.hero {
  background: linear-gradient(135deg, #0F1B3D 0%, #1E4ED8 55%, #22D3EE 100%);
  color: #fff;
  padding: 88px 0 72px;
}

.hero h1 {
  margin: 0 0 14px;
  font-family: var(--vb-font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero p {
  margin: 0 0 28px;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

.hero-search {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 1fr) minmax(160px, 1fr) auto;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--vb-radius-xl);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--vb-shadow-3);
}

.section {
  padding: 80px 0;
}

.section h1,
.section h2 {
  margin: 0 0 14px;
  color: var(--vb-deep-blue);
  font-family: var(--vb-font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section h1 {
  font-size: clamp(2rem, 4vw, 2.5rem);
}

.section h2 {
  font-size: clamp(1.65rem, 3vw, 2rem);
}

.section-intro {
  margin: 0 0 24px;
  color: var(--vb-text-muted);
  font-size: 1rem;
  max-width: 720px;
}

.card-grid,
.vendor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card,
.vendor-main,
.vendor-side,
.claim-form {
  background: var(--vb-surface);
  border: 1px solid var(--vb-border);
  border-radius: var(--vb-radius-lg);
  padding: 24px;
  box-shadow: var(--vb-shadow-1);
}

.card:hover {
  box-shadow: var(--vb-shadow-2);
  transition: box-shadow 0.2s ease;
}

.card h3,
.vendor-side h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: var(--vb-deep-blue);
}

.meta {
  margin-bottom: 10px;
  color: var(--vb-text-muted);
  font-size: 0.92rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--vb-radius-pill);
  background: #EFF6FF;
  color: #1D4ED8;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
}

.badge-claimed {
  background: #F0FDF4;
  color: #166534;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: none;
  border-radius: var(--vb-radius-md);
  background: var(--vb-blue);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn:hover {
  background: #1D40AF;
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn-secondary {
  background: var(--vb-surface);
  color: var(--vb-deep-blue);
  border: 1px solid #CBD5E1;
}

.btn-secondary:hover {
  background: var(--vb-surface-soft);
}

.hero-search input,
.hero-search select,
.filters input,
.filters select,
.claim-form input,
.claim-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #CBD5E1;
  border-radius: var(--vb-radius-md);
  background: #fff;
  color: var(--vb-text);
  padding: 10px 14px;
  outline: none;
}

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

.hero-search input::placeholder,
.filters input::placeholder,
.claim-form input::placeholder,
.claim-form textarea::placeholder {
  color: #94A3B8;
}

.hero-search input:focus,
.hero-search select:focus,
.filters input:focus,
.filters select:focus,
.claim-form input:focus,
.claim-form textarea:focus {
  border-color: var(--vb-sky);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.18);
}

.filters {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(180px, 1fr) minmax(160px, 1fr) auto;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--vb-surface);
  border: 1px solid var(--vb-border);
  border-radius: var(--vb-radius-lg);
  box-shadow: var(--vb-shadow-1);
}

.vendor-detail {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: 24px;
}

.vendor-main h1 {
  margin-top: 0;
  margin-bottom: 10px;
}

.vendor-description {
  white-space: pre-line;
  color: var(--vb-text);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 12px;
  background: var(--vb-surface);
  color: var(--vb-text);
  border: 1px solid var(--vb-border);
  border-radius: 10px;
  text-decoration: none;
}

.pagination .active {
  background: var(--vb-blue);
  border-color: var(--vb-blue);
  color: #fff;
}

.claim-form {
  max-width: 760px;
}

.claim-form .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.claim-form .field {
  margin-bottom: 14px;
}

.alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: var(--vb-radius-md);
  border: 1px solid transparent;
  font-size: 0.95rem;
}

.alert-success {
  background: #F0FDF4;
  border-color: #BBF7D0;
  color: #166534;
}

.alert-error {
  background: #FEF2F2;
  border-color: #FECACA;
  color: #991B1B;
}

.alert-warning {
  background: #FFFBEB;
  border-color: #FDE68A;
  color: #92400E;
}

.alert-info {
  background: #F0F9FF;
  border-color: #BAE6FD;
  color: #075985;
}

.site-footer {
  padding: 32px 0 48px;
  color: var(--vb-text-muted);
}

.site-footer p {
  margin: 0;
}

.empty-state {
  text-align: center;
  padding: 32px 24px;
  background: var(--vb-surface);
  border: 1px solid var(--vb-border);
  border-radius: var(--vb-radius-lg);
  box-shadow: var(--vb-shadow-1);
}

.table-wrap {
  overflow-x: auto;
  background: var(--vb-surface);
  border: 1px solid var(--vb-border);
  border-radius: var(--vb-radius-lg);
  box-shadow: var(--vb-shadow-1);
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.table th {
  background: var(--vb-surface-soft);
  color: #475569;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--vb-border);
}

.table td {
  padding: 16px;
  border-bottom: 1px solid var(--vb-border);
  vertical-align: top;
}

.table tr:hover td {
  background: #F8FAFC;
}

/* Mobile-first refinements */
@media (max-width: 1024px) {
  .section {
    padding: 64px 0;
  }

  .card-grid,
  .vendor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vendor-detail {
    grid-template-columns: 1fr;
  }

  .hero-search,
  .filters {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --vb-header-height: 64px;
  }

  body {
    font-size: 15px;
  }

  .container {
    width: min(var(--vb-container), calc(100% - 24px));
  }

  .site-header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 12px 0;
  }

  .nav {
    width: 100%;
    gap: 12px;
  }

  .nav a {
    font-size: 0.92rem;
  }

  .hero {
    padding: 64px 0 48px;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-search,
  .filters,
  .claim-form .row,
  .card-grid,
  .vendor-grid {
    grid-template-columns: 1fr;
  }

  .hero-search,
  .filters {
    padding: 14px;
  }

  .section {
    padding: 48px 0;
  }

  .card,
  .vendor-main,
  .vendor-side,
  .claim-form {
    padding: 18px;
  }

  .btn {
    width: 100%;
  }

  .pagination a,
  .pagination span {
    min-width: 40px;
    min-height: 40px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.2rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section h1 {
    font-size: 1.75rem;
  }

  .section h2 {
    font-size: 1.5rem;
  }

  .meta {
    font-size: 0.88rem;
  }

  .card h3,
  .vendor-side h3 {
    font-size: 1rem;
  }
}