:root {
  --background: #05070c;
  --panel: #0b101a;
  --panel-light: #111a29;
  --border: rgba(100, 160, 255, 0.18);
  --blue: #247cff;
  --blue-light: #61a2ff;
  --text: #f5f8ff;
  --muted: #98a5b9;
  --success: #43e69b;
  --danger: #ff5f78;
  --radius: 20px;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top, rgba(36, 124, 255, 0.13), transparent 35%),
    var(--background);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.background-glow {
  position: fixed;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.16;
}

.glow-one {
  top: 150px;
  left: -220px;
  background: var(--blue);
}

.glow-two {
  right: -240px;
  bottom: 40px;
  background: #5f35ff;
}

.navbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0 5%;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 7, 12, 0.82);
  backdrop-filter: blur(18px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.logo strong {
  color: var(--blue-light);
}

.logo-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(97, 162, 255, 0.45);
  border-radius: 12px;
  background: linear-gradient(145deg, #183f85, #0a1325);
  box-shadow: 0 0 30px rgba(36, 124, 255, 0.25);
}

nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

nav a:hover {
  color: var(--text);
}

.cart-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 13px;
  cursor: pointer;
  font-weight: 800;
  transition: 0.2s ease;
}

.cart-button {
  gap: 10px;
  border: 1px solid var(--border);
  background: var(--panel-light);
  color: var(--text);
}

.cart-button span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  font-size: 12px;
}

.primary-button {
  background: linear-gradient(135deg, var(--blue), #1854c8);
  color: white;
  box-shadow: 0 10px 32px rgba(36, 124, 255, 0.25);
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(36, 124, 255, 0.35);
}

.secondary-button {
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
}

.full-width {
  width: 100%;
}

main {
  width: min(1180px, 90%);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 70px;
  align-items: center;
  min-height: 720px;
  padding: 80px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-light);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2.3px;
}

.hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(52px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: -4px;
}

.hero h1 span {
  display: block;
  color: var(--blue-light);
}

.hero-description {
  max-width: 650px;
  margin: 28px 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 42px;
}

.hero-stats {
  display: flex;
  gap: 45px;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stats strong {
  font-size: 25px;
}

.hero-stats span {
  color: var(--muted);
  font-size: 13px;
}

.hero-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(36, 124, 255, 0.12), transparent 50%),
    var(--panel);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.hero-card-top {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
}

.live-dot {
  color: var(--success);
}

.gang-preview {
  display: grid;
  min-height: 260px;
  margin: 25px 0;
  place-items: center;
  overflow: hidden;
  border-radius: 20px;
  background:
    linear-gradient(rgba(2, 6, 15, 0.25), rgba(2, 6, 15, 0.95)),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 39px,
      rgba(97, 162, 255, 0.08) 40px
    ),
    #0d1b34;
}

.preview-building {
  position: relative;
  width: 245px;
  height: 150px;
  border: 3px solid rgba(97, 162, 255, 0.55);
  background: #090d15;
  box-shadow: 0 0 60px rgba(36, 124, 255, 0.25);
  transform: perspective(600px) rotateY(-6deg);
}

.preview-sign {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 170px;
  padding: 9px;
  transform: translateX(-50%);
  border: 1px solid rgba(97, 162, 255, 0.45);
  background: rgba(36, 124, 255, 0.14);
  color: var(--blue-light);
  text-align: center;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1.8px;
}

.preview-door {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 55px;
  height: 75px;
  transform: translateX(-50%);
  background: #111a29;
  border: 2px solid rgba(97, 162, 255, 0.25);
}

.preview-window {
  position: absolute;
  bottom: 35px;
  width: 42px;
  height: 36px;
  border: 2px solid rgba(97, 162, 255, 0.35);
  background: rgba(36, 124, 255, 0.12);
}

.window-one {
  left: 25px;
}

.window-two {
  right: 25px;
}

.hero-card h2 {
  margin: 0 0 8px;
}

.hero-card p {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.6;
}

.notice {
  padding: 18px 22px;
  border: 1px solid rgba(36, 124, 255, 0.25);
  border-radius: 16px;
  background: rgba(36, 124, 255, 0.08);
  color: var(--muted);
  line-height: 1.6;
}

.notice strong {
  color: var(--text);
}

.shop-section,
.how-it-works,
.order-section {
  padding: 105px 0 20px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 35px;
}

.section-heading h2,
.order-copy h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 58px);
  letter-spacing: -2px;
}

.section-heading > p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.product-card {
  display: flex;
  min-height: 370px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(36, 124, 255, 0.06), transparent 45%),
    var(--panel);
  transition: 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(97, 162, 255, 0.42);
}

.product-visual {
  display: grid;
  min-height: 125px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 16px;
  background:
    radial-gradient(circle, rgba(36, 124, 255, 0.22), transparent 65%),
    #080d16;
  font-size: 52px;
}

.product-badge {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(36, 124, 255, 0.12);
  color: var(--blue-light);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
}

.product-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.product-card p {
  flex: 1;
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.price-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 17px;
}

.price-row strong {
  display: block;
  font-size: 24px;
}

.price-row span {
  color: var(--muted);
  font-size: 13px;
}

.add-button {
  width: 100%;
  min-height: 45px;
  border: 1px solid rgba(97, 162, 255, 0.32);
  border-radius: 12px;
  background: rgba(36, 124, 255, 0.1);
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
}

.add-button:hover {
  background: var(--blue);
}

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

.steps article {
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}

.steps span {
  color: var(--blue-light);
  font-size: 13px;
  font-weight: 900;
}

.steps h3 {
  margin: 32px 0 10px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.order-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 65px;
  align-items: start;
  padding-bottom: 110px;
}

.order-copy > p {
  color: var(--muted);
  line-height: 1.75;
}

.order-warning {
  margin-top: 25px;
  padding: 16px;
  border: 1px solid rgba(255, 190, 80, 0.2);
  border-radius: 14px;
  background: rgba(255, 190, 80, 0.07);
  color: #d7c39d;
  font-size: 14px;
  line-height: 1.6;
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 27px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--panel);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: #dbe5f5;
  font-size: 13px;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  outline: none;
  background: #070b12;
  color: var(--text);
}

input,
select {
  min-height: 49px;
  padding: 0 14px;
}

textarea {
  padding: 14px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(36, 124, 255, 0.12);
}

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

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 5%;
  border-top: 1px solid var(--border);
  background: #03050a;
  color: var(--muted);
  font-size: 13px;
}

.cart-panel {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  display: flex;
  width: min(440px, 100%);
  height: 100vh;
  flex-direction: column;
  padding: 25px;
  border-left: 1px solid var(--border);
  background: #070a11;
  transform: translateX(105%);
  transition: 0.28s ease;
}

.cart-panel.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
}

.cart-header h2 {
  margin: 0;
  font-size: 35px;
}

.close-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  font-size: 25px;
}

.cart-items {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  margin: 25px 0;
  overflow-y: auto;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--panel);
}

.cart-item h4 {
  margin: 0 0 5px;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.remove-item {
  border: 0;
  background: transparent;
  color: var(--danger);
  cursor: pointer;
  font-weight: 800;
}

.cart-empty {
  flex: 1;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.cart-summary {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.cart-summary div {
  display: flex;
  justify-content: space-between;
}

.cart-summary span {
  color: var(--muted);
}

.overlay {
  position: fixed;
  z-index: 40;
  inset: 0;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: 0.2s ease;
}

.overlay.visible {
  visibility: visible;
  opacity: 1;
}

.modal {
  position: fixed;
  z-index: 60;
  top: 50%;
  left: 50%;
  visibility: hidden;
  width: min(540px, 90%);
  max-height: 88vh;
  padding: 27px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #090d15;
  opacity: 0;
  transform: translate(-50%, -46%);
  transition: 0.22s ease;
}

.modal.open {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -50%);
}

.modal h2 {
  margin-top: 0;
  font-size: 34px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 22px 0;
}

.review-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.review-line strong {
  color: var(--text);
  text-align: right;
}

@media (max-width: 900px) {
  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: auto;
  }

  .hero-card {
    max-width: 580px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .order-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .navbar {
    padding: 0 4%;
  }

  .logo > span:last-child {
    display: none;
  }

  main {
    width: min(92%, 1180px);
  }

  .hero {
    padding-top: 60px;
  }

  .hero h1 {
    font-size: 52px;
    letter-spacing: -2.5px;
  }

  .hero-actions,
  .hero-stats,
  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions a {
    width: 100%;
  }

  .hero-stats {
    gap: 18px;
  }

  .product-grid,
  .steps,
  .form-row {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
  }

  .shop-section,
  .how-it-works,
  .order-section {
    padding-top: 80px;
  }

  footer {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }
}
