/* 产品页面重构样式表 */

/* 全局变量定义 */
:root {
  /* 主要品牌色 */
  --primary-color: #2575fc;
  --secondary-color: #6a11cb;
  --primary-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  
  /* 状态色 */
  --success-color: #28a745;
  --warning-color: #fd7e14;
  --danger-color: #dc3545;
  --info-color: #17a2b8;
  
  /* 中性色 */
  --text-dark: #333;
  --text-medium: #6c757d;
  --text-light: #6c757d;
  --border-color: #e9ecef;
  --background-light: #f8f9fa;
  --background-white: #ffffff;
  --shadow-light: rgba(0,0,0,0.1);
  --shadow-medium: rgba(0,0,0,0.15);
  
  /* 尺寸变量 */
  --border-radius-sm: 8px;
  --border-radius-md: 15px;
  --border-radius-lg: 20px;
  --spacing-xs: 10px;
  --spacing-sm: 15px;
  --spacing-md: 20px;
  --spacing-lg: 30px;
  --spacing-xl: 40px;
  --container-max-width: 1200px;
  
  /* 动画变量 */
  --transition-base: all 0.3s ease;
  --transition-transform: transform 0.3s ease;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition-base);
}

a:hover {
  text-decoration: none;
  color: var(--secondary-color);
}

.container {
  width: 90%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 15px;
}

/* 按钮样式 */
.btn {
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition-base);
  display: inline-block;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn.primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(37, 117, 252, 0.3);
}

.btn.primary:hover {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 117, 252, 0.4);
}

.btn.secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn.secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 117, 252, 0.2);
}

.btn.outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn.outline:hover {
  background: var(--primary-color);
  color: white;
}

/* 卡片样式 */
.card {
  background: var(--background-white);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: 0 10px 30px var(--shadow-light);
  transition: var(--transition-base);
  border: 1px solid var(--border-radius-md);
  position: relative;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px var(--shadow-medium);
}

/* 标题样式 */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--text-dark);
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-medium);
  max-width: 800px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

/* 英雄区域 */
.hero {
  background: var(--primary-gradient);
  color: white;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  transform: rotate(30deg);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
}

.hero .subtitle {
  font-size: 1.5rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

.hero .value-proposition {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin: 40px 0;
  flex-wrap: wrap;
}

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

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}

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

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* 套餐对比区域 */
.pricing-matrix-section {
  padding: 100px 0;
  background: var(--background-light);
}

.comparison-table {
  background: var(--background-white);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 30px var(--shadow-light);
  overflow: hidden;
  margin-top: 40px;
}

.table-header {
  display: flex;
  background: var(--primary-gradient);
  color: white;
  font-weight: 600;
}

.table-row {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
  align-items: center;
}

.table-row:last-child {
  border-bottom: none;
}

.feature-col {
  flex: 1;
  padding: 0 20px;
  font-weight: 500;
}

.package-col {
  flex: 1;
  padding: 0 20px;
  text-align: center;
}

.package-col.core {
  border-left: 1px solid var(--border-color);
}

.package-col.professional {
  border-left: 1px solid var(--border-color);
}

.package-col.enterprise {
  border-left: 1px solid var(--border-color);
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
}

.price-note {
  font-size: 0.9rem;
  color: var(--text-medium);
}

.check-icon {
  color: var(--success-color);
  font-size: 1.2rem;
}

.cta-row {
  background: var(--background-light);
}

/* 套餐详情区域 */
.package-details-section {
  padding: 100px 0;
  background: var(--background-white);
}

.package-detail {
  margin-bottom: 80px;
  scroll-margin-top: 100px;
}

.package-detail:last-child {
  margin-bottom: 0;
}

.package-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid var(--border-color);
  flex-wrap: wrap;
  gap: 30px;
}

.package-info h2 {
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.package-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.package-tagline {
  font-size: 1.1rem;
  color: var(--text-medium);
}

.package-cta {
  text-align: right;
}

.guarantee {
  margin-top: 15px;
  font-size: 0.9rem;
  color: var(--success-color);
  font-weight: 500;
}

.package-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.package-benefits h3 {
  font-size: 1.4rem;
  margin: 25px 0 15px;
  color: var(--text-dark);
}

.package-benefits ul {
  list-style: none;
  padding-left: 0;
}

.package-benefits li {
  padding: 8px 0 8px 30px;
  position: relative;
  color: var(--text-dark);
}

.package-benefits li::before {
  content: "✓";
  color: var(--success-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.package-results {
  background: var(--background-light);
  padding: 30px;
  border-radius: var(--border-radius-md);
}

.package-results h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.result-metric {
  text-align: center;
  margin-bottom: 25px;
}

.result-metric:last-child {
  margin-bottom: 0;
}

.metric-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.metric-desc {
  font-size: 1rem;
  color: var(--text-medium);
}

.case-example {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.case-example h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.case-example p {
  font-style: italic;
  color: var(--text-medium);
  line-height: 1.7;
}

/* 评估向导区域 */
.wizard-section {
  padding: 100px 0;
  background: var(--background-light);
}

.wizard-container {
  background: var(--background-white);
  border-radius: var(--border-radius-lg);
  padding: 50px;
  box-shadow: 0 10px 30px var(--shadow-light);
  max-width: 800px;
  margin: 0 auto;
}

.wizard-steps {
  position: relative;
  margin-bottom: 40px;
}

.wizard-step {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.wizard-step.active {
  display: block;
}

.wizard-step h3 {
  color: var(--text-dark);
  font-size: 1.8rem;
  margin-bottom: 30px;
  text-align: center;
}

.wizard-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.wizard-option {
  background: var(--background-light);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 25px;
  cursor: pointer;
  transition: var(--transition-base);
  text-align: center;
  display: block;
}

.wizard-option:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow-light);
}

.wizard-option input[type="radio"] {
  display: none;
}

.wizard-option input[type="radio"]:checked + span {
  color: var(--primary-color);
  font-weight: 600;
}

.wizard-option input[type="radio"]:checked {
  border-color: var(--primary-color);
  background: rgba(37, 117, 252, 0.05);
}

.wizard-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.wizard-results {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 2px solid var(--border-color);
}

.recommendation-card {
  background: var(--primary-gradient);
  color: white;
  padding: 40px;
  border-radius: var(--border-radius-md);
  text-align: center;
}

.recommendation-card h3 {
  margin-bottom: 25px;
  font-size: 1.8rem;
}

.recommendation-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.recommendation-cta .btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.recommendation-cta .btn.secondary:hover {
  background: white;
  color: var(--primary-color);
}

/* 客户评价区域 */
.testimonials-section {
  padding: 100px 0;
  background: var(--background-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.testimonial-card {
  background: var(--background-light);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: 0 10px 30px var(--shadow-light);
  transition: var(--transition-transform);
  border: 1px solid var(--border-color);
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-content {
  margin-bottom: 30px;
}

.testimonial-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-dark);
  font-style: italic;
  position: relative;
  padding-left: 30px;
}

.testimonial-content p::before {
  content: """;
  font-size: 4rem;
  color: var(--primary-color);
  position: absolute;
  left: -15px;
  top: -20px;
  opacity: 0.2;
  font-family: Georgia, serif;
}

.testimonial-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.author-info h4 {
  color: var(--text-dark);
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.author-title {
  color: var(--text-medium);
  font-size: 0.9rem;
}

.package-tag {
  background: var(--primary-gradient);
  color: #fff;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* FAQ区域 */
.faq-section {
  padding: 100px 0;
  background: var(--background-light);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.faq-item {
  background: var(--background-white);
  border-radius: var(--border-radius-md);
  padding: 30px;
  box-shadow: 0 5px 15px var(--shadow-light);
  border: 1px solid var(--border-color);
}

.faq-item h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.faq-item p {
  color: var(--text-medium);
  line-height: 1.7;
}

/* 最终CTA区域 */
.final-cta-section {
  padding: 100px 0;
  background: var(--primary-gradient);
  color: #fff;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-buttons .btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.cta-buttons .btn.secondary:hover {
  background: white;
  color: var(--primary-color);
}

.urgency-message {
  margin-top: 30px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  display: inline-block;
}

.urgency-message p {
  font-weight: 600;
  margin: 0;
}

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

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .package-header {
    flex-direction: column;
    text-align: center;
  }
  
  .package-cta {
    text-align: center;
  }
  
  .recommendation-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }
  
  .author-info {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 0;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.3rem;
  }
  
  .hero-stats {
    gap: 30px;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .table-header {
    display: none;
  }
  
  .table-row {
    flex-direction: column;
    padding: 20px;
  }
  
  .feature-col, .package-col {
    width: 100%;
    text-align: left;
    padding: 10px 0;
    border: none !important;
  }
  
  .package-col {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
  }
  
  .package-col::before {
    content: attr(data-label) ": ";
    font-weight: 600;
    color: var(--text-dark);
    margin-right: 10px;
  }
  
  .wizard-options {
    grid-template-columns: 1fr;
  }
  
  .wizard-navigation {
    flex-direction: column;
    gap: 15px;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .wizard-container {
    padding: 30px 20px;
  }
  
  .package-content {
    grid-template-columns: 1fr;
  }
  
  .package-results {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1.1rem;
  }
  
  .hero .value-proposition {
    font-size: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .package-detail {
    margin-bottom: 60px;
  }
  
  .package-info h2 {
    font-size: 1.8rem;
  }
  
  .package-price {
    font-size: 2rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-card {
    padding: 25px;
  }
  
  .faq-item {
    padding: 20px;
  }
}