* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1000;
  border-bottom: 1px solid #eee;
}

.header-top { padding: 15px 0; }

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

.logo img { height: 74px; width: auto; object-fit: contain; }

.nav ul { display: flex; list-style: none; }
.nav li { margin: 0 15px; }

.nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s;
  position: relative;
  padding: 5px 0;
}

.nav a:hover { color: #f54f4f; }

.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #f54f4f;
  transition: width 0.3s;
}

.nav a:hover::after { width: 100%; }

.login-btn {
  background-color: #f54f4f;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  transition: background-color 0.3s;
  border: none;
  cursor: pointer;
  font-weight: 500;
}

.login-btn:hover { background-color: #c0392b; }

.main-content { background-color: #f5f5f5; }

.form-section {
  padding: 60px 0;
  background: url("../images/backgrounds/hero-background.jpg") center center / cover no-repeat;
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
}

.illustration-placeholder { flex: 1; }

.form-container {
  flex: 0 0 400px;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.form-container h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-size: 14px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  font-size: 14px;
}

.phone-input { display: flex; gap: 10px; }
.phone-input select { width: 150px; flex-shrink: 0; }
.phone-input input { flex: 1; }

.radio-group { display: flex; gap: 20px; }
.radio-group label { display: flex; align-items: center; gap: 6px; font-weight: normal; }

.submit-btn {
  width: 100%;
  background-color: #e74c3c;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover { background-color: #c0392b; }

.features-section { padding: 60px 0; background-color: #fff; }

.feature-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-card {
  text-align: center;
  padding: 30px 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
  background: #fff;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon { margin-bottom: 15px; display: flex; justify-content: center; }
.feature-icon img { width: 80px; height: 80px; object-fit: contain; }
.feature-card h3 { margin: 15px 0 5px; color: #333; font-size: 18px; font-weight: 600; }
.feature-card .separator { color: #999; margin: 5px 0; }
.feature-card .description { color: #666; line-height: 1.6; font-size: 14px; }

.recommendations-section { padding: 60px 0; background-color: #f9f9f9; }
.recommendations-section h2 { text-align: center; color: #333; margin-bottom: 10px; font-size: 24px; }
.recommendations-section > .container > p { text-align: center; color: #666; margin-bottom: 40px; font-size: 16px; }

.recommendation-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.recommendation-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.recommendation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.avatar { width: 100%; height: 200px; overflow: hidden; background: #f0f0f0; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

.info { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.info h4 { margin: 0 0 10px; color: #333; font-size: 16px; line-height: 1.5; font-weight: 600; }
.info p { color: #555; font-size: 14px; line-height: 1.6; margin-bottom: 15px; flex: 1; }

.btn-primary {
  background-color: #e74c3c;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

.btn-primary:hover { background-color: #c0392b; }

.male-members-section { padding: 40px 0; background-color: #fff; }

.male-members-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.male-member-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}

.male-member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.member-avatar { width: 100%; height: 200px; overflow: hidden; background: #f0f0f0; }
.member-avatar img { width: 100%; height: 100%; object-fit: cover; }
.member-info { padding: 15px 15px 10px; }
.member-info h4 { margin: 0; color: #333; font-size: 16px; font-weight: 600; }
.member-location { margin: 5px 0 0; color: #666; font-size: 14px; }
.member-desc { padding: 0 15px 15px; color: #555; font-size: 14px; line-height: 1.6; flex: 1; }
.contact-btn { margin: 0 15px 15px; align-self: flex-start; }

.services-section { padding: 60px 0; background-color: #f9f9f9; }
.services-section h2 { text-align: center; color: #333; font-size: 24px; margin-bottom: 10px; }
.subtitle { text-align: center; color: #666; font-size: 16px; margin-bottom: 30px; }

.service-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.service-tab {
  padding: 12px 30px;
  background: #fff;
  border: none;
  border-radius: 25px;
  color: #333;
  cursor: pointer;
  transition: 0.3s;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-tab:hover {
  background: #ff8fa3;
  color: #fff;
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.service-tab.active {
  background: linear-gradient(135deg, #e74c3c, #ff6b81);
  color: #fff;
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

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

.service-article {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-article:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.article-image { width: 100%; height: 200px; overflow: hidden; background: #f0f0f0; }
.article-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.service-article:hover .article-image img { transform: scale(1.1); }
.service-article h3 { color: #333; font-size: 18px; margin: 20px 20px 10px; font-weight: 600; }
.service-article p { color: #666; font-size: 14px; line-height: 1.6; margin: 0 20px 10px; }
.service-article .date { color: #999; font-size: 12px; display: block; margin: 0 20px 20px; }

.success-stories-section { padding: 60px 0; background-color: #fff; }
.success-stories-section h2 { text-align: center; color: #333; font-size: 24px; margin-bottom: 10px; }

.stories-accordion { display: flex; gap: 10px; height: 400px; }

.accordion-item {
  position: relative;
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.5s;
}

.accordion-item:hover { flex: 3; }
.accordion-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

.story-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.accordion-item:hover .story-overlay {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s 0.5s, visibility 0.5s;
}

.story-overlay p {
  color: #fff;
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
  margin: 0;
  max-width: 600px;
  word-break: break-word;
}

.tips-section { padding: 60px 0; background-color: #f9f9f9; }

.tips-container {
  border: 3px solid #ff6b81;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  background: #fff;
}

.tips-header {
  background: linear-gradient(135deg, #ff6b81, #ff8fa3);
  color: #fff;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  position: relative;
}

.tips-header::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  border-style: solid;
  border-width: 100px 0 100px 30px;
  border-color: transparent transparent transparent #ff6b81;
}

.tips-header h2 { font-size: 24px; margin: 0; color: #fff; letter-spacing: 2px; }
.exclamation { font-size: 48px; font-weight: 700; margin-bottom: 10px; }

.tips-content {
  flex: 1;
  padding: 30px 40px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.tip-item { display: flex; align-items: flex-start; gap: 15px; flex: 1; padding: 0 20px; }
.tip-number { font-size: 48px; font-weight: 700; color: #ff6b81; line-height: 1; flex-shrink: 0; }
.tip-item p { color: #666; font-size: 14px; line-height: 1.8; margin: 0; padding-top: 10px; }

.about-section { padding: 60px 0; background-color: #fff; }
.about-section h2 { text-align: center; color: #333; font-size: 24px; margin-bottom: 20px; }
.about-desc { text-align: center; color: #666; font-size: 14px; line-height: 1.8; max-width: 800px; margin: 0 auto 20px; }
.more-link { display: block; text-align: center; color: #e74c3c; text-decoration: none; font-size: 16px; font-weight: 700; }
.more-link:hover { text-decoration: underline; }

.news-section { padding: 60px 0; background-color: #f9f9f9; }
.news-section h2 { text-align: center; color: #333; font-size: 24px; margin-bottom: 10px; }
.news-list { display: grid; grid-template-columns: 1fr; gap: 20px; }

.news-item {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.news-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.news-item h3 { color: #333; font-size: 18px; margin-bottom: 10px; }
.news-item .date { color: #999; font-size: 12px; margin-right: 15px; }
.news-item p { color: #666; font-size: 14px; line-height: 1.6; margin: 10px 0 0; }

.footer {
  background-color: #333;
  color: #fff;
  padding: 40px 0 20px;
  margin-top: 40px;
}

.contact-section { margin-bottom: 40px; padding-bottom: 30px; border-bottom: 1px solid #555; }
.contact-section h3 { margin-bottom: 20px; font-size: 20px; color: #fff; }
.contact-options { display: flex; justify-content: space-around; flex-wrap: wrap; }
.contact-option { text-align: center; margin: 0 15px; flex: 1; min-width: 150px; }
.contact-option h4 { margin: 0 0 8px; font-size: 16px; color: #fff; }
.contact-option p { margin: 0; color: #ccc; font-size: 14px; line-height: 1.6; }

.copyright { text-align: center; padding-top: 20px; border-top: 1px solid #555; }
.copyright p { margin: 5px 0; color: #aaa; font-size: 12px; }
.copyright a { color: #aaa; text-decoration: none; }
.copyright a:hover { color: #ccc; text-decoration: underline; }
.beian-icon { height: 16px; vertical-align: middle; margin-right: 5px; }

@media (max-width: 1024px) {
  .feature-cards,
  .recommendation-list,
  .male-members-list,
  .service-articles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header .container { flex-direction: column; gap: 15px; }
  .nav ul { flex-wrap: wrap; justify-content: center; }
  .hero-content { justify-content: center; }
  .form-container { flex: 1; width: 100%; }
  .feature-cards,
  .recommendation-list,
  .male-members-list,
  .service-articles { grid-template-columns: 1fr; }
  .stories-accordion { flex-direction: column; height: auto; }
  .accordion-item { height: 200px; }
  .tips-container { flex-direction: column; }
  .tips-header::after { display: none; }
  .tips-content { flex-direction: column; gap: 20px; }
}
