/* AI伴学系统页面专用样式 */

/* 系统概览 */
.system-overview {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.overview-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 30px;
}

.overview-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-2px);
}

.highlight-item i {
    font-size: 1.5rem;
    color: #3b82f6;
}

.overview-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

/* 核心功能 */
.core-features {
    padding: 80px 0;
    background: white;
}

.feature-section {
    margin-bottom: 80px;
    padding: 40px 0;
}

.feature-section:last-child {
    margin-bottom: 0;
}

.feature-section.reverse .feature-content {
    direction: rtl;
}

.feature-section.reverse .feature-text {
    direction: ltr;
}

.feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-title i {
    color: #3b82f6;
    font-size: 1.5rem;
}

.feature-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 25px;
}

.feature-benefits {
    list-style: none;
    padding: 0;
}

.feature-benefits li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    color: #475569;
}

.feature-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* 仪表盘演示 */
.dashboard-demo {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.dashboard-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.dashboard-date {
    color: #64748b;
    font-size: 0.9rem;
}

.dashboard-metrics {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.metric {
    display: flex;
    align-items: center;
    gap: 15px;
}

.metric-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.metric-icon.belonging {
    background: linear-gradient(135deg, #ec4899, #be185d);
}

.metric-icon.autonomy {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.metric-icon.competence {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.metric-icon.achievement {
    background: linear-gradient(135deg, #10b981, #059669);
}

.metric-info {
    flex: 1;
}

.metric-name {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 5px;
}

.metric-bar {
    width: 200px;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.metric-progress {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    border-radius: 4px;
    transition: width 0.8s ease;
}

.metric-value {
    font-weight: 600;
    color: #1e293b;
    margin-left: 10px;
}

/* 规划演示 */
.planning-demo {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.planning-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.planning-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.planning-time {
    color: #64748b;
    font-size: 0.9rem;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 20px;
}

.planning-tasks {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 12px;
    border-left: 4px solid;
    transition: transform 0.2s ease;
}

.task-item:hover {
    transform: translateX(5px);
}

.task-item.priority-high {
    background: #fef2f2;
    border-left-color: #ef4444;
}

.task-item.priority-medium {
    background: #fffbeb;
    border-left-color: #f59e0b;
}

.task-item.priority-low {
    background: #f0fdf4;
    border-left-color: #10b981;
}

.task-icon {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: #64748b;
}

.task-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.task-name {
    font-weight: 500;
    color: #1e293b;
}

.task-time {
    font-size: 0.9rem;
    color: #64748b;
}

.task-type {
    font-size: 0.8rem;
    color: #3b82f6;
    background: #dbeafe;
    padding: 2px 8px;
    border-radius: 12px;
    align-self: flex-start;
}

/* 伙伴演示 */
.companion-demo {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
}

.companion-character {
    margin-bottom: 20px;
}

.companion-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: white;
    padding: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.dialogue-bubble {
    background: white;
    border-radius: 20px;
    padding: 15px 20px;
    margin-bottom: 15px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dialogue-bubble::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
}

.dialogue-bubble p {
    margin: 0;
    color: #374151;
    font-weight: 500;
}

.companion-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-label {
    font-size: 0.8rem;
    color: #64748b;
}

.stat-value {
    font-weight: 600;
    color: #1e293b;
}

/* 打卡演示 */
.checkin-demo {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.checkin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.checkin-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.checkin-progress {
    position: relative;
}

.progress-circle {
    position: relative;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 600;
    color: #10b981;
    font-size: 1.1rem;
}

.checkin-tasks {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkin-task {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    background: #f8fafc;
}

.checkin-task.completed {
    background: #f0fdf4;
}

.checkin-task.completed i {
    color: #10b981;
}

.checkin-task.pending i {
    color: #64748b;
}

.checkin-task span:first-of-type {
    flex: 1;
    font-weight: 500;
    color: #374151;
}

.checkin-task .task-time {
    font-size: 0.9rem;
    color: #64748b;
    background: white;
    padding: 4px 8px;
    border-radius: 12px;
}

/* 技术原理 */
.tech-principles {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
}

.tech-principles .section-title {
    color: white;
    text-align: center;
    margin-bottom: 60px;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.principle-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.principle-card:hover {
    transform: translateY(-5px);
}

.principle-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.principle-icon i {
    font-size: 2rem;
    color: white;
}

.principle-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.principle-card p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 20px;
}

.principle-details {
    list-style: none;
    padding: 0;
    text-align: left;
}

.principle-details li {
    padding: 5px 0;
    color: #e2e8f0;
    position: relative;
    padding-left: 20px;
}

.principle-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
}

/* 痛点解决方案 */
.pain-points-solution {
    padding: 80px 0;
    background: #f8fafc;
}

.solutions-grid {
    display: grid;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.solution-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.solution-problem {
    text-align: center;
    padding: 20px;
    background: #fef2f2;
    border-radius: 12px;
}

.solution-problem i {
    font-size: 2.5rem;
    color: #ef4444;
    margin-bottom: 15px;
}

.solution-problem h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
}

.solution-problem p {
    color: #64748b;
    margin: 0;
}

.solution-arrow {
    font-size: 1.5rem;
    color: #3b82f6;
}

.solution-method {
    text-align: center;
    padding: 20px;
    background: #f0fdf4;
    border-radius: 12px;
}

.solution-method h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 15px;
}

.solution-method ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-method li {
    padding: 4px 0;
    color: #374151;
    font-size: 0.9rem;
}

/* 系统演示 */
.system-demo {
    padding: 80px 0;
    background: white;
}

.demo-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.demo-video {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #f1f5f9;
}

.video-placeholder {
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.video-placeholder:hover {
    background: #e2e8f0;
}

.video-placeholder i {
    font-size: 4rem;
    color: #3b82f6;
}

.video-placeholder p {
    font-size: 1.1rem;
    color: #64748b;
    margin: 0;
}

.demo-features h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
}

.demo-list {
    list-style: none;
    padding: 0;
}

.demo-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #374151;
}

.demo-list i {
    color: #10b981;
    font-size: 1.1rem;
}

/* 试用CTA */
.trial-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    text-align: center;
}

.trial-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.trial-content p {
    font-size: 1.2rem;
    color: #dbeafe;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.trial-benefits {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #dbeafe;
}

.benefit-item i {
    font-size: 1.2rem;
    color: #fbbf24;
}

.trial-btn {
    background: white;
    color: #3b82f6;
    font-size: 1.1rem;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.trial-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .overview-content,
    .feature-content,
    .demo-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .feature-section.reverse .feature-content {
        direction: ltr;
    }
    
    .overview-highlights {
        grid-template-columns: 1fr;
    }
    
    .principles-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .solution-arrow {
        transform: rotate(90deg);
    }
    
    .trial-benefits {
        flex-direction: column;
        gap: 20px;
    }
    
    .metric-bar {
        width: 150px;
    }
    
    .dashboard-demo,
    .planning-demo,
    .checkin-demo {
        padding: 20px;
    }
}