.binding-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    border: 2px solid #e9ecef;
    position: relative;
    overflow: hidden;
}
.binding-header {
    color: #0d6efd;
    border-bottom: 3px solid #0d6efd;
    padding-bottom: 15px;
    margin-bottom: 25px;
    position: relative;
}
.binding-header::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100px;
    height: 3px;
    background: #198754;
}
.binding-diagram {
    text-align: center;
    font-size: 1.1rem;
    color: #495057;
    margin: 30px 0;
}
.binding-node {
    display: inline-block;
    padding: 15px 25px;
    margin: 10px;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s ease;
}
.binding-node:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}
.component-node { background: #d4edda; color: #155724; border: 2px solid #c3e6cb; }
.template-node { background: #d1ecf1; color: #0c5460; border: 2px solid #bee5eb; }
.arrow {
    display: inline-block;
    margin: 0 15px;
    color: #6c757d;
    font-size: 1.5rem;
}
.live-binding-demo {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin: 25px 0;
    border: 1px solid #dee2e6;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.demo-controls {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 20px 0;
}
.binding-example {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 30px 0;
}
@media (max-width: 992px) {
    .binding-example {
        grid-template-columns: 1fr;
    }
}
.example-card {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.example-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.example-header {
    background: #495057;
    color: white;
    padding: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
}
.example-header i {
    margin-right: 10px;
    font-size: 1.2rem;
}
.example-body {
    padding: 20px;
    background: white;
}
.code-snippet {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 20px;
    border-radius: 8px;
    font-family: 'Consolas', 'Monaco', monospace;
    overflow-x: auto;
    margin: 15px 0;
    position: relative;
}
.binding-flow {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
}
.flow-step {
    display: flex;
    align-items: center;
    margin: 20px 0;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #0d6efd;
}
.step-number {
    width: 40px;
    height: 40px;
    background: #0d6efd;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
}
.step-content {
    flex-grow: 1;
}
.comparison-table th {
    background: #f8f9fa;
    font-weight: 600;
}
.binding-visualization {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    border-radius: 15px;
    margin: 30px 0;
}
.visualization-item {
    display: inline-block;
    margin: 20px;
    text-align: center;
}
.visual-box {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    margin-bottom: 15px;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}
.visual-box:hover {
    transform: scale(1.1);
}
.interpolation-box { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.property-box { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.event-box { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.two-way-box { background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%); }
