/* ========================================
   产品服务页面样式
   ======================================== */

/* 页面标题 */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 140px 0 80px;
    color: white;
    text-align: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    opacity: 0.8;
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb i {
    font-size: 0.8rem;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 系统总览 */
.system-overview {
    padding: 100px 0;
    background: var(--bg-light);
}

.overview-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.overview-content .section-tag {
    margin-bottom: 20px;
}

.overview-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.overview-content > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.tech-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tech-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.tech-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.tech-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    flex-shrink: 0;
}

.tech-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.tech-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 系统架构图 */
.overview-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.system-diagram {
    position: relative;
    width: 400px;
    height: 400px;
}

.center-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.center-node i {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.center-node span {
    font-weight: 600;
    font-size: 0.95rem;
}

.orbit-nodes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.orbit-node {
    position: absolute;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    animation: counter-rotate 20s linear infinite;
}

@keyframes counter-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

.orbit-node i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.orbit-node span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.orbit-node.node-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-node.node-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.orbit-node.node-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-node.node-4 {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

/* 产品详情区块 */
.products-detail {
    padding: 100px 0;
    background: white;
}

.product-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}

.product-section:last-child {
    border-bottom: none;
}

.product-section.alternate {
    background: var(--bg-light);
    margin: 0 -20px;
    padding: 80px 20px;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.product-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.visual-card {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--color-word), #64B5F6);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
    box-shadow: 0 20px 60px rgba(33,150,243,0.3);
}

.visual-card.orange {
    background: linear-gradient(135deg, var(--color-reading), #FFB74D);
    box-shadow: 0 20px 60px rgba(255,152,0,0.3);
}

.visual-card.green {
    background: linear-gradient(135deg, var(--color-grammar), #81C784);
    box-shadow: 0 20px 60px rgba(76,175,80,0.3);
}

.visual-card.purple {
    background: linear-gradient(135deg, var(--color-speaking), #BA68C8);
    box-shadow: 0 20px 60px rgba(156,39,176,0.3);
}

.visual-card.pink {
    background: linear-gradient(135deg, var(--color-writing), #F06292);
    box-shadow: 0 20px 60px rgba(233,30,99,0.3);
}

.visual-card.cyan {
    background: linear-gradient(135deg, var(--color-listening), #4DD0E1);
    box-shadow: 0 20px 60px rgba(0,188,212,0.3);
}

/* 浮动统计 */
.floating-stats {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.stat-bubble {
    position: absolute;
    padding: 15px 25px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.stat-bubble:nth-child(1) {
    top: 10%;
    left: 0;
    animation-delay: 0s;
}

.stat-bubble:nth-child(2) {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation-delay: 0.5s;
}

.stat-bubble:nth-child(3) {
    bottom: 10%;
    left: 10%;
    animation-delay: 1s;
}

.stat-bubble .number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-bubble .label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* 产品信息 */
.product-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(30,136,229,0.1);
    color: var(--primary);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.product-tag.orange {
    background: rgba(255,152,0,0.1);
    color: var(--color-reading);
}

.product-tag.green {
    background: rgba(76,175,80,0.1);
    color: var(--color-grammar);
}

.product-tag.purple {
    background: rgba(156,39,176,0.1);
    color: var(--color-speaking);
}

.product-tag.pink {
    background: rgba(233,30,99,0.1);
    color: var(--color-writing);
}

.product-tag.cyan {
    background: rgba(0,188,212,0.1);
    color: var(--color-listening);
}

.product-info h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.product-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-item i {
    width: 28px;
    height: 28px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: white;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 数据高亮 */
.data-highlight {
    display: flex;
    gap: 30px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
}

.highlight-item {
    text-align: center;
}

.highlight-item .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.highlight-item .unit {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 500;
}

.highlight-item .desc {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* 五步流程 */
.steps-flow {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.step-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.step-num {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--color-reading), #FFB74D);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* 阅读插图 */
.reading-illustration {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.book-pages {
    display: flex;
    gap: -10px;
}

.book-pages .page {
    width: 60px;
    height: 80px;
    background: white;
    border-radius: 0 8px 8px 0;
    box-shadow: var(--shadow-sm);
    transform: rotate(-10deg);
    border-left: 3px solid var(--color-reading);
}

.book-pages .page:nth-child(2) {
    transform: rotate(0deg);
    margin-left: -20px;
}

.book-pages .page:nth-child(3) {
    transform: rotate(10deg);
    margin-left: -20px;
}

/* 声波动画 */
.voice-waves {
    position: absolute;
    bottom: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wave {
    width: 6px;
    background: linear-gradient(to top, var(--color-speaking), #BA68C8);
    border-radius: 3px;
    animation: wave 1s ease-in-out infinite;
}

.wave:nth-child(1) { height: 20px; animation-delay: 0s; }
.wave:nth-child(2) { height: 40px; animation-delay: 0.1s; }
.wave:nth-child(3) { height: 60px; animation-delay: 0.2s; }
.wave:nth-child(4) { height: 40px; animation-delay: 0.3s; }
.wave:nth-child(5) { height: 20px; animation-delay: 0.4s; }

@keyframes wave {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1); }
}

/* 耳机动画 */
.headphone-animation {
    position: absolute;
    bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.headphone-animation > i {
    font-size: 3rem;
    color: var(--color-listening);
}

.sound-waves {
    display: flex;
    align-items: center;
    gap: 5px;
}

.sound-waves span {
    width: 4px;
    background: var(--color-listening);
    border-radius: 2px;
    animation: sound-wave 0.8s ease-in-out infinite;
}

.sound-waves span:nth-child(1) { height: 15px; animation-delay: 0s; }
.sound-waves span:nth-child(2) { height: 30px; animation-delay: 0.2s; }
.sound-waves span:nth-child(3) { height: 15px; animation-delay: 0.4s; }

@keyframes sound-wave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.5); }
}

/* 学习流程 */
.learning-process {
    padding: 100px 0;
    background: var(--bg-light);
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.process-step {
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

.step-icon {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.step-icon > i {
    font-size: 2.5rem;
    color: var(--primary);
}

.step-number {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 35px;
    height: 35px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
}

.process-step h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.process-step p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.process-arrow {
    font-size: 1.5rem;
    color: var(--primary);
    opacity: 0.5;
}

/* CTA区域 */
.cta-section {
    padding: 80px 0;
    background: white;
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg);
    color: white;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 响应式 */
@media (max-width: 1024px) {
    .overview-grid,
    .product-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .product-visual {
        order: -1;
        min-height: 300px;
    }
    
    .system-diagram {
        width: 300px;
        height: 300px;
    }
    
    .center-node {
        width: 90px;
        height: 90px;
    }
    
    .center-node i {
        font-size: 1.8rem;
    }
    
    .orbit-node {
        width: 60px;
        height: 60px;
    }
    
    .orbit-node i {
        font-size: 1.2rem;
    }
    
    .data-highlight {
        flex-direction: column;
        gap: 20px;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .process-arrow {
        transform: rotate(90deg);
    }
    
    .cta-box {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 60px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .overview-content h2,
    .product-info h3 {
        font-size: 1.8rem;
    }
    
    .visual-card {
        width: 150px;
        height: 150px;
        font-size: 3.5rem;
    }
    
    .stat-bubble {
        padding: 10px 18px;
    }
    
    .stat-bubble .number {
        font-size: 1.3rem;
    }
    
    .tech-item {
        flex-direction: column;
        text-align: center;
    }
    
    .steps-flow {
        gap: 15px;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
    }
}
