:root {
  color-scheme: light;
  --navy: #131c31;
  --navy-2: #1c2942;
  --red: #c0392b;
  --red-dark: #9c2d20;
  --orange: #ff7a45;
  --teal: #17b3a3;
  --bg: #f7f7f5;
  --card: #ffffff;
  --text: #1c2230;
  --muted: #5b6472;
  --border: #e3e2dd;
  --green: #1f7a4d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  font-family: "Pretendard", "Malgun Gothic", "Apple SD Gothic Neo", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
  color: var(--navy);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.15rem; text-decoration: none; color: var(--navy); white-space: nowrap; }
.brand img.logo-mark { height: 30px; width: auto; display: block; }
.brand .x { background: linear-gradient(90deg, var(--red), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; margin: 0 2px; }
.brand small { font-weight: 500; font-size: 0.72rem; color: var(--muted); }
.main-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a { color: var(--text); text-decoration: none; font-size: 0.85rem; padding: 8px 10px; border-radius: 999px; white-space: nowrap; font-weight: 600; }
.main-nav a:hover { color: var(--red); background: #fdeee9; }
.header-cta {
  background: linear-gradient(90deg, var(--red), var(--orange)); color: #fff; text-decoration: none; font-weight: 700;
  font-size: 0.85rem; padding: 10px 18px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 6px 16px -6px rgba(192,57,43,0.5);
}
.header-cta:hover { filter: brightness(1.06); }

/* pill button w/ icon bubble, yamaybio-style */
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; padding: 8px 22px 8px 8px; border-radius: 999px; font-size: 0.95rem; }
.btn .bubble { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.btn-primary { background: linear-gradient(90deg, #1c2942, #131c31); color: #fff; box-shadow: 0 10px 22px -10px rgba(0,0,0,0.5); }
.btn-primary .bubble { background: linear-gradient(135deg, var(--orange), var(--red)); }
.btn-outline { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.4); padding: 8px 22px; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.16); }
.btn-white { background: #fff; color: var(--red); }
.btn-white .bubble { background: linear-gradient(135deg, var(--orange), var(--red)); color: #fff; }

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #0f1626 0%, #1c2942 38%, #7a2a1f 78%, #c0392b 120%);
  color: #fff; padding: 64px 0 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(255,138,91,0.25), transparent 45%),
              radial-gradient(circle at 85% 0%, rgba(23,179,163,0.2), transparent 40%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 32px; align-items: center; }
.hero .eyebrow { color: #ffb199; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; }
.hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 12px 0 16px; line-height: 1.3; font-weight: 800; }
.hero h1 .grad { background: linear-gradient(90deg, #ff9d6f, #ff6a5b, #ffb199); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: #c7cee0; font-size: 1.05rem; max-width: 560px; margin: 0 0 24px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.hero-badges span { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); padding: 6px 12px; border-radius: 999px; font-size: 0.8rem; color: #dfe4ee; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; padding-bottom: 44px; }
.hero-media { position: relative; padding-bottom: 24px; }
.hero-media .photo-wrap {
  border-radius: 28px; overflow: hidden; background: linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.18); padding: 18px;
}
.hero-media img { border-radius: 18px; width: 100%; height: auto; object-fit: cover; aspect-ratio: 4/3; background: #0c1220; }
.hero-media .float-tag {
  position: absolute; bottom: 0; left: 18px; background: #fff; color: var(--navy); border-radius: 16px;
  padding: 12px 18px; box-shadow: 0 14px 30px -10px rgba(0,0,0,0.4); display: flex; gap: 12px; align-items: center; max-width: 260px;
}
.hero-media .float-tag .num { font-size: 1.4rem; font-weight: 800; background: linear-gradient(90deg, var(--red), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-media .float-tag .label { font-size: 0.76rem; color: var(--muted); line-height: 1.3; }

/* section shells */
section.block { padding: 56px 0; border-bottom: 1px solid var(--border); }
section.block.alt { background: linear-gradient(180deg, #fff, #fdf6f3); }
.section-head { max-width: 700px; margin-bottom: 28px; }
.section-head .eyebrow { color: var(--red); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.section-head .eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--red)); display: inline-block; }
.section-head h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 8px 0 10px; font-weight: 800; }
.section-head p { color: var(--muted); margin: 0; }

/* summary table */
.summary-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 18px; background: #fff; box-shadow: 0 10px 30px -18px rgba(19,28,49,0.25); }
table.summary { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 640px; }
table.summary th, table.summary td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); }
table.summary th { background: var(--navy); color: #fff; font-weight: 600; position: sticky; top: 0; }
table.summary th:first-child { border-top-left-radius: 18px; }
table.summary th:last-child { border-top-right-radius: 18px; }
table.summary tr:last-child td { border-bottom: none; }
table.summary tr:hover td { background: #fdf3f0; }
table.summary a { color: var(--red); font-weight: 700; text-decoration: none; }
table.summary td.num { color: var(--muted); }

/* company intro */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.about-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 26px; box-shadow: 0 14px 34px -22px rgba(19,28,49,0.3); }
.about-card h3 { margin: 0 0 10px; font-size: 1.1rem; font-weight: 800; }
.about-card p { color: var(--muted); margin: 0 0 10px; font-size: 0.92rem; }
.cert-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cert-list span { background: linear-gradient(135deg, #fdece6, #fff); border: 1px solid #f4d8cd; border-radius: 999px; padding: 5px 12px; font-size: 0.78rem; color: var(--navy); font-weight: 700; }

/* category nav chips */
.cat-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.cat-jump a { text-decoration: none; background: #fff; border: 1px solid var(--border); color: var(--text); font-size: 0.82rem; padding: 7px 12px; border-radius: 999px; }
.cat-jump a:hover { border-color: var(--red); color: var(--red); }

/* category sections */
.category { padding: 48px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 76px; }
.category:nth-child(even) { background: linear-gradient(180deg, #fbfaf7, #f6f3ee); }
.cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.cat-head h2 { font-size: 1.4rem; margin: 0; font-weight: 800; }
.cat-head .zh { color: var(--muted); font-weight: 400; font-size: 0.85rem; }
.cat-count { color: #fff; font-size: 0.78rem; white-space: nowrap; background: linear-gradient(90deg, var(--navy), var(--navy-2)); padding: 5px 12px; border-radius: 999px; font-weight: 700; }
.cat-intro { color: var(--muted); margin: 0 0 22px; max-width: 720px; font-size: 0.95rem; }

/* product cards */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: 20px; overflow: hidden;
  box-shadow: 0 16px 36px -26px rgba(19,28,49,0.35); transition: transform .15s ease, box-shadow .15s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -22px rgba(19,28,49,0.4); cursor: pointer; }
.product-card .expand-hint { display: block; margin-top: 12px; font-size: 0.78rem; color: var(--red); font-weight: 700; }
.product-card .photo {
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}
.product-card .photo img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.product-card .photo.tone-2 { background: #ffffff; }
.product-card .photo.tone-3 { background: #ffffff; }
.product-card .body { padding: 18px 20px; }
.product-card .tier { display: inline-block; font-size: 0.7rem; font-weight: 700; color: #fff; background: var(--navy); padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
.product-card .tier.premium { background: linear-gradient(90deg, var(--red), var(--orange)); }
.product-card h3 { margin: 0 0 2px; font-size: 1.08rem; font-weight: 800; }
.product-card .model-zh { color: var(--muted); font-size: 0.78rem; margin: 0 0 10px; }
.product-card .price { font-weight: 800; color: var(--red); font-size: 1.2rem; margin: 6px 0 12px; }
.product-card .price small { font-weight: 500; color: var(--muted); font-size: 0.72rem; }
.spec-list { list-style: none; margin: 0; padding: 0; font-size: 0.86rem; }
.spec-list li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px dashed var(--border); }
.spec-list li:last-child { border-bottom: none; }
.spec-list .k { color: var(--muted); }
.spec-list .v { font-weight: 600; text-align: right; }
.product-card .fit { margin-top: 12px; font-size: 0.82rem; background: #f1f8f4; color: var(--green); padding: 8px 10px; border-radius: 10px; }

/* spec detail modal */
.spec-modal-overlay {
  position: fixed; inset: 0; background: rgba(19,28,49,0.6); z-index: 300;
  display: none; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto;
}
.spec-modal-overlay.open { display: flex; }
.spec-modal {
  background: #fff; border-radius: 22px; max-width: 760px; width: 100%; position: relative;
  box-shadow: 0 40px 90px -20px rgba(0,0,0,0.55); animation: specModalIn .18s ease;
}
@keyframes specModalIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.spec-modal .modal-close {
  position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border); font-size: 1.3rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--muted); z-index: 2;
}
.spec-modal .modal-close:hover { color: var(--red); border-color: var(--red); }
.spec-modal .modal-photo {
  background: #fff; border-bottom: 1px solid var(--border); border-radius: 22px 22px 0 0;
  padding: 28px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.spec-modal .modal-photo img { max-height: 300px; max-width: 100%; object-fit: contain; }
.spec-modal .modal-body { padding: 26px 30px 34px; user-select: text; }
.spec-modal .modal-body h3 { font-size: 1.5rem; margin: 0 0 4px; }
.spec-modal .modal-body .model-zh { font-size: 0.88rem; }
.spec-modal .modal-body .price { font-size: 1.4rem; }
.spec-modal .modal-body .spec-list { font-size: 1rem; }
.spec-modal .modal-body .spec-list li { padding: 9px 0; }
.spec-modal .modal-hint {
  margin: 0 0 16px; font-size: 0.78rem; color: var(--muted); background: #f7f7f5;
  border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px;
}
@media (max-width: 560px) {
  .spec-modal .modal-body { padding: 22px 18px 28px; }
  .spec-modal .modal-photo { padding: 20px; }
}

/* simple name-only list (no-spec items) */
.name-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.name-list .item { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; font-size: 0.88rem; }
.name-list .item .zh { color: var(--muted); font-size: 0.76rem; display: block; margin-top: 2px; }
.inquire-note { margin-top: 14px; font-size: 0.85rem; color: var(--muted); background: #fff8f2; border: 1px solid #f0ddc8; padding: 12px 16px; border-radius: 12px; }
.inquire-note a { color: var(--red); font-weight: 700; text-decoration: none; }

/* comparison bar chart (pure css) */
.bar-chart { display: flex; flex-direction: column; gap: 10px; margin: 18px 0; }
.bar-row { display: grid; grid-template-columns: 160px 1fr 90px; align-items: center; gap: 10px; font-size: 0.84rem; }
.bar-row .label { color: var(--text); font-weight: 600; }
.bar-row .label.us { color: var(--red); }
.bar-track { background: #eee; border-radius: 6px; height: 18px; overflow: hidden; }
.bar-fill { height: 100%; background: #b9c0cf; border-radius: 6px; }
.bar-fill.us { background: linear-gradient(90deg, var(--red), var(--orange)); }
.bar-row .val { text-align: right; color: var(--muted); }

/* selection guide */
.guide-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.guide-step { background: linear-gradient(160deg, var(--navy), #26314c); color: #fff; border-radius: 18px; padding: 20px; }
.guide-step .q { color: #ffb199; font-weight: 800; font-size: 0.78rem; margin-bottom: 8px; }
.guide-step h4 { margin: 0 0 8px; font-size: 0.95rem; }
.guide-step p { margin: 0; font-size: 0.82rem; color: #c7cee0; }
.guide-step .answer { margin-top: 10px; font-size: 0.82rem; font-weight: 700; color: #fff; background: rgba(255,255,255,0.12); padding: 6px 9px; border-radius: 8px; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
details.faq { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 4px 18px; }
details.faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--red); font-size: 1.2rem; flex-shrink: 0; }
details.faq[open] summary::after { content: "\2212"; }
details.faq p { margin: 0 0 16px; color: var(--muted); font-size: 0.92rem; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--red) 0%, var(--orange) 100%); color: #fff; padding: 52px 0; text-align: center; }
.cta-band h2 { font-size: 1.6rem; margin: 0 0 10px; font-weight: 800; }
.cta-band p { color: #ffe9e2; margin: 0 0 22px; }
.cta-band .btn-outline { border-color: rgba(255,255,255,0.55); }

/* footer */
footer.site-footer { background: var(--navy); color: #98a1b5; padding: 32px 0; font-size: 0.82rem; }
footer.site-footer a { color: #c7cee0; text-decoration: none; }
footer.site-footer .foot-links { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
footer.site-footer .disclaimer { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 16px; padding-top: 16px; line-height: 1.7; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
}
@media (max-width: 760px) {
  .main-nav { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 100px 1fr 70px; font-size: 0.76rem; }
}
