:root {
  --bg: #0d1117;
  --ink: #111827;
  --muted: #667085;
  --paper: #ffffff;
  --soft: #f5f7fa;
  --line: #e5e7eb;
  --steel: #29313d;
  --accent: #f97316;
  --accent-dark: #c2410c;
  --green: #0f766e;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(17, 24, 39, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.section-pad { padding: 82px 0; }
.soft-section { background: var(--soft); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229,231,235,.85);
}
.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.logo-wrap { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .02em; }
.logo-wrap img { width: 122px; height: auto; }
.nav-links { display: flex; gap: 24px; align-items: center; color: #374151; font-weight: 700; font-size: 14px; }
.nav-links a:hover { color: var(--accent-dark); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 25px rgba(249, 115, 22, .25); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: #cbd5e1; box-shadow: 0 8px 22px rgba(17, 24, 39, .08); }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  background:
    radial-gradient(circle at 80% 15%, rgba(249,115,22,.22), transparent 32%),
    linear-gradient(135deg, #0d1117 0%, #1f2937 52%, #0f172a 100%);
  color: #fff;
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto -6% -18% auto;
  width: 620px;
  height: 620px;
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,0));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
}
.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 54px;
  align-items: center;
  padding: 72px 0 88px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
}
.hero h1, .page-hero h1, .detail-copy h1 {
  margin: 16px 0 18px;
  line-height: .96;
  font-size: clamp(44px, 7vw, 86px);
  letter-spacing: -.06em;
}
.hero p, .page-hero p, .detail-copy p {
  font-size: 18px;
  color: rgba(255,255,255,.77);
  max-width: 620px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-card {
  position: relative;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.07);
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
  border-radius: 34px;
  padding: 28px;
  backdrop-filter: blur(18px);
}
.hero-product {
  border-radius: 26px;
  background: #fff;
  min-height: 350px;
  display: grid;
  place-items: center;
  padding: 28px;
}
.hero-product img { max-height: 320px; object-fit: contain; }
.hero-badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: #fff;
  color: var(--ink);
  border-radius: 24px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.hero-badge strong { display: block; font-size: 28px; }
.hero-badge span { color: var(--muted); font-size: 13px; font-weight: 700; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  transform: translateY(-44px);
  margin-bottom: -44px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.stat-card strong { display: block; font-size: 30px; letter-spacing: -.03em; }
.stat-card span { color: var(--muted); font-weight: 700; font-size: 13px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}
.section-head h2 { margin: 8px 0 0; font-size: clamp(32px, 5vw, 54px); line-height: 1; letter-spacing: -.05em; }
.section-head p { max-width: 560px; color: var(--muted); margin: 0; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 46px rgba(17,24,39,.08);
  transition: transform .18s ease, box-shadow .18s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-image {
  position: relative;
  min-height: 245px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 20%, #fff 0, #fff 24%, #eef2f7 78%);
  padding: 24px;
}
.product-image img { max-height: 215px; object-fit: contain; }
.product-image span {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(17,24,39,.9);
  color: #fff;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 900;
}
.product-body { padding: 22px; }
.product-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.product-meta strong { color: var(--green); }
.product-card h3 { margin: 12px 0 8px; font-size: 23px; line-height: 1.12; letter-spacing: -.03em; }
.product-card h3 a:hover { color: var(--accent-dark); }
.product-card p { margin: 0 0 16px; color: var(--muted); min-height: 76px; }
.spec-row { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding: 10px 0; font-size: 14px; }
.spec-row span { color: var(--muted); }
.card-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.category-band {
  background: var(--ink);
  color: #fff;
  border-radius: 34px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}
.category-band p { color: rgba(255,255,255,.76); }
.category-list { display: grid; gap: 14px; }
.category-item {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.category-item strong { font-size: 20px; }
.category-item span { color: rgba(255,255,255,.65); }

.page-hero {
  background: linear-gradient(135deg, #111827 0%, #29313d 100%);
  color: #fff;
  padding: 86px 0;
}
.page-hero h1 { font-size: clamp(42px, 6vw, 72px); }
.page-hero p { margin: 0; }

.filters {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.filter-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-buttons button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 11px 15px;
  font-weight: 800;
  cursor: pointer;
}
.filter-buttons button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.search-input {
  min-width: 260px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 13px 16px;
  font: inherit;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 18px 52px rgba(17,24,39,.08);
}
.detail-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 42px; align-items: center; }
.detail-image { padding: 36px; min-height: 430px; display: grid; place-items: center; background: linear-gradient(145deg, #fff, #eef2f7); }
.detail-image img { max-height: 370px; object-fit: contain; }
.detail-copy h1 { color: var(--ink); }
.detail-copy p { color: var(--muted); }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.micro-note { font-size: 13px !important; margin-top: 14px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.content-panel { padding: 30px; }
.content-panel h2 { margin: 0 0 18px; font-size: 28px; letter-spacing: -.03em; }
.feature-list { margin: 0; padding-left: 20px; color: #374151; }
.feature-list li { margin: 10px 0; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; border-top: 1px solid var(--line); padding: 13px 0; }
.spec-table th { color: var(--muted); width: 45%; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; }
.about-card { padding: 26px; }
.about-card h3 { margin: 0 0 10px; font-size: 24px; }
.about-card p { color: var(--muted); margin: 0; }
.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.contact-box .panel { padding: 30px; }
.notice {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  padding: 16px 18px;
  border-radius: 18px;
  font-weight: 700;
}

.site-footer {
  background: #0d1117;
  color: #fff;
  padding: 54px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 24px; }
.footer-grid p, .footer-grid a { color: rgba(255,255,255,.68); }
.footer-grid h4 { margin: 0 0 12px; }
.footer-links { display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 20px; color: rgba(255,255,255,.52); font-size: 13px; }

@media (max-width: 920px) {
  .nav { height: auto; padding: 14px 0; flex-wrap: wrap; }
  .nav-links { order: 3; width: 100%; overflow-x: auto; padding-bottom: 8px; }
  .hero-layout, .detail-layout, .category-band, .two-col, .contact-box, .footer-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1180px); }
  .section-pad { padding: 56px 0; }
  .hero-layout { padding: 46px 0 70px; }
  .hero h1 { font-size: 48px; }
  .product-grid, .stats, .about-grid { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .nav-cta { width: 100%; justify-content: space-between; }
  .btn { width: auto; }
  .search-input { width: 100%; min-width: 0; }
}
.nav-links a.is-active { color: var(--accent-dark); }
