/* 定价方案页面样式 */

/* 通用样式 */
.pricing-website-container {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* 区块通用样式 */
.pricing-website-plans-section,
.pricing-website-tools-section,
.pricing-website-comparison-section,
.pricing-website-faq-section,
.pricing-website-cta-section {
  padding: 40px 0;
  width: 100%;
}

/* 内容容器样式 */
.pricing-website-section-container,
.pricing-website-hero-content {
  max-width: 1200px;
  margin: 0 auto;
}

/* 主标题部分 */
.pricing-website-hero {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
  text-align: center;
}

.pricing-website-hero-content {
  line-height: 1.2;
  padding: 40px 0;
}

.pricing-website-section-title-highlight,
.pricing-website-main-title-highlight {
  background: linear-gradient(135deg, #2563EB, #10B981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-website-main-title {
  font-size: 4.5rem;
  font-weight: 700;
  margin: 0;
  color: #333;
}

.pricing-website-main-title-highlight {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.pricing-website-subtitle {
  font-size: 1.5rem;
  color: #666;
  line-height: 1.6;
  padding: 0 5rem;
}

/* 月付/年付切换 */
.pricing-website-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}

.pricing-website-toggle-label {
  font-size: 16px;
  font-weight: 500;
  color: #666;
}

.pricing-website-toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.pricing-website-toggle-input {
  opacity: 0;
  width: 0;
  height: 0;
}

.pricing-website-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 30px;
}

.pricing-website-toggle-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

.pricing-website-toggle-input:checked + .pricing-website-toggle-slider {
  background-color: #2563EB;
}

.pricing-website-toggle-input:checked + .pricing-website-toggle-slider:before {
  transform: translateX(30px);
}

.pricing-website-toggle-badge {
  background: #10B981;
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

/* Section Header */
.pricing-website-section-header {
  text-align: center;
  margin-bottom: 24px;
}

.pricing-website-section-title {
  font-size: 3rem;
  font-weight: 700;
  color: #333;
}

.pricing-website-section-subtitle {
  font-size: 1.25rem;
  color: #666;
  margin: 0;
}

/* 定价卡片 */
.pricing-website-plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pricing-website-plan-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border: 2px solid #f1f3f4;
  position: relative;
  text-align: center;
  transition: all 0.3s ease;
}

.pricing-website-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.pricing-website-plan-featured {
  background: linear-gradient(135deg, #4F7DF7 0%, #4C6EF5 100%);
  color: white;
  border-color: #4F7DF7;
  transform: scale(1.05);
}

.pricing-website-featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #FF6B47;
  color: white;
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(255, 107, 71, 0.3);
}

.pricing-website-plan-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 16px 0;
  color: #333;
}

.pricing-website-plan-featured .pricing-website-plan-title {
  color: white;
}

.pricing-website-plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 8px;
}

.pricing-website-price-symbol {
  font-size: 20px;
  font-weight: 600;
  color: #666;
  margin-right: 4px;
}

.pricing-website-plan-featured .pricing-website-price-symbol {
  color: rgba(255, 255, 255, 0.8);
}

.pricing-website-price-amount {
  font-size: 48px;
  font-weight: 700;
  color: #333;
}

.pricing-website-plan-featured .pricing-website-price-amount {
  color: white;
}

.pricing-website-plan-period {
  font-size: 14px;
  color: #666;
  margin-bottom: 32px;
}

.pricing-website-plan-featured .pricing-website-plan-period {
  color: rgba(255, 255, 255, 0.8);
}

.pricing-website-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  text-align: left;
}

.pricing-website-plan-features li {
  padding: 8px 0;
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: #666;
}

.pricing-website-plan-featured .pricing-website-plan-features li {
  color: rgba(255, 255, 255, 0.9);
}

.pricing-website-plan-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10B981;
  font-weight: bold;
}

.pricing-website-plan-featured .pricing-website-plan-features li:before {
  color: rgba(255, 255, 255, 0.8);
}

/* 按钮样式 */
.pricing-website-plan-btn,
.pricing-website-tool-btn {
  width: 100%;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  border: none;
}

.pricing-website-btn-outline {
  background: transparent;
  color: #333;
  border: 2px solid #333;
}

.pricing-website-btn-outline:hover {
  background: #f8f9fa;
}

.pricing-website-btn-primary {
  background: #2563EB;
  color: white;
  border: 2px solid #2563EB;
}

.pricing-website-btn-primary:hover {
  background: #1d4ed8;
}

.pricing-website-btn-featured {
  background: white;
  color: #4F7DF7;
  border: 2px solid white;
}

.pricing-website-btn-featured:hover {
  background: #f8f9fa;
}

/* section 背景色 */
.pricing-website-tools-section,
.pricing-website-faq-section {
  background: #f9fafb;
}

.pricing-website-cta-section {
  background: linear-gradient(to bottom right, #2563EB, #10B981);
  color: white;
}

.pricing-website-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pricing-website-tool-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.pricing-website-tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.pricing-website-tool-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.pricing-website-tool-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: white;
}

.pricing-website-tool-icon-cad {
  background: #10B981;
}

.pricing-website-tool-icon-bim {
  background: #F59E0B;
}

.pricing-website-tool-icon-aigc {
  background: #8B5CF6;
}

.pricing-website-tool-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: #333;
}

.pricing-website-tool-subtitle {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.pricing-website-tool-plans {
  margin-bottom: 12px;
}

.pricing-website-tool-plan {
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 12px;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.pricing-website-tool-plan:hover {
  border-color: #2563EB;
  background: rgba(37, 99, 235, 0.02);
}

.pricing-website-tool-plan-highlight {
  border-color: #2563EB;
  background: rgba(37, 99, 235, 0.05);
}

.pricing-website-tool-plan-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pricing-website-tool-plan-name {
  font-weight: 600;
  color: #333;
}

.pricing-website-tool-plan-price {
  font-weight: 700;
  color: #2563EB;
  font-size: 20px;
}

.pricing-website-tool-plan-desc {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}

.pricing-website-tool-btn {
  border: 2px solid #2563EB;
  color: #2563EB;
  background: transparent;
}

.pricing-website-tool-btn:hover {
  background: #2563EB;
  color: white;
}

/* CAD工具主题色 */
.pricing-website-tool-card:nth-child(1) .pricing-website-tool-plan-highlight {
  border-color: #10B981;
  background: rgba(16, 185, 129, 0.05);
}

.pricing-website-tool-card:nth-child(1) .pricing-website-tool-plan:hover {
  border-color: #10B981;
  background: rgba(16, 185, 129, 0.02);
}

.pricing-website-tool-card:nth-child(1) .pricing-website-tool-plan-price {
  color: #10B981;
}

.pricing-website-tool-card:nth-child(1) .pricing-website-tool-plan:first-child .pricing-website-tool-plan-price {
  background: #10B981;
  color: white;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
}

.pricing-website-tool-card:nth-child(1) .pricing-website-tool-btn {
  border-color: #10B981;
  background: #10B981;
  color: white;
}

.pricing-website-tool-card:nth-child(1) .pricing-website-tool-btn:hover {
  background: #059669;
}

/* BIM工具主题色 */
.pricing-website-tool-card:nth-child(2) .pricing-website-tool-plan-highlight {
  border-color: #F59E0B;
  background: rgba(245, 158, 11, 0.05);
}

.pricing-website-tool-card:nth-child(2) .pricing-website-tool-plan:hover {
  border-color: #F59E0B;
  background: rgba(245, 158, 11, 0.02);
}

.pricing-website-tool-card:nth-child(2) .pricing-website-tool-plan-price {
  color: #F59E0B;
}

.pricing-website-tool-card:nth-child(2) .pricing-website-tool-plan:first-child .pricing-website-tool-plan-price {
  background: #F59E0B;
  color: white;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
}

.pricing-website-tool-card:nth-child(2) .pricing-website-tool-btn {
  border-color: #F59E0B;
  background: #F59E0B;
  color: white;
}

.pricing-website-tool-card:nth-child(2) .pricing-website-tool-btn:hover {
  background: #D97706;
}

/* AIGC工具主题色 */
.pricing-website-tool-card:nth-child(3) .pricing-website-tool-plan-highlight {
  border-color: #8B5CF6;
  background: rgba(139, 92, 246, 0.05);
}

.pricing-website-tool-card:nth-child(3) .pricing-website-tool-plan:hover {
  border-color: #8B5CF6;
  background: rgba(139, 92, 246, 0.02);
}

.pricing-website-tool-card:nth-child(3) .pricing-website-tool-plan-price {
  color: #8B5CF6;
}

.pricing-website-tool-card:nth-child(3) .pricing-website-tool-plan:first-child .pricing-website-tool-plan-price {
  background: #8B5CF6;
  color: white;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
}

.pricing-website-tool-card:nth-child(3) .pricing-website-tool-btn {
  border-color: #8B5CF6;
  background: #8B5CF6;
  color: white;
}

.pricing-website-tool-card:nth-child(3) .pricing-website-tool-btn:hover {
  background: #7C3AED;
}

/* 功能对比表 */
.pricing-website-comparison-table {
  overflow-x: auto;
}

.pricing-website-comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.pricing-website-comparison-table th,
.pricing-website-comparison-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.pricing-website-comparison-table th {
  background: #f9fafb;
  font-weight: 700;
  color: #333;
  font-size: 14px;
}

.pricing-website-comparison-table td {
  font-size: 14px;
  color: #666;
}

.pricing-website-comparison-table tr:last-child td {
  border-bottom: none;
}

.pricing-website-comparison-table tr:hover {
  background: rgba(37, 99, 235, 0.02);
}

.pricing-website-comparison-table tr:hover th:nth-child(4),
.pricing-website-comparison-table tr:hover td:nth-child(4) {
  background: #2563eb05;
}

/* 团队标准版列突出显示 */
.pricing-website-comparison-table th:nth-child(4),
.pricing-website-comparison-table td:nth-child(4) {
  background: #2563eb0d;
  position: relative;
}

.pricing-website-comparison-table th:nth-child(4) {
  font-weight: 700;
}

/* 常见问题 */
.pricing-website-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.pricing-website-faq-item {
  background: white;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid #e5e7eb;
}

.pricing-website-faq-question {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
}

.pricing-website-faq-answer {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* CTA内容 */
.pricing-website-cta-content {
  text-align: center;
}

.pricing-website-cta-title {
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 16px 0;
}

.pricing-website-cta-subtitle {
  font-size: 1.25rem;
  line-height: 1.7;
  opacity: 0.9;
  margin: 0 0 40px 0;
}

.pricing-website-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.pricing-website-btn-cta-primary {
  background: white;
  color: #2563EB;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pricing-website-btn-cta-primary:hover {
  background: #f8f9fa;
}

.pricing-website-btn-cta-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pricing-website-btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}