:root {
  color-scheme: dark;
  --bg: #030507;
  --panel: rgba(8, 12, 15, 0.94);
  --panel-2: rgba(13, 19, 24, 0.96);
  --line: rgba(47, 255, 151, 0.16);
  --text: #edf6ff;
  --muted: #8a9aa5;
  --green: #2fff97;
  --red: #ff3158;
  --amber: #ffb000;
  --cyan: #28d9ff;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.58);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 72% 10%, rgba(40, 217, 255, 0.06), transparent 28rem),
    radial-gradient(circle at 18% 20%, rgba(47, 255, 151, 0.1), transparent 30rem),
    linear-gradient(180deg, #030507 0%, #05070a 48%, #020304 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(47, 255, 151, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 255, 151, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

#matrix {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0.08;
}

.scanline {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.014),
    rgba(255, 255, 255, 0.014) 1px,
    transparent 1px,
    transparent 4px
  );
  mix-blend-mode: overlay;
}

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

button {
  border: 0;
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) auto minmax(9rem, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(47, 255, 151, 0.14);
  background: rgba(3, 5, 7, 0.86);
  backdrop-filter: blur(20px);
}

.brand,
.main-nav,
.cart-button,
.hero-actions,
.filters,
.cart-head,
.cart-total {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.7rem;
  width: fit-content;
  font-weight: 900;
  font-size: 1.05rem;
}

.brand-mark {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid rgba(47, 255, 151, 0.5);
  border-radius: 8px;
  color: var(--green);
  background: #030507;
  box-shadow: 0 0 28px rgba(47, 255, 151, 0.18);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.14);
}

.main-nav {
  gap: clamp(0.8rem, 3vw, 2.2rem);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav a:hover {
  color: var(--green);
}

.cart-button {
  justify-self: end;
  gap: 0.6rem;
  min-height: 2.5rem;
  border: 1px solid rgba(47, 255, 151, 0.2);
  border-radius: 8px;
  padding: 0 0.9rem;
  color: var(--text);
  background: rgba(10, 16, 20, 0.95);
  cursor: pointer;
  font-weight: 800;
}

.cart-button strong {
  display: grid;
  min-width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  border-radius: 999px;
  color: #001008;
  background: var(--green);
  font-size: 0.78rem;
}

.hero {
  display: grid;
  min-height: calc(100vh - 4.5rem);
  grid-template-columns: minmax(0, 0.82fr) minmax(28rem, 1.18fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 4vw, 4rem) 2rem;
}

.hero-copy {
  max-width: 58rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 11ch;
  margin-bottom: 1.2rem;
  font-size: clamp(3.3rem, 7vw, 5.8rem);
  line-height: 0.93;
  letter-spacing: 0;
  text-shadow: 0 0 42px rgba(47, 255, 151, 0.14);
}

h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(2.1rem, 4.8vw, 4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.03rem;
}

p {
  color: var(--muted);
  line-height: 1.68;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 40rem;
  font-size: 1.06rem;
}

.hero-actions,
.filters {
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-actions {
  margin-top: 2rem;
}

.mascot-card {
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  max-width: 31rem;
  margin-top: 1.2rem;
  border: 1px solid rgba(47, 255, 151, 0.2);
  border-radius: 8px;
  padding: 0.7rem;
  background: rgba(3, 7, 8, 0.78);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.mascot-card img {
  width: 4.6rem;
  height: 4.6rem;
  border: 1px solid rgba(47, 255, 151, 0.24);
  border-radius: 8px;
  object-fit: cover;
  object-position: center 42%;
}

.mascot-card strong,
.mascot-card span {
  display: block;
}

.mascot-card strong {
  color: var(--green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.95rem;
}

.mascot-card span {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.primary-action,
.secondary-action,
.filters button,
.product-meta button,
.bundle-card button,
.checkout {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 900;
}

.primary-action,
.secondary-action {
  padding: 0 1.15rem;
}

.primary-action {
  color: #001008;
  background: var(--green);
  box-shadow: 0 0 32px rgba(47, 255, 151, 0.22);
}

.secondary-action,
.filters button {
  border: 1px solid rgba(47, 255, 151, 0.22);
  color: var(--text);
  background: rgba(8, 14, 18, 0.86);
}

.filters {
  margin-bottom: 1.2rem;
}

.filters button {
  min-height: 2.4rem;
  padding: 0 0.95rem;
  color: var(--muted);
}

.filters button.is-active {
  color: #001008;
  background: var(--green);
}

.hero-visual {
  position: relative;
  min-height: min(39rem, 64vh);
  overflow: hidden;
  border: 1px solid rgba(47, 255, 151, 0.2);
  border-radius: 8px;
  background: #030607;
  box-shadow: var(--shadow), 0 0 90px rgba(47, 255, 151, 0.12);
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.hero-visual::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2, 3, 4, 0.72), rgba(2, 3, 4, 0.08) 46%, rgba(2, 3, 4, 0.35)),
    linear-gradient(0deg, rgba(2, 3, 4, 0.72), transparent 35%);
}

.hero-visual::after {
  z-index: 2;
  border: 1px solid rgba(47, 255, 151, 0.16);
  box-shadow: inset 0 0 80px rgba(47, 255, 151, 0.08);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  filter: saturate(1.08) contrast(1.06);
}

.ops-panel {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  width: min(30rem, calc(100% - 2rem));
  overflow: hidden;
  border: 1px solid rgba(47, 255, 151, 0.24);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(10, 15, 18, 0.88), rgba(3, 7, 8, 0.9));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48), 0 0 80px rgba(47, 255, 151, 0.08);
  backdrop-filter: blur(14px);
}

.panel-top {
  display: flex;
  gap: 0.45rem;
  padding: 0.9rem;
  border-bottom: 1px solid rgba(47, 255, 151, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.panel-top span {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--red);
}

.panel-top span:nth-child(2) {
  background: var(--amber);
}

.panel-top span:nth-child(3) {
  background: var(--green);
}

.ops-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(47, 255, 151, 0.14);
}

.ops-grid div {
  padding: 1rem;
  background: rgba(4, 8, 10, 0.95);
}

.ops-grid span,
.bundle-card span,
.bundle-card small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.ops-grid strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.3rem;
}

pre {
  min-height: 9rem;
  margin: 0;
  padding: 1.2rem;
  color: var(--green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.98rem;
  line-height: 1.8;
  white-space: pre-wrap;
}

.ticker-band {
  overflow: hidden;
  border-block: 1px solid rgba(47, 255, 151, 0.18);
  background: rgba(47, 255, 151, 0.07);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 2rem;
  padding: 0.9rem 1rem;
  animation: ticker 28s linear infinite;
  color: var(--green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

.ticker-track span::before {
  color: var(--red);
  content: "[live] ";
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.stats,
.showcase,
.section,
.bundle-section,
.rules-section {
  padding: clamp(2.8rem, 6vw, 5.5rem) clamp(1rem, 4vw, 4rem);
}

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

.stats article,
.product-card,
.rules-grid article,
.bundle-card,
.automation-grid article {
  border: 1px solid rgba(47, 255, 151, 0.16);
  border-radius: 8px;
  background: var(--panel);
}

.stats article {
  position: relative;
  min-height: 17rem;
  overflow: hidden;
  padding: 1.25rem;
}

.visual-card::before,
.visual-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.visual-card::before {
  background:
    linear-gradient(180deg, rgba(2, 3, 4, 0.18), rgba(2, 3, 4, 0.82)),
    url("assets/darkhash-hero.png");
  background-size: cover;
  opacity: 0.62;
}

.visual-vps::before {
  background-position: 72% 45%;
}

.visual-domains::before {
  background-position: 88% 44%;
}

.visual-hosting::before {
  background-position: 60% 50%;
}

.visual-card::after {
  background: radial-gradient(circle at 20% 12%, rgba(47, 255, 151, 0.24), transparent 10rem);
}

.visual-card > * {
  position: relative;
  z-index: 1;
}

.stats span {
  color: var(--red);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
}

.stats strong {
  display: block;
  margin: 0.55rem 0 0.4rem;
  font-size: 1.18rem;
}

.stats p,
.rules-grid p,
.product-body p {
  margin-bottom: 0;
  font-size: 0.93rem;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  background: rgba(255, 255, 255, 0.015);
}

.automation-section {
  padding: clamp(2.8rem, 6vw, 5.5rem) clamp(1rem, 4vw, 4rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(47, 255, 151, 0.025)),
    rgba(2, 3, 4, 0.36);
}

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

.automation-grid article {
  min-height: 15rem;
  padding: 1.2rem;
  background:
    linear-gradient(145deg, rgba(47, 255, 151, 0.06), rgba(40, 217, 255, 0.025)),
    rgba(8, 12, 15, 0.94);
}

.automation-grid span {
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
}

.automation-grid h3 {
  margin-top: 1.7rem;
  font-size: 1.35rem;
}

.showcase-copy {
  max-width: 34rem;
}

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

.showcase-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(47, 255, 151, 0.18);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

.section-heading {
  max-width: 55rem;
  margin-bottom: 1.6rem;
}

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

.product-card {
  position: relative;
  display: flex;
  min-height: 26.5rem;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.28);
}

.product-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(47, 255, 151, 0.13), transparent 40%, rgba(255, 49, 88, 0.08));
  content: "";
  opacity: 0;
  transition: opacity 180ms ease;
}

.product-card:hover::before {
  opacity: 1;
}

.product-card:hover {
  border-color: rgba(47, 255, 151, 0.32);
  transform: translateY(-2px);
  transition: transform 180ms ease, border-color 180ms ease;
}

.product-art {
  display: grid;
  min-height: 12.4rem;
  place-items: center;
  border-bottom: 1px solid rgba(47, 255, 151, 0.14);
  background:
    linear-gradient(180deg, rgba(2, 3, 4, 0.12), rgba(2, 3, 4, 0.88)),
    url("assets/darkhash-hero.png");
  background-size: cover;
  background-position: center;
  color: var(--green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.55rem;
  font-weight: 700;
}

.product-art span {
  display: grid;
  min-width: 4.8rem;
  min-height: 4.8rem;
  place-items: center;
  border: 1px solid rgba(47, 255, 151, 0.42);
  border-radius: 8px;
  padding: 0.55rem;
  background: rgba(2, 3, 4, 0.62);
  box-shadow: 0 0 38px rgba(47, 255, 151, 0.16);
  backdrop-filter: blur(8px);
}

.category-compute .product-art {
  background-position: 88% 42%;
}

.category-web .product-art {
  background-position: 60% 46%;
}

.category-domains .product-art {
  background-position: 78% 58%;
}

.category-email .product-art {
  background-position: 95% 62%;
}

.category-ssl .product-art {
  background-position: 72% 38%;
}

.product-body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.05rem;
}

.product-tag {
  width: fit-content;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(40, 217, 255, 0.25);
  border-radius: 6px;
  padding: 0.25rem 0.55rem;
  color: var(--cyan);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
}

.product-source {
  display: grid;
  gap: 0.3rem;
  margin-top: 1rem;
  border-left: 2px solid rgba(47, 255, 151, 0.35);
  padding-left: 0.65rem;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
}

.product-source strong {
  color: var(--green);
  font-size: 0.72rem;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.1rem;
}

.product-meta strong {
  color: var(--green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.28rem;
}

.product-meta button,
.bundle-card button {
  min-height: 2.45rem;
  padding: 0 0.9rem;
  color: #001008;
  background: var(--green);
}

.bundle-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.35fr);
  gap: 1.2rem;
  align-items: stretch;
  background:
    linear-gradient(120deg, rgba(47, 255, 151, 0.045), rgba(255, 49, 88, 0.03)),
    rgba(3, 5, 7, 0.9);
}

.bundle-section > div:first-child {
  max-width: 46rem;
}

.bundle-card {
  display: grid;
  align-content: center;
  gap: 0.65rem;
  padding: 1.3rem;
}

.bundle-card strong {
  color: var(--green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 3.5rem;
  line-height: 1;
}

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

.rules-grid article {
  padding: 1.15rem;
}

.cart-panel {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: none;
  width: min(27rem, calc(100vw - 2rem));
  border: 1px solid rgba(47, 255, 151, 0.24);
  border-radius: 8px;
  padding: 1rem;
  background: rgba(4, 8, 10, 0.98);
  box-shadow: var(--shadow);
}

.cart-panel.is-open {
  display: block;
}

.cart-head,
.cart-total,
.cart-panel li {
  justify-content: space-between;
  gap: 1rem;
}

.cart-panel h2 {
  margin: 0;
  font-size: 1.25rem;
}

.close-cart {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

#cartItems {
  display: grid;
  gap: 0.65rem;
  min-height: 3rem;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}

.cart-panel li {
  display: flex;
  border-bottom: 1px solid rgba(47, 255, 151, 0.12);
  padding-bottom: 0.65rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.cart-panel li strong,
.cart-total strong {
  color: var(--green);
  font-family: "IBM Plex Mono", monospace;
}

.cart-total {
  margin: 1rem 0;
  font-size: 1.1rem;
}

.agreement {
  display: flex;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.agreement input {
  margin-top: 0.2rem;
  accent-color: var(--green);
}

.checkout {
  width: 100%;
  margin-top: 1rem;
  color: #001008;
  background: var(--green);
}

.checkout:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 4vw, 4rem);
  border-top: 1px solid rgba(47, 255, 151, 0.16);
  color: var(--muted);
}

@media (max-width: 1080px) {
  .hero,
  .bundle-section {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .brand,
  .cart-button {
    justify-self: stretch;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.35rem;
    text-align: center;
  }

  .main-nav a {
    border: 1px solid rgba(47, 255, 151, 0.12);
    border-radius: 8px;
    padding: 0.55rem 0.4rem;
  }

  .cart-button {
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding-top: 2.2rem;
  }

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

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

  .hero-visual {
    min-height: 34rem;
  }

  .ops-panel {
    right: 0.75rem;
    bottom: 0.75rem;
    width: calc(100% - 1.5rem);
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.8rem, 12vw, 4rem);
    line-height: 1;
  }

  .ops-grid,
  .stats,
  .automation-grid,
  .product-grid,
  .rules-grid {
    grid-template-columns: 1fr;
  }

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