/* 在线体验页面通用样式 */
.online-experience-main {
    min-height: calc(100vh - 200px);
}

/* 页面头部样式 */
.page-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* 体验介绍区域 */
.experience-intro {
    padding: 60px 0;
    background-color: white;
}

.experience-intro h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 20px;
}

.experience-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #495057;
    margin-bottom: 25px;
}

.experience-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.experience-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1rem;
    color: #495057;
}

.experience-features i {
    color: #28a745;
    font-size: 1.2rem;
    margin-top: 3px;
}

.experience-preview {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.demo-preview {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.experience-preview:hover .demo-preview {
    transform: scale(1.02);
}

.preview-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(40, 167, 69, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* 体验选项区域 */
.experience-options {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.experience-options h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 15px;
}

.experience-options .description {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

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

.option-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.option-icon {
    width: 80px;
    height: 80px;
    background-color: #e6f7ed;
    color: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 2.5rem;
}

.option-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 15px;
}

.option-card p {
    font-size: 1rem;
    color: #495057;
    margin-bottom: 25px;
    line-height: 1.6;
}

.start-demo-btn {
    background-color: #28a745;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.start-demo-btn:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

/* 演示区域 */
.experience-demo {
    padding: 60px 0;
    background-color: white;
    display: none;
}

.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.demo-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    margin: 0;
}

.close-demo-btn {
    background-color: #6c757d;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-demo-btn:hover {
    background-color: #5a6268;
}

.demo-content {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.demo-steps {
    flex: 0 0 250px;
}

.demo-steps h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 15px;
}

.steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    margin-bottom: 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #495057;
}

.step-item:hover {
    background-color: #f8f9fa;
}

.step-item.active {
    background-color: #e6f7ed;
    color: #28a745;
}

.step-number {
    width: 24px;
    height: 24px;
    background-color: #dee2e6;
    color: #495057;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
}

.step-item.active .step-number {
    background-color: #28a745;
    color: white;
}

.step-title {
    font-size: 0.95rem;
}

.demo-main {
    flex: 1;
}

.demo-frame {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.demo-loading {
    text-align: center;
    color: #6c757d;
}

.demo-loading .spinner-border {
    width: 4rem;
    height: 4rem;
    color: #28a745;
    margin-bottom: 20px;
}

.demo-screens {
    width: 100%;
    height: 100%;
}

.demo-screen {
    display: none;
}

.demo-screen.active {
    display: block;
}

.demo-instructions {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
}

.demo-instructions h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 15px;
}

.demo-instructions p {
    font-size: 1rem;
    color: #495057;
    margin-bottom: 15px;
    line-height: 1.6;
}

.demo-instructions ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.demo-instructions li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #495057;
}

.demo-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.prev-step-btn,
.next-step-btn {
    padding: 10px 20px;
    border-radius: 4px;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.prev-step-btn {
    background-color: #6c757d;
    border: none;
}

.prev-step-btn:hover:not(:disabled) {
    background-color: #5a6268;
}

.prev-step-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.next-step-btn {
    background-color: #28a745;
    border: none;
}

.next-step-btn:hover {
    background-color: #218838;
}

.step-indicator {
    font-size: 1.1rem;
    font-weight: 600;
    color: #6c757d;
}

/* FAQ 区域 */
.experience-faq {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.experience-faq h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 40px;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

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

.faq-question {
    width: 100%;
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px 20px;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    color: #212529;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question i {
    color: #6c757d;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    background-color: white;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 4px 4px;
    padding: 20px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

.faq-answer p {
    font-size: 1rem;
    line-height: 1.6;
    color: #495057;
    margin: 0;
}

/* 行动召唤区域 */
.call-to-action {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 80px 0;
}

.call-to-action h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.call-to-action p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

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

.cta-buttons .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
    background-color: white;
    color: #28a745;
    border: none;
}

.cta-buttons .btn-primary:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

.cta-buttons .btn-secondary {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.cta-buttons .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .demo-content {
        flex-direction: column;
    }
    
    .demo-steps {
        flex: none;
        margin-bottom: 30px;
    }
    
    .steps-list {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .step-item {
        flex: 0 0 auto;
        min-width: 150px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .experience-intro,
    .experience-options,
    .experience-demo,
    .experience-faq,
    .call-to-action {
        padding: 40px 0;
    }
    
    .experience-intro h2,
    .experience-options h2,
    .demo-header h2,
    .experience-faq h2,
    .call-to-action h2 {
        font-size: 1.8rem;
    }
    
    .option-card {
        padding: 20px;
    }
    
    .demo-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .demo-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .prev-step-btn,
    .next-step-btn {
        width: 100%;
        justify-content: center;
    }
}

/* 动画效果 */
.option-card,
.faq-item,
.demo-frame {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.option-card:nth-child(1) {
    animation-delay: 0.1s;
}

.option-card:nth-child(2) {
    animation-delay: 0.2s;
}

.option-card:nth-child(3) {
    animation-delay: 0.3s;
}

.faq-item:nth-child(1) {
    animation-delay: 0.1s;
}

.faq-item:nth-child(2) {
    animation-delay: 0.2s;
}

.faq-item:nth-child(3) {
    animation-delay: 0.3s;
}

.faq-item:nth-child(4) {
    animation-delay: 0.4s;
}

.faq-item:nth-child(5) {
    animation-delay: 0.5s;
}

/* 演示屏幕样式 */
.demo-screen {
    text-align: center;
}

.demo-screen img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.demo-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.demo-action-btn {
    padding: 8px 16px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.demo-action-btn:hover {
    background-color: #218838;
}

.demo-action-btn.secondary {
    background-color: #6c757d;
}

.demo-action-btn.secondary:hover {
    background-color: #5a6268;
}