/* ── RESET & BASE ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #050d0b;
  --surface: #0b1a14;
  --surface-2: #0f2018;
  --border: #163325;
  --accent: #10b981;
  --accent-dim: rgba(16, 185, 129, 0.12);
  --accent-glow: rgba(16, 185, 129, 0.2);
  --text: #e8f5ef;
  --muted: #6aad8a;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  padding: 0 0 80px;
}

/* ── PAGE WRAPPER ── */
.page-wrapper {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── HEADER ── */
.page-header {
  padding: 48px 0 40px;
  text-align: center;
  position: relative;
}

.back-link {
  position: absolute;
  top: 52px;
  left: 0;
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--accent);
}

.header-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.page-header h1 {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.2;
}

.header-sub {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── PRODUCT LIST ── */
#ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: product-counter;
}

#ul li {
  counter-increment: product-counter;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px 16px 64px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
  animation: slide-in 0.35s ease both;
  animation-delay: calc(var(--i, 0) * 0.04s);
}

#ul li::before {
  content: counter(product-counter, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Syne", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.7;
}

#ul li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--accent);
  border-radius: 0 2px 2px 0;
  transition: height 0.22s ease;
}

#ul li:hover {
  transform: translateX(4px);
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

#ul li:hover::after {
  height: 60%;
}

@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateX(-14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 480px) {
  .back-link {
    position: static;
    display: block;
    margin-bottom: 20px;
    text-align: left;
  }
  .page-header {
    padding-top: 28px;
  }
}
