*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --dell-blue: #007DB8;
  --dell-blue-dark: #005A9C;
  --dell-blue-light: #E8F4FD;
  --dell-blue-pale: #D0EBF8;
  --dell-blue-deep: #003D6B;
  --dell-gray-100: #F5F5F5;
  --dell-gray-200: #EEEEEE;
  --dell-gray-300: #CCCCCC;
  --dell-gray-400: #999999;
  --dell-gray-500: #666666;
  --dell-gray-600: #444444;
  --dell-gray-700: #333333;
  --dell-gray-800: #222222;
  --dell-white: #FFFFFF;
  --dell-green: #00A86B;
  --dell-red: #CC0000;
  --dell-orange: #F5A623;
  --font-sans: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Consolas', 'Courier New', monospace;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: 0.2s ease;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--dell-gray-700);
  background: var(--dell-white);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a:hover {
  color: var(--dell-blue-dark);
  text-decoration: underline;
}

ul {
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dell-header {
  background: var(--dell-white);
  border-bottom: 2px solid var(--dell-blue);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.dell-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 76px;
  gap: 32px;
}

.dell-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.dell-header__logo img {
  height: 24px;
  width: auto;
}

.dell-header__logo:hover {
  text-decoration: none;
  opacity: 0.85;
}

.dell-header__nav ul {
  display: flex;
  gap: 4px;
}

.dell-header__nav a {
  display: block;
  padding: 8px 16px;
  color: var(--dell-gray-600);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.dell-header__nav a:hover,
.dell-header__nav a.active {
  color: var(--dell-blue);
  background: var(--dell-blue-light);
  text-decoration: none;
}

.dell-header__menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--dell-gray-600);
}

.hero--combined {
  background: linear-gradient(135deg, var(--dell-blue) 0%, var(--dell-blue-dark) 100%);
  color: var(--dell-white);
  padding: 40px 24px 32px;
}

.hero--combined .hero__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.hero--combined .hero__breadcrumb {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  opacity: 0.8;
}

.hero--combined .hero__breadcrumb a {
  color: var(--dell-white);
  opacity: 0.85;
}

.hero--combined .hero__breadcrumb a:hover {
  opacity: 1;
  text-decoration: underline;
}

.hero--combined .hero__breadcrumb i {
  opacity: 0.6;
}

.hero--combined h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.hero--combined > p {
  font-size: 1rem;
  opacity: 0.9;
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.installer__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-install {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--dell-white);
  color: var(--dell-blue);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-install:hover {
  background: #F0F8FF;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.btn-install:active {
  transform: translateY(0);
}

.btn-browse {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: transparent;
  color: var(--dell-white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-browse:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--dell-white);
  text-decoration: none;
}

.filters {
  background: var(--dell-white);
  border: 1px solid var(--dell-gray-200);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.filters__row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.filters__row--secondary {
  margin-bottom: 0;
  align-items: flex-end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 160px;
}

.filter-group label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dell-gray-500);
}

.filter-group select {
  padding: 10px 14px;
  border: 1px solid var(--dell-gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-family: var(--font-sans);
  color: var(--dell-gray-700);
  background: var(--dell-white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
  outline: none;
  transition: all var(--transition);
  appearance: auto;
  -webkit-appearance: auto;
}

.filter-group select:hover {
  border-color: var(--dell-blue);
}

.filter-group select:focus {
  border-color: var(--dell-blue);
  box-shadow: 0 0 0 3px rgba(0, 125, 184, 0.15);
}

.filter-group input[type="text"] {
  padding: 10px 14px;
  border: 1px solid var(--dell-gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-family: var(--font-sans);
  color: var(--dell-gray-700);
  background: var(--dell-white);
  outline: none;
  transition: all var(--transition);
  width: 100%;
}

.filter-group input[type="text"]:hover {
  border-color: var(--dell-gray-400);
}

.filter-group input[type="text"]:focus {
  border-color: var(--dell-blue);
  box-shadow: 0 0 0 3px rgba(0, 125, 184, 0.15);
}

.filter-group input[type="text"]::placeholder {
  color: var(--dell-gray-400);
}

.filter-group--search {
  flex: 2;
  min-width: 220px;
}

.filter-group--sort {
  flex: 0 0 160px;
}

.btn-reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border: 1px solid var(--dell-gray-300);
  border-radius: var(--radius-sm);
  background: var(--dell-white);
  color: var(--dell-gray-600);
  font-size: 0.875rem;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  height: fit-content;
}

.btn-reset:hover {
  background: var(--dell-gray-100);
  border-color: var(--dell-gray-400);
  color: var(--dell-gray-700);
}

.drivers {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.drivers__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.drivers__header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dell-gray-800);
}

.drivers__count {
  font-size: 0.875rem;
  color: var(--dell-gray-500);
  font-weight: 500;
}

.drivers__view-toggle {
  display: flex;
  gap: 4px;
  background: var(--dell-gray-100);
  border-radius: var(--radius-sm);
  padding: 2px;
  margin-bottom: 16px;
}

.view-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  color: var(--dell-gray-400);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.view-btn:hover {
  color: var(--dell-gray-600);
}

.view-btn--active {
  background: var(--dell-white);
  color: var(--dell-blue);
  box-shadow: var(--shadow-sm);
}

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

.drivers__grid.view--list {
  grid-template-columns: 1fr;
}

.driver-card {
  background: var(--dell-white);
  border: 1px solid var(--dell-gray-200);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.driver-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--dell-blue-pale);
  transform: translateY(-1px);
}

.drivers__grid.view--list .driver-card {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.driver-card__header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.driver-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.driver-card__icon--bios { background: #E3F2FD; color: #1565C0; }
.driver-card__icon--chipset { background: #FFF3E0; color: #E65100; }
.driver-card__icon--graphics { background: #FCE4EC; color: #C62828; }
.driver-card__icon--network { background: #E8F5E9; color: #2E7D32; }
.driver-card__icon--audio { background: #F3E5F5; color: #6A1B9A; }
.driver-card__icon--usb { background: #E0F7FA; color: #00838F; }
.driver-card__icon--storage { background: #FFFDE7; color: #F57F17; }
.driver-card__icon--bluetooth { background: #F1F8E9; color: #558B2F; }
.driver-card__icon--wireless { background: #E8EAF6; color: #283593; }
.driver-card__icon--touchpad { background: #FBE9E7; color: #BF360C; }
.driver-card__icon--default { background: var(--dell-gray-100); color: var(--dell-gray-500); }

.driver-card__icon i {
  width: 20px;
  height: 20px;
}

.driver-card__info {
  flex: 1;
  min-width: 0;
}

.driver-card__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--dell-gray-800);
  margin-bottom: 2px;
}

.driver-card__version {
  font-size: 0.75rem;
  color: var(--dell-gray-400);
  font-family: var(--font-mono);
}

.driver-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.driver-card__tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.tag-category {
  background: var(--dell-blue-light);
  color: var(--dell-blue-dark);
}

.tag-os {
  background: #E8F5E9;
  color: #2E7D32;
}

.driver-card__details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--dell-gray-400);
}

.driver-card__details span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.driver-card__details i {
  width: 12px;
  height: 12px;
  color: var(--dell-gray-400);
}

.driver-card__description {
  font-size: 0.8125rem;
  color: var(--dell-gray-500);
  line-height: 1.5;
}

.driver-card__actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.drivers__grid.view--list .driver-card__actions {
  margin-top: 0;
  padding-top: 0;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--dell-blue);
  color: var(--dell-white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-download:hover {
  background: var(--dell-blue-dark);
  color: var(--dell-white);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-download:active {
  transform: translateY(0);
}

.btn-download i {
  width: 14px;
  height: 14px;
}

.btn-details {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: transparent;
  color: var(--dell-gray-600);
  border: 1px solid var(--dell-gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-details:hover {
  background: var(--dell-gray-100);
  border-color: var(--dell-gray-400);
  color: var(--dell-gray-700);
}

.btn-details i {
  width: 14px;
  height: 14px;
}

.drivers__empty {
  text-align: center;
  padding: 64px 24px;
  color: var(--dell-gray-400);
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.drivers__empty i {
  color: var(--dell-gray-300);
}

.dell-footer {
  background: var(--dell-gray-800);
  color: var(--dell-gray-300);
  margin-top: auto;
}

.dell-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.dell-footer__col h4 {
  color: var(--dell-white);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.dell-footer__col li {
  margin-bottom: 8px;
}

.dell-footer__col a {
  color: var(--dell-gray-400);
  font-size: 0.875rem;
}

.dell-footer__col a:hover {
  color: var(--dell-white);
}

.dell-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--dell-gray-400);
}

.dell-footer__bottom p {
  max-width: 1280px;
  margin: 0 auto;
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--dell-gray-800);
  color: var(--dell-white);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 200;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast--visible {
  transform: translateY(0);
  opacity: 1;
}

.toast--success {
  border-left: 4px solid var(--dell-green);
}

.toast--info {
  border-left: 4px solid var(--dell-blue);
}

.toast i {
  width: 16px;
  height: 16px;
}

@media (max-width: 1024px) {
  .dell-footer__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .dell-header__inner {
    gap: 12px;
  }

  .dell-header__nav {
    display: none;
  }

  .dell-header__nav--open {
    display: block;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--dell-white);
    border-bottom: 2px solid var(--dell-blue);
    box-shadow: var(--shadow-md);
  }

  .dell-header__nav--open ul {
    flex-direction: column;
    padding: 8px 24px;
  }

  .dell-header__nav--open a {
    padding: 12px 0;
  }

  .dell-header__menu-toggle {
    display: flex;
  }

  .hero--combined {
    padding: 24px 16px 20px;
  }

  .hero--combined h1 {
    font-size: 1.5rem;
  }

  .content-layout {
    flex-direction: column;
  }

  .sidebar {
    flex: none;
    width: 100%;
  }

  .drivers__grid {
    grid-template-columns: 1fr;
  }

  .dell-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.25rem;
  }

  .installer__actions {
    flex-direction: column;
  }

  .btn-install,
  .btn-browse {
    justify-content: center;
  }

  .dell-footer__inner {
    grid-template-columns: 1fr;
  }
}