/* GLOVBX marketing site — shared styles.
   Static renderings of the DGB design-system components the pages use
   (Button, StatusBadge, Plate, VehicleCard — extracted from the design
   system bundle) plus the hover and responsive rules the design's inline
   styles cannot express. */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  font-family: var(--font-sans);
  color: var(--text-primary);
}
a { color: var(--link); }
a:hover { color: var(--primary-pressed); }
img { max-width: 100%; }
.material-symbols-rounded { font-variation-settings: 'opsz' 24; }

/* Anchor targets sit below the 68px sticky nav */
section[id], header[id] { scroll-margin-top: 84px; }

/* ---- Buttons (design-system Button: filled / gradient, small / large) ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-weight: var(--weight-semibold);
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  user-select: none;
  transition: transform var(--dur-fast) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-standard),
              filter var(--dur-fast) var(--ease-standard);
}
.btn:active { transform: scale(0.97); }
.btn-small { height: 38px; padding: 0 16px; font-size: 13px; }
.btn-large { height: 54px; padding: 0 28px; font-size: 16px; }
.btn-filled {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: var(--shadow-brand-sm);
}
.btn-gradient {
  background: var(--gradient-brand);
  color: var(--on-primary);
  box-shadow: var(--shadow-brand);
}
.btn-filled:hover, .btn-gradient:hover {
  filter: brightness(1.05);
  color: var(--on-primary);
}
.btn .material-symbols-rounded { font-size: 20px; }
.btn-small .material-symbols-rounded { font-size: 18px; }

/* ---- StatusBadge ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 11px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: var(--label-medium-size);
  line-height: 1;
  font-weight: var(--weight-bold);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; }
.badge-info { background: var(--status-info-container); color: var(--status-info-on-container); }
.badge-info .dot { background: var(--status-info); }
.badge-confirmed { background: var(--status-confirmed-container); color: var(--status-confirmed-on-container); }
.badge-confirmed .dot { background: var(--status-confirmed); }
.badge-pending { background: var(--status-pending-container); color: var(--status-pending-on-container); }
.badge-pending .dot { background: var(--status-pending); }

/* ---- Plate (md) ---- */
.plate {
  display: inline-flex;
  align-items: stretch;
  height: 42px;
  background: #FFFFFF;
  border: 2px solid #11151B;
  border-radius: var(--radius-xs);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04), 0 1px 2px rgba(8,36,60,0.18);
  overflow: hidden;
}
.plate .nz {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 24px;
  background: var(--gradient-brand);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 9.24px;
  letter-spacing: 0.05em;
  gap: 1px;
}
.plate .num {
  display: flex;
  align-items: center;
  padding: 0 14px 0 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 2px;
  color: #11151B;
  text-transform: uppercase;
}

/* ---- VehicleCard ---- */
.vehicle-card {
  position: relative;
  width: 100%;
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--elevation-1);
  padding: var(--space-4);
  overflow: hidden;
}
.vehicle-card .watermark {
  position: absolute;
  right: -18px;
  top: -14px;
  font-size: 132px;
  color: var(--brand-50);
  opacity: 0.7;
  pointer-events: none;
  font-variation-settings: 'FILL' 1;
}
.vehicle-card .head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.vehicle-card .name {
  position: relative;
  margin-top: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--headline-small-size);
  line-height: var(--headline-small-line);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
}
.vehicle-card .stats {
  position: relative;
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-subtle);
}
.vehicle-card .stat { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.vehicle-card .stat-label {
  font-size: var(--label-small-size);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-secondary);
}
.vehicle-card .stat-value {
  font-family: var(--font-mono);
  font-size: var(--body-medium-size);
  font-weight: 600;
  color: var(--text-primary);
}

/* ---- Link hover states (the design's style-hover attributes) ---- */
.nav-link { color: var(--text-primary); text-decoration: none; }
.nav-link:hover { color: var(--primary); }
.link-on-dark { color: var(--text-on-dark); text-decoration: none; }
.link-on-dark:hover { color: var(--brand-200); }
.hero-provider-link {
  color: #fff;
  font-weight: 600;
  font-size: var(--label-large-size);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
}
.hero-provider-link:hover { color: var(--brand-200); }

/* ---- Layout hooks the design set inline, moved here for responsiveness ---- */
.hero-copy { flex: 1 1 480px; min-width: 420px; }
.hero-visual { flex: 0 1 420px; min-width: 380px; }
.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.providers-panel { padding: 48px 56px; }
.contact-card { padding: 56px; }

@media (max-width: 900px) {
  .nav-link { display: none; }
}
@media (max-width: 720px) {
  .hero-copy { min-width: 0; }
  .hero-visual { min-width: 0; }
  .hero-title { font-size: clamp(36px, 9vw, 56px); }
  .providers-panel { padding: 36px 28px; }
  .contact-card { padding: 40px 24px; }
}
