/* SCI辅导服务页面样式 */

/* Hero区域 */
.service-hero {
    position: relative;
    height: 500px;
    background: var(--gradient-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    overflow: hidden;
    margin-top: 0; /* 改为0，让banner延伸到顶部 */
    padding-top: 80px; /* 添加内边距补偿导航栏高度 */
    transition: background 0.3s ease;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 5%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    animation: heroFloat 10s ease-in-out infinite;
}

.service-hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: 8%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: heroFloat 12s ease-in-out infinite reverse;
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-25px) rotate(5deg);
    }
}

.service-hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* 添加额外的几何装饰元素 */
.service-hero-content::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -50px;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: pulse 6s ease-in-out infinite;
    z-index: -1;
}

.service-hero-content::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -40px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite reverse;
    z-index: -1;
}

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

.service-hero h1 {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 20px;
    font-weight: 700;
}

.service-hero p {
    font-size: clamp(16px, 3vw, 20px);
    margin-bottom: 30px;
    opacity: 0.95;
}

.service-hero-btn {
    display: inline-block;
    padding: 14px 40px;
    background: var(--bg-primary);
    color: var(--primary-color);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: var(--shadow-lg);
}

.service-hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: var(--secondary-color);
    color: var(--text-white);
}

/* 服务亮点 */
.service-highlights {
    padding: 80px 0;
    background: var(--section-bg-2);  /* 主题色背景 */
    transition: background 0.3s ease;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.highlight-item {
    background: var(--bg-primary);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.highlight-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.highlight-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.15);
    transition: all 0.3s;
}

.highlight-icon svg {
    width: 36px;
    height: 36px;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: all 0.3s;
}

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

.highlight-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-color);
}

.highlight-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 14px;
}

/* 分析类型 */
.analysis-types {
    padding: 60px 0;
    background: var(--section-bg-1);  /* 白色背景 */
    transition: background 0.3s ease;
}

.analysis-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 40px;
}

/* 服务版本卡片 */
.analysis-versions {
    margin-top: 50px;
}

.versions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.version-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    position: relative;
}

.version-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.version-card:nth-child(2) {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.version-card:nth-child(3) {
    border-color: #ffd700;
}

.hot-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    color: white;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(245,87,108,0.4);
}

.version-badge {
    display: inline-block;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.version-price {
    font-size: 28px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.version-card ul {
    list-style: none;
    padding: 0;
    color: #666;
    line-height: 2;
}

.version-card ul li {
    padding: 5px 0;
}

.analysis-card {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 28px 25px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.analysis-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.analysis-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.analysis-card:hover::before {
    transform: scaleX(1);
}

.analysis-icon-wrapper {
    margin-bottom: 14px;
    display: flex;
    justify-content: center;
}

.analysis-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.analysis-card:hover .analysis-icon {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.analysis-icon svg {
    width: 32px;
    height: 32px;
    color: white;
    stroke-width: 2.5;
}

.analysis-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    text-align: center;
    line-height: 1.5;
}

.analysis-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
    text-align: center;
    min-height: 48px;
}

.analysis-features {
    list-style: none;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 16px;
    flex-grow: 1;
}

.analysis-features li {
    padding: 10px 0 10px 26px;
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.6;
    position: relative;
    border-bottom: 1px dashed var(--border-color);
}

.analysis-features li:last-child {
    border-bottom: none;
}

.analysis-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 14px;
}

.analysis-tag {
    margin-top: auto;
    padding: 10px 14px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 18px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
    box-shadow: 0 3px 10px rgba(88, 103, 221, 0.25);
}

.analysis-note {
    margin-top: 50px;
    padding: 25px 30px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: var(--shadow-sm);
}

.note-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.note-content {
    flex: 1;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-primary);
}

.note-content strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* 服务流程 - 横向时间线 */
.service-process {
    padding: 80px 0;
    background: var(--section-bg-1);  /* 白色背景 */
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

.process-timeline-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* 时间线主轨道 */
.process-timeline-track {
    position: relative;
    padding: 180px 0; /* 从120px增加到180px，避免文字和卡片重叠 */
}

/* 中央横线 */
.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
    transform: translateY(-50%);
    z-index: 1;
}

/* 步骤容器 */
.process-steps-horizontal {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.process-step-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* 节点圆点 */
.step-node {
    width: 24px;
    height: 24px;
    background: white;
    border: 4px solid var(--pure-blue);
    border-radius: 50%;
    position: relative;
    z-index: 3;
    box-shadow: 0 0 0 8px rgba(30, 136, 229, 0.1);
    transition: all 0.3s;
}

.process-step-item:hover .step-node {
    transform: scale(1.3);
    background: var(--pure-blue);
    box-shadow: 0 0 0 12px rgba(30, 136, 229, 0.2);
}

/* 步骤内容 - 上下交替 */
.step-content-wrapper {
    position: absolute;
    width: 200px;
}

/* 奇数项在上方 */
.process-step-item:nth-child(odd) .step-content-wrapper {
    bottom: 50%;
    margin-bottom: 40px;
}

/* 偶数项在下方 */
.process-step-item:nth-child(even) .step-content-wrapper {
    top: 50%;
    margin-top: 40px;
}

/* 连接线 */
.step-connector {
    position: absolute;
    width: 2px;
    height: 30px;
    background: var(--pure-blue);
}

.process-step-item:nth-child(odd) .step-connector {
    top: -30px;
}

.process-step-item:nth-child(even) .step-connector {
    bottom: -30px;
}

/* 步骤卡片 */
.step-content-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.process-step-item:hover .step-content-card {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(30, 136, 229, 0.2);
}

.step-number-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--gradient-blue);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 12px;
    font-size: 16px;
}

.step-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.step-description {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* 套餐区域 */
.service-packages {
    padding: 80px 0;
    background: var(--section-bg-2);  /* 主题色背景 */
    transition: background 0.3s ease;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* PC端一行四列 */
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}

.package-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s;
    cursor: pointer;
    position: relative;
}

.package-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(30, 136, 229, 0.2);
}

/* 推荐标签 */
.package-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-red);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(255, 82, 82, 0.3);
}

.package-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s;
}

.package-card:hover .package-image {
    transform: scale(1.1);
}

.package-content {
    padding: 25px;
}

.package-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
}

.package-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--pure-blue);
    margin-bottom: 8px;
}

.package-price small {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 400;
}

.package-period {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}

.package-features {
    list-style: none;
    margin-bottom: 25px;
}

.package-features li {
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.package-features li::before {
    content: '✓';
    color: var(--pure-green);
    font-weight: bold;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: var(--secondary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.package-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--gradient-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
}

.package-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* 成功案例 */
.success-cases {
    padding: 80px 0;
    background: var(--section-bg-1);  /* 白色背景 */
    transition: background 0.3s ease;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.case-card {
    background: #FFFFFF; /* 固定白色背景，与主题背景形成对比 */
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); /* 增加初始阴影，提升区分度 */
}

.case-card:hover {
    background: #FFFFFF; /* 保持白色 */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* 增强悬停阴影 */
    transform: translateX(5px);
}

.case-journal {
    font-size: 14px;
    color: var(--pure-blue);
    font-weight: 600;
    margin-bottom: 8px;
}

.case-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
    line-height: 1.5;
}

.case-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.case-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.case-icon {
    width: 14px;
    height: 14px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.case-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA区域 */
.service-cta {
    padding: 80px 0;
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.service-cta h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 20px;
}

.service-cta p {
    font-size: clamp(16px, 2.5vw, 18px);
    margin-bottom: 30px;
    opacity: 0.95;
}

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

.cta-btn {
    padding: 14px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.cta-btn-primary {
    background: white;
    color: var(--pure-blue);
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

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

.cta-btn-secondary:hover {
    background: white;
    color: var(--pure-blue);
    transform: translateY(-3px);
}

/* ==================== 平板端优化 (769px - 1024px) ==================== */
@media (min-width: 769px) and (max-width: 1024px) {
    .service-hero {
        height: 450px;
    }

    /* 平板端分析类型 */
    .analysis-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    /* 平板端服务版本 */
    .versions-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 600px;
        margin: 0 auto;
    }

    /* 平板端特殊版本 */
    .special-versions > div[style*="grid"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .process-timeline-track {
        padding: 100px 0;
    }

    .step-content-wrapper {
        width: 160px;
    }

    .step-content-card {
        padding: 15px; 
    }

    .packages-grid {
        grid-template-columns: 1fr; /* 平板端也使用单列 */
        gap: 25px;
        max-width: 600px; /* 限制最大宽度，避免卡片过宽 */
        margin: 0 auto;
    }
}

/* ==================== 移动端优化 (最大 768px) ==================== */
@media (max-width: 768px) {
    .service-hero {
        height: 400px;
        margin-top: 0; /* 保持0，让背景延伸到顶部 */
        padding-top: 140px; /* 增加顶部padding，为导航栏留出空间 */
    }

    .service-hero h1 {
        font-size: 28px;
    }

    .service-hero p {
        font-size: 16px;
    }

    .service-highlights {
        padding: 50px 0;
    }

    .highlights-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    /* 移动端分析类型 */
    .analysis-types {
        padding: 50px 0;
    }

    .analysis-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .analysis-card {
        padding: 25px 20px;
        min-height: auto;
    }

    .analysis-icon-wrapper {
        margin-bottom: 16px;
    }

    .analysis-title {
        font-size: 16px;
        margin-bottom: 12px;
        line-height: 1.6;
    }

    .analysis-desc {
        min-height: auto;
        line-height: 1.7;
        margin-bottom: 12px;
        font-size: 13px;
    }

    .analysis-features {
        margin-top: 0;
        margin-bottom: 16px;
    }

    .analysis-features li {
        padding: 10px 0 10px 24px;
        line-height: 1.6;
        font-size: 13px;
    }

    .analysis-tag {
        padding: 10px 14px;
        font-size: 11px;
        line-height: 1.5;
    }

    /* 移动端服务版本 */
    .analysis-versions {
        margin-top: 40px;
    }

    .versions-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .version-card {
        padding: 25px 20px;
    }

    .version-price {
        font-size: 24px;
    }

    /* 移动端特殊版本 */
    .special-versions {
        padding: 20px !important;
        margin-top: 30px !important;
    }

    .special-versions > div[style*="grid"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .special-versions > div[style*="flex"] {
        flex-direction: column !important;
    }

    .special-versions h4 {
        font-size: 18px !important;
    }

    .analysis-card {
        padding: 30px 20px;
    }

    .analysis-icon {
        width: 70px;
        height: 70px;
    }

    .analysis-icon svg {
        width: 35px;
        height: 35px;
    }

    .analysis-title {
        font-size: 20px;
    }

    .analysis-desc {
        font-size: 13px;
    }

    .analysis-features li {
        font-size: 13px;
        padding: 8px 0 8px 24px;
    }

    .analysis-tag {
        font-size: 12px;
        padding: 8px 12px;
    }

    .analysis-note {
        padding: 20px;
        gap: 15px;
    }

    .note-icon {
        width: 20px;
        height: 20px;
    }

    .note-content {
        font-size: 14px;
    }

    /* 移动端服务流程改为竖向 */
    .service-process {
        padding: 50px 0;
    }

    .process-timeline-track {
        padding: 0;
    }

    .timeline-line {
        display: none;
    }

    .process-steps-horizontal {
        flex-direction: column;
        gap: 0;
    }

    .process-step-item {
        margin-bottom: 30px;
        flex-direction: row;
        align-items: flex-start;
        gap: 15px;
    }

    .process-step-item:last-child {
        margin-bottom: 0;
    }

    .step-node {
        margin-top: 5px;
        flex-shrink: 0;
    }

    .step-connector {
        display: none;
    }

    .step-content-wrapper {
        position: static;
        width: 100%;
        margin: 0 !important;
    }

    .process-step-item:nth-child(odd) .step-content-wrapper,
    .process-step-item:nth-child(even) .step-content-wrapper {
        position: static;
        margin: 0;
    }

    .step-content-card {
        padding: 18px;
    }

    /* 移动端套餐 */
    .service-packages {
        padding: 50px 0;
    }

    .service-packages .container {
        padding: 0 15px; /* 移动端适当减小左右边距 */
    }

    .packages-grid {
        grid-template-columns: 1fr; /* 移动端单列布局 */
        gap: 25px;
        max-width: 100%; /* 充分利用屏幕宽度 */
    }

    .package-card {
        margin: 0 auto; /* 居中显示 */
        max-width: 500px; /* 限制最大宽度，避免在大屏手机上过宽 */
        width: 100%; /* 确保占满可用宽度 */
    }

    .package-image {
        height: 180px;
    }

    .package-content {
        padding: 20px;
    }

    .success-cases {
        padding: 50px 0;
    }

    .cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-cta {
        padding: 50px 0;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ==================== 小屏手机优化 (最大 480px) ==================== */
@media (max-width: 480px) {
    .service-hero {
        height: 350px;
    }

    .service-hero-btn {
        padding: 12px 30px;
        font-size: 14px;
    }

    .highlight-item {
        padding: 25px 20px;
    }

    .highlight-icon {
        width: 60px;
        height: 60px;
    }

    .highlight-icon svg {
        width: 30px;
        height: 30px;
    }

    .analysis-card {
        padding: 20px 16px;
    }

    .analysis-title {
        font-size: 15px;
    }

    .analysis-desc {
        font-size: 12px;
    }

    .analysis-features li {
        font-size: 12px;
        padding: 8px 0 8px 22px;
    }

    .analysis-tag {
        font-size: 10px;
        padding: 8px 12px;
    }

    .step-content-card {
        padding: 15px;
    }

    .step-number-badge {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .step-title {
        font-size: 15px;
    }

    .step-description {
        font-size: 12px;
    }

    .packages-grid {
        grid-template-columns: 1fr !important; /* 强制单列 */
        gap: 20px;
    }

    .package-card {
        max-width: 100%; /* 小屏幕充分利用宽度 */
    }

    .package-image {
        height: 160px;
    }

    .package-name {
        font-size: 20px;
    }

    .package-price {
        font-size: 28px;
    }

    .case-card {
        padding: 20px;
    }
}

/* ==================== FAQ常见问题模块（与首页样式完全一致） ==================== */
.faq-section {
    background: var(--section-bg-2);  /* 主题色背景 */
    position: relative;
    overflow: hidden;
    padding: 50px 0; /* 减小section的padding */
    transition: background 0.3s ease;
}

/* 简化背景装饰 */
.faq-section::before,
.faq-section::after {
    display: none; /* 移除背景装饰元素 */
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-item {
    background: var(--white);
    border: 1px solid #e8e8e8; /* 简化边框 */
    border-radius: 8px; /* 减小圆角 */
    margin-bottom: 12px; /* 减小间距 */
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05); /* 减小阴影 */
}

.faq-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.faq-item.active {
    border-color: var(--pure-blue);
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.15);
}

.faq-question {
    padding: 16px 20px; /* 减小padding */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: all 0.3s;
}

.faq-question:hover {
    background: rgba(30, 136, 229, 0.03);
}

.faq-question-text {
    font-size: 15px; /* 减小字体 */
    font-weight: 500;
    color: var(--text-color);
    flex: 1;
    padding-right: 15px;
    line-height: 1.4;
    transition: color 0.3s;
}

.faq-item.active .faq-question-text {
    color: var(--pure-blue);
}

.faq-icon {
    width: 28px; /* 减小图标尺寸 */
    height: 28px;
    border-radius: 50%;
    background: var(--gradient-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px; /* 调整字体大小 */
    font-weight: 300;
    line-height: 0;
    transition: all 0.3s;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(30, 136, 229, 0.3); /* 减小阴影 */
    padding-bottom: 2px; /* 微调垂直位置 */
}

.faq-item.active .faq-icon {
    transform: rotate(135deg);
}

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

.faq-item.active .faq-answer {
    max-height: 600px;
    padding: 0 20px 16px 20px; /* 减小padding */
}

.faq-answer-content {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
    padding-top: 8px; /* 减小顶部padding */
    border-top: 1px solid rgba(30, 136, 229, 0.1);
}

.faq-answer-content ul {
    margin: 10px 0; /* 减小margin */
    padding-left: 0;
    list-style: none;
}

.faq-answer-content li {
    margin-bottom: 8px; /* 减小间距 */
    padding-left: 24px;
    position: relative;
    line-height: 1.7;
    font-size: 14px;
}

.faq-answer-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 16px; /* 减小尺寸 */
    height: 16px;
    background: var(--gradient-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

.faq-answer-content strong {
    color: var(--text-color);
    font-weight: 600;
}

/* ==================== FAQ响应式样式（平板端 769px - 1024px）==================== */
@media (min-width: 769px) and (max-width: 1024px) {
    /* 平板端FAQ优化 */
    .faq-section {
        padding: 45px 0;
    }

    .faq-item {
        margin-bottom: 10px;
    }

    .faq-question {
        padding: 14px 18px;
    }

    .faq-question-text {
        font-size: 14px;
    }

    .faq-icon {
        width: 26px;
        height: 26px;
        font-size: 18px;
        line-height: 0;
        padding-bottom: 2px;
    }

    .faq-answer-content {
        font-size: 14px;
    }

    .faq-answer-content li {
        font-size: 13px;
    }
}

/* ==================== FAQ响应式样式（移动端 最大 768px）==================== */
@media (max-width: 768px) {
    /* 移动端FAQ优化 */
    .faq-section {
        padding: 40px 0;
    }

    .faq-item {
        margin-bottom: 10px;
        border-radius: 6px;
    }

    .faq-question {
        padding: 14px 16px;
    }

    .faq-question-text {
        font-size: 14px;
        padding-right: 12px;
    }

    .faq-icon {
        width: 26px;
        height: 26px;
        font-size: 18px;
        line-height: 0;
        padding-bottom: 2px;
    }

    .faq-answer {
        padding: 0 16px;
    }

    .faq-item.active .faq-answer {
        padding: 0 16px 14px 16px;
    }

    .faq-answer-content {
        font-size: 14px;
        line-height: 1.7;
    }

    .faq-answer-content ul {
        margin: 8px 0;
    }

    .faq-answer-content li {
        margin-bottom: 6px;
        padding-left: 20px;
        font-size: 13px;
    }

    .faq-answer-content li::before {
        width: 14px;
        height: 14px;
        font-size: 9px;
    }
}

/* ==================== FAQ响应式样式（小屏手机 最大 480px）==================== */
@media (max-width: 480px) {
    /* 小屏手机FAQ优化 */
    .faq-section {
        padding: 35px 0;
    }

    .faq-item {
        margin-bottom: 8px;
    }

    .faq-question {
        padding: 12px 14px;
    }

    .faq-question-text {
        font-size: 13px;
    }

    .faq-icon {
        width: 24px;
        height: 24px;
        font-size: 16px;
        line-height: 0;
        padding-bottom: 2px;
    }

    .faq-answer {
        padding: 0 14px;
    }

    .faq-item.active .faq-answer {
        padding: 0 14px 12px 14px;
    }

    .faq-answer-content {
        font-size: 13px;
    }

    .faq-answer-content li {
        font-size: 12px;
        padding-left: 18px;
    }
}

/* ==================== 服务卡片样式 ==================== */
/* 服务项目卡片 - 图标和标题横向布局 */
.service-item-card {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.service-item-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

/* 图标和标题容器 */
.service-item-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-direction: row-reverse; /* 图标在右，标题在左 */
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0;
}

.service-icon svg {
    width: 30px;
    height: 30px;
    color: white;
    stroke-width: 2;
}

.service-item-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    text-align: left;
    flex: 1;
}

.service-item-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.service-item-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.service-item-features li {
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.6;
    position: relative;
    padding-left: 25px; /* 增加左侧padding，防止勾勾与文字重叠 */
}

.service-item-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px; /* 垂直对齐 */
    color: var(--primary-color);
    font-weight: bold;
    font-size: 14px;
    width: 18px; /* 给勾勾固定宽度 */
}

.service-item-features strong {
    color: var(--text-color);
    font-weight: 600;
}

.service-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.service-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.service-price small {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-left: 4px;
}

.service-btn {
    display: inline-block;
    padding: 10px 24px;
    background: var(--gradient-blue);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.service-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* 响应式优化 */
@media (max-width: 768px) {
    .service-item-header {
        gap: 12px;
    }

    .service-icon {
        width: 50px;
        height: 50px;
    }

    .service-icon svg {
        width: 25px;
        height: 25px;
    }

    .service-item-title {
        font-size: 16px;
    }

    .service-item-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .service-item-header {
        gap: 10px;
    }

    .service-icon {
        width: 45px;
        height: 45px;
    }

    .service-icon svg {
        width: 22px;
        height: 22px;
    }

    .service-item-title {
        font-size: 15px;
    }
}
