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

:root {
  --bg: #0a0a0a;
  --bg-raised: #141414;
  --bg-subtle: #1a1a1a;
  /* Background tint (GTA-ish) - revert by setting to `none` */
  --bg-tint: radial-gradient(900px 500px at 50% -200px, rgba(120, 90, 240, 0.22), transparent 60%),
            radial-gradient(700px 450px at 20% 10%, rgba(70, 120, 255, 0.16), transparent 55%),
            radial-gradient(600px 400px at 80% 15%, rgba(190, 90, 255, 0.12), transparent 55%);
  --text: #e8e8e8;
  --text-muted: #999;
  --text-dim: #666;
  /* Primary call-to-action + prices: blue to match the background tint */
  --accent: #2563EB;
  --accent-dim: #1D4ED8;
  --border: #222;
  --max-width: 1100px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', monospace;

  /* "Steam profile" test panels (revert by setting both to transparent) */
  --panel-bg: linear-gradient(180deg, rgba(120, 90, 240, 0.12), rgba(20, 20, 20, 0.72));
  --panel-border: rgba(95, 70, 180, 0.55);
  --panel-radius: 14px;
}

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

body {
  font-family: var(--font);
  background: var(--bg-tint), var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Layout */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section + .section { border-top: 1px solid var(--border); }

/* Panels: make the background feel more "structured" */
.section > .container {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--panel-radius);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Typography */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }
.text-small { font-size: 0.875rem; }
.text-mono { font-family: var(--font-mono); font-size: 0.85rem; }

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  white-space: nowrap;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.15s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: var(--text);
  text-decoration: none;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 6rem 0 4rem;
}
.hero h1 {
  margin-bottom: 1.5rem;
}
.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0.85rem 1.75rem;
  background: var(--accent);
  color: #0a0a0a;
  font-weight: 700;
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 12px 34px rgba(37, 99, 235, 0.25);
}
.hero-cta:hover { text-decoration: none; opacity: 0.96; }

/* Stats row */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
}
.stat-value { font-size: 1.8rem; font-weight: 700; }
.stat-label { color: var(--text-muted); font-size: 0.85rem; }

/* Rossmann-style structure helpers */
.two-col {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 2.5rem;
  align-items: start;
}

.checklist {
  margin-top: 1.5rem;
  list-style: none;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

.checklist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}

.checklist li:last-child { border-bottom: none; }
.checklist strong { color: var(--text); }
.checklist span { color: var(--text-muted); }

.callout {
  border: 1px solid var(--border);
  background: var(--bg-raised);
  padding: 1.5rem;
}
.callout h3 { margin-bottom: 0.75rem; }
.callout p { margin-bottom: 1rem; }

/* Service grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.services-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 0;
}
.service-list-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-radius: 0;
  position: relative;
}
.service-list-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: background-color 150ms ease;
}
.service-list-item:hover::before {
  background: var(--accent);
}
.service-list-item:first-child { border-top: none; }
.service-list-item-content { flex: 1; min-width: 0; }
.service-item {
  padding: 1.5rem;
  background: var(--bg);
}
.service-item h3 { margin-bottom: 0.25rem; }
.service-price {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  white-space: nowrap;
}
.services-list .service-price { margin-left: auto; text-align: right; }
.service-tag {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  margin-bottom: 0.5rem;
}

/* Process steps */
.process-list { counter-reset: step; }
.process-step {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.process-step:last-child { border-bottom: none; }
.process-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); padding: 1.25rem 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-q::after { content: '+'; font-size: 1.2rem; color: var(--text-dim); }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  color: var(--text-muted);
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-a { max-height: 500px; padding-top: 0.75rem; }

/* Pricing tables */
.pricing-category { margin-bottom: 3rem; }
.pricing-category h3 { margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.pricing-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.pricing-row:last-child { border-bottom: none; }
.pricing-service { font-weight: 500; }
.pricing-note { color: var(--text-muted); font-size: 0.85rem; }
.pricing-price { color: var(--accent); font-weight: 700; font-size: 1.05rem; white-space: nowrap; }

/* Blog */
.blog-list { display: flex; flex-direction: column; gap: 2rem; }
.blog-card {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.blog-card:last-child { border-bottom: none; }
.blog-meta { font-size: 0.8rem; color: var(--text-dim); margin-bottom: 0.5rem; }
.blog-card h3 a { color: var(--text); }
.blog-card h3 a:hover { color: var(--accent); text-decoration: none; }
.blog-excerpt { color: var(--text-muted); }

/* Blog post body */
.post-body { max-width: 720px; }
.post-body h2 { margin-top: 2.5rem; margin-bottom: 0.75rem; font-size: 1.4rem; }
.post-body h3 { margin-top: 2rem; }
.post-body strong { color: var(--text); }
.post-body ul, .post-body ol { padding-left: 1.5rem; margin-bottom: 1rem; color: var(--text-muted); }
.post-body li { margin-bottom: 0.25rem; }
.post-body code {
  background: var(--bg-subtle);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  font-size: 0.85em;
}

/* About values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.value-item h3 { color: var(--accent); }

/* Contact */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.contact-block h3 { margin-bottom: 0.5rem; }
.contact-block p { color: var(--text-muted); }

/* Delivery options */
.delivery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.delivery-item {
  padding: 1.5rem;
  background: var(--bg);
}

/* Refurbished */
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.inventory-card {
  border: 1px solid var(--border);
  padding: 1.5rem;
}
.inventory-card h3 { margin-bottom: 0.25rem; }
.inventory-specs { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.75rem; }
.inventory-price { font-size: 1.3rem; font-weight: 700; color: var(--accent); }
.inventory-badge {
  display: inline-block;
  font-size: 0.75rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  margin-top: 0.5rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  color: var(--text-dim);
  font-size: 0.85rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}
.footer a { color: var(--text-muted); }
.footer h4 { color: var(--text); margin-bottom: 0.75rem; font-size: 0.9rem; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.4rem; }

/* Mobile */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
  }
  .nav-toggle { display: block; }
  .hero { padding: 3rem 0 2rem; }
  .two-col { grid-template-columns: 1fr; gap: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .pricing-row { grid-template-columns: 1fr; }
  .pricing-price { justify-self: start; }
}
