.workflow-diagram {
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    text-align: center;
}
.workflow-step {
    display: inline-block;
    width: 150px;
    padding: 20px;
    margin: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
}
.workflow-arrow {
    display: inline-block;
    font-size: 24px;
    color: #4a6ee0;
    margin: 0 5px;
    vertical-align: middle;
}
.parser-comparison {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.parser-header {
    background: linear-gradient(135deg, #4a6ee0 0%, #6a11cb 100%);
    color: white;
    padding: 20px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.parser-content {
    display: flex;
}
.parser-left, .parser-right {
    flex: 1;
    padding: 25px;
}
.parser-left {
    border-right: 1px solid #dee2e6;
}
.selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.selector-card {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 5px solid #4a6ee0;
    transition: transform 0.3s ease;
}
.selector-card:hover {
    transform: translateY(-5px);
}
.selector-icon {
    font-size: 2rem;
    color: #4a6ee0;
    margin-bottom: 15px;
}
.example-html {
    background-color: #1e1e1e;
    color: #d4d4d4;
    padding: 20px;
    border-radius: 10px;
    font-family: 'Consolas', monospace;
    margin: 20px 0;
    overflow-x: auto;
}
.html-tag {
    color: #569cd6;
}
.html-attr {
    color: #9cdcfe;
}
.html-value {
    color: #ce9178;
}
.html-text {
    color: #d4d4d4;
}
.parsing-demo {
    background-color: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin: 25px 0;
}
.demo-row {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 20px;
}
.demo-row:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}
.demo-input {
    flex: 1;
    padding-right: 20px;
}
.demo-output {
    flex: 1;
    padding-left: 20px;
    border-left: 1px solid #dee2e6;
}
.scraper-example {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin: 25px 0;
    border: 2px dashed #dee2e6;
}
.table-data {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin: 20px 0;
}
.table-data table {
    margin: 0;
}
.table-data th {
    background-color: #4a6ee0;
    color: white;
}
.advanced-technique {
    background-color: #e8f5e9;
    border-left: 5px solid #4caf50;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}
.warning-technique {
    background-color: #fff3e0;
    border-left: 5px solid #ff9800;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}
.real-world-project {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 30px 0;
    border-top: 5px solid #4a6ee0;
}
.project-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #dee2e6;
}
.project-step:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.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;
}
.data-visualization {
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    font-family: 'Consolas', monospace;
}
.data-line {
    margin-bottom: 5px;
    padding: 8px;
    border-radius: 5px;
}
.data-line:nth-child(odd) {
    background-color: rgba(255,255,255,0.05);
}
.data-key {
    color: #569cd6;
}
.data-value {
    color: #ce9178;
}
