:root {
    --primary-color: #2c3e50;
    /*--secondary-color: #3498db;*/
    --accent-color: #f39c12;
    --success-color: #27ae60;
    --warning-color: #e67e22;
    --danger-color: #e74c3c;
    --light-bg: #f8f9fa;
}

.navbar {
    background: linear-gradient(to right, var(--primary-color), #4a6491);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a6491 100%);
    color: white;
    padding: 10px 0;
    margin-bottom: 40px;
    border-radius: 0 0 20px 20px;
}

.section-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 30px;
    border: none;
    transition: transform 0.3s ease;
}

.section-card:hover {
    transform: translateY(-5px);
}

.concept-card {
    height: 100%;
    border-left: 4px solid var(--secondary-color);
}

.workflow-card {
    border-left: 4px solid var(--accent-color);
}

.command-card {
    border-left: 4px solid var(--success-color);
}

.interactive-card {
    border-left: 4px solid var(--warning-color);
}

.code-block {
    background-color: #2c3e50;
    color: #ecf0f1;
    border-radius: 8px;
    padding: 15px;
    font-family: 'Courier New', monospace;
    overflow-x: auto;
    margin: 15px 0;
    position: relative;
}

.code-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px 8px 0 0;
}

.command-example {
    background-color: #34495e;
    color: #f39c12;
    padding: 8px 12px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    display: inline-block;
    margin: 5px 0;
}

.workflow-visual {
    background: var(--light-bg);
    border-radius: 10px;
    padding: 30px;
    margin: 30px 0;
}

.workflow-step {
    text-align: center;
    padding: 20px 10px;
}

.workflow-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.step-1 .workflow-icon {
    background-color: var(--secondary-color);
}

.step-2 .workflow-icon {
    background-color: var(--accent-color);
}

.step-3 .workflow-icon {
    background-color: var(--success-color);
}

.step-4 .workflow-icon {
    background-color: #9b59b6;
}

.patch-visual {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
}

.patch-added {
    background-color: #d4edda;
    color: #155724;
}

.patch-removed {
    background-color: #f8d7da;
    color: #721c24;
}

.patch-context {
    background-color: #e2e3e5;
    color: #383d41;
}

.comparison-table th {
    background-color: var(--primary-color);
    color: white;
}

.scenario-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.scenario-item {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--warning-color);
}

.interactive-commands {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.command-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--success-color);
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

.note {
    background-color: #e8f4fd;
    border-left: 4px solid var(--secondary-color);
    padding: 15px;
    margin: 15px 0;
    border-radius: 0 8px 8px 0;
}

.warning {
    background-color: #fdf2e8;
    border-left: 4px solid var(--accent-color);
    padding: 15px;
    margin: 15px 0;
    border-radius: 0 8px 8px 0;
}

.tip-card {
    background: linear-gradient(135deg, #e8f4fd 0%, #d1ecf1 100%);
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
    border-left: 4px solid var(--success-color);
}

@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
    }

    .workflow-step {
        margin-bottom: 20px;
    }

    .interactive-commands {
        grid-template-columns: 1fr;
    }

    .scenario-grid {
        grid-template-columns: 1fr;
    }
}
