.advanced-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.advanced-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.advanced-card .card-header {
    background: linear-gradient(135deg, #4a6ee0 0%, #6a11cb 100%);
    color: white;
    padding: 20px;
    font-weight: bold;
    font-size: 1.2rem;
    border-bottom: none;
}
.advanced-card .card-body {
    padding: 30px;
}
.feature-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-right: 10px;
    margin-bottom: 10px;
}
.diagram-container {
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    text-align: center;
    border: 2px dashed #dee2e6;
}
.diagram-box {
    display: inline-block;
    padding: 20px;
    margin: 10px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    min-width: 200px;
    text-align: center;
}
.diagram-arrow {
    font-size: 1.5rem;
    color: #4a6ee0;
    margin: 0 10px;
}
.performance-chart {
    background-color: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin: 30px 0;
}
.code-comparison {
    background-color: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    margin: 25px 0;
}
.code-tab {
    background-color: #2d2d2d;
    padding: 15px 20px;
    font-family: 'Consolas', monospace;
    color: #d4d4d4;
    border-bottom: 1px solid #3e3e3e;
}
.comparison-row {
    display: flex;
    border-bottom: 1px solid #3e3e3e;
}
.comparison-left, .comparison-right {
    flex: 1;
    padding: 20px;
}
.comparison-left {
    border-right: 1px solid #3e3e3e;
}
.comparison-title {
    color: #569cd6;
    margin-bottom: 10px;
    font-weight: bold;
}
.advanced-table {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.advanced-table th {
    background: linear-gradient(135deg, #4a6ee0 0%, #6a11cb 100%);
    color: white;
    border: none;
}
.advanced-table tr:hover {
    background-color: #f8f9fa;
}
.hook-timeline {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin: 30px 0;
}
.timeline-step {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    border-left: 5px solid #4a6ee0;
}
.timeline-step .step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4a6ee0 0%, #6a11cb 100%);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 20px;
    font-weight: bold;
    flex-shrink: 0;
}
.timeline-step .step-content {
    flex: 1;
}
.optimization-tip {
    background-color: #e8f5e9;
    border-left: 5px solid #4caf50;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}
.warning-tip {
    background-color: #fff3e0;
    border-left: 5px solid #ff9800;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}
.advanced-demo {
    background-color: #1e1e1e;
    color: #d4d4d4;
    padding: 20px;
    border-radius: 10px;
    font-family: 'Consolas', monospace;
    margin: 20px 0;
}
.demo-line {
    margin-bottom: 8px;
    padding-left: 10px;
    border-left: 3px solid transparent;
}
.demo-line.active {
    border-left-color: #4a6ee0;
    background-color: rgba(74, 110, 224, 0.1);
}
.demo-line.success {
    color: #4caf50;
}
.demo-line.info {
    color: #2196f3;
}
.demo-line.warning {
    color: #ff9800;
}
.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.use-case-item {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.use-case-item:hover {
    transform: translateY(-5px);
}
.use-case-item .icon {
    font-size: 2.5rem;
    color: #4a6ee0;
    margin-bottom: 15px;
}
.use-case-item h5 {
    color: #333;
    margin-bottom: 10px;
}
.config-panel {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin: 25px 0;
}
.config-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
}
.config-label {
    font-weight: bold;
    color: #495057;
    margin-bottom: 5px;
}
.config-value {
    font-family: 'Consolas', monospace;
    background-color: white;
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #dee2e6;
}
