:root {
  --bg: #09090f;
  --bg-soft: #11111a;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --panel-deep: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.18);
  --line-soft: rgba(255, 255, 255, 0.10);
  --text: #ffffff;
  --muted: #d4d2dc;
  --muted-dark: #b8b3c8;
  --accent: #a784ff;
  --accent-soft: #efe8ff;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 16px 42px rgba(0, 0, 0, 0.25);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(18, 14, 33, 0.72), rgba(9, 9, 15, 0.98)),
    radial-gradient(circle at top, rgba(103, 57, 170, 0.25), transparent 34%),
    var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}

.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 14%, rgba(140, 92, 255, 0.22), transparent 25rem),
    radial-gradient(circle at 15% 78%, rgba(111, 76, 201, 0.14), transparent 22rem),
    radial-gradient(circle at 82% 70%, rgba(92, 64, 160, 0.10), transparent 20rem);
}

.glass-panel,
.glass-subpanel,
.glass-pill {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.045));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.glass-panel {
  border-radius: var(--radius-xl);
}

.glass-subpanel {
  border-radius: var(--radius-lg);
}

.glass-pill {
  border-radius: 999px;
}

.hero {
  min-height: 100svh;
  padding: 28px 24px 34px;
  display: grid;
  place-items: center;
  position: relative;
  text-align: center;
}

.hero-panel {
  width: min(1020px, 100%);
  padding: clamp(34px, 6vw, 64px);
}

.hero-content { max-width: 960px; }
.hero h1, h2, h3, p { margin-top: 0; }
.hero h1 {
  font-size: clamp(3.5rem, 8vw, 8rem);
  letter-spacing: -0.085em;
  line-height: 0.94;
  font-weight: 900;
  margin-bottom: 20px;
}
.hero-kicker, .eyebrow {
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: clamp(0.72rem, 1.2vw, 0.9rem);
  font-weight: 800;
}
.hero-kicker { margin-bottom: 16px; }
.hero-subtitle {
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  margin-bottom: 14px;
}
.scroll-cue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  color: #fff;
  text-decoration: none;
  font-size: 2rem;
  line-height: 1;
  animation: bob 1.3s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(7px); } }

.site-main {
  width: 100%;
}

.builds-section, .pricing-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px 44px;
}

.section-shell {
  padding: 42px 24px;
}

.pricing-section .section-shell {
  padding-top: 38px;
}

.section-heading { text-align: center; max-width: 840px; margin: 0 auto 42px; }
.section-heading.compact { margin-bottom: 36px; }
.section-heading h2 {
  margin-bottom: 15px;
  font-family: Unbounded, Inter, Arial, sans-serif;
  font-size: clamp(2.1rem, 5vw, 4.5rem);
  letter-spacing: -0.075em;
  line-height: 1;
  font-weight: 800;
}
.section-heading .eyebrow { margin-bottom: 13px; }
.section-lead { color: var(--muted); font-size: 1rem; }

.build-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.build-card {
  display: block;
  position: relative;
  overflow: hidden;
  padding: 10px;
  min-height: 100%;
  text-decoration: none;
  color: var(--text);
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-soft);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background .24s ease;
}

.build-thumb-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
}

.build-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .36s ease, filter .36s ease;
}

.card-gradient {
  position: absolute;
  inset: auto 10px 10px;
  height: 52%;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(to top, rgba(4, 4, 10, 0.92), rgba(4, 4, 10, 0));
  pointer-events: none;
}

.card-info {
  position: absolute;
  inset: auto 24px 24px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  z-index: 1;
}

.card-info p {
  margin: 0;
  font-weight: 800;
  font-size: clamp(.84rem, 1.28vw, 1rem);
  line-height: 1.2;
  max-width: 75%;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}

.card-info span {
  flex: 0 0 auto;
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 6px 10px;
  backdrop-filter: blur(8px);
}

.build-card:hover, .build-card:focus-visible {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(167,132,255,0.46);
  background: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.06));
  box-shadow: 0 26px 54px rgba(0,0,0,.38), 0 0 0 1px rgba(167,132,255,.22);
  outline: none;
}

.build-card:hover img, .build-card:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1.05);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.price-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  transition: transform .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.price-card:hover {
  transform: translateY(-5px);
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.055));
  border-color: rgba(167,132,255,.42);
  box-shadow: var(--shadow);
}

.price-card h3 {
  color: #fff;
  font-size: 1.45rem;
  margin-bottom: 14px;
}

.price-card p {
  color: var(--muted-dark);
  line-height: 1.6;
  margin-bottom: 24px;
}

.price-card strong {
  font-size: 1.8rem;
  margin-top: auto;
  margin-bottom: 16px;
}

.price-card a, .buy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.16);
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.08));
  color: white;
  font-weight: 800;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: filter .2s ease, transform .2s ease, border-color .2s ease, background .2s ease;
}

.price-card a:hover, .buy-button:hover {
  transform: translateY(-2px);
  border-color: rgba(167,132,255,0.42);
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.10));
}

.site-footer {
  padding: 10px 24px 36px;
}

.footer-panel {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 18px 24px;
  text-align: center;
  color: rgba(255,255,255,0.58);
  font-size: .9rem;
}

.detail-page { min-height: 100svh; }
.detail-layout {
  width: min(1260px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 28px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  margin-bottom: 20px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.back-link:hover {
  border-color: rgba(167,132,255,0.42);
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.08));
}

.detail-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .95fr);
  gap: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.detail-image-pane {
  padding: 12px;
}

.detail-image-wrap {
  min-height: 100%;
  background: rgba(255,255,255,0.03);
  border-radius: 22px;
  overflow: hidden;
}

.detail-image-wrap img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  display: block;
}

.detail-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(12px, 2vw, 18px) clamp(8px, 1.4vw, 10px) clamp(12px, 2vw, 18px) 0;
}

.detail-content .eyebrow { margin-bottom: 0; }

.detail-content h1 {
  font-family: Unbounded, Inter, sans-serif;
  font-size: clamp(1.85rem, 3vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -.06em;
  margin-bottom: 0;
}

.detail-block {
  padding: 22px;
}

.detail-block h2 {
  font-size: 1.16rem;
  margin-bottom: 14px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.feature-list > li {
  position: relative;
  padding-left: 21px;
  color: #f0eef5;
  line-height: 1.45;
}

.feature-list > li::before {
  content: "";
  width: 7px;
  height: 7px;
  position: absolute;
  left: 1px;
  top: .56em;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}

.command-list > li {
  display: grid;
  grid-template-columns: minmax(95px, 1fr) minmax(0, 1.8fr);
  gap: 10px;
}

.command-list code {
  color: #fff;
  font-weight: 700;
  font-family: Inter, Arial, sans-serif;
}

.command-list span {
  color: var(--muted-dark);
}

.detail-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  padding: 22px;
}

.detail-price {
  display: grid;
  gap: 5px;
}

.detail-price span {
  color: var(--muted);
}

.detail-price strong {
  font-size: 2rem;
}

.buy-button {
  padding: 0 25px;
  min-width: 146px;
}

.detail-footer {
  padding-top: 0;
}

@media (max-width: 1000px) {
  .build-grid, .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-card { grid-template-columns: 1fr; }
  .detail-content { padding: 0; }
  .detail-image-wrap img { min-height: auto; aspect-ratio: 16 / 9; }
}

@media (max-width: 680px) {
  .hero { min-height: 92svh; padding-inline: 16px; }
  .hero-panel { padding: 28px 18px; }
  .builds-section, .pricing-section { padding: 0 16px 30px; }
  .section-shell { padding: 30px 14px; }
  .build-grid, .price-grid { grid-template-columns: 1fr; }
  .build-grid { gap: 20px; }
  .card-info { inset: auto 20px 20px; }
  .detail-layout { width: min(100% - 28px, 1260px); padding-top: 22px; }
  .detail-card { border-radius: 24px; padding: 12px; }
  .detail-block, .detail-bottom { padding: 18px; }
  .detail-bottom { align-items: stretch; flex-direction: column; }
  .buy-button { min-height: 52px; }
  .footer-panel { padding: 16px 18px; }
}
