/*
 * Setup page styles
 * Matches the minimal, dark aesthetic used in the provided mock/styles
 */

@import url('https://fonts.googleapis.com/css2?family=Herr+Von+Muellerhoff&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

html {
  background-color: #000;
  color: #cbcbcb;
  font-size: 1em;
  line-height: 1.4;
}

body {
  margin: 0;
  overflow-x: hidden;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  max-width: 1200px;
  margin: 0 auto 1.25rem;
  font-family: 'Work Sans', sans-serif;
}


main {
  margin-top: 0;
}

/* Hero (redesigned) */
.hero {
  position: relative;
  height: 60vh;
  width: 100vw;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  background-image: url("../img/setup.PNG");
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero:hover .hero-img { transform: scale(1.03); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.9) 0%,
    rgba(0,0,0,0.45) 40%,
    rgba(0,0,0,0.1) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 48px;
  font-family: 'Work Sans', sans-serif;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
}

.hero-sub {
  margin-top: 10px;
  color: rgba(255,255,255,0.78);
  font-size: clamp(14px, 2vw, 18px);
}

.hero-cta { margin-top: 18px; display: flex; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.05s ease;
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
}

.btn.primary {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.22);
}
.btn.primary:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.28); }

.btn.ghost { background: transparent; }
.btn.ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.22); }

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

@media (max-width: 800px) {
  .hero { min-height: 420px; height: 52vh; }
  .hero-content { text-align: center; }
  .hero-cta { justify-content: center; flex-wrap: wrap; }
}

/* Specs & Peripherals */
.pc-specs {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Work Sans', sans-serif;
}

.specs-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 4rem;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
}

.spec-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 1rem 0;
  text-align: left;
  transition: color 0.2s ease, background 0.2s ease;
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 1rem;
  align-items: center;
  border-bottom: 1px solid #1a1a1a;
}

.spec-card:hover {
  background: rgba(255, 255, 255, 0.02);
}

.spec-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f0f0f0;
  margin-bottom: 0.1rem;
  font-family: 'Work Sans', sans-serif;
  letter-spacing: 0.2px;
}

.spec-detail {
  font-size: 0.9rem;
  color: #9a9a9a;
  font-weight: 400;
  grid-column: 1;
  margin-top: 0.15rem;
}

.specs-container .spec-card:last-child { border-bottom: none; }

@media (min-width: 900px) {
  .spec-card { grid-template-columns: 1fr 1fr; }
  .spec-detail {
    grid-column: 2;
    margin-top: 0;
    text-align: right;
  }
}

@media (max-width: 768px) {
  .pc-specs { padding: 2rem 1rem; }
  .spec-card { grid-template-columns: 1fr; padding: 1rem 0; }
  .spec-title { font-size: 1.05rem; }
  .spec-detail { font-size: 0.85rem; grid-column: 1; margin-top: 0.15rem; text-align: left; }
}

/* Benchmarks */
.pc-performance {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Work Sans', sans-serif;
}

.bench-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
}

.bench-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 1rem 0 1rem 2rem;
  border-bottom: 1px solid #1a1a1a;
  border-left: 2px solid #232323;
  transition: color 0.2s ease, background 0.2s ease;
}

.bench-card:hover { background: rgba(255, 255, 255, 0.02); }

.bench-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f0f0f0;
  font-family: 'Work Sans', sans-serif;
  letter-spacing: 0.2px;
  margin: 0 0 .65rem 0;
}

.bench-detail { font-size: 0.95rem; color: #d6d6d6; line-height: 1.45; margin-bottom: .35rem; }
.bench-subdetail { font-size: 0.9rem; color: #a9a9a9; line-height: 1.45; margin-top: .35rem; padding-top: .35rem; }
.bench-meta { margin-top: .5rem; font-size: .82rem; color: #8a8a8a; }

.bench-detail b,
.bench-subdetail b {
  font-variant-numeric: tabular-nums;
  letter-spacing: .2px;
  font-weight: 700;
}

.bench-detail b[data-score],
.bench-subdetail b[data-score],
.bench-detail b[data-mbps] {
  display: inline-block;
  padding: .1rem .35rem;
  border-radius: 6px;
  border: 1px solid #232323;
  background: #121214;
}

/* subtle category accents */
.bench-card.cpu { border-left-color: #2b3d66; }
.bench-card.gpu { border-left-color: #2d5e48; }
.bench-card.ram { border-left-color: #655135; }
.bench-card.storage { border-left-color: #3f3a6a; }

@media (max-width: 768px) {
  .pc-performance { padding: 2rem 1rem; }
}

.pc-performance .bench-container + * { margin-top: 2rem; }

/* Footer (re-uses site footer layout but adapts colors for dark bg) */
.site-footer {
  border-top: 1px solid #1a1a1a;
  background: #070707;
  padding: 2rem 1.5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

#signature { font-family: "Herr Von Muellerhoff", cursive; font-size: 3rem; }
#signature p { margin: 0; line-height: 1; color: #e7e7e7; letter-spacing: 0.5px; }

.footer-links { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; font-family: 'Work Sans', sans-serif; }
.footer-links a { color: #a9a9a9; text-decoration: none; position: relative; transition: color 0.2s ease; }
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 100%);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}
.footer-links a:hover, .footer-links a:focus { color: #e5e5e5; }
.footer-links a:hover::after, .footer-links a:focus::after { transform: scaleX(1); }

@media (max-width: 700px) {
  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
  .footer-links { justify-content: center; }
}
