/* ========== Reset & Base ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --brand-red: #f13a3a;
  --brand-pink: #FFE4E1;
  --brand-pink-light: #FFF5F3;
  --brand-teal: #4bc5b8;
  --brand-teal-light: #89dad1;
  --brand-teal-dark: #00574e;
  --text-dark: #2b2b2b;
  --text-mid: #575756;
  --text-light: #7a7a7a;
  --bg-white: #fefefe;
  --bg-gray: #f7f7f7;
  --border-gray: #ebebeb;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
  --transition: all 0.3s ease;
  --max-width: 1200px;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
sup { font-size: 66%; line-height: 1; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ========== Header / Navigation ========== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  transition: var(--transition);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo img { height: 40px; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-item > a {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 16px; font-size: 15px; font-weight: 500;
  color: var(--text-dark); border-radius: 4px;
}
.nav-item > a:hover { color: var(--brand-red); }
.nav-item > a .arrow { font-size: 10px; transition: var(--transition); }
.nav-item:hover > a .arrow { transform: rotate(180deg); }
.nav-item.active > a { color: var(--brand-red); }

/* Submenu */
.submenu {
  position: absolute; top: 100%; left: 0;
  min-width: 220px; background: #fff;
  border-radius: 8px; box-shadow: var(--shadow-hover);
  padding: 12px; opacity: 0; visibility: hidden;
  transform: translateY(10px); transition: var(--transition);
  z-index: 50;
}
.nav-item:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a {
  display: block; padding: 8px 14px; font-size: 14px;
  color: var(--text-mid); border-radius: 4px;
}
.submenu a:hover { background: var(--brand-pink-light); color: var(--brand-red); }

/* Mega menu for products */
.mega-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
  width: 720px; background: #fff; border-radius: 12px;
  box-shadow: var(--shadow-hover); padding: 28px;
  opacity: 0; visibility: hidden; transition: var(--transition);
  display: flex; gap: 24px; z-index: 50;
}
.nav-item:hover .mega-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-menu-left { flex: 0 0 280px; }
.mega-menu-left h4 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.mega-menu-left img { width: 100%; border-radius: 8px; margin-bottom: 12px; }
.mega-menu-left p { font-size: 13px; color: var(--text-light); margin-bottom: 12px; }
.mega-menu-left .btn-small {
  display: inline-block; padding: 6px 16px; font-size: 13px;
  background: var(--brand-pink); color: var(--brand-red); border-radius: 20px;
}
.mega-menu-right { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-menu-right a {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: 6px; font-size: 14px;
}
.mega-menu-right a:hover { background: var(--brand-pink-light); }
.mega-menu-right a img { width: 40px; height: 28px; object-fit: contain; }

/* Mobile menu toggle */
.menu-toggle { display: none; font-size: 24px; background: none; border: none; cursor: pointer; color: var(--text-dark); }

/* Mobile nav */
.mobile-nav {
  display: block; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: #fff; padding: 20px; overflow-y: auto; z-index: 999;
  transform: translateX(100%); transition: transform 0.3s ease;
}
.mobile-nav.active { transform: translateX(0); }
.mobile-nav .nav-item { margin-bottom: 8px; }
.mobile-nav .nav-item > a { padding: 12px 16px; display: block; border-bottom: 1px solid var(--border-gray); }
.mobile-nav .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 20px; }
.mobile-nav .mega-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0; width: 100%; flex-direction: column; }

/* ========== Hero ========== */
.hero {
  position: relative; min-height: 90vh; display: flex; align-items: center;
  margin-top: 72px; overflow: hidden;
  background: linear-gradient(135deg, #FFF5F3 0%, #FFE4E1 50%, #FFDDD8 100%);
}
.hero-bg-video {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.3;
}
.hero-content { position: relative; z-index: 2; padding: 60px 0; }
.hero h2 {
  font-size: 52px; font-weight: 700; color: var(--text-dark);
  margin-bottom: 16px; line-height: 1.2;
}
.hero .tagline {
  font-size: 22px; color: var(--brand-red); font-weight: 500; margin-bottom: 32px;
}
.hero .tagline::before {
  content: ''; display: inline-block; width: 40px; height: 3px;
  background: var(--brand-red); vertical-align: middle; margin-right: 12px;
}

/* ========== Page Hero (inner pages) ========== */
.page-hero {
  margin-top: 72px; padding: 80px 0;
  background: linear-gradient(135deg, #FFF5F3 0%, #FFE4E1 60%, #FFDDD8 100%);
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; right: -80px; top: -80px;
  width: 280px; height: 280px; border-radius: 50%;
  background: rgba(241,58,58,0.08);
}
.page-hero::before {
  content: ''; position: absolute; left: -60px; bottom: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(75,197,184,0.12);
}
.page-hero h1 { font-size: 42px; font-weight: 700; position: relative; z-index: 2; }
.page-hero .breadcrumb {
  position: relative; z-index: 2; margin-top: 12px;
  font-size: 14px; color: var(--text-mid);
}
.page-hero .breadcrumb a:hover { color: var(--brand-red); }
.page-hero .breadcrumb .sep { margin: 0 8px; color: #ccc; }

/* ========== Buttons ========== */
.btn {
  display: inline-block; padding: 14px 32px; font-size: 15px; font-weight: 500;
  border-radius: 30px; transition: var(--transition); cursor: pointer; border: none;
}
.btn-primary { background: var(--brand-red); color: #fff; }
.btn-primary:hover { background: #d83232; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(241,58,58,0.3); }
.btn-secondary { background: var(--brand-pink); color: var(--brand-red); }
.btn-secondary:hover { background: #FFD0CC; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--text-dark); border: 2px solid var(--text-dark); }
.btn-outline:hover { background: var(--text-dark); color: #fff; }

/* ========== Entrance Boxes ========== */
.entrance-section { padding: 0; margin-top: -40px; position: relative; z-index: 10; }
.entrance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.entrance-box {
  display: flex; align-items: center; gap: 16px;
  background: #fff; padding: 24px 28px; border-radius: 12px;
  box-shadow: var(--shadow); transition: var(--transition);
}
.entrance-box:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.entrance-box .thumb {
  width: 70px; height: 70px; border-radius: 50%; flex-shrink: 0;
  background-size: cover; background-position: center;
  border: 2px solid var(--brand-pink);
}
.entrance-box .content { flex: 1; }
.entrance-box .content span { font-size: 15px; font-weight: 500; color: var(--text-dark); }
.entrance-box .content i { color: var(--brand-red); font-size: 14px; }

/* ========== Section Title ========== */
.section-title-area { padding: 80px 0 60px; text-align: center; }
.section-title-area h1 { font-size: 36px; font-weight: 300; color: var(--text-dark); line-height: 1.5; }
.section-title-area h1 strong { font-weight: 700; color: var(--brand-red); }

/* ========== Blocks (更快治愈 / 更少疼痛) ========== */
.blocks-section { padding-bottom: 80px; }
.blocks-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; }
.block {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition);
}
.block:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.block .content { padding: 40px; }
.block .title { font-size: 28px; font-weight: 700; margin-bottom: 16px; color: var(--text-dark); }
.block .text p { font-size: 15px; color: var(--text-mid); line-height: 1.8; }
.block .btn { margin-top: 24px; }
.block-large { position: relative; }
.block-large img { width: 100%; height: 100%; object-fit: contain; }

/* ========== Area of Use ========== */
.area-section {
  position: relative; padding: 100px 0;
  background: url('/templates/forunsi/images/r/cms/www/default/static/picture/areaofuse-2-701x1024.jpg') center/cover no-repeat;
  background-attachment: fixed;
}
.area-section::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.92);
}
.area-grid {
  position: relative; display: grid;
  grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.area-image { text-align: center; }
.area-image img { max-width: 100%; border-radius: 12px; }
.area-text .pre-title {
  display: inline-block; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--brand-red); margin-bottom: 16px;
}
.area-text h4 { font-size: 22px; font-weight: 500; line-height: 1.6; margin-bottom: 28px; }
.link-list li { margin-bottom: 8px; }
.link-list a {
  display: block; padding: 14px 24px; font-size: 15px; font-weight: 500;
  background: #fff; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: var(--transition);
}
.link-list a:hover {
  background: var(--brand-red); color: #fff;
  transform: translateX(8px); box-shadow: 0 4px 12px rgba(241,58,58,0.2);
}

/* ========== Products Slider ========== */
.products-section { padding: 80px 0; background: var(--bg-gray); }
.products-header { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.products-header .title { font-size: 32px; font-weight: 700; margin-bottom: 16px; }
.products-header p { font-size: 15px; color: var(--text-mid); }
.product-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition); height: 100%;
}
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-6px); }
.product-card .figure {
  height: 200px; display: flex; align-items: center; justify-content: center;
  background: var(--brand-pink-light); padding: 20px;
}
.product-card .figure img { max-height: 100%; max-width: 100%; object-fit: contain; }
.product-card .text { padding: 24px; }
.product-card .text h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.product-card .text p { font-size: 13px; color: var(--text-light); }
.swiper-scrollbar { margin-top: 30px !important; }

/* ========== Evidence ========== */
.evidence-section { padding: 80px 0; }
.evidence-grid {
  display: grid; grid-template-columns: 3fr 2fr; gap: 50px; align-items: center;
}
.evidence-image img { width: 100%; border-radius: 12px; }
.evidence-text .pre-title {
  display: inline-block; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--brand-red); margin-bottom: 16px;
}
.evidence-text p { font-size: 16px; color: var(--text-mid); line-height: 1.8; margin-bottom: 24px; }

/* ========== Inner Page Content Blocks ========== */
.content-section { padding: 60px 0; }
.content-section.gray { background: var(--bg-gray); }
.content-section.pink { background: var(--brand-pink-light); }
.content-lead {
  text-align: center; max-width: 800px; margin: 0 auto 50px;
  font-size: 17px; color: var(--text-mid);
}

/* Card grid */
.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition); height: 100%;
  display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-6px); }
.card .card-figure {
  height: 200px; overflow: hidden; position: relative;
  background: var(--brand-pink-light);
}
.card .card-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-figure img { transform: scale(1.05); }
.card .card-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.card .card-body h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.card .card-body p { font-size: 14px; color: var(--text-mid); flex: 1; }
.card .card-link {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 6px;
  color: var(--brand-red); font-size: 14px; font-weight: 500;
}
.card .card-link:hover { gap: 10px; }

/* Media + text */
.media-text {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
}
.media-text.reverse .media { order: 2; }
.media-text .media img { width: 100%; border-radius: 12px; }
.media-text .media svg, .media-text .media .svg-box { width: 100%; border-radius: 12px; }
.media-text .text h2 { font-size: 30px; font-weight: 700; margin-bottom: 20px; }
.media-text .text h3 { font-size: 22px; font-weight: 700; margin-bottom: 14px; }
.media-text .text p { font-size: 16px; color: var(--text-mid); line-height: 1.9; }
.media-text .text ul { margin-top: 16px; }
.media-text .text ul li {
  padding: 8px 0 8px 26px; position: relative; font-size: 15px; color: var(--text-mid);
}
.media-text .text ul li::before {
  content: ''; position: absolute; left: 0; top: 17px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--brand-pink); border: 2px solid var(--brand-red);
}
.media-text .text .btn { margin-top: 24px; }

/* Feature list (solution benefits) */
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.feature-item {
  background: #fff; border-radius: 12px; padding: 28px;
  box-shadow: var(--shadow); transition: var(--transition);
  text-align: center;
}
.feature-item:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.feature-item .icon { width: 56px; height: 56px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; }
.feature-item .icon img { width: 100%; height: 100%; object-fit: contain; }
.feature-item h4 { font-size: 16px; font-weight: 700; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 40px 0; }
.stat-box {
  background: #fff; border-radius: 12px; padding: 30px 20px; text-align: center;
  box-shadow: var(--shadow); border-top: 4px solid var(--brand-red);
}
.stat-box .num { font-size: 38px; font-weight: 700; color: var(--brand-red); }
.stat-box .label { font-size: 14px; color: var(--text-mid); margin-top: 6px; }

/* Contact cards */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card {
  background: #fff; border-radius: 12px; padding: 26px;
  box-shadow: var(--shadow); text-align: center;
}
.contact-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 12px; color: var(--brand-red); }
.contact-card p { font-size: 14px; color: var(--text-mid); line-height: 1.8; }

/* Product detail */
.product-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start;
}
.product-detail .figure {
  background: var(--brand-pink-light); border-radius: 16px; padding: 40px;
  display: flex; align-items: center; justify-content: center;
}
.product-detail .figure img { max-height: 380px; object-fit: contain; }
.product-detail .info h1 { font-size: 34px; font-weight: 700; margin-bottom: 12px; }
.product-detail .info .subtitle { font-size: 18px; color: var(--brand-red); margin-bottom: 20px; font-weight: 500; }
.product-detail .info p { font-size: 15px; color: var(--text-mid); line-height: 1.9; }

/* Spec table */
.spec-section { padding: 60px 0; }
.spec-table {
  width: 100%; border-collapse: collapse; background: #fff;
  border-radius: 12px; overflow: hidden; box-shadow: var(--shadow);
}
.spec-table th {
  background: var(--brand-red); color: #fff; padding: 16px 20px;
  text-align: left; font-size: 15px;
}
.spec-table td { padding: 16px 20px; border-bottom: 1px solid var(--border-gray); font-size: 14px; color: var(--text-mid); }
.spec-table tr:nth-child(even) td { background: var(--brand-pink-light); }
.spec-table tr:last-child td { border-bottom: none; }

/* Section heading (inner) */
.section-heading { text-align: center; margin-bottom: 40px; }
.section-heading .pre-title {
  display: inline-block; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--brand-red); margin-bottom: 10px;
}
.section-heading h2 { font-size: 32px; font-weight: 700; }

/* Evidence references */
.ref-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.ref-filter {
  padding: 8px 20px; border-radius: 20px; font-size: 14px;
  background: #fff; border: 1px solid var(--border-gray); cursor: pointer;
  transition: var(--transition);
}
.ref-filter:hover { border-color: var(--brand-red); color: var(--brand-red); }
.ref-filter.active { background: var(--brand-red); color: #fff; border-color: var(--brand-red); }
.ref-list { max-width: 900px; margin: 0 auto; }
.ref-item {
  display: flex; gap: 20px; align-items: flex-start;
  background: #fff; border-radius: 10px; padding: 22px 26px;
  box-shadow: var(--shadow); margin-bottom: 16px; transition: var(--transition);
}
.ref-item:hover { box-shadow: var(--shadow-hover); transform: translateX(6px); }
.ref-item .ref-year {
  flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%;
  background: var(--brand-pink); color: var(--brand-red);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
}
.ref-item .ref-body { flex: 1; }
.ref-item .ref-body h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.ref-item .ref-body p { font-size: 13px; color: var(--text-light); }
.ref-item .ref-body .ref-topic {
  display: inline-block; margin-top: 8px; font-size: 12px;
  background: var(--brand-pink-light); color: var(--brand-red);
  padding: 3px 12px; border-radius: 12px;
}

/* ========== Footer ========== */
.footer { background: var(--text-dark); color: #fff; padding: 30px 0; }
.footer-inner {
  display: flex; align-items: center; justify-content: center; gap: 30px;
  flex-wrap: wrap; text-align: center;
}
.footer .copyright { font-size: 13px; color: #aaa; }
.footer .icp { font-size: 13px; color: #aaa; }
.footer .icp a { color: #aaa; }
.footer .icp a:hover { color: #fff; }

/* ========== Video Modal ========== */
.video-modal {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.8); display: none;
  align-items: center; justify-content: center;
}
.video-modal.active { display: flex; }
.video-modal-inner { position: relative; width: 90%; max-width: 800px; }
.video-modal-inner video { width: 100%; border-radius: 8px; }
.video-modal .close-btn {
  position: absolute; top: -40px; right: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: #fff; border: none; font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* ========== Scroll Animation ========== */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .menu-toggle { display: block; }
  .hero h2 { font-size: 36px; }
  .hero .tagline { font-size: 18px; }
  .entrance-grid { grid-template-columns: 1fr; }
  .blocks-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr; gap: 30px; }
  .area-section { background-attachment: scroll; }
  .evidence-grid { grid-template-columns: 1fr; gap: 30px; }
  .section-title-area h1 { font-size: 26px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .media-text { grid-template-columns: 1fr; }
  .media-text.reverse .media { order: 0; }
  .feature-list { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero h2 { font-size: 28px; }
  .hero .tagline { font-size: 16px; }
  .section-title-area h1 { font-size: 20px; }
  .block .content { padding: 24px; }
  .block .title { font-size: 22px; }
  .area-text h4 { font-size: 16px; }
  .products-header .title { font-size: 24px; }
  .page-hero h1 { font-size: 28px; }
  .page-hero { padding: 50px 0; }
  .card-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .ref-item { flex-direction: column; }
}
