/* ===================== VARIABLES ===================== */
:root {
  --primary: #1e3a8a;
  --primary-mid: #2563eb;
  --accent: #4f46e5;
  --accent-light: #818cf8;
  --violet: #6d28d9;
  --gradient: linear-gradient(135deg, #1e3a8a 0%, #4f46e5 60%, #6d28d9 100%);
  --gradient-light: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
  --bg: #ffffff;
  --bg-light: #f8faff;
  --bg-blue: #eff6ff;
  --text: #1e293b;
  --text-mid: #475569;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(30,58,138,0.08);
  --shadow-hover: 0 12px 40px rgba(30,58,138,0.18);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --font: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.7; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input, textarea, select { font-family: var(--font); }

/* ===================== UTILITIES ===================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 2rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.section-header .section-sub { font-size: 1rem; color: var(--text-light); letter-spacing: 0.1em; text-transform: uppercase; }
.section-header.light h2 { color: #fff; }
.section-header.light .section-sub { color: rgba(255,255,255,0.7); }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-size: 1rem;
  font-weight: 600; transition: var(--transition); cursor: pointer;
}
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 4px 20px rgba(79,70,229,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(79,70,229,0.45); }
.btn-white { background: #fff; color: var(--primary); box-shadow: var(--shadow); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-full { width: 100%; justify-content: center; }

/* ===================== NAVBAR ===================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0; transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(30,58,138,0.1);
  padding: 12px 0;
  backdrop-filter: blur(12px);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; flex-direction: column; line-height: 1.2; }
.logo-cn { font-size: 1.4rem; font-weight: 800; color: #fff; letter-spacing: 0.05em; transition: color var(--transition); }
.logo-en { font-size: 0.65rem; color: rgba(255,255,255,0.8); letter-spacing: 0.2em; font-weight: 500; transition: color var(--transition); }
.navbar.scrolled .logo-cn { color: var(--primary); }
.navbar.scrolled .logo-en { color: var(--text-light); }
.nav-links { display: flex; gap: 40px; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: rgba(255,255,255,0.9); transition: color var(--transition); }
.nav-links a:hover { color: #fff; }
.navbar.scrolled .nav-links a { color: var(--text-mid); }
.navbar.scrolled .nav-links a:hover { color: var(--primary); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }
.navbar.scrolled .nav-toggle span { background: var(--text); }

/* ===================== HERO ===================== */
.hero { position: relative; height: 100vh; min-height: 600px; overflow: hidden; }
.hero-track { display: flex; height: 100%; transition: transform 0.7s cubic-bezier(0.4,0,0.2,1); }
.hero-slide {
  min-width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(10,20,60,0.25);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; color: #fff; padding: 0 24px;
  max-width: 700px;
}
.hero-en { font-size: 1.2rem; letter-spacing: 0.1em; opacity: 0.9; margin-bottom: 16px; font-style: italic; }
.hero-tag { font-size: 1rem; letter-spacing: 0.08em; opacity: 0.85; margin-bottom: 12px; background: rgba(255,255,255,0.15); display: inline-block; padding: 6px 18px; border-radius: 50px; }
.hero-cn { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.2; margin-bottom: 40px; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.hero-bg-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-arrows { position: absolute; z-index: 3; width: 100%; display: flex; justify-content: space-between; top: 50%; transform: translateY(-50%); padding: 0 20px; pointer-events: none; }
.hero-arrow { pointer-events: all; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.2); color: #fff; font-size: 1.5rem; backdrop-filter: blur(8px); transition: var(--transition); display: flex; align-items: center; justify-content: center; }
.hero-arrow:hover { background: rgba(255,255,255,0.35); transform: scale(1.1); }
.hero-dots { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: var(--transition); }
.dot.active { background: #fff; width: 24px; border-radius: 4px; }
.hero-img-placeholder { position: absolute; inset: 0; }

/* ===================== SOLUTIONS ===================== */
.solutions { padding: 100px 0 80px; background: var(--bg-light); }
.audience-switcher { display: flex; gap: 20px; justify-content: center; margin-bottom: 56px; flex-wrap: wrap; }
.audience-btn {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 24px 40px; border-radius: var(--radius); min-width: 280px;
  border: 2px solid var(--border); background: #fff;
  transition: var(--transition); color: var(--text-mid);
  font-size: 1.1rem; font-weight: 600;
  box-shadow: var(--shadow);
}
.audience-btn .icon { font-size: 2rem; }
.audience-btn .sub { font-size: 0.8rem; color: var(--text-light); font-weight: 400; text-align: center; line-height: 1.4; }
.audience-btn.active { border-color: var(--accent); background: var(--gradient); color: #fff; box-shadow: 0 8px 32px rgba(79,70,229,0.3); }
.audience-btn.active .sub { color: rgba(255,255,255,0.8); }
.audience-btn:not(.active):hover { border-color: var(--accent-light); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.product-panel { display: none; }
.product-panel.active { display: block; }
.panel-title { text-align: center; font-size: 1.6rem; font-weight: 700; color: var(--primary); margin-bottom: 40px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition);
  border: 1px solid transparent; display: block;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--accent-light); }
.product-card-img {
  height: 200px; position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-body { padding: 20px; }
.product-card-body h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; line-height: 1.4; }
.product-card-body p { font-size: 0.85rem; color: var(--text-mid); line-height: 1.6; margin-bottom: 14px; }
.card-link { font-size: 0.85rem; color: var(--accent); font-weight: 600; transition: color var(--transition); }
.product-card:hover .card-link { color: var(--violet); }

/* ===================== TESTIMONIALS ===================== */
.testimonials { background: var(--gradient); padding: 100px 0; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card {
  background: rgba(255,255,255,0.12); border-radius: var(--radius);
  padding: 36px 32px; color: #fff; border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px); transition: var(--transition);
}
.testimonial-card:hover { background: rgba(255,255,255,0.18); transform: translateY(-4px); }
.quote-icon { font-size: 4rem; color: rgba(255,255,255,0.3); line-height: 1; margin-bottom: 16px; font-family: Georgia, serif; }
.testimonial-card p { font-size: 0.95rem; line-height: 1.8; margin-bottom: 20px; opacity: 0.95; }
.testimonial-author { font-size: 0.85rem; opacity: 0.7; margin-bottom: 4px; }
.testimonial-title { font-size: 0.9rem; font-weight: 700; }

/* ===================== ABOUT ===================== */
.about { padding: 100px 0; background: var(--bg); }
.about-main { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-bottom: 0; }
.about-slogan { position: relative; }
.about-slogan::before { content: ''; display: block; width: 60px; height: 4px; background: var(--gradient); border-radius: 2px; margin-bottom: 24px; }
.slogan-en { font-size: 1rem; color: var(--text-light); letter-spacing: 0.1em; font-style: italic; margin-bottom: 16px; }
.slogan-cn { font-size: 2.5rem; font-weight: 800; color: var(--primary); line-height: 1.2; }
.about-text h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 24px; color: var(--text); }
.about-lines p { position: relative; padding-left: 20px; margin-bottom: 12px; color: var(--text-mid); font-size: 0.95rem; }
.about-lines p::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 2px; background: var(--accent); }
.about-expanded { margin-top: 80px; border-top: 1px solid var(--border); padding-top: 64px; display: none; }
.about-expanded.open { display: block; }
.about-block { margin-bottom: 60px; }
.about-block h3 { font-size: 1.4rem; font-weight: 700; color: var(--primary); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--bg-blue); }
.about-block > p { color: var(--text-mid); margin-bottom: 32px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { text-align: center; padding: 28px 20px; background: var(--bg-light); border-radius: var(--radius); border: 1px solid var(--border); }
.team-avatar { width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 16px; background: var(--gradient-light); overflow: hidden; border: 3px solid #fff; box-shadow: var(--shadow); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.team-card p { font-size: 0.85rem; color: var(--text-mid); }
.hospital-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.hospital-item { padding: 14px 20px; background: var(--bg-blue); border-radius: var(--radius-sm); font-size: 0.9rem; color: var(--primary); border-left: 3px solid var(--accent); font-weight: 500; }
.parent-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 32px 0; }
.stat-item { text-align: center; padding: 24px; background: var(--bg-light); border-radius: var(--radius); }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--accent); margin-bottom: 6px; }
.stat-label { font-size: 0.85rem; color: var(--text-mid); }
.about-sub { font-size: 0.9rem; color: var(--text-mid); line-height: 1.8; padding: 20px; background: var(--bg-light); border-radius: var(--radius-sm); border-left: 3px solid var(--border); }

/* ===================== CONTACT ===================== */
.contact { padding: 100px 0; background: var(--bg-light); }
.contact-inner { max-width: 720px; margin: 0 auto; }
.contact-headline { text-align: center; margin-bottom: 56px; }
.contact-headline p { font-size: 1.05rem; color: var(--text-mid); line-height: 2; }
.contact-headline .highlight { font-size: 1.2rem; font-weight: 700; color: var(--primary); }
.contact-form { background: #fff; border-radius: var(--radius); padding: 48px 40px; box-shadow: var(--shadow); }
.form-row { margin-bottom: 28px; }
.form-row > label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.form-row input[type="text"],
.form-row input[type="tel"],
.form-row input[type="email"],
.form-row textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 0.95rem; color: var(--text);
  transition: border-color var(--transition);
  background: var(--bg-light);
}
.form-row input:focus,
.form-row textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.checkbox-group { display: flex; flex-wrap: wrap; gap: 12px; }
.checkbox-item { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 0.9rem; color: var(--text-mid); }
.checkbox-item input[type="radio"],
.checkbox-item input[type="checkbox"] { accent-color: var(--accent); width: 16px; height: 16px; }
.contact-method { display: flex; flex-direction: column; gap: 14px; }
.contact-method .checkbox-item { flex-wrap: wrap; }
.inline-input {
  margin-left: 8px; padding: 8px 12px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 0.9rem; flex: 1; min-width: 200px;
  transition: border-color var(--transition);
}
.inline-input:focus { outline: none; border-color: var(--accent); }

/* ===================== FOOTER ===================== */
.footer { background: var(--primary); color: rgba(255,255,255,0.8); padding: 64px 0 32px; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo-cn { color: #fff; font-size: 1.5rem; font-weight: 800; margin-bottom: 4px; }
.footer-brand .logo-en { color: rgba(255,255,255,0.5); font-size: 0.7rem; letter-spacing: 0.2em; margin-bottom: 16px; }
.footer-brand p { font-size: 0.85rem; opacity: 0.6; }
.footer-links h5 { color: #fff; font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; letter-spacing: 0.05em; }
.footer-links a { display: block; font-size: 0.85rem; opacity: 0.65; margin-bottom: 10px; transition: opacity var(--transition); }
.footer-links a:hover { opacity: 1; }
.footer-info { font-size: 0.8rem; opacity: 0.5; line-height: 1.8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; text-align: center; font-size: 0.8rem; opacity: 0.5; }

/* ===================== PRODUCT PAGES ===================== */
.product-hero { padding: 140px 0 80px; background: var(--gradient); color: #fff; text-align: center; }
.product-hero-tag { font-size: 0.9rem; letter-spacing: 0.15em; opacity: 0.8; margin-bottom: 16px; text-transform: uppercase; }
.product-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 20px; line-height: 1.2; }
.product-hero p { font-size: 1.1rem; opacity: 0.9; max-width: 600px; margin: 0 auto 40px; line-height: 1.7; }
.product-hero-img { max-width: 500px; margin: 0 auto; }
.product-hero-img-placeholder { height: 300px; background: rgba(255,255,255,0.1); border-radius: var(--radius); backdrop-filter: blur(8px); }
.breadcrumb { padding: 20px 0; font-size: 0.85rem; color: var(--text-light); }
.breadcrumb a { color: var(--accent); }
.breadcrumb span { margin: 0 8px; }
.product-body { padding: 80px 0; }
.product-section { margin-bottom: 80px; }
.product-section-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.product-section-inner.reverse { direction: rtl; }
.product-section-inner.reverse > * { direction: ltr; }
.product-section-inner.full { grid-template-columns: 1fr; text-align: center; max-width: 800px; margin: 0 auto; }
.product-section h2 { font-size: 1.6rem; font-weight: 700; color: var(--primary); margin-bottom: 20px; }
.product-section h3 { font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.product-section p { color: var(--text-mid); line-height: 1.8; margin-bottom: 16px; }
.product-section ul { list-style: none; margin-bottom: 16px; }
.product-section ul li { position: relative; padding-left: 24px; color: var(--text-mid); margin-bottom: 10px; line-height: 1.6; }
.product-section ul li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--gradient); }
.product-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.product-img img { width: 100%; height: auto; }
.product-img-placeholder { border-radius: var(--radius); background: var(--gradient-light); height: 320px; }
.footnote { font-size: 0.8rem; color: var(--text-light); font-style: italic; margin-top: 8px; }
.clinical-block { background: var(--bg-light); border-radius: var(--radius); padding: 40px; border-left: 4px solid var(--accent); margin: 40px 0; }
.clinical-block h3 { color: var(--primary); margin-bottom: 12px; }
.indication-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 24px; }
.indication-item { background: var(--bg-blue); padding: 20px; border-radius: var(--radius-sm); border-left: 3px solid var(--accent); font-size: 0.9rem; color: var(--text-mid); line-height: 1.6; }
.price-block { background: var(--gradient); color: #fff; border-radius: var(--radius); padding: 40px; text-align: center; margin: 40px 0; }
.price-label { font-size: 0.9rem; opacity: 0.8; margin-bottom: 8px; }
.price-value { font-size: 3rem; font-weight: 800; margin-bottom: 16px; }
.price-note { font-size: 0.85rem; opacity: 0.8; line-height: 1.7; }
.product-cta { background: var(--bg-light); padding: 80px 0; text-align: center; }
.product-cta h2 { font-size: 1.8rem; color: var(--primary); margin-bottom: 16px; }
.product-cta p { color: var(--text-mid); margin-bottom: 32px; }
.product-cta .btn { margin: 0 8px; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 24px; gap: 20px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--text); font-size: 1.1rem; }
  .nav-toggle { display: flex; }
  .hero-cn { font-size: 2rem; }
  .about-main { grid-template-columns: 1fr; gap: 40px; }
  .team-grid { grid-template-columns: 1fr; }
  .parent-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .contact-form { padding: 32px 24px; }
  .product-section-inner { grid-template-columns: 1fr; gap: 32px; }
  .product-section-inner.reverse { direction: ltr; }
  .slogan-cn { font-size: 1.8rem; }
  .audience-switcher { flex-direction: column; }
  .audience-btn { min-width: unset; width: 100%; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  .parent-stats { grid-template-columns: 1fr 1fr; }
  .footer-content { grid-template-columns: 1fr; }
}
