/* AARRR 模型专用样式 */

.aarrr-header {
    text-align: center;
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.aarrr-header h1 {
    margin: 0 0 10px 0;
    font-size: 2.5em;
}

.aarrr-header .subtitle {
    margin: 0;
    font-size: 1.1em;
    opacity: 0.95;
}

.game-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.info-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.info-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.1em;
    color: #667eea;
}

.info-card p {
    margin: 0;
    color: #666;
    font-size: 0.95em;
}

/* AARRR 五个阶段 */
.aarrr-section {
    margin: 40px 0;
}

.stage-card {
    background: white;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* 各阶段的颜色主题 */
.stage-card.acquisition { border-top: 5px solid #e74c3c; }
.stage-card.activation { border-top: 5px solid #f39c12; }
.stage-card.retention { border-top: 5px solid #3498db; }
.stage-card.revenue { border-top: 5px solid #2ecc71; }
.stage-card.referral { border-top: 5px solid #9b59b6; }

.stage-header {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    background: linear-gradient(to right, #f8f9fa, #ffffff);
    border-bottom: 2px solid #eee;
}

.stage-number {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    font-size: 1.5em;
    font-weight: bold;
    margin-right: 20px;
}

.stage-header h2 {
    margin: 0;
    flex: 1;
    color: #333;
}

.stage-icon {
    font-size: 2em;
}

.stage-content {
    padding: 30px;
}

.stage-content h3 {
    color: #667eea;
    margin: 0 0 15px 0;
}

.stage-content > p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* 指标框 */
.metric-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.metric-row:last-child {
    border-bottom: none;
}

.metric-label {
    font-weight: 600;
    color: #495057;
}

.metric-value {
    color: #6c757d;
}

.metric-value.highlight {
    color: #667eea;
    font-weight: 700;
}

.metric-value.primary {
    color: #764ba2;
    font-weight: 700;
    font-size: 1.05em;
}

/* Aha Moment */
.aha-moment {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    border-left: 4px solid #ffc107;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.moment-title {
    font-weight: bold;
    color: #856404;
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* 各种提示框 */
.warning-box {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    color: #721c24;
}

.tip-box {
    background: #d1ecf1;
    border-left: 4px solid #17a2b8;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    color: #0c5460;
}

.insight-box {
    background: #e2e6ea;
    border-left: 4px solid #6c757d;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    color: #383d41;
}

.success-box {
    background: #d4edda;
    border-left: 4px solid #28a745;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    color: #155724;
}

/* 页脚 */
.aarrr-footer {
    text-align: center;
    margin: 50px 0 30px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
    color: #6c757d;
    font-style: italic;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .aarrr-header h1 {
        font-size: 1.8em;
    }

    .game-info {
        grid-template-columns: 1fr;
    }

    .stage-header {
        flex-direction: column;
        text-align: center;
    }

    .stage-number {
        margin: 0 0 15px 0;
    }

    .metric-row {
        flex-direction: column;
        gap: 5px;
    }

    .metric-value {
        text-align: right;
    }
}
