:root {
  --bg: #FBF9F6;
  --bg-alt: #F3EFE8;
  --card: #FFFFFF;
  --ink: #1E1B18;
  --ink-soft: #5A534A;
  --ink-muted: #8A8177;
  --accent: #8C5A3C;
  --accent-dark: #6E4328;
  --accent-light: #EFE6DC;
  --sage: #2E5A44;
  --sage-bg: #E8F1EC;
  --border: #E5DEC9;
  --shadow: 0 12px 32px rgba(30, 27, 24, 0.06);
  --radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.topbar {
  background: var(--ink);
  color: #F6F2EC;
  font-size: 13px;
  padding: 8px 16px;
  text-align: center;
  letter-spacing: 0.3px;
}
.topbar span { margin: 0 10px; display: inline-block; }
.topbar a { color: #E8C7A8; text-decoration: underline; margin-left: 6px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 246, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.brand-cn { font-size: 24px; font-weight: 700; letter-spacing: 1px; color: var(--ink); }
.brand-en { font-size: 16px; font-weight: 600; letter-spacing: 2.5px; color: var(--accent); }
.brand-tag { font-size: 12px; color: var(--ink-muted); margin-left: 4px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--accent); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}
.btn-primary { background: var(--ink); color: #FFF; }
.btn-primary:hover { background: var(--accent); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: #FFF; }
.btn-sage { background: var(--sage); color: #FFF; }
.btn-sage:hover { opacity: 0.92; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Hero */
.hero {
  padding: 56px 0 64px;
  background: linear-gradient(180deg, #FBF9F6 0%, #F3EFE8 100%);
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.badge {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--accent-dark);
}
.badge-green {
  background: var(--sage-bg);
  color: var(--sage);
}
.hero h1 {
  font-size: 40px;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--ink);
}
.hero-lead {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}
.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.trust-item strong { display: block; font-size: 15px; color: var(--ink); margin-bottom: 2px; }
.trust-item span { font-size: 13px; color: var(--ink-muted); }

.hero-visual {
  position: relative;
  background: var(--card);
  padding: 18px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.hero-visual img {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.hero-caption {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--ink-soft);
}

/* Section headers */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-eyebrow { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 1.5px; margin-bottom: 8px; display: block; }
.section-head h2 { font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.section-head p { font-size: 16px; color: var(--ink-soft); }

/* Product Grid */
.view-toggle {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}
.toggle-btn {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--ink-soft);
  cursor: pointer;
}
.toggle-btn.active {
  background: var(--ink);
  color: #FFF;
  border-color: var(--ink);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.product-img-wrap {
  position: relative;
  background: #F6F4F0;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(30, 27, 24, 0.86);
  color: #FFF;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}
.product-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-cat { font-size: 12px; color: var(--accent); font-weight: 600; margin-bottom: 4px; }
.product-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.product-desc { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 14px; flex: 1; }
.product-specs {
  font-size: 12px;
  color: var(--ink-muted);
  background: var(--bg);
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 16px;
}
.product-specs div { margin-bottom: 3px; }
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.price { font-size: 22px; font-weight: 700; color: var(--ink); }
.price small { font-size: 13px; font-weight: 400; color: var(--ink-muted); }

/* Engineering / Why SIIL */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--card);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.feature-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 10px;
  border-radius: 8px;
  margin-bottom: 12px;
}
.feature-card h3 { font-size: 19px; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--ink-soft); }

/* Size table */
.size-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.size-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 14px;
}
.size-table th, .size-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.size-table th { background: var(--bg-alt); font-weight: 600; }

/* Nurse / WOCN Section */
.nurse-section {
  background: linear-gradient(135deg, #1E352B 0%, #16261F 100%);
  color: #F6F2EC;
  padding: 76px 0;
}
.nurse-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: start;
}
.nurse-info h2 { font-size: 32px; margin-bottom: 16px; color: #FFF; }
.nurse-info p { font-size: 16px; color: #D5E2DC; margin-bottom: 20px; }
.nurse-list { list-style: none; margin: 24px 0; }
.nurse-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 15px;
  color: #EAF2EE;
}
.nurse-list li strong { color: #A8E0C0; }
.nurse-form-card {
  background: #FFFFFF;
  color: var(--ink);
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(0,0,0,0.22);
}
.nurse-form-card h3 { font-size: 22px; margin-bottom: 6px; }
.nurse-form-card .sub { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 20px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--ink);
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #D5CEC0;
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--font);
  background: #FBF9F6;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--sage);
  background: #FFF;
}
.form-status {
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
  display: none;
}
.form-status.ok { display: block; background: var(--sage-bg); color: var(--sage); font-weight: 600; }
.form-status.err { display: block; background: #FCE8E6; color: #B3261E; }

/* Modal for Order / WeChat Shop */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 16, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal-box {
  background: #FFF;
  max-width: 520px;
  width: 100%;
  border-radius: 20px;
  padding: 28px;
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--ink-muted);
}

/* Footer */
.footer {
  background: var(--ink);
  color: #C7BFB5;
  padding: 56px 0 36px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 36px;
}
.footer h4 { color: #FFF; font-size: 15px; margin-bottom: 12px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a:hover { color: #FFF; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: #8E857B;
}

@media (max-width: 980px) {
  .hero-grid, .nurse-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 28px; }
  .product-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
