/* 我的产品和服务页面样式 */

/* 页面标题样式 - 使用main.css中定义的统一样式 */
.page-title {
    /* 样式已在main.css中统一定义 */
}

/* 服务介绍样式 */
.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.services-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* 服务卡片样式 */
.services-section {
    margin-bottom: 4rem;
}

.services-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.service-card h4 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.service-card p {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.6;
}

.service-features {
    margin-top: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.95rem;
}

/* 产品展示样式 */
.products-section {
    margin-bottom: 2rem; /* 减小底部边距以压缩整体高度 */
}

.products-section h3 {
    text-align: center;
    font-size: 1.8rem; /* 减小标题字体 */
    margin-bottom: 1.5rem; /* 减小标题下边距 */
    color: var(--dark-bg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem; /* 进一步减小卡片间距 */
    padding: 0 1rem;
    margin: 0 auto 1.5rem; /* 减小底部外边距 */
    max-width: 1200px;
    align-items: end; /* 确保底部对齐 */
}

/* 365天精进陪跑选项卡左侧价格区域样式 */
.training-info {
    display: flex;
    gap: 1.5rem; /* 减小左右区域间距 */
    margin-bottom: 1rem; /* 添加底部外边距以保持间距 */
}
}

/* 左侧价格区域高度压缩样式 */
.training-pricing {
    display: flex;
    flex-direction: column;
    gap: 0.8rem; /* 减小价格选项之间的间距 */
}

.training-pricing .pricing-option {
    padding: 1rem;
    background-color: #f0f0ff; /* 浅紫色背景 */
    border-radius: 8px;
    text-align: center;
}

.training-pricing .pricing-option h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.training-pricing .pricing-option .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #6a11cb;
    margin-bottom: 0.8rem;
}

.training-pricing .pricing-option .btn-primary {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

/* 1v1私人订制服务区域特殊样式 */
#consulting .products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr; /* 前两个产品各占1份，第三个产品占2份 */
    align-items: start; /* 让卡片从顶部开始排列，不需要刻意对齐 */
    gap: 1rem;
    max-width: 1200px; /* 增加最大宽度以适应更宽的第三个产品 */
    margin: 0 auto;
    padding: 0 1rem;
}

/* 优化1v1服务区域的产品卡片 */
#consulting .product-card {
    height: auto; /* 保持卡片自身的自然高度 */
    display: flex;
    flex-direction: column;
}

/* 增强第三个产品卡片的样式，使其更宽并能完整展示 */
#consulting .product-card.consultation-image-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    grid-column: 3;
}

/* 优化咨询问题卡片中的图片显示 */
#consulting .product-card.consultation-image-card .product-image {
    height: auto !important; /* 覆盖内联样式，允许图片自然高度 */
    min-height: 300px;
}

#consulting .product-card.consultation-image-card .product-image img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    max-height: 400px;
}

/* 公益区特殊样式 - 优化为更紧凑的布局 */
.public-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 保持3列布局 */
    gap: 0.6rem; /* 减小间距 */
    align-items: start; /* 让卡片从顶部开始排列，保持各自的自然高度 */
    justify-items: start; /* 确保卡片内容从左侧开始排列 */
}

.public-grid .product-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    font-size: 0.8rem; /* 减小字体大小 */
    height: auto !important; /* 强制让卡片保持自身的自然高度 */
    display: flex;
    flex-direction: column;
    width: 100%; /* 确保卡片占满整个网格单元格 */
}

.public-grid .product-card:hover {
    transform: translateY(-3px); /* 减小悬停效果 */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.public-grid .product-image {
    height: 80px; /* 减小图片高度 */
    position: relative;
}

.public-grid .product-image img {
    transition: transform 0.5s ease;
    border-radius: 12px 12px 0 0;
}

.public-grid .product-info {    padding: 0.6rem;    display: flex;    flex-direction: column;    gap: 0.5rem; /* 减小内容间距 */}

.public-grid .product-info h4 {    font-size: 0.9rem;    margin-bottom: 0.2rem;    text-align: center;    font-weight: 600;}

.public-grid .product-info p {    margin-bottom: 0;    font-size: 0.75rem;    line-height: 1.4; /* 减小行高 */    text-align: justify;}

.public-grid .product-description {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    padding: 0.4rem 0.6rem; /* 减小内边距 */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    margin: 0.2rem 0;
}

.public-grid .product-description p {
    margin-bottom: 0;
    line-height: 1.4; /* 减小行高 */
    color: var(--text-color);
    font-size: 0.75rem;
    text-align: left;    
}

.public-grid .product-features .feature-item {
    font-size: 0.7rem; /* 减小字体大小 */
    margin-bottom: 0.2rem;
}

.public-grid .btn-primary {
      padding: 0.3rem 0.6rem; /* 减小按钮尺寸 */
      font-size: 0.7rem;
      margin-bottom: 0.3rem;
  }
  
  /* 适合人群高亮样式 */
  .target-audience-highlight {
      background-color: rgba(255, 77, 77, 0.1);
      color: #ff4d4d;
      padding: 0.4rem;
      border-radius: 6px;
      margin-top: 0.5rem;
      font-size: 0.75rem;
      text-align: center;
      border: 1px solid rgba(255, 77, 77, 0.3);
  }

.product-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-3px); /* 减小悬浮效果 */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 160px; /* 减小图片高度 */
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {    padding: 0.8rem; /* 减小内边距 */    display: flex;    flex-direction: column;    gap: 0.6rem; /* 减小内容间距 */    flex-grow: 1; /* 确保内容区域能填充剩余空间 */}

.product-info h4 {    font-size: 1.1rem; /* 减小标题字体 */    margin-bottom: 0.4rem;    color: var(--heading-color);    text-align: center;    font-weight: 600;}

.product-info p {    margin-bottom: 0;    color: var(--text-color);    line-height: 1.5; /* 减小行高 */    font-size: 0.9rem; /* 减小字体大小 */    text-align: justify;    padding: 0 0.2rem;}

/* 产品描述增强样式 */
.product-description {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin: 0.5rem 0;
}

/* 宽产品卡片样式 - 用于适配表格内容 */
.wide-product-container {
    grid-column: 1 / -1; /* 跨越整个网格宽度 */
}

.wide-product-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
}

.wide-product-card .product-image {
    height: 100%;
    max-height: 400px;
}

.product-description p {
    margin-bottom: 0;
    line-height: 1.7;
    color: var(--text-color);
    font-size: 0.95rem;
    text-align: left;    
}

/* 联系我部分样式 */
.contact-section {
    background-color: rgba(58, 46, 107, 0.1);
    padding: 3rem 1rem;
    text-align: center;
    border-radius: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.contact-content p {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1.1rem;
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    background-color: #ff4d4d; /* 红色背景 */
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* 返回顶部按钮样式 */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* 动画效果 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .page-title h1 {
        font-size: 2rem;
    }
    
    .services-section h3,
    .products-section h3,
    .contact-content h3 {
        font-size: 1.8rem;
    }
    
    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card,
    .product-card {
        margin-bottom: 1.5rem;
    }
    
    .contact-section {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        padding: 1.5rem 0;
    }
    
    .page-title h1 {
        font-size: 1.8rem;
    }
    
    .services-intro p {
        font-size: 1rem;
    }
    
    .service-card,
    .product-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .service-card h4 {
        font-size: 1.3rem;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        bottom: 1rem;
        right: 1rem;
    }
}

/* 平台愿景部分样式 */
.vision-section {
    margin-bottom: 4rem;
}

.vision-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark-bg);
}

.vision-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.vision-card {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    text-align: center;
}

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

.vision-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.vision-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.vision-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* 产业生态链部分样式 */
.ecosystem-section {
    margin-bottom: 4rem;
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.ecosystem-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-bg);
}

.ecosystem-section p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--text-color);
    line-height: 1.6;
}

.ecosystem-steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.ecosystem-step {
    display: flex;
    gap: 1rem;
    background-color: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ecosystem-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--heading-color);
}

.step-content p {
    margin: 0;
    text-align: left;
    font-size: 0.95rem;
}

/* 响应式设计调整 */
@media (max-width: 768px) {
    .vision-section h3,
    .ecosystem-section h3 {
        font-size: 1.8rem;
    }
    
    .vision-content,
    .ecosystem-steps {
        grid-template-columns: 1fr;
    }
    
    .ecosystem-step {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .step-content p {
        text-align: center;
    }
}

/* 新增样式 - 页面结构更新支持 */

/* Hero区域样式 */
.products-services .hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 2rem 1rem;
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-services .hero-content {
    text-align: center;
    margin-top: 4rem; /* 增加上边距，使服务宗旨再下移一点 */
}

.products-services .hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.products-services .hero-content p {
    font-weight: 300; /* 细体，与关于小艾页面保持一致 */
    font-size: 0.875rem; /* 8/7字号，与关于小艾页面保持一致 */
    color: white;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.9);
    letter-spacing: 0.5px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.9;
}

/* 服务理念部分样式 */
.philosophy-section {
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--dark-bg);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.philosophy-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.philosophy-card {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    text-align: center;
}

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

.philosophy-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.philosophy-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.philosophy-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* 选项卡样式 */
.tabs-container {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    max-width: 1200px;
    margin: 0 auto;
}

.tabs {
    display: flex;
    background-color: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
}

.tab-btn {
    padding: 1rem 2rem;
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-btn:hover {
    background-color: rgba(58, 46, 107, 0.05);
}

.tab-btn.active {
    background-color: white;
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.tab-content {
    padding: 2rem;
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 服务理念卡片容器样式 */
.service-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 0 1rem;
}

/* 产品卡片增强样式 */
.product-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.product-info .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0.8rem 0;
    text-align: center;
}

.target-audience {
    font-style: italic;
    color: var(--secondary-color);
    margin: 0.8rem 0;
    font-size: 0.9rem;
}

.product-features .feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.product-features .feature-item i {
    color: var(--primary-color);
}

/* 365天训练营样式 */
.training-section {
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.training-info {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.training-pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    padding: 2rem;
    gap: 1.5rem;
}

.pricing-option {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.pricing-option:hover {
    transform: translateY(-5px);
}

.pricing-option h4 {
    font-size: 1.2rem;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.pricing-option .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.training-details {
    padding: 2rem;
}

.training-details h3 {
    font-size: 1.5rem;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.training-details p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.6;
}

.benefits-list li i {
    color: var(--primary-color);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* 推荐学习路径样式 */
.learning-path-section {
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.path-steps {
    max-width: 1200px;
    margin: 0 auto;
}

.path-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.path-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 40px;
    bottom: -40px;
    width: 2px;
    background-color: var(--border-color);
    z-index: -1;
}

.path-step {
    position: relative;
}

.path-step .step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.path-step .step-content {
    flex: 1;
}

.path-step .step-content h4 {
    font-size: 1.3rem;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.path-step .step-content p {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.path-step .step-desc {
    color: var(--secondary-color);
    font-size: 0.95rem;
}

/* 联系方式样式 */
.contact-info {
    display: inline-block;
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: 15px;
    cursor: pointer;
}

.contact-info:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 常见问题样式 */
.faq-section {
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background-color: white;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--heading-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background-color: var(--light-bg);
}

.faq-question::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    content: '-';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

/* 联系咨询增强样式 */
.contact-section h3 {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* 响应式设计增强 */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .tab-content {
        padding: 1.5rem;
    }
    
    .training-pricing {
        grid-template-columns: 1fr;
    }
    
    .path-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .path-step .step-content {
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 1rem; /* 与统一高度保持一致的内边距 */
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
        text-align: center;
    }
    
    .product-card {
        padding: 1.5rem;
    }
    
    .pricing-option {
        padding: 1.2rem;
    }
    
    .training-details {
        padding: 1.5rem;
    }
}

/* 特殊优惠卡片样式 */
.special-offer {
    border: 2px dashed var(--primary-color);
    background-color: rgba(58, 46, 107, 0.05);
    position: relative;
    overflow: visible;
}

.special-offer::before {
    content: "限时优惠";
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #ff6b6b;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(10deg);
}

.special-offer .price {
    color: #ff6b6b;
    font-weight: bold;
    font-size: 1.2rem;
}

.special-offer .btn-primary {
    background-color: #ff6b6b;
}

.special-offer .btn-primary:hover {
    background-color: #ff5252;
}