:root {
  --blue:#175cd3;
  --dark:#102447;
  --muted:#64748b;
  --border:#e5eaf2;
  --bg:#f7faff;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  margin:0;
  font-family:"Segoe UI","Microsoft YaHei",Arial,sans-serif;
  color:var(--dark);
  background:white;
}
button,a { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; font:inherit; }
a { text-decoration:none; color:inherit; }
.container { width:min(1160px,calc(100% - 40px)); margin:auto; }
.header {
  background:#fff;
  border-bottom:1px solid var(--border);
  position:sticky;
  top:0;
  z-index:10;
}
.nav {
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.brand { display:flex; align-items:center; gap:12px; font-size:23px; font-weight:750; }
.brand small { font-size:13px; font-weight:500; color:var(--muted); }
.logo {
  background:var(--blue);
  color:white;
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:12px;
  font-size:26px;
}
.nav-actions { display:flex; align-items:center; gap:12px; }
.outline {
  border:1px solid #cbd8ec;
  background:white;
  color:var(--blue);
  border-radius:10px;
  padding:11px 18px;
  display:inline-block;
}
.contact-link { color:var(--blue); font-weight:600; }
.hero {
  background:linear-gradient(125deg,#eaf3ff 0%,#f8fbff 65%,#dceaff 100%);
  padding:100px 0;
}
.hero-content { max-width:1160px; }
.eyebrow {
  color:var(--blue);
  font-size:12px;
  font-weight:750;
  letter-spacing:2px;
}
h1 { font-size:clamp(36px,5vw,60px); margin:18px 0; }
.hero p { color:var(--muted); font-size:18px; margin-bottom:30px; }
.primary-btn {
  display:inline-block;
  background:var(--blue);
  color:white;
  border:0;
  padding:13px 24px;
  border-radius:10px;
  font-weight:650;
}
.primary-btn:hover { background:#1049af; }
.products { padding-top:75px; padding-bottom:90px; }
.section-head {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:20px;
  margin-bottom:30px;
}
.section-head h2 { font-size:32px; margin:10px 0 0; }
.section-head p { color:var(--muted); }
.filters { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:30px; }
.filter {
  background:white;
  color:#475569;
  border:1px solid var(--border);
  border-radius:30px;
  padding:10px 20px;
}
.filter.active { background:var(--blue); color:white; border-color:var(--blue); }
.product-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}
.product-card {
  background:white;
  border:1px solid var(--border);
  border-radius:16px;
  overflow:hidden;
  transition:transform .2s,box-shadow .2s;
}
.product-card:hover { transform:translateY(-3px); box-shadow:0 12px 35px #12345a12; }
.product-image {
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  background:#edf3fc;
  display:block;
}
.product-info { padding:22px; }
.product-category { font-size:12px; color:var(--blue); font-weight:700; }
.product-name { font-size:19px; margin:10px 0; }
.product-price { font-size:22px; font-weight:750; color:var(--blue); }
.details-btn {
  width:100%;
  margin-top:18px;
  background:#f0f6ff;
  color:var(--blue);
  border:0;
  border-radius:9px;
  padding:12px;
  font-weight:650;
}
.empty { color:var(--muted); padding:30px 0; }
.contact-section { background:var(--bg); padding:60px 0; }
.contact-inner { display:flex; justify-content:space-between; align-items:center; gap:25px; }
.contact-inner h2 { margin:0 0 12px; font-size:29px; }
.contact-inner p { color:var(--muted); margin:0; }
.contact-actions { display:flex; flex-wrap:wrap; gap:10px; }
.footer { padding:28px 0; border-top:1px solid var(--border); }
.footer-inner { display:flex; justify-content:space-between; color:var(--muted); font-size:13px; }
.product-dialog {
  border:0;
  border-radius:18px;
  padding:30px;
  width:min(550px,calc(100% - 24px));
  box-shadow:0 20px 80px #10244755;
}
.product-dialog::backdrop { background:#0c1e3c99; }
.close-dialog { float:right; background:none; border:0; font-size:30px; }
.dialog-image { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:12px; }
.dialog-description { color:var(--muted); line-height:1.7; }
@media(max-width:800px) {
  .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .contact-inner { flex-direction:column; align-items:flex-start; }
}
@media(max-width:520px) {
  .container { width:calc(100% - 28px); }
  .hero { padding:65px 0; }
  .nav { min-height:68px; }
  .brand { font-size:19px; }
  .brand small { display:none; }
  .product-grid { grid-template-columns:1fr; }
  .section-head { display:block; }
  .section-head h2 { font-size:27px; }
  .nav-actions { gap:8px; }
  .outline { padding:9px 12px; }
}

[hidden] { display: none !important; }
