/* ForgeLine PC — global styles */
:root {
  --bg: #0d0e10;
  --bg-2: #15171a;
  --bg-3: #1d2024;
  --line: #2a2e33;
  --text: #e9e7e3;
  --muted: #9a9894;
  --ember: #ff6a1f;
  --ember-2: #ffb347;
  --ok: #4ad295;
  --radius: 10px;
  --max: 1160px;
  --font-display: "Chakra Petch", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ember-2); text-decoration: none; }
a:hover { color: var(--ember); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .8rem;
  color: var(--ember);
  margin-bottom: .8em;
  display: inline-block;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 14, 16, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo {
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem;
  color: var(--text); display: flex; align-items: center; gap: 10px;
}
.logo:hover { color: var(--text); }
.logo-mark {
  width: 30px; height: 30px; border-radius: 6px;
  background: linear-gradient(135deg, var(--ember), var(--ember-2));
  display: grid; place-items: center; color: #111; font-size: .95rem;
}
.logo span.accent { color: var(--ember); }
.nav-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--muted); padding: 8px 14px; border-radius: 6px;
  font-weight: 500; font-size: .95rem;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--bg-3); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); color: var(--text);
  border-radius: 6px; padding: 8px 10px; cursor: pointer; font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 8px; font-weight: 600;
  font-family: var(--font-display); letter-spacing: .03em;
  border: 1px solid transparent; cursor: pointer; font-size: 1rem;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn-primary { background: var(--ember); color: #111; }
.btn-primary:hover { color: #111; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255, 106, 31, .35); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { color: var(--text); border-color: var(--ember); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 110px 0 100px;
  background:
    radial-gradient(900px 400px at 85% 10%, rgba(255, 106, 31, .18), transparent 60%),
    radial-gradient(600px 300px at 10% 90%, rgba(255, 179, 71, .08), transparent 60%);
}
.hero h1 .glow { color: var(--ember); text-shadow: 0 0 40px rgba(255, 106, 31, .45); }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.hero-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px;
  padding: 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.hero-card .spec { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.hero-card .spec:last-of-type { border-bottom: 0; }
.hero-card .spec span:first-child { color: var(--muted); }
.page-hero { padding: 80px 0 50px; border-bottom: 1px solid var(--line);
  background: radial-gradient(700px 300px at 80% 0%, rgba(255, 106, 31, .14), transparent 60%); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-size: 2.2rem; color: var(--ember-2); }
.stat span { color: var(--muted); font-size: .9rem; }

/* Cards / grids */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: border-color .2s, transform .2s;
}
.card:hover { border-color: #3a3f45; }
.card .icon {
  width: 46px; height: 46px; border-radius: 10px; margin-bottom: 16px;
  display: grid; place-items: center; font-size: 1.4rem;
  background: rgba(255, 106, 31, .12); color: var(--ember);
}
.section-head { margin-bottom: 44px; }

/* Build cards */
.build { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.build:hover { transform: translateY(-4px); border-color: var(--ember); }
.build-img {
  aspect-ratio: 4 / 3; background: linear-gradient(160deg, var(--bg-3), #0a0b0c);
  display: grid; place-items: center; color: #3a3f45; font-size: 4rem; position: relative;
}
.badge {
  position: absolute; top: 12px; left: 12px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: var(--ember); color: #111;
}
.badge.sold { background: var(--line); color: var(--muted); }
.badge.new { background: var(--ok); }
.build-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.build-specs { list-style: none; padding: 0; margin: 0 0 18px; font-size: .92rem; color: var(--muted); }
.build-specs li { padding: 3px 0; }
.build-specs li b { color: var(--text); font-weight: 500; }
.build-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.fps { font-size: .8rem; color: var(--ok); }

/* Filters */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.filter {
  background: var(--bg-2); border: 1px solid var(--line); color: var(--muted);
  padding: 8px 16px; border-radius: 999px; cursor: pointer; font: inherit; font-size: .9rem;
}
.filter.active, .filter:hover { color: var(--text); border-color: var(--ember); }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 64px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--ember);
}

/* CTA band */
.cta {
  background: linear-gradient(120deg, rgba(255, 106, 31, .16), rgba(255, 179, 71, .05));
  border: 1px solid rgba(255, 106, 31, .35); border-radius: 16px;
  padding: 50px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
}
.cta h2 { margin: 0; }

/* FAQ */
details {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; margin-bottom: 12px;
}
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
summary::after { content: "+"; color: var(--ember); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin: 12px 0 0; color: var(--muted); }

/* Forms */
form .field { margin-bottom: 18px; }
label { display: block; font-size: .9rem; margin-bottom: 6px; color: var(--muted); }
input, select, textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line); color: var(--text);
  border-radius: 8px; padding: 12px 14px; font: inherit;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ember); }
textarea { min-height: 140px; resize: vertical; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .icon { color: var(--ember); font-size: 1.2rem; width: 24px; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 10px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 50px 0 30px; margin-top: 40px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.site-footer h4 { font-size: .95rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--ember); }
.copyright { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 60px 0; }
  .cta { padding: 32px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 20px;
  }
  .nav-links.open { display: flex; }
  .hero { padding: 70px 0; }
}

/* Placeholder until real build photos are added (put an <img> inside .build-img) */
.build-img::after {
  content: ""; width: 34%; aspect-ratio: 3 / 4;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 80' fill='none' stroke='%233a3f45' stroke-width='2.5'%3E%3Crect x='4' y='4' width='52' height='72' rx='4'/%3E%3Ccircle cx='30' cy='26' r='10'/%3E%3Ccircle cx='30' cy='52' r='10'/%3E%3Cpath d='M12 12h8' stroke='%23ff6a1f'/%3E%3C/svg%3E") center / contain no-repeat;
}
.build-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.build-img:has(img)::after { display: none; }
