:root {
  --bg1: #0a1016;
  --bg2: #0f1620;
  --panel: #0f1720;
  --border: #1b2836;
  --text: #eaf2ff;
  --muted: #bcd0ff;
  --cyan: #00e0ff;
  --purple: #7c4dff;
  --shadow: 0 28px 70px rgba(0, 0, 0, .6);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: linear-gradient(180deg, var(--bg1), var(--bg2));
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: var(--cyan);
}

img {
  max-width: 100%;
  border-radius: 14px;
}

/* NAV */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  background: rgba(10, 16, 22, 0.75);
  border-bottom: 1px solid #1b2836;
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--text);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--cyan), #7ff2ff);
}

.links a {
  margin-left: 18px;
  font-weight: 600;
  color: var(--muted);
  transition: .2s;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 10px;
  padding: 10px 14px;
  transition: .25s;
}

.btn-primary {
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  color: #fff;
  border: none;
}

.btn-primary:hover {
  filter: brightness(1.1);
}

.btn-ghost {
  border: 1px solid #fff;
  color: #fff;
  background: transparent;
}

.btn-ghost:hover {
  background: #fff;
  color: #0f1620;
}

/* HERO */
.section {
  padding: 60px 20px;
  text-align: center;
}

.catalog-hero .title {
  font-size: clamp(26px, 5vw, 38px);
  font-weight: 900;
  margin-bottom: 8px;
}

.catalog-hero .copy {
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1rem;
}

.crumbs {
  color: var(--muted);
  margin-bottom: 20px;
}

.crumbs span {
  margin: 0 6px;
}

/* PRODUCT GRID */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  padding: 20px clamp(10px, 5vw, 80px);
  flex: 1;
}

.product-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s;
}

.product-card:hover {
  transform: translateY(-6px);
}

.product-media {
  position: relative;
}

.product-media img {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--cyan);
  color: #000;
  font-weight: 700;
  font-size: .8rem;
  border-radius: 8px;
  padding: 4px 10px;
}

.product-body {
  padding: 18px 20px 24px;
  flex: 1;
}

.product-body h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #fff;
}

.muted {
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: 12px;
}

.features {
  text-align: left;
  color: #c8dcff;
  font-size: .9rem;
  margin: 0 0 20px 18px;
  list-style: disc;
}

.buy-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #1b2836;
  padding-top: 14px;
}

.price-main {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--cyan);
}

.price-sub {
  display: block;
  font-size: .8rem;
  color: var(--muted);
}

/* FOOTER */
.footer {
  text-align: center;
  color: #9fb2c5;
  padding: 24px 12px;
  border-top: 1px solid #0f1a24;
  font-size: .9rem;
  margin-top: auto;
  width: 100%;
  background: rgba(10, 16, 22, 0.6);
}

.footer strong {
  color: var(--cyan);
}

@media (max-width: 480px) {
  .nav {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }

  .catalog-hero {
    padding: 40px 16px;
  }

  .product-media img {
    height: 180px;
  }
}

