/* 湃思健身网站统一样式 - 科技化、简洁化、大留白风格 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --bg-white: #ffffff;
  --bg-light: #f9fafb;
  --border-color: #e5e7eb;
  --spacing-xl: 120px;
  --spacing-lg: 80px;
  --spacing-md: 60px;
  --spacing-sm: 40px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  background-color: var(--bg-white);
  overflow-x: hidden;
}

/* 导航栏样式 */
.header {
  background-color: #00000000;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  height: 80px;
}

.nav-container {
  background-color: rgba(255, 255, 255);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  /* max-width: 1400px; */
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  opacity: 1;
  transition: all 1s ease;
}

.header:hover .nav-container {
  opacity: 1 !important;
}


.logo {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  text-decoration: none;
  letter-spacing: -0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.logo-image {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 48px;
  align-items: center;
}

.nav-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: inline-block;
}

.nav-menu a:hover {
  transform: translateY(-2px);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-color);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all 0.3s ease;
}

/* 首屏Hero区域 */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 40px 100px;
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  max-width: 1200px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 32px;
  letter-spacing: -1px;
  width: 80%;
  margin: 0 auto;
  animation-duration: 1s;
  
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 30px;
  margin-top: 40px;
  font-weight: 400;
  animation-duration: 1s;
}
.hero-button {
  margin: 0 auto;
  width: 200px;
  height: 60px;
  padding: 10px;
  position: relative;
}
.hero-button-btn {
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  color: white;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hero-button:hover .hero-button-btn {
  animation-name: flip;
}
.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  margin-top: 60px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

/* 数据卡片 */
.stats-section {
  padding: var(--spacing-lg) 40px;
  background-color: var(--bg-white);
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.stat-card {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.stat-card {
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-color);
}

.stat-number {
  font-size: 56px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
  line-height: 1;
}

.stat-label {
  font-size: 18px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* 功能展示区域 */
.features-section {
  padding: var(--spacing-xl) 40px;
  background-color: var(--bg-light);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  letter-spacing: -1px;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.feature-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.feature-item:nth-child(even) {
  direction: rtl;
}

.feature-item:nth-child(even) > * {
  direction: ltr;
}

.feature-content {
  padding: 0 20px;
}

.feature-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  line-height: 1.3;
}

.feature-description {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.feature-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

/* 合作伙伴区域 */
.partners-section {
  padding: var(--spacing-xl) 40px;
  background-color: var(--bg-white);
}

.partners-title {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  letter-spacing: -1px;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background-color: var(--bg-light);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  height: 150px;
}

.partner-logo {
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-logo:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-color);
}

.partner-logo img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  /* filter: grayscale(100%); */
  opacity: 0.8;
  transition: all 0.3s ease;
}

.partner-logo:hover img {
  /* filter: grayscale(0%); */
  opacity: 1;
}

/* 特色页样式 */
.feature-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 80px;
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
  position: relative;
}

.feature-hero-content {
  max-width: 1000px;
  text-align: center;
}

.feature-hero-title {
  font-size: 56px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 40px;
  line-height: 1.3;
}

.feature-hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  margin-top: 60px;
}

.feature-details {
  padding: 0;
  background-color: var(--bg-white);
}

/* 特色详情每项单独占一屏，支持滚动吸附 */
.feature-details .section-container {
  display: block;
}

.feature-detail-item {
  min-height: 100vh;
  margin-bottom: 0;
  padding: 100px 40px 80px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-detail-item:last-child {
  margin-bottom: 0;
}

.feature-detail-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 32px;
  line-height: 1.3;
}

.feature-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.feature-detail-text {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.feature-detail-text ul {
  list-style: none;
  padding-left: 0;
  margin-top: 24px;
}

.feature-detail-text li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 20px;
  line-height: 1.8;
}

.feature-detail-text li:last-child {
  margin-bottom: 0;
}

.feature-detail-text li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 700;
}

.feature-detail-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

/* 联系我们页样式 */
.contact-section {
  padding: 140px 40px var(--spacing-xl);
  background-color: var(--bg-light);
  min-height: 100vh;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-info {
  padding: 40px 0;
}

.contact-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  letter-spacing: -1px;
}

.contact-details {
  margin-top: 40px;
}

.contact-item {
  margin-bottom: 32px;
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.contact-item strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.contact-item a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.contact-form-wrapper {
  background-color: var(--bg-white);
  padding: 60px;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.form-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
}

.form-group label .required {
  color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
  background-color: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.captcha-group {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
}

.captcha-group input {
  flex: 1;
}

.captcha-image {
  width: 120px;
  height: 48px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  user-select: none;
  transition: all 0.3s ease;
  letter-spacing: 4px;
}

.captcha-image:hover {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-color: var(--primary-color);
}

.submit-btn {
  padding: 18px 40px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.submit-btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

/* 底部样式 */
.footer {
  background-color: #1f2937;
  color: #9ca3af;
  padding: 60px 40px 30px;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand {
  flex: 1;
  min-width: 200px;
}

.footer-brand h3 {
  color: white;
  font-size: 24px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-links h4 {
  color: white;
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #374151;
  font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 48px;
  }
  
  .section-title,
  .partners-title,
  .contact-title {
    font-size: 40px;
  }
  
  .feature-item,
  .feature-detail-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .feature-item:nth-child(even) {
    direction: ltr;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 20px;
    height: 70px;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    flex-direction: column;
    background-color: white;
    width: 100%;
    padding: 40px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    gap: 24px;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hero-section,
  .feature-hero {
    padding: 100px 20px 60px;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .stats-section,
  .features-section,
  .partners-section,
  .feature-details,
  .contact-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .stats-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .section-title,
  .partners-title,
  .contact-title {
    font-size: 32px;
  }
  
  .feature-title {
    font-size: 28px;
  }
  
  .feature-detail-item {
    padding: 80px 20px 60px;
  }
  
  .feature-detail-title {
    font-size: 28px;
  }
  
  .contact-form-wrapper {
    padding: 40px 24px;
  }
  
  .form-title {
    font-size: 28px;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-links {
    width: 100%;
    gap: 40px;
  }
}

