@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg: #070a10;
  --panel: #0c111a;
  --line: rgba(255,255,255,.10);
  --text: #f2f5f8;
  --muted: #8993a3;
  --accent: #55f5c4;
  --accent2: #6c7cff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

.grid-bg {
  position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background:
    linear-gradient(rgba(85,245,196,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85,245,196,.025) 1px, transparent 1px);
  background-size: 45px 45px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.header {
  height: 76px; padding: 0 6vw; display: flex; align-items: center;
  justify-content: space-between; border-bottom: 1px solid var(--line);
  background: rgba(7,10,16,.72); backdrop-filter: blur(14px);
  position: sticky; top: 0; z-index: 20;
}
.logo { font-family: Orbitron, sans-serif; letter-spacing: 2px; font-size: 19px; }
.logo span { color: var(--accent); }
.logo b { font-weight: 600; font-size: 11px; margin-left: 6px; color: #8b95a5; }
nav { display: flex; gap: 32px; color: #aeb7c5; font-size: 13px; }
nav a:hover { color: var(--accent); }
.cart-btn {
  position: relative; border: 1px solid var(--line); background: #0b1018;
  color: white; width: 42px; height: 42px; border-radius: 12px; cursor: pointer;
}
.cart-btn i {
  position: absolute; right: -7px; top: -7px; min-width: 19px; height: 19px;
  padding: 2px 5px; border-radius: 20px; background: var(--accent);
  color: #06110e; font: 700 11px 'Space Grotesk';
}

.hero {
  min-height: 600px; padding: 75px 8vw 80px; display: flex; align-items: center;
  justify-content: space-between; gap: 50px; position: relative;
}
.hero-copy { max-width: 610px; }
.eyebrow {
  color: var(--accent); font: 600 10px Orbitron, sans-serif;
  letter-spacing: 3px; margin-bottom: 18px;
}
h1 {
  font: 800 clamp(58px, 9vw, 125px)/.9 Orbitron, sans-serif;
  letter-spacing: -6px; margin-bottom: 28px;
}
h1 span { color: transparent; -webkit-text-stroke: 1px #788394; }
.hero-text { color: var(--muted); max-width: 430px; line-height: 1.7; margin-bottom: 32px; }
.primary-btn, .checkout {
  display: inline-flex; align-items: center; gap: 28px; border: 0;
  background: var(--accent); color: #06110e; padding: 15px 20px;
  font: 800 11px Orbitron; letter-spacing: 1px; cursor: pointer;
  transition: .25s; border-radius: 4px;
}
.primary-btn:hover, .checkout:hover { transform: translateY(-3px); box-shadow: 0 10px 35px rgba(85,245,196,.18); }

.hero-orb { width: 330px; height: 330px; position: relative; display: grid; place-items: center; }
.orb-ring {
  position: absolute; border: 1px solid rgba(85,245,196,.22); border-radius: 50%;
  animation: spin 14s linear infinite;
}
.ring1 { width: 300px; height: 300px; border-top-color: var(--accent); transform: rotate(25deg); }
.ring2 { width: 220px; height: 220px; border-right-color: #6c7cff; animation-duration: 9s; animation-direction: reverse; }
.orb-core {
  width: 125px; height: 125px; border-radius: 50%; display: grid; place-items: center;
  font: 800 25px Orbitron; color: var(--accent);
  background: radial-gradient(circle, #14271f, #09100e 65%, transparent);
  box-shadow: 0 0 60px rgba(85,245,196,.15);
}
@keyframes spin { to { transform: rotate(385deg); } }

.products-section { padding: 65px 8vw 100px; border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 35px; }
h2 { font: 700 32px Orbitron; letter-spacing: -1px; }
.product-count { color: #657081; font: 11px Orbitron; }
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: linear-gradient(145deg, #0d131d, #090d14);
  border: 1px solid var(--line); padding: 12px; transition: .3s;
  position: relative; overflow: hidden;
}
.card:hover { border-color: rgba(85,245,196,.38); transform: translateY(-5px); }
.product-image {
  height: 240px; display: grid; place-items: center; background: #080c13;
  margin-bottom: 18px; overflow: hidden; position: relative;
}
.product-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,.05), transparent 65%);
  transform: translateX(-100%); transition: .7s;
}
.card:hover .product-image::after { transform: translateX(100%); }
.product-art {
  font: 700 48px Orbitron; color: var(--accent); opacity: .8;
  text-shadow: 0 0 35px rgba(85,245,196,.25);
}
.product-info { padding: 0 7px 7px; }
.product-info small { color: #667285; font-size: 10px; text-transform: uppercase; letter-spacing: 2px; }
.product-info h3 { font-size: 16px; margin: 7px 0 14px; }
.product-row { display: flex; justify-content: space-between; align-items: center; }
.price { font-weight: 700; }
.add {
  width: 34px; height: 34px; border: 1px solid var(--line); background: #111824;
  color: var(--accent); cursor: pointer; font-size: 20px; border-radius: 7px;
}
.add:hover { background: var(--accent); color: #06110e; }

.about {
  margin: 0 8vw 80px; padding: 70px 8%; border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(85,245,196,.06), transparent);
}
.about h2 { margin-bottom: 15px; }
.about h2 span { color: var(--accent); }
.about p:last-child { color: var(--muted); }

footer {
  border-top: 1px solid var(--line); padding: 25px 8vw; display: flex;
  justify-content: space-between; color: #586274; font: 9px Orbitron; letter-spacing: 1px;
}

.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.65); z-index: 30;
  opacity: 0; pointer-events: none; transition: .3s;
}
.overlay.show { opacity: 1; pointer-events: auto; }
.cart-panel {
  position: fixed; z-index: 40; right: 0; top: 0; width: min(430px, 92vw); height: 100vh;
  background: #090e16; border-left: 1px solid var(--line); transform: translateX(100%);
  transition: .35s; display: flex; flex-direction: column; padding: 25px;
}
.cart-panel.open { transform: translateX(0); }
.cart-head { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.cart-head h2 { font-size: 20px; }
.cart-head button { background: none; border: 0; color: white; font-size: 28px; cursor: pointer; }
.cart-items { flex: 1; overflow: auto; padding: 20px 0; }
.empty { color: var(--muted); text-align: center; padding-top: 50px; }
.cart-item { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.cart-item h4 { font-size: 13px; }
.cart-item p { color: var(--accent); font-size: 12px; margin-top: 4px; }
.remove { background: none; border: 0; color: #697385; cursor: pointer; }
.cart-bottom { border-top: 1px solid var(--line); padding-top: 20px; }
.cart-bottom > div { display: flex; justify-content: space-between; margin-bottom: 18px; }
.cart-bottom strong { color: var(--accent); }
.checkout { width: 100%; justify-content: center; }

@media (max-width: 850px) {
  nav { display: none; }
  .hero { min-height: auto; padding-top: 65px; flex-direction: column; align-items: flex-start; }
  .hero-orb { align-self: center; transform: scale(.78); margin-top: -15px; }
  .products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .header { padding: 0 20px; }
  .hero, .products-section { padding-left: 20px; padding-right: 20px; }
  h1 { font-size: 58px; letter-spacing: -4px; }
  .hero-orb { transform: scale(.65); margin: -30px auto -20px; }
  .products { gap: 10px; }
  .product-image { height: 180px; }
  .product-art { font-size: 34px; }
  .about { margin-left: 20px; margin-right: 20px; padding: 45px 25px; }
  footer { padding: 20px; gap: 20px; flex-direction: column; }
}

.product-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .45s ease}.card:hover .product-image img{transform:scale(1.04)}
