/* 业务详情页面通用样式 */

/* 页面标题 */
.page-header {
    position: relative;
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../img/cubes-2492011_1280.jpg') center/cover no-repeat;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: 1;
}

.page-header .container {
    text-align: center;
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 2s ease-in-out infinite alternate;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* 业务详情通用样式 */
.business-detail {
    padding: 100px 0;
    background: var(--bg-light);
    position: relative;
}

.business-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.business-detail .container {
    position: relative;
    z-index: 1;
}

/* 业务头部 */
.business-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.business-section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-line {
    width: 80px;
    height: 3px;
    background: var(--gradient);
    margin: 0 auto;
    border-radius: 2px;
}

/* 业务内容 */
.business-item-content {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.business-item-content.reverse {
    flex-direction: row-reverse;
}

.business-item-text {
    flex: 1;
    min-width: 300px;
}

.business-item-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.business-item-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.business-item-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.business-item-image:hover img {
    transform: scale(1.05);
}

/* 业务区块 */
.business-section {
    margin-bottom: 80px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.business-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.2);
}

/* 业务介绍 */
.business-intro {
    margin-bottom: 40px;
}

.business-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark-color);
    animation: fadeInUp 1s ease-out;
}

/* 业务特点 */
.business-features {
    margin-bottom: 40px;
}

.business-features h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--light-color);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.business-features ul {
    list-style: none;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.business-features li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

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

.business-features li strong {
    color: var(--light-color);
}

/* 业务优势 */
.business-benefits {
    margin-bottom: 40px;
}

.business-benefits h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--light-color);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.business-benefits ul {
    list-style: none;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.business-benefits li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.business-benefits li::before {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
}

/* 业务CTA */
.business-cta {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.business-cta .btn {
    font-size: 1.1rem;
    padding: 15px 40px;
    animation: btnPulse 2s ease-in-out infinite;
}

/* 业务流程 */
.business-process {
    margin: 80px 0;
}

.process-header {
    text-align: center;
    margin-bottom: 60px;
}

.process-header h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--light-color);
}

.process-steps {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.process-step {
    flex: 1;
    min-width: 200px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.process-step:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(0, 212, 255, 0.2);
}

.step-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--light-color);
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 业务案例 */
.business-cases {
    margin: 80px 0;
}

.cases-header {
    text-align: center;
    margin-bottom: 60px;
}

.cases-header h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--light-color);
}

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

.case-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.case-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.case-item:hover .case-image img {
    transform: scale(1.1);
}

.case-content {
    padding: 20px;
}

.case-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--light-color);
}

.case-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.case-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.case-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* 业务FAQ */
.business-faq {
    margin: 80px 0;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-header h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--light-color);
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--light-color);
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(0, 212, 255, 0.1);
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-icon {
    transition: var(--transition);
}

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

/* 响应式布局 */
@media (max-width: 992px) {
    .business-item-content,
    .business-item-content.reverse {
        flex-direction: column;
    }
    
    .business-item-image {
        order: -1;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .process-step {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .business-section-header h2 {
        font-size: 2rem;
    }
    
    .process-header h3,
    .cases-header h3,
    .faq-header h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .business-section-header h2 {
        font-size: 1.6rem;
    }
    
    .process-header h3,
    .cases-header h3,
    .faq-header h3 {
        font-size: 1.5rem;
    }
    
    .business-item-content {
        gap: 30px;
    }
}

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

@keyframes textGlow {
    from {
        filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
    }
    to {
        filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.6));
    }
}

@keyframes btnPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 212, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0);
    }
}

/* 业务详情页面特定样式 */

/* 互联网广告代运营 */
#advertising .business-item-content {
    animation: fadeInUp 1s ease-out;
}

#advertising .step-icon {
    background: rgba(0, 255, 170, 0.1);
}

/* 舆情守护 */
#reputation .business-item-content {
    animation: fadeInUp 1s ease-out;
}

#reputation .step-icon {
    background: rgba(255, 165, 0, 0.1);
}

/* 商情分析 */
#market .business-item-content {
    animation: fadeInUp 1s ease-out;
}

#market .step-icon {
    background: rgba(255, 99, 71, 0.1);
}

/* GEO优化 */
#geo .business-item-content {
    animation: fadeInUp 1s ease-out;
}

#geo .step-icon {
    background: rgba(147, 112, 219, 0.1);
}

/* 网站建设 */
#website .business-item-content {
    animation: fadeInUp 1s ease-out;
}

#website .step-icon {
    background: rgba(32, 178, 170, 0.1);
}

/* 小程序建设 */
#miniprogram .business-item-content {
    animation: fadeInUp 1s ease-out;
}

#miniprogram .step-icon {
    background: rgba(0, 191, 255, 0.1);
}