/* ========================================
   时悦 Say I Fine - 品牌官网样式 v97
   严格对照 HTML 实际类名 + Canvas.png 设计稿
   ======================================== */

/* ---------- CSS 变量 ---------- */
:root {
  --teal: #3FD2C7;
  --teal-light: #7eded5;
  --navy: #00458B;
  --navy-dark: #003670;
  --bg: #FAF8F5;
  --text: #333;
  --text-light: #595757;
}

/* ---------- Reset & Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
  color: var(--text); background: #fff; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.text-teal { color: var(--teal); }
.text-dark { color: var(--navy); }

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 1px 20px rgba(0,69,139,0.06); padding: 14px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo-img { height: 38px; }
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-size: 14px; color: #999; font-weight: 500;
  letter-spacing: 0.5px; padding-bottom: 4px; position: relative;
  transition: color 0.3s ease;
}
.nav-links a:hover {
  color: #00458B;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--teal); transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

/* ---------- HERO (纯背景图) ---------- */
.hero {
  height: 100vh; min-height: 600px;
  background: url('../images/hero-bg.jpg') center top / cover no-repeat;
}

/* ---------- HERO INTRO ---------- */
.hero-intro { padding: 160px 0 90px; background: var(--bg); }
.hero-intro-inner { display: flex; align-items: center; gap: 10px; }
.hero-intro-content { flex: 0 1 auto; max-width: 580px; transform: translateY(-20px); }
.hero-intro-tag {
  font-size: 13px; color: var(--teal); letter-spacing: 2px;
  margin-bottom: 14px; font-weight: 500;
}
.hero-intro-title {
  font-size: 42px; color: var(--navy); line-height: 1.25;
  margin-bottom: 18px; font-weight: 700;
}
.hero-intro-desc {
  font-size: 14px; color: var(--text-light); line-height: 1.85; margin-bottom: 28px;
}
.hero-intro-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  padding: 12px 28px; border-radius: 50px; font-size: 14px;
  font-weight: 500; letter-spacing: 0.3px; transition: all 0.3s ease;
  display: inline-block; cursor: pointer;
}
.btn-teal-solid { background: var(--teal); color: #fff; border: none; }
.btn-teal-solid:hover {
  background: var(--teal-light); transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(63,210,199,0.25);
}
.btn-outline-navy { border: 1.5px solid var(--navy); color: var(--navy); background: transparent; }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

.hero-intro-badge { flex-shrink: 0; transform: translateY(-120px) translateX(-50px); }
.hero-intro-badge img { width: 120px; height: auto; }

/* ---------- ABOUT (关于我们) ---------- */
.about { padding: 90px 0 70px; background: var(--bg); }
.about-card {
  max-width: 1200px; margin: 0 auto;
  background: #fff url('../images/intro-bg.png') center/cover no-repeat;
  border-radius: 20px; padding: 56px;
  display: flex; align-items: stretch; gap: 36px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.04);
  position: relative; overflow: hidden;
}
.about-left { flex: 1; z-index: 1; display: flex; flex-direction: column; justify-content: center; }
.about-logo {
  position: absolute; bottom: 20px; right: 20px;
  width: 110px; opacity: 0.65;
}
.section-title-about {
  font-size: 36px; color: var(--navy); margin-bottom: 12px;
  line-height: 1.35; font-weight: 300;
}
.about-subtitle {
  font-size: 18px; color: var(--text-light);
  line-height: 1.7; margin-bottom: 22px;
}
.about-body p {
  font-size: 13px; color: var(--text-light);
  line-height: 1.9; margin-bottom: 20px;
}
.about-body p:last-child { margin-bottom: 0; }
.about .btn-teal-solid { margin-top: 24px; }

/* ---------- METHOD (科学减重三步法) ---------- */
.method { padding: 80px 0 60px; background: var(--bg); }
.section-title-center {
  text-align: center; font-size: 36px; color: var(--navy);
  margin-bottom: 6px; font-weight: 700; letter-spacing: 1px;
}
.section-subtitle-center {
  text-align: center; font-size: 13px; color: var(--text-light);
  margin-bottom: 46px;
}

.method-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.m-card {
  text-align: left; padding: 88px 28px 38px;
  border-radius: 16px;
  background: #fff; transition: all 0.3s ease;
  position: relative;
}
.m-card:hover {
  transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.m-num-wrap {
  position: absolute; right: 15px; top: 38px;
}
.m-num { width: 45px; height: auto; opacity: 0.9; }
.m-title {
  font-size: 19px; color: var(--navy); margin-bottom: 12px; font-weight: 600;
}
.m-desc {
  font-size: 13px; color: var(--text-light); line-height: 1.75;
}

/* ---------- CASES (用户见证·拍立得) ---------- */
.cases {
  padding: 80px 0 200px; background: var(--bg);
  position: relative; overflow: hidden;
}
.cases-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; position: relative;
}
.case-item {
  position: relative; transition: transform 0.3s ease;
}
.case-item:hover { transform: scale(1.05) rotate(0deg) !important; z-index: 10; }
.case-item img {
  width: 100%; height: 260px; object-fit: cover;
  border: 10px solid; border-radius: 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
/* 拍立得彩色边框：深蓝/青绿交替 */
.case-1 img { border-color: var(--navy); }
.case-2 img { border-color: var(--teal); }
.case-3 img { border-color: var(--navy); }
.case-4 img { border-color: var(--teal); }
/* 拍立得旋转（更大错落感） */
.case-1 { transform: rotate(-6deg) translate(-14px, 6px); }
.case-2 { transform: rotate(5deg) translate(6px, -10px); }
.case-3 { transform: rotate(-3deg) translate(10px, 12px); }
.case-4 { transform: rotate(7deg) translate(-6px, -6px); }
/* 底部信息区：彩色背景+白色文字 */
.case-info {
  padding: 10px 8px; border-radius: 0 0 0 0;
  font-size: 11px; color: #fff;
}
.case-info-teal { background: var(--teal); }
.case-info-navy { background: var(--navy); }
.case-info span { margin-right: 6px; white-space: nowrap; }
.case-info-teal .case-info-label { color: rgba(255,255,255,0.7); }

/* 虚线装饰圆 */
.cases-deco-circle {
  position: absolute; border: 2px dashed var(--teal);
  border-radius: 50%; opacity: 0.22; pointer-events: none;
}
.cases-deco-1 {
  width: 580px; height: 280px;
  top: 180px; left: -100px;
  border-radius: 50% 30% 70% 40% / 40% 50% 60% 50%;
}
.cases-deco-2 {
  width: 340px; height: 240px;
  top: 140px; right: -80px;
  border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
  opacity: 0.18;
}
/* 小圆点装饰 */
.cases::before {
  content: ''; position: absolute;
  width: 55px; height: 55px;
  border: 3px solid var(--teal); border-radius: 50%;
  opacity: 0.25; top: 160px; left: 45%;
  pointer-events: none;
}
.cases::after {
  content: ''; position: absolute;
  width: 75px; height: 75px;
  border: 3px solid var(--teal); border-radius: 50%;
  opacity: 0.2; bottom: 230px; left: 6%;
  pointer-events: none;
}
/* 虚线波浪曲线 SVG */
.cases-wave {
  position: absolute; bottom: 30px; left: 0;
  width: 100%; height: 120px;
  pointer-events: none;
  opacity: 0.18;
}

/* ---------- PROMISE (服务承诺) ---------- */
.promise {
  padding: 80px 0 90px;
  background: linear-gradient(135deg, #e0f7f5 0%, #c5f0ed 50%, #b0e8e4 100%);
  overflow: visible;
  position: relative;
}
.promise-inner { display: flex; align-items: center; gap: 72px; }
.promise-left { flex: 1; }
.section-title-promise {
  font-size: 36px; color: var(--navy); margin-bottom: 6px; font-weight: 700;
}
.promise-subtitle { font-size: 13px; color: var(--text-light); margin-bottom: 28px; }
.promise-list { list-style: none; }
.promise-list li {
  font-size: 14px; color: var(--navy); padding: 12px 0;
  border-bottom: none;
  display: block;
}
.promise-check {
  color: #fff; font-weight: bold; font-size: 11px; line-height: 1;
  width: 20px; height: 20px; background: var(--teal);
  border-radius: 50%; display: inline-block;
  text-align: center; line-height: 20px;
  margin-right: 12px; vertical-align: middle;
}
.promise-line {
  display: inline-block;
  border-bottom: 1px solid rgba(0,69,139,0.08);
  width: auto;
}
.promise-mascot-img {
  width: 480px; height: auto;
  position: absolute;
  bottom: 0;
  left: calc(50% + 120px);
  z-index: 2;
  pointer-events: none;
}

/* ---------- CERTS (专业认证团队) ---------- */
.certs { padding: 80px 0 60px; background: #fff; }
.certs .section-title-center { font-size: 36px; font-weight: 700; }
.certs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.cert-item { text-align: center; padding: 30px 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.cert-icon-wrap { margin-bottom: 14px; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; }
.cert-icon { width: 80px; height: 80px; object-fit: contain; vertical-align: middle; }
.cert-name { font-size: 15px; color: var(--navy); font-weight: 600; margin-bottom: 3px; }
.cert-en { font-size: 13px; color: var(--text-light); letter-spacing: 0.5px; }

/* ---------- TEAM (认识我们 · 2×2布局) ---------- */
.team { padding: 120px 0 100px; background: var(--bg); }
.team .section-title-center { font-size: 36px; font-weight: 700; }
.team-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 28px; max-width: 1100px; margin: 0 auto;
}
.member-card {
  display: flex; flex-direction: row; align-items: flex-start; gap: 32px;
  padding: 32px; border-radius: 24px; background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}
.member-card:hover {
  transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.member-photo-wrap { position: relative; flex-shrink: 0; }
.member-photo {
  width: 200px; height: auto; border-radius: 0; border: none;
  object-fit: cover;
}
.member-info { text-align: left; }
.member-name-wrap { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.member-name { font-size: 28px; color: var(--navy); font-weight: 600; }
.member-en { font-size: 16px; color: var(--text-light); font-weight: 400; }
.member-role { font-size: 13px; color: var(--teal); margin-bottom: 16px; font-weight: 500; }
.member-bio p { font-size: 13px; color: var(--navy); line-height: 1.8; margin: 0; }

/* ---------- CTA (深蓝色背景 + 兔子比心) ---------- */
.cta {
  padding: 105px 0;
  background: linear-gradient(135deg, #00458B 0%, #003670 50%, #002a55 100%);
  position: relative; overflow: visible;
}
.cta-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.cta-circle {
  position: absolute; border-radius: 50%;
  background: rgba(63,210,199,0.08);
}
.cta-circle-1 { width: 300px; height: 300px; top: -80px; right: 120px; }
.cta-circle-2 { width: 200px; height: 200px; bottom: -60px; left: 80px; }

.cta-inner { display: flex; align-items: center; justify-content: center; gap: 56px; max-width: 960px; margin: 0 auto; position: relative; z-index: 1; padding-left: 200px; }
.cta-left { flex-shrink: 0; }
.cta-mascot-img {
  width: 280px; height: auto;
  position: absolute;
  bottom: 0;
  left: 22%;
  z-index: 10;
}
.cta-right { text-align: center; max-width: 520px; }
.cta-title {
  font-size: 36px; color: #fff; margin-bottom: 10px;
  line-height: 1.35; font-weight: 700;
}
.cta-desc { font-size: 14px; color: rgba(255,255,255,0.85); margin-bottom: 20px; line-height: 1.7; }
.cta-highlight { color: var(--teal-light); font-size: 12px; }
.btn-cta {
  background: var(--teal); color: #fff; padding: 14px 36px;
  border-radius: 50px; font-size: 15px; font-weight: 600;
  display: inline-block; transition: all 0.3s ease;
  letter-spacing: 0.5px; box-shadow: 0 4px 15px rgba(63,210,199,0.3);
}
.btn-cta:hover {
  background: var(--teal-light); transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(63,210,199,0.4);
}

/* ---------- FOOTER ---------- */
.footer { padding: 56px 0 28px; background: var(--bg); color: var(--text); }
.footer-qr-section { display: flex; justify-content: center; gap: 76px; margin-bottom: 36px; }
.qr-item { text-align: center; }
.qr-img-wrap { margin-bottom: 8px; position: relative; }
.qr-img {
  width: 132px; height: 132px; border: 1px solid #eee;
  border-radius: 8px; padding: 5px; background: #fff;
  box-shadow: none !important;
  filter: none !important;
}

.qr-img-wrap::before,
.qr-img-wrap::after {
  display: none !important;
}
.qr-label { 
  font-size: 12px; 
  color: var(--navy); 
  line-height: 1.55; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 6px;
}
.qr-label::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url('../images/icon-wechat-double.png') no-repeat center/contain;
}
.qr-item-single .qr-label::before {
  background-image: url('../images/icon-wechat-single.png');
}
.qr-wechat-icon { position: absolute; bottom: 4px; right: 4px; }
.wechat-icon-img { width: 22px; height: 22px; }

.footer-bottom { border-top: 1px solid #eee; padding-top: 28px; }
.footer-bottom-inner {
  display: flex; align-items: center;
}
.footer-bottom-right {
  margin-left: auto;
  text-align: right;
}
.footer-logo-img { height: 36px; }
.footer-slogan { font-size: 14px; color: var(--navy); font-weight: 500; }
.footer-copyright { font-size: 12px; color: var(--text-light); }

/* ---------- 动画(reveal) ---------- */
.reveal { opacity: 0; transition: all 0.6s ease; }
.reveal.active { opacity: 1; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: 1fr; max-width: 500px; }
  .member-card { flex-direction: column; text-align: center; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .hero-intro-inner { flex-direction: column; text-align: center; gap: 36px; }
  .hero-intro-content { max-width: 100%; }
  .hero-intro-title { font-size: 30px; }
  .hero-intro-badge img { width: 170px; }
  .about-card { flex-direction: column; padding: 30px; }
  .about-right { width: 100%; min-height: 200px; }
  .method-cards { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .case-1, .case-2, .case-3, .case-4 { transform: none !important; }
  .promise-inner { flex-direction: column; }
  .promise-mascot-img { width: 220px; }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; max-width: 100%; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-mascot-img { width: 150px; }
  .footer-qr-section { flex-direction: column; gap: 28px; }
  .footer-bottom-inner { flex-direction: column; gap: 14px; text-align: center; }
}