.lifecycle-diagram {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}
.lifecycle-phase {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
    position: relative;
}
.phase-title {
    color: #61dafb;
    font-weight: bold;
    margin-bottom: 1rem;
}
.lifecycle-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0;
    position: relative;
}
.flow-step {
    text-align: center;
    flex: 1;
    position: relative;
}
.flow-number {
    width: 40px;
    height: 40px;
    background: #61dafb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
}
.flow-arrow {
    position: absolute;
    right: -30px;
    top: 20px;
    color: #61dafb;
    font-size: 1.5rem;
}
.effect-demo {
    border: 2px solid #61dafb;
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
    background: #f8fdff;
}
.comparison-table th {
    background-color: #f8f9fa;
    vertical-align: middle;
}
.hook-box {
    background: #282c34;
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}
.hook-title {
    color: #61dafb;
    font-weight: bold;
    margin-bottom: 1rem;
}
.lifecycle-timeline {
    position: relative;
    padding: 2rem 0;
    margin: 2rem 0;
}
.timeline-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: #e9ecef;
    transform: translateY(-50%);
}
.timeline-item {
    position: relative;
    display: inline-block;
    width: 33.33%;
    text-align: center;
    padding: 0 1rem;
}
.timeline-dot {
    width: 20px;
    height: 20px;
    background: #61dafb;
    border-radius: 50%;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 2;
}
.warning-note {
    border-left: 4px solid #ffc107;
    background: #fff3cd;
    padding: 1.5rem;
    margin: 1.5rem 0;
}
