@charset "utf-8";
:root {
  --accent: #c8000a;
  --accent-2: #d8262c;
  --ink: #111111;
  --muted: rgba(17, 17, 17, 0.64);
  --canvas: #f7f5f0;
  --card: #ffffff;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; width: 100%; min-height: 100%; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

.page-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 92px;
  padding-top: 55px;
  box-sizing: border-box;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
}
.header-inner {
  width: min(1480px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 48px;
}
.brand img { width: 132px; height: auto; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 16px;
}
.main-nav > a,
.main-nav > .nav-group > a {
  position: relative;
  color: #161616;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}
.main-nav > a::after,
.main-nav > .nav-group > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #161616;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.3s ease;
}
.main-nav > a:hover::after,
.main-nav > .nav-group:hover > a::after,
.main-nav > a.current::after,
.main-nav > .nav-group > a.current::after {
  transform: scaleX(1);
  transform-origin: left center;
}
.nav-group { position: relative; }
.nav-group > a { padding-right: 18px; }
.nav-group::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 10px;
  z-index: 19;
}
.sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 156px;
  padding: 10px 10px 10px;
  border-radius: 0 0 12px 12px;
  background: rgba(200, 0, 10, 0.96);
  box-shadow: 0 10px 30px rgba(200, 0, 10, 0.18);
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
  z-index: 20;
}
.nav-group:hover .sub-menu,
.nav-group:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}
.sub-menu a {
  display: block;
  color: #fff;
  text-align: center;
  line-height: 34px;
  font-size: 14px;
  border-radius: 6px;
}
.sub-menu a:hover { background: rgba(255, 255, 255, 0.16); }
.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(200, 0, 10, 0.18);
  background: rgba(200, 0, 10, 0.06);
  color: var(--accent);
}

.product-page { padding-top: 110px; }
.hero-shell {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-bg,
.hero-mask {
  position: absolute;
  inset: 0;
}
.hero-bg {
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}
.hero-mask {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.08));
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  text-align: center;
  padding: 140px 0 106px;
}
.hero-kicker {
  margin: 0 0 16px;
  font-size: clamp(44px, 5vw, 72px);
  letter-spacing: 2px;
  line-height: 1.08;
  color: rgba(255, 255, 255, 0.98);
  font-weight: 800;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.hero-content h1 {
  margin: 0;
  font-size: clamp(18px, 1.7vw, 24px);
  letter-spacing: 4px;
  line-height: 1.9;
  font-weight: 400;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.hero-summary {
  max-width: 900px;
  margin: 18px auto 0;
  font-size: 16px;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.9);
}

.section-tabs {
  z-index: 900;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 20px 14px 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.section-tab {
  min-width: 120px;
  padding: 10px 20px;
  border-radius: 999px;
  color: #333;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.78);
  transition: all 0.25s ease;
}
.section-tab:hover,
.section-tab.current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 8px 18px rgba(200, 0, 10, 0.22);
}

.product-panel {
  position: relative;
  padding: 60px 0;
  display: none;
  scroll-margin-top: 100px;
}
.product-panel.tab-active { display: block; }
.section-inner {
  width: min(1260px, calc(100% - 36px));
  margin: 0 auto;
  position: relative;
}
.section-head {
  text-align: center;
  margin-bottom: 30px;
  padding: 56px 0 78px;
  position: relative;
  overflow: visible;
}
.section-head::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  bottom: -50px;
  opacity: 0.42;
  pointer-events: none;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.section-head > * { position: relative; z-index: 1; }
.section-head:first-of-type::before { background-image: url('../../images/life/07.png'); }
.panel-scenarios .section-head::before { background-image: url('../../images/life/06.png'); }
.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 54px);
  letter-spacing: 6px;
}
.section-head p {
  margin: 10px 0 0;
  font-size: 15px;
  color: var(--muted);
  letter-spacing: 2px;
}

.product-grid {
  list-style: none;
  padding: 0;
  margin: 46px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.grid-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  background: #fff;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.grid-item:hover {
  transform: translateY(-8px) scale(1.10);
  box-shadow: 0 26px 50px rgba(200, 0, 10, 0.28);
}
.grid-placeholder {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.28s ease;
}
.grid-item:hover .grid-placeholder {
  transform: scale(1.06);
}
.grid-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.24) 55%, rgba(0, 0, 0, 0.72));
}
.grid-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 2;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 12px;
  transition: transform 0.28s ease, font-size 0.28s ease;
}
.grid-item:hover .grid-name {
  transform: scale(1.15);
  font-size: 25px;
}

.panel-scenarios { background: linear-gradient(180deg, #faf6f2 0%, #fff7f3 100%); }
.scenario-grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.scenario-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  display: block;
}
.scenario-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 50px rgba(200, 0, 10, 0.2);
}
.scenario-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.scenario-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 20px 16px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.75));
  z-index: 2;
  color: #fff;
}
.scenario-card:hover .scenario-text {
  background: linear-gradient(180deg, transparent, rgba(200, 0, 10, 0.85));
}
.scenario-text h3 {
  margin: 0 0 6px;
  font-size: 22px;
  color: #fff;
}
.scenario-text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.6;
}

.site-footer {
  margin-top: 58px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 26px min(28px, 2vw) 0;
  width: min(1400px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}
.contact-lines {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #555;
  line-height: 2;
  font-size: 14px;
}
.qr-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 20px;
}
.qr-list li {
  width: 96px;
  text-align: center;
  color: #666;
  font-size: 13px;
}
.qr-list img {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 8px;
}
.copy {
  width: min(1400px, calc(100% - 32px));
  margin: 26px auto 0;
  color: #777;
  font-size: 13px;
  padding-bottom: 26px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.material-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}
.material-modal.show { display: block; }
.material-modal .modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.76);
}
.material-modal .modal-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1120px, calc(100% - 32px));
  min-height: 75vh;
  max-height: 93vh;
  overflow: hidden;
  border-radius: 20px;
  background-color: #111;
  background-size: cover;
  background-position: center;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
}
.material-modal .modal-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 0;
  border-radius: 20px;
}
.material-modal .modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  line-height: 42px;
  text-align: center;
  border-radius: 50%;
  background: rgba(200, 0, 10, 0.92);
  color: #fff;
  z-index: 5;
}
.material-modal .modal-header {
  position: relative;
  z-index: 1;
  padding: 26px 64px 20px;
  text-align: center;
  background: rgba(0, 0, 0, 0.32);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.material-modal .modal-header h2 {
  margin: 0;
  font-size: 32px;
  letter-spacing: 6px;
  color: #f6e0a7;
}
.material-modal .material-en {
  margin-top: 4px;
  color: rgba(246, 224, 167, 0.72);
  letter-spacing: 3px;
  font-size: 13px;
}
.material-modal .modal-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  flex: 1;
  min-height: 0;
}
.material-modal .info-card {
  position: relative;
  padding: 48px 28px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.45));
}
.material-modal .info-card:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 12%;
  width: 1px;
  height: 76%;
  background: linear-gradient(180deg, transparent, rgba(246, 224, 167, 0.3), transparent);
}
.material-modal .card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid rgba(246, 224, 167, 0.28);
  background: rgba(0, 0, 0, 0.52);
  color: #f6e0a7;
  font-size: 26px;
  font-weight: 700;
}
.material-modal .info-card h3 {
  margin: 0 0 10px;
  color: #f6e0a7;
  font-size: 18px;
  letter-spacing: 4px;
}
.material-modal .card-divider {
  width: 36px;
  height: 1px;
  background: rgba(246, 224, 167, 0.46);
  margin-bottom: 14px;
}
.material-modal .info-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  text-align: center;
  white-space: pre-line;
  line-height: 2;
  font-size: 15px;
  overflow-y: auto;
}
.material-modal .modal-footer {
  display: none;
}

.spirit-panel.tab-active .product-grid,
.spirit-panel.tab-active .scenario-grid {
  animation: panelFadeIn 0.45s ease both;
}

@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1180px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .scenario-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer { grid-template-columns: 1fr; }
  .material-modal .modal-body { grid-template-columns: repeat(3, minmax(220px, 1fr)); overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 980px) {
  .page-header { height: 72px; }
  .product-page { padding-top: 72px; }
  .header-inner { width: min(1480px, calc(100% - 24px)); }
  .brand img { width: 110px; }
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    right: 16px;
    width: 240px;
    max-height: calc(100vh - 88px);
    overflow-y: auto;
    gap: 0;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
  }
  .main-nav.open > a,
  .main-nav.open > .nav-group > a {
    width: 100%;
    padding: 8px 0;
  }
  .main-nav.open .nav-group { width: 100%; }
  .main-nav.open .sub-menu {
    position: static;
    transform: none;
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    margin: 6px 0 10px;
    background: rgba(200, 0, 10, 0.88);
    box-shadow: none;
  }
  .mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .hero-shell { min-height: 420px; }
  .hero-content { padding: 112px 0 88px; }
  .hero-summary { font-size: 15px; }
  .section-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    padding-inline: 16px;
  }
  .section-tab { min-width: 110px; }
  .product-panel { padding: 48px 0; }
  .section-inner { width: min(1260px, calc(100% - 24px)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .grid-name { font-size: 18px; letter-spacing: 8px; }
  .scenario-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .material-modal .modal-container { width: calc(100% - 20px); }
  .material-modal .modal-header { padding: 20px 52px 16px; }
  .material-modal .modal-header h2 { font-size: 24px; }
  .material-modal .info-card { padding: 18px 20px; }
  .site-footer { width: min(1400px, calc(100% - 24px)); }
  .copy { width: min(1400px, calc(100% - 24px)); }
}