:root {
  color-scheme: dark;
  --bg: #111211;
  --panel: #1d1d1d;
  --panel-2: #272827;
  --text: #eeeeea;
  --muted: #a9b5a4;
  --line: #344231;
  --green: #00ff00;
  --green-soft: rgba(0, 255, 0, 0.13);
  --red: #ff3f62;
  --blue: #5a86ff;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 9%, rgba(0, 255, 0, 0.14), transparent 29rem),
    linear-gradient(180deg, #101410 0%, var(--bg) 45%, #0a0b0a 100%);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
}

button,
input,
a {
  font: inherit;
}

button,
a {
  cursor: pointer;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(14, 14, 14, 0.74);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 58px;
  padding: 0 20px;
}

.nav-link,
.mono,
.pill,
.section-head p,
.icon-button,
.small,
.ghost,
.product-card button,
.price,
.flavour-form label {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.nav-link {
  color: var(--muted);
}

.nav-link.active {
  color: var(--green);
  border-bottom: 2px solid var(--green);
}

.icon-button {
  border: 0;
  background: transparent;
  color: var(--muted);
}

.icon-button span {
  display: inline-grid;
  min-width: 21px;
  height: 21px;
  margin-left: 4px;
  place-items: center;
  border-radius: 999px;
  background: var(--green);
  color: #001800;
}

.primary,
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.primary {
  background: var(--green);
  color: #001900;
  box-shadow: 0 0 28px rgba(0, 255, 0, 0.18);
}

.primary:hover {
  filter: brightness(1.08);
}

.small {
  min-height: 34px;
  padding-inline: 22px;
}

.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.ghost.green {
  border-color: var(--green);
  color: var(--green);
}

.hero {
  display: grid;
  min-height: 610px;
  place-items: center;
  padding: 76px 20px 56px;
  text-align: center;
}

.brand-mark {
  margin: 0 0 6px;
  color: #f3f3ef;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.pill {
  display: inline-flex;
  justify-content: center;
  width: fit-content;
  margin: 0 auto 130px;
  padding: 7px 28px;
  border: 1px solid rgba(0, 255, 0, 0.2);
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 6.2rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 span {
  color: var(--green);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.collection,
.benefits,
.footer {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

h2 {
  margin-bottom: 7px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.section-head p {
  color: var(--muted);
}

.lab-actions {
  display: flex;
  gap: 8px;
}

.flavour-form {
  margin-bottom: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.26);
}

.flavour-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
}

.flavour-form div {
  display: flex;
  gap: 8px;
}

.flavour-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #090909;
  color: var(--text);
  padding: 0 14px;
  outline: 0;
}

.flavour-form input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 255, 0, 0.1);
}

#flavourMessage {
  margin: 12px 0 0;
  color: var(--muted);
}

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

.product-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  background: var(--panel);
  text-align: left;
}

.product-card:hover,
.product-card:focus-within {
  border-color: rgba(0, 255, 0, 0.42);
  box-shadow: 0 0 30px rgba(0, 255, 0, 0.1);
}

.product-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #070707;
}

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

.badge {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 6px 10px;
  background: var(--green);
  color: #001800;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.spec-reveal {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 255, 0, 0.22);
  background: rgba(6, 8, 6, 0.84);
  color: var(--green);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.product-card:hover .spec-reveal,
.product-card:focus-within .spec-reveal {
  opacity: 1;
  transform: translateY(0);
}

.product-info {
  padding: 14px;
}

.product-title {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: start;
}

.product-title h3 {
  margin-bottom: 8px;
  font-size: 1.45rem;
  line-height: 1;
  text-transform: uppercase;
}

.price {
  color: var(--green);
}

.product-info p {
  min-height: 60px;
  color: var(--muted);
  line-height: 1.5;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.product-card button {
  min-height: 39px;
  border: 0;
  border-radius: 3px;
  background: #383938;
  color: var(--text);
}

.product-card button:hover {
  background: var(--green);
  color: #001900;
}

.next-drop {
  display: grid;
  min-height: 100%;
  place-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  background: #111311;
  text-align: center;
}

.next-drop strong {
  display: block;
  margin: 12px 0 8px;
  font-size: 1.55rem;
  text-transform: uppercase;
}

.bolt {
  color: var(--green);
  font-size: 42px;
}

.benefits {
  padding: 78px 0;
}

.benefits h2 {
  transition: transform 180ms ease, text-shadow 180ms ease, color 180ms ease;
}

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

.benefit-grid article {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.benefit-grid article::before {
  content: "";
  position: absolute;
  inset: auto -20% 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.8), transparent);
  animation: glide 6s linear infinite;
}

.benefit-grid article:hover,
.benefit-grid article:focus-within {
  transform: translateY(-8px);
  border-color: rgba(0, 255, 0, 0.24);
  box-shadow: 0 0 26px rgba(0, 255, 0, 0.12);
}

.benefits:hover h2 {
  transform: translateY(-2px);
  text-shadow: 0 0 14px rgba(0, 255, 0, 0.16);
  color: #f5fff2;
}

.benefit-grid span {
  color: var(--green);
  font-family: "JetBrains Mono", monospace;
}

.benefit-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.benefit-top strong {
  color: var(--text);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.benefit-meter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.benefit-meter i {
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 255, 0, 0.15);
}

.benefit-meter i:nth-child(1) { background: rgba(0, 255, 0, 0.32); }
.benefit-meter i:nth-child(2) { background: rgba(0, 255, 0, 0.5); }
.benefit-meter i:nth-child(3) { background: rgba(0, 255, 0, 0.72); }
.benefit-meter i:nth-child(4) { background: rgba(0, 255, 0, 0.92); }

.benefit-meter.blueberry i:nth-child(1) { background: rgba(90, 134, 255, 0.32); }
.benefit-meter.blueberry i:nth-child(2) { background: rgba(90, 134, 255, 0.5); }
.benefit-meter.blueberry i:nth-child(3) { background: rgba(90, 134, 255, 0.72); }
.benefit-meter.blueberry i:nth-child(4) { background: rgba(90, 134, 255, 0.92); }

.benefit-meter.strawberry i:nth-child(1) { background: rgba(255, 63, 98, 0.32); }
.benefit-meter.strawberry i:nth-child(2) { background: rgba(255, 63, 98, 0.5); }
.benefit-meter.strawberry i:nth-child(3) { background: rgba(255, 63, 98, 0.72); }
.benefit-meter.strawberry i:nth-child(4) { background: rgba(255, 63, 98, 0.92); }

.benefit-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 44px 0 70px;
  color: var(--muted);
}

.footer a {
  color: var(--green);
  font-family: "JetBrains Mono", monospace;
  font-weight: 800;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  transition: transform 160ms ease, color 160ms ease, filter 160ms ease;
}

.footer-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  color: var(--green);
  transition: transform 160ms ease;
}

.footer-link:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 10px rgba(0, 255, 0, 0.2));
}

.footer-link:hover .footer-icon {
  transform: scale(1.16);
}

.footer .mono {
  grid-column: 1 / -1;
  color: #7f8d7a;
}

.modal {
  width: min(760px, calc(100% - 28px));
  border: 1px solid rgba(0, 255, 0, 0.25);
  border-radius: var(--radius);
  background: #151615;
  color: var(--text);
  box-shadow: 0 0 70px rgba(0, 0, 0, 0.75);
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(8px);
}

.close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #090909;
  color: var(--text);
  font-size: 24px;
}

.modal-body {
  padding: 28px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
}

.detail-layout img {
  width: 100%;
  border-radius: 6px;
}

.detail-copy h2 {
  color: var(--green);
}

.spec-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 18px;
}

.spec-chip {
  padding: 12px 10px;
  border: 1px solid rgba(0, 255, 0, 0.14);
  background: rgba(0, 255, 0, 0.04);
}

.spec-chip span {
  display: block;
  color: var(--green);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.spec-chip strong {
  display: block;
  margin-top: 6px;
  font-size: 14px;
}

.detail-copy p,
.cart-items p {
  color: var(--muted);
  line-height: 1.6;
}

.detail-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  padding: 10px;
  border-left: 3px solid var(--green);
  background: rgba(255, 255, 255, 0.04);
}

.cart-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-total {
  margin: 18px 0;
  color: var(--green);
  font-weight: 800;
}

.wide {
  width: 100%;
}

.sticky-orderbar {
  position: sticky;
  bottom: 12px;
  z-index: 12;
  display: none;
  gap: 8px;
  width: min(920px, calc(100% - 24px));
  margin: 0 auto 14px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 12, 12, 0.82);
  backdrop-filter: blur(18px);
}

.sticky-orderbar button {
  width: 100%;
}

.sticky-orderbar span {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 6px;
  border-radius: 999px;
  background: var(--green);
  color: #001800;
}

@keyframes glide {
  from { transform: translateX(-18%); }
  to { transform: translateX(18%); }
}

@media (max-width: 760px) {
  .nav {
    gap: 10px;
    justify-content: space-between;
  }

  .nav-link {
    display: none;
  }

  .hero {
    min-height: 520px;
  }

  .pill {
    margin-bottom: 86px;
  }

  .hero-actions,
  .section-head,
  .lab-actions,
  .flavour-form div {
    align-items: stretch;
    flex-direction: column;
  }

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

  .product-info p {
    min-height: 0;
  }

  .sticky-orderbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

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