* {
  box-sizing: border-box;
}

:root {
  --bg: #f7f8fb;
  --text: #111827;
  --muted: #667085;
  --line: #dfe3ea;
  --panel: #ffffff;
  --dark: #0a0d14;
  --dark-2: #111725;
  --purple: #7c3aed;
  --pink: #ec4899;
  --cyan: #22d3ee;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 13, 20, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-family: "Press Start 2P", monospace;
  font-size: 12px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  box-shadow: 0 0 30px rgba(124,58,237,.25);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 14px;
}

.brand small {
  font-size: 10px;
  opacity: .65;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(255,255,255,.82);
  font-size: 14px;
  font-weight: 600;
}

.nav a:hover {
  color: white;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: white;
  font-size: 26px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: white;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(124,58,237,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(124,58,237,.34);
}

.btn-small {
  min-height: 40px;
  padding: 0 16px;
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: none;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 25%, rgba(124,58,237,.23), transparent 30%),
    radial-gradient(circle at 15% 75%, rgba(34,211,238,.12), transparent 28%),
    var(--dark);
  color: white;
  padding: 92px 0 110px;
}

.hero-photo,
.hero-photo-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-photo {
  object-fit: cover;
  object-position: 72% 46%;
  opacity: .78;
}

.hero-photo-overlay {
  background: linear-gradient(90deg, rgba(10,13,20,.98) 0%, rgba(10,13,20,.92) 42%, rgba(10,13,20,.28) 76%, rgba(10,13,20,.2) 100%), linear-gradient(0deg, rgba(10,13,20,.78), transparent 55%);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, black, transparent);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 70px;
}

.hero-visual {
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 10px;
  padding-bottom: 6px;
}

.hero-chip,
.hero-line {
  color: #fff;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(10,13,20,.72);
  backdrop-filter: blur(10px);
}

.hero-chip {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.hero-line {
  padding: 12px 15px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
}

.craft-strip {
  background: #111725;
  color: white;
  border-top: 1px solid rgba(255,255,255,.08);
}

.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.craft-grid > div {
  padding: 25px 28px;
  border-right: 1px solid rgba(255,255,255,.08);
}

.craft-grid > div:last-child { border-right: 0; }
.craft-grid strong, .craft-grid span { display: block; }
.craft-grid strong { font-size: 14px; }
.craft-grid span { color: rgba(255,255,255,.5); font-size: 12px; margin-top: 3px; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  font-weight: 800;
  color: var(--purple);
  margin-bottom: 14px;
}

.hero .eyebrow {
  color: var(--cyan);
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.12;
}

h1 {
  font-size: clamp(46px, 7vw, 82px);
  letter-spacing: -0.055em;
}

h1 span {
  background: linear-gradient(90deg, #b69cff, #ff87cb 55%, #66e5ff);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-copy p {
  max-width: 680px;
  margin: 26px 0 0;
  font-size: 18px;
  color: rgba(255,255,255,.72);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
  color: rgba(255,255,255,.58);
  font-size: 13px;
}

.console-card {
  position: relative;
  background: linear-gradient(145deg, #20242d, #0b0e14);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 34px 34px 60px 34px;
  padding: 28px;
  transform: rotate(3deg);
  box-shadow: 0 40px 100px rgba(0,0,0,.45);
}

.screen {
  position: relative;
  height: 250px;
  background: #111318;
  border: 12px solid #262b35;
  border-radius: 12px;
  display: grid;
  align-content: center;
  justify-items: center;
  overflow: hidden;
}

.screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,.04),
    rgba(255,255,255,.04) 1px,
    transparent 1px,
    transparent 4px
  );
}

.screen-glow {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(124,58,237,.35);
  filter: blur(50px);
}

.pixel-title,
.pixel-sub {
  position: relative;
  z-index: 2;
  font-family: "Press Start 2P", monospace;
  text-align: center;
}

.pixel-title {
  color: white;
  font-size: 18px;
  margin-bottom: 18px;
}

.pixel-sub {
  color: var(--cyan);
  font-size: 9px;
}

.controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 6px 6px;
}

.dpad {
  font-size: 64px;
  color: #05070b;
  text-shadow: 0 1px 0 rgba(255,255,255,.12);
}

.speaker {
  width: 70px;
  height: 50px;
  opacity: .35;
  background:
    radial-gradient(circle, #05070b 2px, transparent 3px);
  background-size: 12px 12px;
}

.buttons {
  display: flex;
  gap: 10px;
  transform: rotate(-18deg);
}

.buttons span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #6d28d9;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  box-shadow: inset 0 -4px 8px rgba(0,0,0,.35);
}

.status {
  font-size: 9px;
  color: rgba(255,255,255,.5);
}

.status span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 5px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444;
}

.section {
  padding: 96px 0;
}

.evolution {
  background: white;
}

.evolution-heading {
  max-width: 820px;
}

.evolution-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  gap: 20px;
}

.evolution-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--dark-2);
  color: white;
  box-shadow: 0 18px 45px rgba(15,23,42,.1);
}

.evolution-card img {
  display: block;
  width: 100%;
  height: 390px;
  object-fit: cover;
}

.original-card img {
  object-position: center;
  background: #e6e8ed;
}

.modified-card img {
  object-position: 50% 42%;
}

.evolution-label {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(10,13,20,.82);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.evolution-card figcaption {
  padding: 20px 22px 23px;
}

.evolution-card figcaption strong,
.evolution-card figcaption span {
  display: block;
}

.evolution-card figcaption strong {
  font-size: 17px;
}

.evolution-card figcaption span {
  margin-top: 5px;
  color: rgba(255,255,255,.58);
  font-size: 13px;
  line-height: 1.5;
}

.photo-credit {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.showcase {
  background: #eceff5;
}

.showcase-heading {
  max-width: 780px;
}

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

.showcase-card {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: var(--dark-2);
  color: white;
  box-shadow: 0 22px 60px rgba(15,23,42,.13);
}

.showcase-card img {
  display: block;
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.showcase-card:first-child img { object-position: 50% 56%; }
.showcase-card:nth-child(2) img { object-position: 50% 54%; }
.showcase-card:nth-child(3) img { object-position: 50% 48%; }

.showcase-card figcaption {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px 24px;
}

.showcase-card figcaption > span {
  font-family: "Press Start 2P", monospace;
  color: var(--cyan);
  font-size: 9px;
  margin-top: 5px;
}

.showcase-card figcaption strong,
.showcase-card figcaption small { display: block; }
.showcase-card figcaption strong { font-size: 17px; }
.showcase-card figcaption small { color: rgba(255,255,255,.58); font-size: 12px; margin-top: 5px; line-height: 1.5; }

.section-heading {
  max-width: 730px;
  margin-bottom: 44px;
}

.section-heading h2,
.mods h2,
.quote-copy h2 {
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: -0.045em;
}

.section-heading p,
.mods p,
.quote-copy p {
  color: var(--muted);
  font-size: 17px;
}

.cards.four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  min-height: 100%;
  box-shadow: 0 10px 30px rgba(15,23,42,.04);
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f0eaff;
  color: var(--purple);
  font-size: 22px;
  margin-bottom: 22px;
}

.service-card h3,
.price-card h3,
.step h3 {
  font-size: 21px;
}

.service-card p,
.price-card p,
.step p {
  color: var(--muted);
  font-size: 14px;
}

.service-card ul,
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.service-card li,
.price-card li {
  padding: 7px 0;
  font-size: 14px;
  border-top: 1px solid #edf0f4;
}

.service-card li::before,
.price-card li::before {
  content: "✓";
  color: var(--purple);
  font-weight: 800;
  margin-right: 8px;
}

.dark {
  background: var(--dark);
  color: white;
}

.section-heading.light .eyebrow {
  color: var(--cyan);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

.step span {
  font-family: "Press Start 2P", monospace;
  color: var(--purple);
  font-size: 18px;
}

.step h3 {
  margin-top: 22px;
}

.step p {
  color: rgba(255,255,255,.58);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px;
}

.price-card.featured {
  border: 2px solid var(--purple);
  box-shadow: 0 20px 50px rgba(124,58,237,.12);
  transform: translateY(-8px);
}

.popular {
  position: absolute;
  top: -14px;
  right: 24px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: white;
  font-weight: 800;
  font-size: 11px;
  padding: 7px 10px;
  border-radius: 999px;
}

.price-tag {
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  font-weight: 800;
}

.price-card h3 {
  margin-top: 10px;
}

.price {
  margin: 20px 0 6px;
  color: var(--muted);
}

.price strong {
  color: var(--text);
  font-size: 38px;
  letter-spacing: -0.04em;
}

.price-card ul {
  margin-bottom: 26px;
}

.price-card .btn {
  margin-top: auto;
}

.fineprint {
  color: var(--muted);
  font-size: 12px;
  margin-top: 18px;
}

.parts-choice-note {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 16px 24px;
  align-items: start;
  margin-top: 26px;
  padding: 20px 22px;
  border: 1px solid #d9d2ff;
  border-radius: 16px;
  background: #f7f3ff;
  color: #4b5563;
  font-size: 13px;
}

.parts-choice-note strong {
  color: var(--text);
}

.mods {
  background: #f0f2f8;
}

.mods-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--purple);
  font-weight: 800;
}

.mod-list {
  background: var(--dark-2);
  color: white;
  border-radius: 24px;
  padding: 20px;
}

.mod-list div {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.mod-list div:last-child {
  border-bottom: 0;
}

.mod-list span {
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
  color: var(--cyan);
}

.quote-section {
  background: white;
}

.quote-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.note {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 4px solid var(--purple);
  background: #f7f3ff;
  border-radius: 0 10px 10px 0;
  color: #4b5563;
  font-size: 14px;
}

.quote-form {
  background: #f8f9fc;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
}

.quote-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.parts-fieldset {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

.parts-fieldset legend {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
}

.quote-form .radio-option {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  margin: 0 0 9px;
  padding: 13px 14px;
  border: 1px solid #cfd5df;
  border-radius: 10px;
  background: white;
  cursor: pointer;
}

.quote-form .radio-option:has(input:checked) {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124,58,237,.1);
}

.quote-form .radio-option input {
  width: 18px;
  margin: 3px 0 0;
  accent-color: var(--purple);
}

.radio-option strong,
.radio-option small {
  display: block;
}

.radio-option small {
  margin-top: 2px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.45;
}

.form-trap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  border: 1px solid #cfd5df;
  border-radius: 10px;
  font: inherit;
  background: white;
  color: var(--text);
  outline: none;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124,58,237,.1);
}

.quote-form .btn {
  width: 100%;
}

.quote-form .btn:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
}

.form-message {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--purple);
  text-align: center;
}

.form-message.success { color: #166534; }
.form-message.error { color: #b42318; }

footer {
  background: var(--dark);
  color: white;
  padding: 55px 0 24px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

.footer-grid p {
  color: rgba(255,255,255,.5);
  max-width: 450px;
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,.68);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 38px;
  padding-top: 20px;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  color: rgba(255,255,255,.4);
  font-size: 11px;
}

@media (max-width: 980px) {
  .cards.four,
  .process-grid,
  .pricing-grid,
  .evolution-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid,
  .mods-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .hero-photo { object-position: 62% center; }
  .hero-photo-overlay { background: linear-gradient(90deg, rgba(10,13,20,.97), rgba(10,13,20,.76)); }
  .hero-visual { min-height: 160px; align-items: flex-start; }

  .showcase-grid { grid-template-columns: 1fr; }

  .console-card {
    max-width: 520px;
    margin: 0 auto;
  }

  .nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #111725;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    padding: 18px;
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 70px 0 78px;
  }

  .hero-photo { object-position: 56% 42%; opacity: .55; }
  .hero-visual { display: none; }

  .craft-grid { grid-template-columns: 1fr; }
  .craft-grid > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); padding: 18px 0; }
  .craft-grid > div:last-child { border-bottom: 0; }
  .showcase-card img { height: 285px; }

  h1 {
    font-size: 50px;
  }

  .cards.four,
  .process-grid,
  .pricing-grid,
  .evolution-grid {
    grid-template-columns: 1fr;
  }

  .evolution-card img { height: 340px; }

  .parts-choice-note { grid-template-columns: 1fr; gap: 9px; }

  .price-card.featured {
    transform: none;
  }

  .section {
    padding: 72px 0;
  }

  .footer-grid,
  .footer-bottom {
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .screen {
    height: 190px;
  }

  .console-card {
    padding: 20px;
  }
}
