:root {
  --bg-main: #0b1020;
  --bg-card: #11162a;
  --text-primary: #ffffff;
  --text-secondary: #b6c2e2;
  --accent: #6fd2ff;
  --border-soft: rgba(255,255,255,0.08);
}

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

body {
  font-family: 'Inter', sans-serif;
  background: radial-gradient(ellipse at top, #12183a 0%, var(--bg-main) 60%);
  color: var(--text-primary);
}

/* ===== PAGE ===== */
.products-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px;
}

/* ===== BACK BUTTON ===== */
.back-nav {
  margin-bottom: 10px;
  padding-top: 40px;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  background: rgba(111, 210, 255, 0.1);
  border: 1px solid rgba(111, 210, 255, 0.2);
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-back:hover {
  background: var(--accent);
  color: #12183a;
  border-color: var(--accent);
  transform: translateX(-4px);
  box-shadow: 0 10px 25px rgba(95, 185, 255, 0.3);
}

/* ===== HEADER ===== */
.products-header {
  text-align: center;
  margin-bottom: 64px;
}

.products-header .badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(111,210,255,0.12);
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.products-header h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 12px;
}

.products-header p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

/* ===== CARD ===== */
.product-card {
  background: linear-gradient(180deg, #141b3d, var(--bg-card));
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

/* ===== IMAGE ===== */
.product-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

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

/* ===== CONTENT ===== */
.product-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-content h3 {
  font-size: 18px;
}

.product-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== META ===== */
.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-secondary);
}

.price {
  color: var(--accent);
  font-weight: 600;
}

/* ===== BUTTON ===== */
.btn-primary {
  margin-top: 10px;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #5fb9ff, #7ad9ff);
  color: #051124;
  font-weight: 600;
  text-decoration: none;
  transition: filter 0.2s ease;
}

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

/* FOOTER */
.footer {
  padding: 40px max(8%, calc((100% - 1400px) / 2));
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 3rem;
}

.footer p {
  margin: 0.3rem 0;
  opacity: 0.8;
}