:root {
  --bg: #0d0d0d;
  --bg-card: #181818;
  --bg-card-hover: #202020;
  --fg: #f2f2f2;
  --fg-muted: #888;
  --accent: #f59e0b;
  --accent-dim: rgba(245, 158, 11, 0.12);
  --border: #2a2a2a;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAVBAR === */
.navbar {
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
  color: var(--fg);
  text-decoration: none;
}
.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.5px;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 14px;
  font-family: var(--font-display);
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }
.nav-links a.active { color: var(--accent); }

/* === HERO === */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 100px 48px 80px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}
.hero-label {
  display: inline-block;
  background: var(--accent-dim);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 3px;
  margin-bottom: 24px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--fg);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 420px;
  margin-bottom: 36px;
  line-height: 1.65;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}
.pill {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--fg-muted);
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 20px;
  font-family: var(--font-display);
  font-weight: 500;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #000;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.hero-cta:hover { opacity: 0.85; }
.hero-cta svg { width: 16px; height: 16px; }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-visual-inner {
  position: relative;
  width: 360px;
  height: 360px;
}
.hero-visual-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
}
.ring-1 { width: 360px; height: 360px; top: 0; left: 0; opacity: 0.4; animation: spin 20s linear infinite; }
.ring-2 { width: 260px; height: 260px; top: 50px; left: 50px; opacity: 0.25; animation: spin 14s linear infinite reverse; }
.ring-3 { width: 160px; height: 160px; top: 100px; left: 100px; opacity: 0.15; animation: spin 8s linear infinite; }
.ring-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  top: -4px;
  left: 50%;
}
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.hero-icon-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  z-index: 1;
}

/* === STORE SECTION === */
.store-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 48px;
}
.store-header {
  margin-bottom: 40px;
}
.store-header h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--fg);
  margin-bottom: 8px;
}
.store-header p {
  color: var(--fg-muted);
  font-size: 15px;
}
.category-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.category-pill {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--fg-muted);
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 20px;
  font-family: var(--font-display);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}
.category-pill:hover,
.category-pill.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

/* === PRODUCT GRID === */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.product-card:hover {
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateY(-2px);
}
.product-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #111;
}
.product-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1e1e1e 0%, #111 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-muted);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.product-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-category {
  font-size: 11px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.product-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
  line-height: 1.3;
}
.product-desc {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
}
.view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
}
.view-btn:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

/* === PRODUCT DETAIL === */
.product-detail {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.product-detail-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  background: #111;
}
.product-detail-info h1 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--fg);
  margin-bottom: 12px;
}
.product-detail-price {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
}
.product-detail-desc {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fg-muted);
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.2s;
}
.back-link:hover { color: var(--fg); }

/* === 404 === */
.not-found {
  max-width: 600px;
  margin: 120px auto;
  text-align: center;
  padding: 0 24px;
}
.not-found h1 {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 16px;
}
.not-found p { color: var(--fg-muted); margin-bottom: 32px; }
.not-found a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #000;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 24px 48px;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--fg-muted);
  font-size: 13px;
}
.footer a { color: var(--fg-muted); text-decoration: none; }
.footer a:hover { color: var(--fg); }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .navbar { padding: 16px 20px; }
  .nav-inner { flex-wrap: wrap; gap: 12px; }
  .nav-links { gap: 16px; }

  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 60px 20px 48px;
    text-align: center;
  }
  .hero-pills { justify-content: center; }
  .hero-cta { margin: 0 auto; }
  .hero-visual { order: -1; }
  .hero-visual-inner { width: 240px; height: 240px; }
  .ring-1 { width: 240px; height: 240px; }
  .ring-2 { width: 180px; height: 180px; top: 30px; left: 30px; }
  .ring-3 { width: 110px; height: 110px; top: 65px; left: 65px; }

  .store-section,
  .product-detail { padding: 40px 20px; }
  .product-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
  .footer { flex-direction: column; gap: 12px; text-align: center; }
}