.syntax-card {
    border-left: 4px solid #0d6efd;
    background: linear-gradient(to right, #f8f9fa, #ffffff);
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.syntax-header {
    color: #0d6efd;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.binding-table th {
    width: 25%;
    background: #f8f9fa;
}
.interactive-example {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    border: 2px solid #e9ecef;
}
.example-preview {
    background: white;
    border-radius: 8px;
    padding: 20px;
    min-height: 200px;
    margin: 20px 0;
    border: 1px solid #dee2e6;
}
.example-controls {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 20px 0;
}
.template-output {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 15px;
    border-radius: 5px;
    font-family: 'Consolas', 'Monaco', monospace;
    overflow-x: auto;
    margin: 15px 0;
}
.pipe-demo {
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}
.directive-example {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 25px 0;
}
@media (max-width: 768px) {
    .directive-example {
        grid-template-columns: 1fr;
    }
}
.directive-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}
.directive-header {
    background: #495057;
    color: white;
    padding: 12px 15px;
    font-weight: 600;
}
.directive-body {
    padding: 20px;
    background: white;
}
.syntax-diagram {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}
.syntax-flow {
    text-align: center;
    font-size: 1.2rem;
    color: #495057;
    font-weight: 500;
}
.syntax-flow span {
    display: inline-block;
    padding: 8px 15px;
    margin: 5px;
    border-radius: 5px;
}
.interpolation-box { background: #d1ecf1; color: #0c5460; }
.property-box { background: #d4edda; color: #155724; }
.event-box { background: #fff3cd; color: #856404; }
.two-way-box { background: #f8d7da; color: #721c24; }
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 25px 0;
}
.comparison-item {
    padding: 20px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: white;
}
