:root {
  --bg: #050308;
  --bg-2: #0d0916;
  --bg-3: #151022;
  --panel: rgba(19, 14, 29, 0.82);
  --panel-2: rgba(26, 20, 40, 0.92);
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.16);
  --text: #f7f3ff;
  --muted: #a69abf;
  --pink: #ff4fd8;
  --blue: #74d7ff;
  --violet: #8f6dff;
  --lime: #d4ff76;
  --danger: #ff6a76;
  --shadow: 0 24px 80px rgba(0,0,0,0.45);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255,79,216,0.18), transparent 20%),
    radial-gradient(circle at 75% 15%, rgba(116,215,255,0.14), transparent 22%),
    linear-gradient(180deg, #07040d 0%, #090611 35%, #040308 100%);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.06;
  background-image: radial-gradient(rgba(255,255,255,0.6) 0.6px, transparent 0.6px);
  background-size: 8px 8px;
  mix-blend-mode: soft-light;
}
.site-shell {
  position: relative;
  z-index: 1;
  max-width: 1360px;
  margin: 0 auto;
  padding: 18px;
}
.topbar {
  position: sticky;
  top: 10px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(8, 6, 13, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  color: #120913;
}
.brand-text {
  color: var(--text);
  font-size: 1.02rem;
}
.nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
}
.nav a:hover { color: var(--text); }
.cart-button,
.filter,
.btn,
.qty-btn,
.icon-btn,
.add-btn {
  border: 0;
  cursor: pointer;
  font: inherit;
}
.cart-button {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-strong);
}
.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: center;
  padding: 54px 0 24px;
}
.eyebrow {
  margin: 0;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.73rem;
  font-weight: 800;
}
.hero h1,
.showcase h2,
.section-head h2 {
  margin: 10px 0 14px;
  line-height: 0.96;
  letter-spacing: -0.04em;
}
.hero h1 {
  font-size: clamp(3rem, 7vw, 7rem);
  max-width: 8.5ch;
}
.hero-text,
.showcase-copy p,
.benefit-card p,
.faq-item p,
.meta,
.cart-note,
.hero-stage-copy span {
  color: var(--muted);
  line-height: 1.7;
}
.hero-actions,
.filters,
.product-actions,
.product-meta,
.cart-line {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 800;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--pink), var(--violet));
  color: #100b16;
  box-shadow: 0 18px 36px rgba(255,79,216,0.22);
}
.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.stat-block {
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.stat-block strong {
  display: block;
  font-size: 1.36rem;
  margin-bottom: 6px;
}
.stat-block span { color: var(--muted); font-size: 0.92rem; }
.hero-stage {
  position: relative;
  min-height: 620px;
  border-radius: 36px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 15%, rgba(255,79,216,0.18), transparent 24%),
    radial-gradient(circle at 75% 24%, rgba(116,215,255,0.15), transparent 26%),
    linear-gradient(180deg, rgba(20,13,30,0.96), rgba(8,6,13,0.98));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}
.hero-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent 40%);
  pointer-events: none;
}
.hero-stage-copy,
.hero-ticket {
  position: absolute;
  z-index: 2;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(8, 6, 13, 0.54);
  backdrop-filter: blur(16px);
}
.hero-stage-copy {
  left: 18px;
  top: 18px;
  max-width: 240px;
}
.hero-stage-copy strong,
.hero-ticket strong {
  display: block;
  margin-top: 6px;
  line-height: 1.3;
}
.hero-ticket {
  right: 18px;
  bottom: 18px;
  max-width: 260px;
}
#hero-canvas,
#product-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.marquee-strip {
  overflow: hidden;
  border-block: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.03);
  margin: 8px 0 34px;
}
.marquee-track {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  width: max-content;
  padding: 14px 0;
  animation: marquee 22s linear infinite;
}
.marquee-track span {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 30px;
}
.benefit-card {
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(21,16,34,0.94), rgba(11,8,17,0.96));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}
.benefit-card h3 {
  margin: 12px 0 10px;
  font-size: 1.28rem;
}
.catalog-section,
.faq {
  padding: 28px 0;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.filter {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.08);
}
.filter.active {
  color: #100b16;
  border-color: transparent;
  background: linear-gradient(135deg, var(--pink), var(--blue));
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(17,12,27,0.98), rgba(9,7,14,0.98));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255,79,216,0.12), transparent 25%),
    radial-gradient(circle at 18% 18%, rgba(116,215,255,0.08), transparent 28%);
  pointer-events: none;
}
.product-image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
}
.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 28px 30px rgba(0,0,0,0.45));
  transform: scale(1.02);
}
.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}
.badge.out {
  background: rgba(125, 26, 42, 0.88);
}
.badge-source {
  left: auto;
  right: 14px;
  color: var(--blue);
}
.product-body {
  padding: 0 18px 18px;
}
.product-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}
.product-title {
  margin: 0;
  font-size: 1.14rem;
  line-height: 1.2;
}
.price {
  white-space: nowrap;
  color: var(--blue);
  font-weight: 900;
  font-size: 1.06rem;
}
.meta {
  font-size: 0.95rem;
  margin: 12px 0 14px;
  min-height: 3.4em;
}
.product-meta {
  margin-bottom: 14px;
}
.pill {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  font-size: 0.8rem;
  border: 1px solid rgba(255,255,255,0.06);
}
.tiers {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}
.tier-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}
.tier-row strong { color: var(--text); }
.product-actions {
  align-items: center;
}
.qty-picker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}
.qty-btn,
.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--text);
  background: rgba(255,255,255,0.08);
}
.add-btn {
  flex: 1;
  padding: 12px 14px;
  border-radius: 999px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  color: #120913;
}
.add-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.showcase {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 24px;
  padding: 40px 0;
}
.showcase-panel {
  position: relative;
  min-height: 430px;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(15,10,24,0.98), rgba(8,5,12,0.98));
  box-shadow: var(--shadow);
}
.showcase-chrome {
  position: absolute;
  inset: 20px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
}
.faq-list {
  display: grid;
  gap: 14px;
}
.faq-item {
  padding: 18px 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(19,14,29,0.95), rgba(11,8,17,0.96));
  border: 1px solid rgba(255,255,255,0.08);
}
summary {
  cursor: pointer;
  font-weight: 800;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(430px, 100%);
  height: 100dvh;
  z-index: 70;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: linear-gradient(180deg, rgba(11,8,17,0.98), rgba(6,4,9,0.99));
  border-left: 1px solid rgba(255,255,255,0.1);
  transform: translateX(100%);
  transition: transform 0.25s ease;
}
.cart-drawer.open { transform: translateX(0); }
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 65;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cart-header,
.cart-total,
.cart-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cart-items {
  flex: 1;
  overflow: auto;
  display: grid;
  gap: 12px;
}
.cart-item,
.cart-footer {
  padding: 16px;
  border-radius: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}
.full { width: 100%; }
.empty {
  padding: 24px;
  text-align: center;
  color: var(--muted);
  border-radius: 24px;
  border: 1px dashed rgba(255,255,255,0.14);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 1100px) {
  .hero,
  .showcase,
  .benefits,
  .product-grid { grid-template-columns: 1fr; }
  .hero-stage { min-height: 480px; }
  .hero h1 { max-width: none; }
}
@media (max-width: 760px) {
  .site-shell { padding: 12px; }
  .topbar {
    top: 8px;
    padding: 12px 14px;
    border-radius: 24px;
    display: grid;
    grid-template-columns: 1fr auto;
  }
  .nav { display: none; }
  .hero {
    gap: 18px;
    padding-top: 26px;
  }
  .hero h1 {
    font-size: clamp(2.4rem, 14vw, 4rem);
    line-height: 0.95;
  }
  .hero-stage {
    min-height: 360px;
    border-radius: 28px;
  }
  .hero-stage-copy,
  .hero-ticket {
    max-width: 190px;
    padding: 12px 14px;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }
  .section-head {
    flex-direction: column;
    align-items: start;
  }
  .filters {
    width: 100%;
    overflow: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }
  .filter { white-space: nowrap; }
  .product-card { border-radius: 26px; }
  .product-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .qty-picker {
    justify-content: center;
  }
  .showcase-panel {
    min-height: 340px;
    border-radius: 28px;
  }
}
@media (max-width: 520px) {
  .hero-stats { grid-template-columns: 1fr; }
  .btn,
  .add-btn,
  .cart-button { width: 100%; justify-content: center; }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .topbar {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .cart-button { text-align: center; }
}
