/* ============ GLOBAL ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #05070b;
  --bg-soft: #0b0f18;
  --bg-card: #0f1420;
  --accent: #1ea4ff;
  --accent-soft: rgba(30, 164, 255, 0.22);
  --text: #f5f7fb;
  --muted: #9aa3ba;
  --border-subtle: #1b2233;
  --radius-lg: 18px;
  --shadow-soft: 0 26px 60px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 22px rgba(30, 164, 255, 0.7);
  --max-width: 1120px;
  --transition-fast: 0.18s ease-out;
}

html,
body {
  background: radial-gradient(circle at top, #111629, #05070b);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  line-height: 1.5;
}

/* Smooth layout */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ============ LAYOUT WRAPPER ============ */
.page {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.page-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 20px 40px;
}

/* ============ HEADER / NAV ============ */
.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  background: linear-gradient(
      to right,
      rgba(5, 7, 11, 0.96),
      rgba(5, 7, 11, 0.92)
    )
    border-box;
  position: sticky;
  top: 0;
  z-index: 30;
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-wrap img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 16px rgba(30, 164, 255, 0.9));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text span:nth-child(1) {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-text span:nth-child(2) {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.9rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  padding: 5px 4px;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #66e0ff);
  transition: width var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--text);
}

/* CTA button */
.nav-cta {
  border-radius: 999px;
  padding: 8px 18px;
  border: 1px solid rgba(102, 224, 255, 0.45);
  background: radial-gradient(circle at top left, #1ea4ff, #0668a8);
  color: #030509;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: var(--shadow-glow);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    filter var(--transition-fast);
}

.nav-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 0 32px rgba(30, 164, 255, 0.9);
}

/* ============ HERO / COMMON PAGE TOP ============ */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.25fr);
  gap: 26px;
  margin-top: 28px;
  align-items: center;
}

.page-hero-title {
  font-size: 2.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-hero-kicker {
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.page-hero-body {
  font-size: 0.97rem;
  color: var(--muted);
  margin-top: 14px;
  max-width: 440px;
}

/* Hero “glass card” */
.hero-panel {
  background: radial-gradient(circle at top left, #151d2e, #070a11);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.025);
  box-shadow: var(--shadow-soft);
  padding: 20px 20px 18px;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: -25%;
  right: -25%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(30, 164, 255, 0.65), transparent 60%);
  opacity: 0.8;
  pointer-events: none;
}

/* Hero stat row */
.hero-stats {
  display: flex;
  gap: 18px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.hero-stat {
  flex: 0 0 auto;
  min-width: 120px;
}

.hero-stat-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.hero-stat-value {
  font-size: 1.02rem;
  margin-top: 6px;
}

/* ============ CURRENT BUILD CARD ============ */
.current-build {
  margin-top: 26px;
}

.section-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 8px;
}

.current-card {
  border-radius: 20px;
  padding: 18px 18px 16px;
  background: radial-gradient(circle at top left, #141f33, #05070b);
  border: 1px solid rgba(30, 164, 255, 0.5);
  box-shadow: var(--shadow-glow);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: center;
}

.current-title {
  font-size: 1.02rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.current-sub {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 6px;
}

.current-specs {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 16px;
  font-size: 0.86rem;
}

.current-specs span {
  color: var(--muted);
}

.current-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.price-tag {
  font-size: 1.6rem;
  font-weight: 600;
}

.price-note {
  font-size: 0.8rem;
  color: var(--muted);
}

.badge {
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(3, 10, 20, 0.85);
}

.current-buttons {
  display: flex;
  gap: 8px;
}

/* Base button styles */
.btn-outline,
.btn-solid {
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-width: 1px;
  border-style: solid;
  transition: background var(--transition-fast), color var(--transition-fast),
    transform var(--transition-fast), border-color var(--transition-fast);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.btn-solid {
  border-color: rgba(102, 224, 255, 0.55);
  background: radial-gradient(circle at top left, #1ea4ff, #0668a8);
  color: #030509;
  box-shadow: var(--shadow-glow);
}

.btn-solid:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

/* Make the two build-card buttons a bit smaller */
.current-buttons .btn-solid,
.current-buttons .btn-outline {
  padding: 6px 11px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

/* ============ FEATURED BUILD GALLERY ============ */
.build-gallery {
  margin-top: 14px;
  padding: 8px;
  border-radius: 18px;
  background: radial-gradient(circle at top, #1a2236, rgba(5, 7, 11, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* <- updated */
  gap: 10px;
}


/* Make both images identical height */
.build-gallery-main,
.build-gallery-side {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 1; /* <— NEW LINE HERE */
}

.build-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ============ SECTIONS / CARDS ============ */
.section {
  margin-top: 40px;
}

.section h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.section p.lead {
  color: var(--muted);
  font-size: 0.96rem;
  max-width: 540px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.card {
  background: radial-gradient(circle at top, #151a28, #070a11);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 16px 18px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Bullet list sleek */
ul.checklist {
  list-style: none;
  margin-top: 10px;
}

ul.checklist li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 4px;
}

ul.checklist li::before {
  content: "●";
  font-size: 0.55rem;
  color: var(--accent);
  position: absolute;
  left: 4px;
  top: 7px;
}

/* ============ FORMS ============ */
.form {
  max-width: 480px;
  margin-top: 20px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form label {
  font-size: 0.86rem;
  color: var(--muted);
}

.form input,
.form textarea {
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  padding: 9px 11px;
  background: #05070b;
  color: var(--text);
  font-size: 0.9rem;
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: rgba(30, 164, 255, 0.7);
  box-shadow: 0 0 0 1px rgba(30, 164, 255, 0.5);
}

/* ============ FOOTER ============ */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 14px 20px 18px;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  background: #05070b;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .current-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .current-meta {
    align-items: flex-start;
  }

  .build-gallery {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}
