/* Random Hardware Liquidation – Global styles */
:root {
  --bg-dark: #1a1d23;
  --bg-mid: #252a32;
  --bg-card: #2d333d;
  --text: #e8eaed;
  --text-muted: #9ca3af;
  --accent: #22c55e;
  --accent-hover: #16a34a;
  --border: #3d4550;
  --radius: 8px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-dark);
  min-height: 100vh;
}

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

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

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-mid);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
}

.logo:hover {
  text-decoration: none;
  color: var(--accent);
}

.logo span {
  color: var(--accent);
}

.nav-main {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-main a {
  color: var(--text);
  font-weight: 500;
}

.nav-main a:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  padding: 4rem 0;
  background: linear-gradient(180deg, var(--bg-mid) 0%, var(--bg-dark) 100%);
  text-align: center;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
}

.hero p {
  margin: 0 0 2rem;
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  text-decoration: none;
  color: #fff;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--border);
  text-decoration: none;
  color: var(--text);
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
}

.section-subtitle {
  margin: 0 0 2rem;
  color: var(--text-muted);
  max-width: 640px;
}

.section-alt {
  background: var(--bg-mid);
}

/* Value props / feature grid */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.value-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.value-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Category grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.25rem;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: border-color 0.2s;
}

.category-card:hover {
  border-color: var(--accent);
}

.category-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--bg-mid);
}

.category-card .category-card-body {
  padding: 1rem;
}

.category-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.category-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding-left: 3rem;
  counter-increment: step;
}

.process-step::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.process-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.process-step p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.testimonial-card p {
  margin: 0 0 1rem;
  font-style: italic;
  color: var(--text-muted);
}

.testimonial-card cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--text);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.25rem;
}

.stat-label {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* CTA block */
.cta-block {
  text-align: center;
  padding: 3rem 0;
}

.cta-block h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}

.cta-block p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid h4 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 0.5rem;
}

.footer-grid a {
  color: var(--text-muted);
}

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

.footer-newsletter {
  margin-bottom: 1.5rem;
}

.footer-newsletter form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  max-width: 400px;
}

.footer-newsletter input {
  flex: 1;
  min-width: 180px;
  padding: 0.6rem 0.75rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-dark);
  color: var(--text);
}

.footer-newsletter .form-message {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--accent);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-dark);
  color: var(--text);
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

.form-message {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.15);
  color: var(--accent);
  border: 1px solid var(--accent);
}

.form-message.hidden {
  display: none;
}

.text-muted {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 2.5rem 0;
  background: var(--bg-mid);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.page-hero p {
  margin: 0;
  color: var(--text-muted);
}

/* Service list (services page) */
.service-list {
  display: grid;
  gap: 1.5rem;
}

.service-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.25rem;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.service-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--bg-mid);
}

.service-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.service-item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Inventory grid */
.inventory-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: center;
}

.inventory-toolbar label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.inventory-toolbar select {
  padding: 0.5rem 0.75rem;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  color: var(--text);
}

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

.inventory-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color 0.2s;
}

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

.inventory-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--bg-mid);
}

.inventory-card-body {
  padding: 1.25rem;
}

.inventory-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.inventory-card .spec {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* About: timeline / milestones */
.timeline {
  max-width: 640px;
}

.timeline-item {
  padding-left: 2rem;
  border-left: 2px solid var(--border);
  margin-left: 0.5rem;
  padding-bottom: 1.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item strong {
  display: block;
  margin-bottom: 0.25rem;
}

.timeline-item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* About: partners */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
  align-items: center;
}

.partner-logo {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Contact: two columns */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-info {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-info h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.contact-info p {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-info a {
  color: var(--accent);
}

.map-placeholder {
  width: 100%;
  height: 200px;
  background: var(--bg-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .nav-main {
    gap: 1rem;
    font-size: 0.95rem;
  }

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

  .service-item {
    grid-template-columns: 1fr;
  }

  .inventory-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
}
