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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.container1 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* 导航栏 */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

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

.nav-brand h2 {
  color: #2563eb;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #2563eb;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* 英雄区域 */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="1" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.highlight {
  color: #fbbf24;
  text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #fbbf24;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  align-items: center;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .hero-cta {
    justify-content: center;
  }
}



.btn-primary,
.btn-secondary {
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: #fbbf24;
  color: #111827;
  font-weight: 600;
}

.btn-primary:hover {
  background: #f59e0b;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
  font-weight: 600;
}

.btn-secondary:hover {
  background: white;
  color: #2563eb;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* 痛点分析 */
.pain-points {
  padding: 80px 0;
  background: #f8fafc;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #1f2937;
}
.section-title1 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #bcd8ff;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.pain-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid #e5e7eb;
}

.pain-card:hover {
  transform: translateY(-10px);
}

.pain-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.pain-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #111827; /* 更深的颜色确保可读性 */
}

.pain-card p {
  color: #374151; /* 更深的灰色确保可读性 */
  line-height: 1.6;
}

/* 解决方案 */
.solution {
  padding: 80px 0;
  background: white;
}

.section-subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 3rem;
}
.section-subtitle1 {
  text-align: center;
  font-size: 1.25rem;
  color: #e0eaff;
  margin-bottom: 3rem;
}
.solution-content {
  display: grid;
  gap: 3rem;
}

.solution-card {
  background: #f8fafc;
  padding: 2.5rem;
  border-radius: 20px;
  border-left: 5px solid #2563eb;
}

.solution-card.featured {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-left: 5px solid #fbbf24;
}

.solution-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.solution-card ul {
  list-style: none;
}

.solution-card li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.solution-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #fbbf24;
  font-weight: bold;
}

.revenue-sources h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: center;
}

.revenue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.revenue-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.revenue-item:hover {
  transform: translateY(-5px);
}

.revenue-icon {
  font-size: 2rem;
}

/* 目标群体 */
.target-groups {
  padding: 80px 0;
  background: #f8fafc;
}

.groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.group-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.group-card:hover {
  transform: translateY(-10px);
}

.group-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.group-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #111827 !important;
  text-align: center;
}

/* 
.group-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.group-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #111827 !important;
} */

.group-card p {
  color: #374151 !important;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.group-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.benefit-tag {
  background: #e0e7ff;
  color: #3730a3;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* 收益计算器 */
.calculator-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.calculator-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.calculator-inputs {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.input-group {
  margin-bottom: 2rem;
}

.input-group label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 600;
}

.slider-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.slider {
  flex: 1;
  height: 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.3);
  outline: none;
  -webkit-appearance: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fbbf24;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fbbf24;
  cursor: pointer;
  border: none;
}

.slider-value {
  min-width: 60px;
  text-align: center;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem;
  border-radius: 10px;
}

.calculator-results {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.result-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tab-btn {
  flex: 1;
  padding: 0.75rem;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: #fbbf24;
  color: #1f2937;
}

.result-content {
  position: relative;
  min-height: 200px;
}

.result-item {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  text-align: center;
}

.result-item.active {
  opacity: 1;
  transform: translateY(0);
}

.result-number {
  font-size: 3rem;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 0.5rem;
}

.result-label {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.result-detail {
  display: flex;
  justify-content: space-around;
  font-size: 0.9rem;
  opacity: 0.8;
}

.calculator-note {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  text-align: center;
}

/* 成功案例 */
.cases-section {
  padding: 80px 0;
  background: white;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.case-card {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.case-card:hover {
  transform: translateY(-10px);
}

.case-avatar {
  text-align: center;
  margin-bottom: 1.5rem;
}

.case-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.case-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #111827 !important;
  text-align: center;
}

.case-time {
  text-align: center;
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.case-desc {
  color: #374151 !important;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.case-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #2563eb;
  font-weight: 600;
}

/* 企业责任 */
.responsibility {
  padding: 80px 0;
  background: #f8fafc;
}

.responsibility-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.responsibility-text p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 3rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.value-item h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #111827 !important;
}

.value-item p {
  color: #374151 !important;
  line-height: 1.6;
}

/* 教育价值 */
.education-value {
  padding: 80px 0;
  background: white;
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.education-card {
  background: white; /* 改为白色背景 */
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.education-card:hover {
  transform: translateY(-10px);
}

.education-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.education-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #111827; /* 确保深色文字 */
}

.education-card p {
  color: #374151; /* 确保深色文字 */
  line-height: 1.6;
}

/* 风险提示 */
.risk-warning {
  padding: 80px 0;
  background: #fef2f2;
}

.warning-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.warning-content1 {
  display: grid;
 
  gap: 2rem;
  margin-bottom: 2rem;
}



.warning-box {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  border-left: 5px solid #ef4444;
}
@media (max-width: 768px) {
  .warning-box {
    border-right: 1px solid #e5e7eb;
  }
}


.warning-box h3 {
  color: #dc2626;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.warning-box ul {
  list-style: none;
}

.warning-box li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
  color: #4b5563;
  line-height: 1.6;
}


@media (max-width: 768px) {
  .warning-box li {
    padding-right: 1rem;
    white-space: normal; /* 重置可能的强制不换行 */
  }
}

.warning-box li::before {
  content: "⚠️";
  position: absolute;
  left: 0;
}

.investment-advice {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  border: 2px solid #fbbf24;
  text-align: center;
}

.investment-advice p {
  color: #4b5563;
  line-height: 1.6;
  font-size: 1.125rem;
}

/* 联系我们 */
.contact-section {
  padding: 80px 0;
  background: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.contact-icon {
  font-size: 2rem;
  background: #e0e7ff;
  padding: 1rem;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-details h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.contact-details p {
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.qr-codes {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.qr-item {
  text-align: center;
}

.qr-code {
  width: 150px;
  height: 150px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.qr-item p {
  font-weight: 600;
  color: #1f2937;
}

/* 页脚 */
.footer {
  background: #1f2937;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fbbf24;
}

.footer-brand p {
  color: #9ca3af;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 3rem;
}

.footer-column h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fbbf24;
}

.footer-column a {
  display: block;
  color: #9ca3af;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
}

.footer-disclaimer {
  margin-bottom: 1rem;
}

.footer-disclaimer p {
  color: #9ca3af;
  margin-bottom: 0.5rem;
}

.footer-copyright p {
  color: #6b7280;
  font-size: 0.9rem;
}

/* 家族传承 */
.family-legacy {
  padding: 80px 0;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  position: relative;
}

.family-legacy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="legacy-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23d1d5db" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23legacy-pattern)"/></svg>');
  opacity: 0.5;
}

.legacy-content {
  position: relative;
  z-index: 1;
}

.legacy-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.legacy-quote,
.legacy-solution {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-left: 5px solid #fbbf24;
}

.legacy-quote h3,
.legacy-solution h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #111827;
}

.legacy-quote p,
.legacy-solution p {
  color: #374151;
  line-height: 1.8;
  font-size: 1.125rem;
}

.legacy-benefits {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  margin-bottom: 4rem;
}

.legacy-benefits h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: center;
  color: #111827;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  font-size: 2rem;
  background: #e0e7ff;
  padding: 0.75rem;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .benefit-icon {
    margin-left: auto;
    margin-right: auto;
  }
}

.benefit-item h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #111827;
}

.benefit-item p {
  color: #374151;
  line-height: 1.6;
}

.legacy-timeline {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.legacy-timeline h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: center;
  color: #111827;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e5e7eb;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 80px;
}

.timeline-marker {
  position: absolute;
  left: 15px;
  top: 0;
  width: 30px;
  height: 30px;
  background: #2563eb;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.125rem;
  z-index: 1;
}

.timeline-content {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 15px;
  border-left: 4px solid #2563eb;
}

.timeline-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #111827;
}

.timeline-content p {
  color: #374151;
  line-height: 1.6;
}

/* 回到顶部按钮样式 */
#backToTop {
  position: fixed;
  right: 24px;
  bottom: 32px;
  z-index: 9999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #fbbf24 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.18);
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, background 0.3s;
}
#backToTop.show {
  opacity: 1;
  pointer-events: auto;
}
#backToTop:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #667eea 100%);
  color: #2563eb;
}

/* 卡片阴影和圆角优化 */
.pain-card,
.group-card,
.case-card,
.value-item,
.education-card,
.benefit-item,
.timeline-content,
.legacy-quote,
.legacy-solution,
.legacy-benefits,
.legacy-timeline,
.warning-box,
.investment-advice,
.solution-card,
.calculator-inputs,
.calculator-results {
  box-shadow: 0 4px 18px rgba(102, 126, 234, 0.07);
  border-radius: 18px;
}





/* 卡片间距优化 */
.pain-card,
.group-card,
.case-card,
.value-item,
.education-card,
.benefit-item {
  margin-bottom: 8px;
}

/* 按钮美观优化 */
.btn-primary,
.btn-secondary,
.btn-offer {
  letter-spacing: 1px;
  font-size: 1.08rem;
}

.btn-primary,
.btn-offer {
  box-shadow: 0 2px 12px rgba(251, 191, 36, 0.12);
}

.btn-secondary {
  box-shadow: 0 2px 12px rgba(102, 126, 234, 0.08);
}

/* 卡片内容内边距微调 */
.pain-card,
.group-card,
.case-card,
.value-item,
.education-card,
.benefit-item,
.timeline-content {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

/* 卡片标题间距优化 */
.pain-card h3,
.group-card h3,
.case-content h4,
.value-item h4,
.education-card h3,
.benefit-item h4 {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .case-content h4,
  .value-item h4,
  .benefit-item h4 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block; /* 确保是块级元素 */
    width: fit-content; /* 让元素宽度适应内容 */
  }
}




}

/* 卡片正文间距优化 */
.pain-card p,
.group-card p,
.case-desc,
.value-item p,
.education-card p,
.benefit-item p {
  margin-bottom: 0.5rem;
}

/* 响应式优化：回到顶部按钮 */
@media (max-width: 600px) {
  #backToTop {
    right: 12px;
    bottom: 16px;
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
  }
}

/* 响应式调整 */
@media (max-width: 768px) {
  .legacy-main {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    padding-left: 60px;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-marker {
    left: 5px;
    width: 25px;
    height: 25px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .legacy-quote,
  .legacy-solution,
  .legacy-benefits,
  .legacy-timeline {
    padding: 2rem;
  }

  .benefit-item {
    flex-direction: column;
    text-align: center;
  }

  .timeline-item {
    padding-left: 50px;
  }

  .timeline::before {
    left: 15px;
  }

  .timeline-marker {
    left: 0;
    width: 30px;
    height: 30px;
  }
}

/* 响应式导航栏菜单 */
@media (max-width: 1024px) {
  .container {
    padding: 0 10px;
  }
}

/* 响应式导航栏菜单 */
@media (max-width: 1024px) {
  .container1 {
    padding: 0 10px;
  }
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .hero-image {
    margin-top: 2rem;
  }
  .calculator-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
}

/* 移动端导航栏 */
@media (max-width: 768px) {
  .navbar .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    display: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 999;
    padding: 0.5rem 0;
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-link {
    padding: 1rem 0;
    color: #2563eb;
    border-bottom: 1px solid #f3f4f6;
    width: 100%;
    text-align: center;
  }
  .nav-toggle {
    display: flex;
    margin-left: 1rem;
  }
}

/* HERO区域移动端调整 */
@media (max-width: 768px) {
  .hero {
    padding: 90px 0 40px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
  .btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
}

/* 主要网格区域移动端单列 */
@media (max-width: 768px) {
  .pain-grid,
  .groups-grid,
  .education-grid,
  .cases-grid,
  .values-grid,
  .benefits-grid,
  .revenue-grid,
  .offer-features {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .calculator-results,
  .calculator-inputs {
    padding: 1rem;
  }
  .legacy-main {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .legacy-benefits,
  .legacy-timeline {
    padding: 1.5rem;
  }
}

/* 页脚移动端 */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  .footer-links {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
}

/* 联系我们二维码移动端 */
@media (max-width: 600px) {
  .qr-codes {
    flex-direction: column;
    gap: 1rem;
  }
  .qr-code {
    width: 100px;
    height: 100px;
  }
}

/* 进一步小屏适配 */
@media (max-width: 480px) {
  .hero {
    padding: 70px 0 20px;
  }
  .section-title, .section-title1 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .btn-primary, .btn-secondary, .btn-offer {
    font-size: 1rem;
    padding: 0.75rem 1.2rem;
  }
  .current-price {
    font-size: 1.5rem;
  }
  .offer-content {
    padding: 0 5px;
  }
  .savings-highlight {
    padding: 1rem;
    gap: 1rem;
  }
  .case-avatar .avatar-circle {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .timeline-content {
    padding: 1rem;
  }
}

/* 防止横向溢出 */
body, html {
  max-width: 100vw;
  overflow-x: hidden;
}

/* 确保所有卡片文字的可读性 */
.group-card h3,
.case-card h4,
.value-item h4 {
  color: #111827 !important;
}

.group-card p,
.case-card .case-desc,
.value-item p {
  color: #374151 !important;
}

/* 修正计算器结果显示 */
.result-detail span {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.result-detail {
  flex-direction: column;
  gap: 0.5rem;
}

/* 确保按钮文字对比度 */
.btn-primary {
  background: #fbbf24;
  color: #111827;
  font-weight: 600;
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
  font-weight: 600;
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* 滚动行为 */
html {
  scroll-behavior: smooth;
}

/* 加载动画 */
.loading {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.loading.loaded {
  opacity: 1;
  transform: translateY(0);
}

/* 英雄区域视觉元素 */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.success-icons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.icon-item:hover {
  transform: scale(1.05);
}

.icon-item .icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.icon-item .label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fbbf24;
  text-align: center;
}

.success-chart {
  display: flex;
  align-items: end;
  gap: 0.5rem;
  height: 100px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  width: 100%;
  justify-content: center;
}

.chart-bar {
  width: 20px;
  background: linear-gradient(to top, #fbbf24, #f59e0b);
  border-radius: 3px 3px 0 0;
  transition: all 0.3s ease;
  animation: growUp 1.5s ease-out;
}

.chart-bar:hover {
  background: linear-gradient(to top, #f59e0b, #d97706);
}

@keyframes growUp {
  from {
    height: 0;
  }
  to {
    height: var(--final-height);
  }
}

/* 文字头像样式 */
.avatar-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  transition: transform 0.3s ease;
}

.avatar-circle:hover {
  transform: scale(1.1);
}

/* 为不同用户设置不同的渐变色 */
.case-card:nth-child(1) .avatar-circle {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.case-card:nth-child(2) .avatar-circle {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.case-card:nth-child(3) .avatar-circle {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* 收益网格调整 */
/* .revenue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

 */
/* 收益来源覆盖部分的网格布局 */
.revenue-grid1 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

/* 响应式调整，移动端改为5排两列展示 */
@media (max-width: 768px) {
  .revenue-grid1 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    grid-auto-rows: auto;
  }
}

/* 其他已有代码... */

/* 响应式调整 */
@media (max-width: 768px) {
  .hero-visual {
    padding: 1.5rem;
  }

  .success-icons {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .icon-item .icon {
    font-size: 2rem;
  }

  .success-chart {
    height: 80px;
  }

  .chart-bar {
    width: 15px;
  }

  .revenue-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

@media (max-width: 480px) {
  .hero-visual {
    padding: 1rem;
  }

  .success-chart {
    height: 60px;
  }

  .chart-bar {
    width: 12px;
  }

  .avatar-circle {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
}

/* 限时优惠区域 */
.limited-offer {
  padding: 80px 0;
  background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 50%, #581c87 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.limited-offer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="offer-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23offer-pattern)"/></svg>');
  opacity: 0.3;
}

.offer-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.offer-badge {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.badge-text {
  background: linear-gradient(45deg, #fbbf24, #f59e0b);
  color: #1f2937;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1);}
  50% { transform: scale(1.05);}
}

.offer-title {
  margin-bottom: 1rem;
}

.original-price {
  display: block;
  font-size: 1.5rem;
  color: #fca5a5;
  text-decoration: line-through;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.current-price {
  display: block;
  font-size: 3.5rem;
  font-weight: 700;
  color: #fbbf24;
  text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
  margin-bottom: 1rem;
}

.offer-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.offer-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.feature-icon {
  font-size: 1.25rem;
  color: #fbbf24;
}

.countdown-timer {
  margin-bottom: 3rem;
}

.timer-label {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: #fbbf24;
  font-weight: 600;
}

.timer-display {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.time-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  min-width: 70px;
}

.time-number {
  font-size: 2rem;
  font-weight: 700;
  color: #fbbf24;
  line-height: 1;
}

.time-label {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: 0.25rem;
}

.time-separator {
  font-size: 2rem;
  font-weight: 700;
  color: #fbbf24;
}

.offer-cta {
  margin-bottom: 2rem;
}

.btn-offer {
  background: linear-gradient(45deg, #fbbf24, #f59e0b);
  color: #1f2937;
  border: none;
  padding: 1.5rem 3rem;
  border-radius: 50px;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin: 0 auto 1rem;
}

.btn-offer:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(251, 191, 36, 0.4);
}

.btn-offer::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn-offer:hover::before {
  left: 100%;
}

.btn-subtitle {
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0.8;
}

.offer-guarantee {
  font-size: 0.9rem;
  opacity: 0.8;
  color: #fbbf24;
}

.savings-highlight {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  max-width: 600px;
  margin: 0 auto;
}

.savings-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.savings-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.savings-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fbbf24;
}

/* 响应式设计 */
@media (max-width: 900px) {
  .offer-content {
    padding: 0 8px;
  }
}
@media (max-width: 768px) {
  .limited-offer {
    padding: 48px 0;
  }
  .offer-content {
    padding: 0 5px;
    max-width: 100%;
  }
  .offer-features {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .savings-highlight {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    max-width: 100%;
  }
  .current-price {
    font-size: 2.5rem;
  }
  .btn-offer {
    padding: 1.25rem 2rem;
    font-size: 1.125rem;
  }
  .timer-display {
    gap: 0.5rem;
  }
  .time-unit {
    min-width: 60px;
    padding: 0.75rem;
  }
  .time-number {
    font-size: 1.5rem;
  }
}
@media (max-width: 480px) {
  .limited-offer {
    padding: 32px 0;
  }
  .offer-content {
    padding: 0 2px;
  }
  .offer-features {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .savings-highlight {
    padding: 0.5rem;
  }
  .current-price {
    font-size: 2rem;
  }
  .time-unit {
    min-width: 50px;
    padding: 0.5rem;
  }
  .time-number {
    font-size: 1.25rem;
  }
  .time-separator {
    font-size: 1.5rem;
  }
}
