.hook-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px 0;
}
.hook-step {
    background: #e9ecef;
    border-radius: 20px;
    padding: 15px 25px;
    margin: 10px 0;
    position: relative;
    width: 80%;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}
.hook-step:hover {
    background: #d4edda;
    border-color: #28a745;
    transform: translateX(10px);
}
.hook-step-number {
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    background: #007bff;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.hook-arrow {
    font-size: 20px;
    color: #6c757d;
    margin: 5px 0;
}
.hook-demo-area {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #dee2e6;
}
.hook-demo-box {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.hook-comparison {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}
.comparison-bad, .comparison-good {
    flex: 1;
    padding: 20px;
    border-radius: 8px;
}
.comparison-bad {
    background: #f8d7da;
    border: 2px solid #f5c6cb;
}
.comparison-good {
    background: #d1ecf1;
    border: 2px solid #bee5eb;
}
.hook-library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}
.hook-library-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}
.hook-library-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.hook-test-area {
    background: #fff3cd;
    border: 2px dashed #ffc107;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}
.interactive-console {
    background: #1e1e1e;
    color: #d4d4d4;
    border-radius: 8px;
    padding: 15px;
    font-family: 'Courier New', monospace;
    margin: 15px 0;
    max-height: 300px;
    overflow-y: auto;
}
.console-line {
    margin: 5px 0;
    font-size: 14px;
}
.console-input {
    background: transparent;
    border: none;
    color: #d4d4d4;
    font-family: 'Courier New', monospace;
    width: calc(100% - 100px);
    margin-right: 10px;
}
.hook-category-tag {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 5px;
    margin-bottom: 5px;
}
.category-state { background: #d4edda; color: #155724; }
.category-effect { background: #cce5ff; color: #004085; }
.category-util { background: #fff3cd; color: #856404; }
.category-dom { background: #f8d7da; color: #721c24; }
.category-network { background: #d1ecf1; color: #0c5460; }
