.builtin-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}
.builtin-title {
    color: #42b983;
    border-left: 4px solid #42b983;
    padding-left: 1rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}
.component-diagram {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    font-family: 'Courier New', monospace;
}
.demo-container {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
}
.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #dee2e6;
}
.demo-result {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
}
.example-tabs {
    margin-bottom: 1rem;
}
.example-tabs .nav-link {
    color: #6c757d;
    font-weight: 500;
}
.example-tabs .nav-link.active {
    color: #42b983;
    background-color: #f8f9fa;
    border-color: #dee2e6 #dee2e6 #f8f9fa;
}
.tip-box {
    background-color: #e8f4ff;
    border-left: 4px solid #3498db;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0 0.375rem 0.375rem 0;
}
.warning-box {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0 0.375rem 0.375rem 0;
}
.api-card {
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    margin-bottom: 1.5rem;
}
.api-card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 1.25rem;
    font-weight: bold;
    color: #2c3e50;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.api-card-body {
    padding: 1.25rem;
}
.badge-builtin {
    background-color: #9b59b6;
    color: white;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}
.feature-card {
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    padding: 1.5rem;
    background-color: white;
    transition: transform 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.feature-card-icon {
    font-size: 2rem;
    color: #42b983;
    margin-bottom: 1rem;
}
.transition-demo {
    padding: 2rem;
    text-align: center;
    background-color: #f8f9fa;
    border-radius: 0.375rem;
    margin: 1.5rem 0;
    border: 1px solid #e9ecef;
}
.slot-demo {
    border: 2px dashed #e9ecef;
    border-radius: 0.375rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
}
.teleport-demo {
    position: relative;
    min-height: 200px;
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    overflow: hidden;
}
.teleport-target {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 1rem;
    background-color: #e74c3c;
    color: white;
    border-radius: 0.375rem;
}
.comparison-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}
.comparison-table td {
    vertical-align: middle;
}
.animation-example {
    width: 100px;
    height: 100px;
    background-color: #3498db;
    border-radius: 0.375rem;
    margin: 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}
.lifecycle-demo {
    background-color: #2c3e50;
    color: white;
    padding: 1.5rem;
    border-radius: 0.375rem;
    margin: 1.5rem 0;
    font-family: 'Courier New', monospace;
}
.lifecycle-event {
    color: #42b983;
    font-weight: bold;
}
