:root {
  --bg-dark: #1a1a1a;
  --white: #ffffff;
  --accent-green: #99bf84;
  --text-muted: #a0a0a0;
  --border-light: rgba(255, 255, 255, 0.12);
  --border-dark: rgba(26, 26, 26, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  box-shadow: none !important;
  text-shadow: none !important;
}

html,
body {
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  background-color: var(--bg-dark);
  color: var(--white);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

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

.header-hero-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background-image: linear-gradient(180deg, rgba(26, 26, 26, 0.35) 0%, rgba(26, 26, 26, 0.55) 60%, var(--bg-dark) 100%), url('../img/header_bg.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding-bottom: 40px;
}

.top-nav-container {
  width: 100%;
  max-width: 1200px;
  padding: 24px 20px 0 20px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 100;
}

.pill-navbar {
  width: 100%;
  background-color: var(--white);
  color: var(--bg-dark);
  border-radius: 9999px;
  padding: 8px 16px 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--white);
  position: relative;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding-left: 4px;
}

.logo-box {
  width: 36px;
  height: 36px;
  background-color: var(--bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name {
  color: var(--bg-dark);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-item {
  text-decoration: none;
  color: var(--bg-dark);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 18px;
  border-radius: 9999px;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.nav-item:hover {
  background-color: rgba(26, 26, 26, 0.06);
}

.nav-item.active {
  background-color: var(--bg-dark);
  color: var(--white);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle-btn {
  display: none;
  background-color: var(--bg-dark);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  border: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-toggle-btn:hover {
  background-color: var(--accent-green);
  color: var(--bg-dark);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-dark);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 9999px;
  transition: background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-nav:hover {
  background-color: var(--accent-green);
  color: var(--bg-dark);
}

.btn-nav-outline {
  background-color: transparent;
  color: var(--bg-dark);
  border: 1px solid rgba(26, 26, 26, 0.2);
}

.btn-nav-outline:hover {
  background-color: var(--bg-dark);
  color: var(--white);
}

.hero-wrapper {
  width: 100%;
  max-width: 1200px;
  padding: 40px 20px 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content-col {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.server-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(153, 191, 132, 0.12);
  border: 1px solid var(--accent-green);
  padding: 6px 16px;
  border-radius: 9999px;
  width: fit-content;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
  display: inline-block;
}

.badge-text {
  color: var(--accent-green);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 720px;
}

.bottom-bar-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.bottom-pill-bar {
  width: 100%;
  background-color: var(--white);
  color: var(--bg-dark);
  border-radius: 9999px;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.bar-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.bar-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--bg-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bar-sub {
  font-size: 0.7rem;
  font-weight: 700;
  color: #777777;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.bar-divider {
  width: 1px;
  height: 28px;
  background-color: rgba(26, 26, 26, 0.15);
  flex-shrink: 0;
}

.btn-connect {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--bg-dark);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 9999px;
  transition: background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-connect:hover {
  background-color: var(--accent-green);
  color: var(--bg-dark);
}

.page-container {
  width: 100%;
  max-width: 1200px;
  padding: 40px 20px 80px 20px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-head-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}

.section-head-badge {
  background-color: #111111;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 9999px;
  white-space: nowrap;
}

.monitor-card {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: #111111;
  overflow: hidden;
}

.monitor-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  filter: grayscale(100%);
  pointer-events: none;
}

.monitor-content {
  position: relative;
  z-index: 2;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.monitor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.monitor-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.monitor-status-badge {
  background-color: var(--accent-green);
  color: var(--bg-dark);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}

.monitor-stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.stat-box {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.stat-number {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.stat-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-top: 4px;
}

.stat-desc a {
  color: var(--accent-green);
  text-decoration: underline;
}

.info-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
}

.info-item-box {
  background-color: #111111;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}

.info-item-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-item-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.35;
  word-break: break-word;
}

.info-item-value.id-key {
  font-size: 0.92rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  word-break: break-all;
  letter-spacing: 0.2px;
}

.info-item-desc {
  font-size: 0.82rem;
  color: #777777;
  line-height: 1.45;
  margin-top: 4px;
}

.info-item-desc a {
  color: var(--accent-green);
  text-decoration: underline;
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 14px;
}

.inventory-slot {
  background-color: #111111;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition: border-color 0.2s ease;
  min-width: 0;
}

.inventory-slot:hover {
  border-color: var(--accent-green);
}

.inventory-slot-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.inventory-slot-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.25;
  word-break: break-word;
}

.inventory-slot-count {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--accent-green);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 9999px;
  white-space: nowrap;
}

.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.vehicle-box {
  background-color: #111111;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.vehicle-img-area {
  position: relative;
  width: 100%;
  height: 160px;
  background-color: #0c0c0c;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-bottom: 1px solid var(--border-light);
}

.vehicle-img-area img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
}

.vehicle-status {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.vehicle-status.garage {
  background-color: var(--accent-green);
  color: var(--bg-dark);
}

.vehicle-status.impound {
  background-color: #e74c3c;
  color: var(--white);
}

.vehicle-details {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vehicle-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vehicle-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
}

.vehicle-plate {
  font-family: monospace;
  background-color: #1a1a1a;
  border: 1px solid var(--border-light);
  color: var(--white);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
}

.vehicle-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.step-card {
  background-color: var(--white);
  color: var(--bg-dark);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.step-header {
  position: relative;
  background-image: linear-gradient(180deg, rgba(26, 26, 26, 0.65) 0%, rgba(26, 26, 26, 0.9) 100%), url('../img/monitor_bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid rgba(26, 26, 26, 0.15);
}

.step-badge {
  background-color: var(--white);
  color: var(--bg-dark);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 9999px;
  width: fit-content;
  letter-spacing: 0.5px;
  border: 1px solid var(--white);
}

.step-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.3px;
}

.step-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  flex: 1;
}

.step-text {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #4a4a4a;
}

.btn-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--bg-dark);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 22px;
  border-radius: 9999px;
  transition: background-color 0.2s ease, color 0.2s ease;
  width: 100%;
  cursor: pointer;
}

.btn-step:hover {
  background-color: var(--accent-green);
  color: var(--bg-dark);
}

.login-page-wrapper {
  width: 100%;
  max-width: 1100px;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin: auto;
}

.login-brand-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.login-form-col {
  width: 100%;
}

.login-card {
  background-color: var(--white);
  color: var(--bg-dark);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--white);
}

.login-card-header {
  background-image: linear-gradient(180deg, rgba(26, 26, 26, 0.7) 0%, rgba(26, 26, 26, 0.95) 100%), url('../img/monitor_bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid rgba(26, 26, 26, 0.15);
}

.login-card-header h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}

.login-card-body {
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--bg-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: block;
}

.form-input {
  width: 100%;
  background-color: #f3f3f3;
  color: var(--bg-dark);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: 600;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-input:focus {
  background-color: var(--white);
  border-color: var(--bg-dark);
}

.form-error {
  background-color: #fdf0f0;
  color: #d9534f;
  border: 1px solid #f5c6cb;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
}

.about-quote-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--white);
  color: var(--bg-dark);
  padding: 12px 20px;
  border-radius: 9999px;
  width: fit-content;
  margin-top: 8px;
}

.quote-bar {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
  flex-shrink: 0;
}

.about-quote-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--bg-dark);
  letter-spacing: 0.3px;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 15, 15, 0.85);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background-color: var(--white);
  color: var(--bg-dark);
  border-radius: 24px;
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  position: relative;
}

.modal-header-banner {
  background-image: linear-gradient(180deg, rgba(26, 26, 26, 0.75) 0%, rgba(26, 26, 26, 0.95) 100%), url('../img/monitor_bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 24px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header-banner h3 {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 800;
}

.modal-close-btn {
  background: var(--white);
  color: var(--bg-dark);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  cursor: pointer;
}

.modal-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.modal-price-tag {
  font-size: 2rem;
  font-weight: 800;
  color: var(--bg-dark);
  text-align: center;
}

.modal-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: #555555;
  line-height: 1.4;
  cursor: pointer;
}

.modal-terms input {
  margin-top: 2px;
  accent-color: var(--bg-dark);
  width: 18px;
  height: 18px;
}

.modal-paysera-note {
  font-size: 0.78rem;
  color: #888888;
  text-align: center;
}

.site-footer {
  width: 100%;
  background-color: #111111;
  border-top: 1px solid var(--border-light);
  padding: 60px 20px 30px 20px;
  margin-top: auto;
}

.footer-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.footer-logo .logo-box {
  background-color: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo .brand-name {
  color: var(--white);
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent-green);
}

.requisites-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.req-title {
  font-weight: 700;
  color: var(--white);
}

.req-email {
  color: var(--accent-green);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: #666666;
}

@media (max-width: 1080px) {
  .monitor-stats-row {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 960px) {
  .nav-toggle-btn {
    display: inline-flex;
  }

  .nav-links {
    display: none;
  }

  .nav-links.is-active {
    display: flex !important;
    flex-direction: column !important;
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 0 !important;
    right: 0 !important;
    background-color: var(--white) !important;
    border-radius: 20px !important;
    padding: 16px !important;
    gap: 6px !important;
    z-index: 99999 !important;
    border: 1px solid rgba(26, 26, 26, 0.12) !important;
  }

  .nav-links.is-active li {
    width: 100% !important;
    list-style: none !important;
  }

  .nav-links.is-active .nav-item {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    color: var(--bg-dark) !important;
  }

  .nav-links.is-active .nav-item.active {
    background-color: var(--bg-dark) !important;
    color: var(--white) !important;
  }

  .bottom-pill-bar {
    flex-direction: column;
    border-radius: 20px;
    padding: 20px 16px;
    gap: 14px;
    text-align: center;
    width: 100%;
  }

  .bar-item {
    width: 100%;
    align-items: center;
  }

  .bar-action {
    width: 100%;
  }

  .btn-connect {
    width: 100%;
    justify-content: center;
  }

  .bar-divider {
    display: none;
  }

  .login-page-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 30px 14px;
  }

  .login-brand-col {
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .top-nav-container {
    padding: 16px 14px 0 14px;
  }

  .hero-wrapper {
    padding: 30px 14px 0 14px;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .page-container {
    padding: 24px 14px 60px 14px;
    gap: 36px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .section-head-title {
    font-size: 1.45rem;
  }

  .monitor-content {
    padding: 20px 16px;
    gap: 16px;
  }

  .info-items-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .info-item-box {
    padding: 16px 14px;
  }

  .inventory-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
  }

  .inventory-slot {
    padding: 12px 6px;
  }

  .inventory-slot-img {
    width: 48px;
    height: 48px;
  }

  .vehicles-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .vehicle-box {
    border-radius: 16px;
  }

  .vehicle-img-area {
    height: 140px;
  }

  .vehicle-details {
    padding: 16px 14px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step-card {
    border-radius: 20px;
  }

  .step-header {
    padding: 20px 16px;
  }

  .step-body {
    padding: 20px 16px;
  }

  .modal-box {
    width: 94vw;
    max-width: 94vw;
    border-radius: 20px;
  }

  .modal-body {
    padding: 20px 16px;
  }

  .site-footer {
    padding: 40px 16px 24px 16px;
    margin-top: 60px;
  }

  .footer-container {
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-desc {
    max-width: 100%;
    margin: 0 auto;
  }

  .footer-links {
    align-items: center;
  }

  .requisites-info {
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .monitor-stats-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .stat-box {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .stat-box:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .login-card {
    border-radius: 20px;
  }

  .login-card-header {
    padding: 22px 18px;
    text-align: center;
    align-items: center;
  }

  .login-card-body {
    padding: 22px 18px;
  }
}

@media (max-width: 480px) {
  .pill-navbar {
    padding: 6px 12px;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .hero-title {
    font-size: 1.65rem;
  }

  .btn-nav span {
    display: none;
  }

  .btn-nav {
    padding: 8px 12px;
  }

  .inventory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
