/* 解决方案页面专属样式 */

:root {
    --primary-color: #00a6fb;
    --primary-dark: #0082c8;
    --primary-light: #33b8fc;
    --primary-lighter: #e6f5ff;
    --secondary-color: #52c41a;
    --warning-color: #fa8c16;
    --text-primary: #1a1c3d;
    --text-secondary: #666;
    --text-light: #999;
    --border-light: #e8e8e8;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #00a6fb 0%, #0082c8 100%);
}

/* Hero Section */
.solutions-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f5ff 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 166, 251, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(82, 196, 26, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(250, 140, 22, 0.06) 0%, transparent 50%);
    z-index: 0;
}

.solutions-hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: white;
    border-radius: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.hero-badge i {
    color: var(--warning-color);
    font-size: 16px;
}

.hero-badge span {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content > p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.hero-feature i {
    color: var(--primary-color);
    font-size: 20px;
}

.hero-feature span {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
}

.hero-illustration {
    flex: 0 0 400px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--primary-lighter);
    border-radius: 24px;
    margin-bottom: 24px;
}

.section-badge i {
    color: var(--primary-color);
    font-size: 16px;
}

.section-badge span {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
}

.section-header h2 {
    font-size: 36px;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 600;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Pain Points Section */
.pain-points {
    padding: 80px 0;
    background: white;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.pain-card {
    text-align: center;
    padding: 32px 24px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.pain-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.pain-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    background: white;
}

.pain-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff4d4f 0%, #d32029 100%);
    border-radius: 50%;
}

.pain-icon i {
    font-size: 28px;
    color: white;
}

.pain-card h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 600;
}

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

/* Solutions Main Section */
.solutions-main {
    padding: 80px 0;
    background: #f8f9fa;
}

.solution-card {
    background: white;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.solution-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.solution-card:hover {
    box-shadow: var(--shadow-lg);
}

.solution-header {
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    cursor: pointer;
    position: relative;
}

.solution-header::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.solution-card.expanded .solution-header::after {
    transform: translateY(-50%) rotate(180deg);
}

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

.solution-icon i {
    font-size: 32px;
    color: white;
}

.solution-title {
    flex: 1;
}

.solution-title h3 {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.solution-title p {
    font-size: 16px;
    color: var(--text-secondary);
}

.solution-badge {
    position: absolute;
    top: 16px;
    right: 120px;
    padding: 4px 12px;
    background: linear-gradient(135deg, #ff4d4f, #f5222d);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 12px;
}

.solution-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.solution-card.expanded .solution-content {
    max-height: 2000px;
}

.solution-content > div {
    padding: 0 32px 32px;
}

.solution-content h4 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.solution-content h4 i {
    color: var(--primary-color);
    font-size: 16px;
}

.solution-scenario ul {
    list-style: none;
    padding: 0;
}

.solution-scenario li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.solution-scenario li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--primary-color);
    font-weight: bold;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.product-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--primary-lighter);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-primary);
}

.product-tag i {
    color: var(--primary-color);
    font-size: 14px;
}

.workflow-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 20px 0;
}

.workflow-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: linear-gradient(90deg, 
        var(--primary-color) 0%, 
        var(--primary-light) 50%, 
        var(--primary-color) 100%);
    opacity: 0.3;
}

.workflow-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.step-content h5 {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-weight: 600;
}

.step-content p {
    font-size: 12px;
    color: var(--text-secondary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.benefit-item i {
    color: var(--secondary-color);
    font-size: 16px;
}

.benefit-item span {
    font-size: 14px;
    color: var(--text-primary);
}

/* Comparison Section */
.solution-comparison {
    padding: 80px 0;
    background: white;
}

.comparison-table {
    overflow-x: auto;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    padding: 20px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.comparison-table th:first-child {
    text-align: left;
    background: var(--text-primary);
}

.comparison-table th:last-child {
    border-right: none;
}

.comparison-table th i {
    margin-right: 8px;
}

.comparison-table td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
}

.comparison-table td:last-child {
    border-right: none;
}

.comparison-table td.feature-name {
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    background: #f8f9fa;
}

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

.comparison-table tbody tr:hover {
    background: #f8f9fa;
}

/* Implementation Process */
.implementation-process {
    padding: 80px 0;
    background: #f8f9fa;
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 40px 0;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
}

.process-step.animate-in {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
}

.step-icon i {
    font-size: 32px;
    color: var(--primary-color);
}

.step-info h4 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.step-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.step-duration {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-lighter);
    border-radius: 12px;
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
}

.process-connector {
    position: absolute;
    top: 60px;
    width: calc(20% - 40px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    opacity: 0.5;
}

.process-step:nth-child(1) ~ .process-connector:nth-of-type(1) {
    left: calc(10% + 40px);
}

.process-step:nth-child(3) ~ .process-connector:nth-of-type(2) {
    left: calc(30% + 40px);
}

.process-step:nth-child(5) ~ .process-connector:nth-of-type(3) {
    left: calc(50% + 40px);
}

.process-step:nth-child(7) ~ .process-connector:nth-of-type(4) {
    left: calc(70% + 40px);
}

/* Success Factors */
.success-factors {
    padding: 80px 0;
    background: white;
}

.factors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.factor-card {
    text-align: center;
    padding: 32px 24px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.95);
}

.factor-card.animate-in {
    opacity: 1;
    transform: scale(1);
}

.factor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.factor-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.factor-icon i {
    font-size: 32px;
    color: white;
}

.factor-card h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 600;
}

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

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 16px;
    font-weight: 600;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

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

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.9;
}

.cta-features i {
    color: #52c41a;
    font-size: 16px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .solutions-hero .container {
        flex-direction: column;
        gap: 40px;
    }
    
    .hero-illustration {
        flex: 0 0 300px;
        width: 100%;
        max-width: 400px;
    }
    
    .pain-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .factors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .workflow-steps {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .workflow-steps::before {
        display: none;
    }
    
    .workflow-step {
        flex: 0 0 calc(50% - 12px);
    }
    
    .process-timeline {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .process-step {
        flex: 0 0 calc(50% - 15px);
    }
    
    .process-connector {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content > p {
        font-size: 18px;
    }
    
    .pain-grid {
        grid-template-columns: 1fr;
    }
    
    .factors-grid {
        grid-template-columns: 1fr;
    }
    
    .workflow-step {
        flex: 0 0 100%;
    }
    
    .process-step {
        flex: 0 0 100%;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 14px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

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

/* Auto-expand first solution card */
.solution-card:first-of-type {
    animation-delay: 0.2s;
}

.solution-card:first-of-type.animate-in {
    /* Auto-expand the first card */
}

.solution-card:first-of-type .solution-content {
    max-height: 2000px;
}

.solution-card:first-of-type .solution-header::after {
    transform: translateY(-50%) rotate(180deg);
}