:root {
  --bg: #070711;
  --panel: rgba(18, 18, 34, 0.88);
  --panel-light: rgba(255, 255, 255, 0.06);
  --text: #f7f2ff;
  --muted: #a9a2c5;
  --purple: #9d4dff;
  --pink: #ff4fd8;
  --blue: #37d5ff;
  --green: #44ffb1;
  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 0 35px rgba(157, 77, 255, 0.23);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background:
    radial-gradient(circle at 10% 10%, rgba(157, 77, 255, 0.28), transparent 28%),
    radial-gradient(circle at 90% 20%, rgba(55, 213, 255, 0.18), transparent 26%),
    radial-gradient(circle at 50% 100%, rgba(255, 79, 216, 0.14), transparent 28%),
    var(--bg);
  color: var(--text);
}

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

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

.site-header,
.section,
.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.logo {
  display: flex;
  gap: 12px;
  align-items: center;
}

.logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple), var(--pink), var(--blue));
  box-shadow: var(--shadow);
}

.logo strong {
  display: block;
}

.logo small,
.nav-links,
.hero p,
.section-heading p,
.contact-card p,
.product-card p,
.info-box p {
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 18px;
}

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

.hero {
  min-height: 76vh;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 32px;
  align-items: center;
  padding: 40px 0 70px;
}

.eyebrow {
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 700;
}

.hero h1,
.section-heading h2,
.contact-card h2 {
  font-size: clamp(34px, 6vw, 70px);
  line-height: 0.95;
  margin: 12px 0 18px;
}

.hero p,
.product-card p,
.modal-details p,
.request-card p {
  line-height: 1.6;
}

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

.primary-btn,
.secondary-btn,
.filter-btn {
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 700;
  cursor: pointer;
}

.primary-btn {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: var(--text);
  box-shadow: var(--shadow);
}

.secondary-btn,
.filter-btn {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.full-btn {
  width: 100%;
  border-radius: 16px;
  margin-top: 8px;
}

.hero-card,
.product-card,
.contact-card,
.order-form,
.info-box,
.request-card {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-card {
  padding: 18px;
}

.hero-card-info {
  padding: 18px 4px 4px;
}

.hero-card-info span,
.product-tag {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-card-info strong {
  display: block;
  font-size: 26px;
  margin-top: 6px;
}

.hero-card-info p {
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 0;
}

.image-placeholder {
  min-height: 220px;
  border-radius: 24px;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(135deg, rgba(157, 77, 255, 0.22), rgba(55, 213, 255, 0.12)),
    rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
  overflow: hidden;
}

.image-placeholder.large {
  min-height: 410px;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  padding: 70px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading h2,
.contact-card h2 {
  font-size: clamp(32px, 4vw, 52px);
}

.row-heading {
  max-width: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn.active,
.filter-btn:hover {
  background: linear-gradient(135deg, rgba(157, 77, 255, 0.55), rgba(55, 213, 255, 0.22));
}

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

.product-card {
  padding: 14px;
  cursor: pointer;
  transition: 0.22s;
}

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

.product-card h3 {
  margin: 16px 0 8px;
}

.product-card .image-placeholder {
  min-height: 230px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.product-category {
  color: var(--muted);
  font-size: 13px;
}

.price {
  display: block;
  margin-top: 12px;
  font-size: 24px;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  -webkit-background-clip: text;
  color: transparent;
}

.request-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.info-box {
  padding: 18px;
  margin-top: 20px;
}

.info-box p {
  margin-bottom: 0;
}

.order-form {
  padding: 24px;
  display: grid;
  gap: 14px;
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  padding: 13px;
  border-radius: 14px;
  outline: none;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(55, 213, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(55, 213, 255, 0.12);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-weight: 700;
}

.request-list {
  display: grid;
  gap: 14px;
}

.request-card {
  padding: 18px;
}

.request-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.request-card h3 {
  margin: 0;
}

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

.request-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  margin-top: 14px;
}

.request-detail {
  padding: 11px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.request-detail span {
  color: var(--muted);
  font-size: 12px;
  display: block;
}

.request-detail strong {
  display: block;
  margin-top: 4px;
}

.empty-state {
  padding: 22px;
  border: 1px dashed var(--border);
  border-radius: 22px;
  color: var(--muted);
  text-align: center;
}

.contact-section {
  padding-bottom: 90px;
}

.contact-card {
  padding: 34px;
  text-align: center;
}

.contact-actions {
  justify-content: center;
}

.footer {
  padding: 24px 0 40px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--border);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.76);
  display: grid;
  place-items: center;
  padding: 18px;
  z-index: 50;
}

.hidden {
  display: none;
}

.modal-card {
  width: min(900px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--border);
  background: #101024;
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 22px;
  position: relative;
}

.close-btn {
  position: absolute;
  right: 16px;
  top: 14px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 26px;
  cursor: pointer;
}

.modal-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: start;
}

.modal-layout .image-placeholder {
  min-height: 420px;
}

.modal-details h2 {
  font-size: 38px;
  margin: 8px 0;
}

.detail-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.detail-item {
  padding: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.055);
  border-radius: 16px;
}

.detail-item span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.detail-item strong {
  display: block;
  margin-top: 4px;
}

@media (max-width: 850px) {
  .nav,
  .row-heading,
  .request-card-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero,
  .request-layout,
  .modal-layout,
  .form-row,
  .request-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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