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

:root {
  --bg: #0d0d0f;
  --surface: #16161a;
  --surface-2: #1e1e24;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --accent: #e63946;
  --border: #2a2a31;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: .3px;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: #c92f3b; transform: translateY(-2px); }
.btn-small { padding: 9px 18px; font-size: .85rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13,13,15,.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo img { height: 46px; display: block; }
.nav a {
  margin-left: 28px;
  color: var(--muted);
  font-weight: 600;
  font-size: .95rem;
  transition: color .15s ease;
}
.nav a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  padding: 110px 0 90px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(230,57,70,.18), transparent 55%),
    var(--bg);
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.05;
}
.hero h1 span { color: var(--accent); }
.hero-sub {
  max-width: 620px;
  margin: 22px auto 34px;
  color: var(--muted);
  font-size: 1.1rem;
}

/* ---------- Section headings ---------- */
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  text-align: center;
  letter-spacing: -.5px;
}
.section-lead {
  text-align: center;
  color: var(--muted);
  margin-top: 10px;
  margin-bottom: 50px;
}

/* ---------- Products ---------- */
.products { padding: 90px 0; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
  margin: 0 auto;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--accent); }
.card-media {
  background: linear-gradient(160deg, #25252c, #16161a);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.card-media img { max-width: 100%; max-height: 180px; object-fit: contain; }
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.badge {
  align-self: flex-start;
  background: var(--surface-2);
  color: var(--accent);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.card-body h3 { font-size: 1.4rem; font-weight: 800; }
.card-desc { color: var(--muted); margin: 10px 0 16px; font-size: .95rem; }
.specs { list-style: none; margin-bottom: 22px; }
.specs li {
  color: var(--text);
  font-size: .88rem;
  padding: 6px 0 6px 20px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.specs li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price { font-size: 1.5rem; font-weight: 800; }

/* ---------- Product detail page ---------- */
.detail { padding: 70px 0; }
.breadcrumb { color: var(--muted); font-size: .9rem; margin-bottom: 30px; }
.breadcrumb a { color: var(--accent); }
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.detail-media {
  background: linear-gradient(160deg, #25252c, #16161a);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}
.detail-media img { max-width: 100%; max-height: 320px; object-fit: contain; }
.detail-info .badge { margin-bottom: 16px; }
.detail-info h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
}
.detail-info .lead { color: var(--muted); margin: 16px 0 24px; font-size: 1.05rem; }
.detail-price { font-size: 2.2rem; font-weight: 800; margin-bottom: 24px; }
.detail-actions { display: flex; gap: 14px; margin-bottom: 12px; flex-wrap: wrap; }

.spec-table { width: 100%; border-collapse: collapse; margin-top: 50px; }
.spec-table caption {
  text-align: left;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 18px;
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.spec-table th {
  width: 40%;
  color: var(--muted);
  font-weight: 600;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.spec-table td { color: var(--text); }
.spec-table tr:nth-child(even) { background: var(--surface); }

.feature-list { list-style: none; margin-top: 16px; }
.feature-list li {
  position: relative;
  padding: 8px 0 8px 24px;
  color: var(--text);
  font-size: .95rem;
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--accent); }

@media (max-width: 800px) {
  .detail-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- About ---------- */
.about { padding: 80px 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.about p { color: var(--muted); margin-top: 18px; font-size: 1.05rem; }

/* ---------- Footer ---------- */
.site-footer { padding: 60px 0; text-align: center; }
.footer-logo { height: 42px; margin-bottom: 18px; }
.footer-inner a { color: var(--accent); }
.copyright { color: var(--muted); font-size: .85rem; margin-top: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .product-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .nav { display: none; }
  .hero { padding: 70px 0 60px; }
}
