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

:root {
  --bg: #0A0808;
  --bg-elevated: #140D0D;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --primary: #7F1D1D;
  --primary-hover: #991B1B;
  --accent: #EF4444;
  --accent-hover: #F87171;
  --accent-glow: rgba(239, 68, 68, 0.28);
  --primary-glow: rgba(127, 29, 29, 0.35);

  --text: #F1F0F5;
  --text-muted: #9A9AB0;
  --text-dim: #6B6B85;

  --success: #22C55E;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 800px 500px at 15% -10%, var(--primary-glow), transparent 60%),
    radial-gradient(ellipse 700px 500px at 90% 10%, var(--accent-glow), transparent 60%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--primary-hover);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.75; flex-shrink: 0; }

/* ---------- Announcement bar ---------- */
.announce-bar {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  text-align: center;
  font-size: 0.85rem;
  padding: 0.6rem 1rem;
}
.announce-bar a { color: var(--accent); font-weight: 600; }
.announce-bar a:hover { color: var(--accent-hover); }

/* ---------- Nav ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 3rem;
  background: rgba(11, 11, 20, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.logo-img {
  height: 56px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.18s var(--ease);
  cursor: pointer;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 0.6rem; }
.icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.18s var(--ease);
}
.icon-btn:hover { background: var(--surface-hover); color: var(--text); border-color: var(--border-strong); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .navbar { padding: 1rem 1.25rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s var(--ease), background 0.18s var(--ease), box-shadow 0.18s var(--ease);
  min-height: 44px;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 8px 24px -8px var(--primary-glow);
}
.btn-primary:hover:not(:disabled) { box-shadow: 0 8px 28px -6px var(--accent-glow); }

.btn-secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}
.btn-secondary:hover { background: var(--surface-hover); border-color: var(--border-strong); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: 6rem 2rem 3rem;
  max-width: 900px;
  margin: 0 auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.75rem;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); }

.hero-title {
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}
.hero-title .grad {
  background: linear-gradient(120deg, var(--primary) 10%, var(--accent) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 560px;
  margin: 1.25rem auto 2.25rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

@media (max-width: 700px) {
  .hero { padding: 3.5rem 1.25rem 2rem; }
}

/* ---------- Trust bar ---------- */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto 5rem;
  padding: 0 2rem;
}
.trust-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.trust-card:hover { border-color: var(--border-strong); background: var(--surface-hover); }
.trust-card .icon { margin: 0 auto 0.6rem; color: var(--accent); width: 24px; height: 24px; }
.trust-value { font-size: 1.5rem; font-weight: 700; }
.trust-label { color: var(--text-muted); font-size: 0.82rem; margin-top: 0.2rem; }

@media (max-width: 700px) {
  .trust-bar { grid-template-columns: repeat(2, 1fr); padding: 0 1.25rem; }
}

/* ---------- Section heading ---------- */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
}
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-title { font-size: 1.9rem; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 0.6rem; }
.section-subtitle { color: var(--text-muted); font-size: 1rem; }

/* ---------- Category grid ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.category-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  cursor: pointer;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.category-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  background: var(--surface-hover);
}
.category-card .icon-wrap {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary-glow), var(--accent-glow));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent);
}
.category-name { font-weight: 600; margin: 0 0 0.3rem; }
.category-count { color: var(--text-dim); font-size: 0.85rem; }

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.25rem;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
  cursor: pointer;
}
.product-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.product-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  background: var(--bg-elevated);
}
.product-card .info { padding: 1.1rem; }
.product-name { font-weight: 600; margin: 0 0 0.4rem; font-size: 0.98rem; }
.product-price { color: var(--accent); font-weight: 700; font-size: 1.05rem; }
.product-oos { color: var(--text-dim); font-size: 0.85rem; font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 2rem;
  margin-top: 3rem;
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; max-width: 280px; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-dim); margin-bottom: 0.9rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { color: var(--text-muted); font-size: 0.92rem; transition: color 0.15s var(--ease); }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Product detail page ---------- */
.pdp {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}
.pdp img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}
.pdp-name { font-size: 2rem; font-weight: 800; margin: 0 0 0.5rem; letter-spacing: -0.01em; }
.pdp-price { color: var(--accent); font-size: 1.5rem; font-weight: 700; margin-bottom: 1.25rem; }
.pdp-desc { color: var(--text-muted); line-height: 1.7; margin-bottom: 2rem; }
