:root {
  --bg: #060606;
  --panel: #101010;
  --panel-soft: #171717;
  --line: #282828;
  --text: #f2f2f2;
  --muted: #b9b9b9;
  --accent: #f2f2f2;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 20% 0%, #1f1f1f, #080808 42%, #020202);
  color: var(--text);
  font-family: "Manrope", system-ui, sans-serif;
  min-height: 100%;
}

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

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: radial-gradient(circle at 1px 1px, #ffffff 1px, transparent 0);
  background-size: 4px 4px;
  z-index: 0;
}

.topbar,
.section,
.hero,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  width: min(var(--max), calc(100% - 2rem));
  margin: 1rem auto;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.15rem;
}

.logo img {
  height: clamp(52px, 5vw, 64px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.12));
}

.logo-mark {
  font-family: "Orbitron", sans-serif;
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: 1.2rem;
}

.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-left: 0.45rem;
}

nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.9rem;
  margin-left: auto;
}

nav a {
  color: var(--muted);
  font-size: 0.93rem;
}

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

main {
  width: min(var(--max), calc(100% - 2rem));
  margin: 1rem auto 3rem;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 1.5rem;
  min-height: 70vh;
}

.hero-copy h1 {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  margin: 0.6rem 0;
}

.hero-copy p {
  color: var(--muted);
  max-width: 60ch;
}

.eyebrow {
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: #cfcfcf;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-block;
  border: 1px solid #fff;
  color: #000;
  background: #fff;
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-outline:hover {
  box-shadow: none;
  border-color: #fff;
}

.btn-small {
  margin-top: 0.8rem;
  padding: 0.58rem 0.9rem;
  font-size: 0.82rem;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  height: min(70vh, 640px);
  object-fit: cover;
  border-radius: 1.2rem;
  border: 1px solid var(--line);
  filter: grayscale(100%) contrast(1.15);
}

.glass-card {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.56);
  backdrop-filter: blur(6px);
  border-radius: 0.8rem;
  padding: 0.8rem 1rem;
}

.glass-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.glass-card strong {
  font-family: "Orbitron", sans-serif;
  font-size: 1.5rem;
}

.section {
  margin-top: 4rem;
}

.section-title h2 {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  margin: 0.3rem 0 0;
}

.service-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.tile {
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 1rem;
  background: linear-gradient(160deg, #101010, #070707);
}

.tile h3 {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
}

.tile p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.gallery {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.7rem;
}

.gallery figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  overflow: hidden;
}

.gallery figure:nth-child(1) {
  grid-column: span 6;
}

.gallery figure:nth-child(2) {
  grid-column: span 6;
}

.gallery figure:nth-child(3) {
  grid-column: span 8;
}

.gallery figure:nth-child(4) {
  grid-column: span 4;
}

.gallery img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.stat {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--panel);
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.8rem;
  font-family: "Orbitron", sans-serif;
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(140deg, #111, #070707);
  padding: 1.2rem;
}

.contact h2 {
  font-family: "Orbitron", sans-serif;
  margin-top: 0.2rem;
  margin-bottom: 0.5rem;
}

.contact-form,
.config-form {
  display: grid;
  gap: 0.8rem;
}

label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: #d5d5d5;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 0.6rem;
  border: 1px solid #3c3c3c;
  background: #111;
  color: #fff;
  padding: 0.75rem;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #fff;
  outline-offset: 1px;
}

.products-main {
  margin-top: 2rem;
}

.hero-products {
  min-height: auto;
  grid-template-columns: 1fr;
}

.product-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.product-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  background: var(--panel-soft);
}

.product-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.15);
}

.product-card div {
  padding: 0.9rem;
}

.product-card h3 {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
}

.product-card p {
  color: var(--muted);
  margin-top: 0.5rem;
  margin-bottom: 0;
  font-size: 0.9rem;
}

.price {
  color: #fff !important;
  font-weight: 700;
}

.custom-config {
  border: 1px solid var(--line);
  background: #0e0e0e;
  border-radius: 1rem;
  padding: 1.2rem;
}

.back-link {
  color: var(--muted);
  font-size: 0.9rem;
}

.back-link:hover {
  color: var(--text);
}

.product-detail-main {
  margin-top: 1.2rem;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
}

.product-detail-card,
.product-order-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--panel-soft);
  padding: 1rem;
}

.product-detail-card img {
  width: 100%;
  height: 320px;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1);
}

.product-detail-card h1 {
  margin: 1rem 0 0.4rem;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
}

.product-detail-card p {
  color: var(--muted);
}

.product-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 1rem;
}

.product-meta div {
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #0b0b0b;
  padding: 0.7rem;
}

.product-meta strong {
  display: block;
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-meta span {
  display: block;
  margin-top: 0.2rem;
  font-weight: 700;
}

.product-order-card h2 {
  margin: 0.2rem 0 0.8rem;
  font-family: "Orbitron", sans-serif;
  font-size: 1.1rem;
}

.helper-note {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.footer {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.reveal-up,
.reveal-right {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal-right {
  transform: translateX(18px);
}

.reveal-visible {
  opacity: 1;
  transform: translate(0, 0);
}

@media (max-width: 1040px) {
  .logo img {
    height: 52px;
  }

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

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

  .product-detail-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo img {
    height: 44px;
  }

  .logo-sub {
    display: none;
  }

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

  .hero {
    min-height: auto;
    gap: 1rem;
  }

  .hero-media img {
    height: 320px;
  }

  .gallery figure,
  .gallery figure:nth-child(1),
  .gallery figure:nth-child(2),
  .gallery figure:nth-child(3),
  .gallery figure:nth-child(4) {
    grid-column: span 12;
  }

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

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

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
