/* 杭州沐春庭健康科技有限公司 - 官网样式表 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-color: #059669; /* 翡翠绿 */
  --primary-gradient: linear-gradient(135deg, #059669 0%, #10b981 100%);
  --secondary-color: #06b6d4; /* 蓝绿/青色 */
  --secondary-gradient: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  --accent-color: #f59e0b; /* 琥珀色 */
  
  --dark-color: #0f172a; /* 深 slate */
  --dark-accent: #1e293b;
  --light-color: #f8fafc;
  --white-color: #ffffff;
  
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --text-light: #f1f5f9;
  
  --font-display: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans CJK SC", sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans CJK SC", sans-serif;
  
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --box-shadow-soft: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  --box-shadow-card: 0 20px 40px -15px rgba(15, 23, 42, 0.05);
  --box-shadow-hover: 0 30px 60px -20px rgba(5, 150, 105, 0.15);
}

/* 基础重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--white-color);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 页面版心 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 导航栏 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(241, 245, 249, 0.6);
  transition: var(--transition-smooth);
}

.header.scrolled {
  height: 70px;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.05);
}

.header .container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
}

.logo-dot {
  width: 12px;
  height: 12px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: inline-block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-btn {
  padding: 10px 24px;
  background: var(--primary-gradient);
  color: var(--white-color);
  font-size: 14px;
  font-weight: 600;
  border-radius: 100px;
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.2);
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(5, 150, 105, 0.3);
}

/* 移动端菜单按钮 */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 24px;
}

.mobile-nav-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  transition: var(--transition-smooth);
}

/* 巨幕 Hero Section */
.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 10% 20%, rgba(240, 253, 244, 0.5) 0%, rgba(255, 255, 255, 1) 90%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
}

.hero-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 100px;
  color: var(--primary-color);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  animation: fadeInDown 0.6s ease-out;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--dark-color);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-title span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 520px;
  animation: fadeInUp 1s ease-out;
}

.hero-btns {
  display: flex;
  gap: 16px;
  animation: fadeInUp 1.2s ease-out;
}

.btn-primary {
  padding: 14px 32px;
  background: var(--primary-gradient);
  color: var(--white-color);
  font-weight: 600;
  border-radius: 100px;
  box-shadow: 0 10px 25px -5px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(5, 150, 105, 0.4);
}

.btn-secondary {
  padding: 14px 32px;
  border: 2px solid #e2e8f0;
  color: var(--text-dark);
  font-weight: 600;
  border-radius: 100px;
}

.btn-secondary:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
}

.hero-image {
  flex: 1;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.hero-image-wrapper {
  background-color: var(--white-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-card);
  border: 1px solid rgba(241, 245, 249, 0.8);
}

/* 关于我们 Section */
.about {
  padding: 120px 0;
  background-color: var(--light-color);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 70px;
}

.section-subtitle {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-color);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--dark-color);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-heading {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--dark-color);
}

.about-text {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 16px;
}

.value-card {
  padding: 24px;
  background-color: var(--white-color);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(241, 245, 249, 0.8);
  box-shadow: var(--box-shadow-soft);
  transition: var(--transition-smooth);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
  border-color: rgba(16, 185, 129, 0.2);
}

.value-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(16, 185, 129, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 20px;
  margin-bottom: 16px;
  font-weight: bold;
}

.value-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 8px;
}

.value-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* 核心业务 Section */
.services {
  padding: 120px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  padding: 40px 30px;
  background-color: var(--white-color);
  border-radius: var(--border-radius-md);
  border: 1px solid #f1f5f9;
  box-shadow: var(--box-shadow-card);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-gradient);
  opacity: 0;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.08);
  border-color: transparent;
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon-box {
  width: 64px;
  height: 64px;
  background-color: rgba(16, 185, 129, 0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 24px;
  margin-bottom: 28px;
}

.service-card:hover .service-icon-box {
  background-color: var(--primary-color);
  color: var(--white-color);
  transform: scale(1.05);
  transition: var(--transition-smooth);
}

.service-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 16px;
}

.service-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* 企业公示 Section */
.compliance {
  padding: 100px 0;
  background-color: var(--dark-color);
  color: var(--white-color);
  position: relative;
  overflow: hidden;
}

.compliance::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
}

.compliance .section-title {
  color: var(--white-color);
}

.compliance-card {
  background-color: var(--dark-accent);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  padding: 50px;
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.compliance-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background-color: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 100px;
  color: var(--secondary-color);
  font-size: 13px;
  font-weight: 600;
  align-self: flex-start;
}

.compliance-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--white-color);
}

.compliance-desc {
  color: var(--text-light);
  opacity: 0.8;
  font-size: 15px;
  line-height: 1.8;
}

.compliance-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
}

.compliance-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.compliance-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(6, 182, 212, 0.2);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.compliance-item-text {
  font-size: 14px;
}

.compliance-badge-box {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  padding: 40px 30px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.badge-seal {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-color: rgba(16, 185, 129, 0.1);
  border: 2px dashed var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-weight: 800;
  font-size: 24px;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.badge-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
  opacity: 0.6;
  margin-bottom: 8px;
}

.badge-code {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--secondary-color);
  margin-bottom: 12px;
}

.badge-status {
  display: inline-block;
  padding: 4px 12px;
  background-color: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

/* 联系我们 Section */
.contact {
  padding: 120px 0;
  background-color: var(--white-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-heading {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--dark-color);
}

.contact-desc {
  color: var(--text-muted);
  font-size: 15px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon-box {
  width: 52px;
  height: 52px;
  background-color: rgba(16, 185, 129, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 18px;
  flex-shrink: 0;
}

.contact-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 6px;
}

.contact-detail {
  font-size: 14px;
  color: var(--text-muted);
}

.contact-form {
  background-color: var(--light-color);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  border: 1px solid #f1f5f9;
  box-shadow: var(--box-shadow-soft);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid #cbd5e1;
  background-color: var(--white-color);
  border-radius: var(--border-radius-sm);
  outline: none;
  font-family: inherit;
  font-size: 14px;
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--primary-gradient);
  color: var(--white-color);
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  text-align: center;
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.2);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.3);
}

/* 页脚 Footer */
.footer {
  background-color: var(--dark-color);
  color: var(--text-light);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 50px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white-color);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 13px;
  opacity: 0.6;
  line-height: 1.7;
}

.footer-navs {
  display: flex;
  gap: 80px;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-nav-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--white-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 13px;
  opacity: 0.6;
}

.footer-link:hover {
  opacity: 1;
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  font-size: 12px;
  opacity: 0.5;
}

.footer-compliance-info {
  font-size: 12px;
  opacity: 0.5;
  display: flex;
  gap: 16px;
}

/* 动效 Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* 响应式媒体查询 */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 40px;
  }
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .compliance-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header {
    height: 70px;
  }
  .nav {
    display: none; /* 可以扩展做响应式汉堡包菜单 */
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .hero-wrapper {
    flex-direction: column-reverse;
    gap: 40px;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-btns {
    justify-content: center;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    flex-direction: column;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
