* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.header h1 {
    color: #2c3e50;
    font-size: 2.5em;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header p {
    color: #7f8c8d;
    font-size: 1.2em;
}

.content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.section {
    margin-bottom: 40px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 5px solid #667eea;
}

.section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.8em;
    display: flex;
    align-items: center;
}

.section h2::before {
    content: "🎯";
    margin-right: 10px;
    font-size: 1.2em;
}

.section h3 {
    color: #34495e;
    margin: 20px 0 15px 0;
    font-size: 1.4em;
}

.section h4 {
    color: #2c3e50;
    margin: 15px 0 10px 0;
    font-size: 1.2em;
}

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

.code-block pre {
    margin: 0;
    white-space: pre-wrap;
}

.highlight {
    background: linear-gradient(120deg, #a8edea 0%, #fed6e3 100%);
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid #667eea;
}

.analogy {
    background: linear-gradient(120deg, #ffecd2 0%, #fcb69f 100%);
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid #e67e22;
    font-style: italic;
}

.question {
    background: linear-gradient(120deg, #d299c2 0%, #fef9d7 100%);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 5px solid #9b59b6;
}

.question h4 {
    color: #8e44ad;
    margin-bottom: 10px;
}

.answer {
    background: linear-gradient(120deg, #a8edea 0%, #fed6e3 100%);
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
    border-left: 4px solid #1abc9c;
}

.answer h5 {
    color: #16a085;
    margin-bottom: 8px;
}

.homework {
    background: linear-gradient(120deg, #ff9a9e 0%, #fecfef 100%);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 5px solid #e74c3c;
}

.homework h3 {
    color: #c0392b;
    margin-bottom: 15px;
}

.difficulty {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    margin-right: 10px;
    margin-bottom: 10px;
}

.beginner {
    background: #2ecc71;
    color: white;
}

.intermediate {
    background: #f39c12;
    color: white;
}

.advanced {
    background: #e74c3c;
    color: white;
}

.outcomes {
    background: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 5px solid #27ae60;
}

.outcomes h3 {
    color: #27ae60;
    margin-bottom: 15px;
}

.outcomes ul {
    list-style: none;
    padding: 0;
}

.outcomes li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.outcomes li::before {
    content: "✅";
    position: absolute;
    left: 0;
}

.navigation {
    text-align: center;
    margin: 30px 0;
}

.nav-button {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    margin: 0 10px;
    transition: transform 0.3s ease;
    font-weight: bold;
}

.nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.tip {
    background: linear-gradient(120deg, #ffeaa7 0%, #fab1a0 100%);
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid #fdcb6e;
}

.tip::before {
    content: "💡 ";
    font-weight: bold;
}

.warning {
    background: linear-gradient(120deg, #ff7675 0%, #fd79a8 100%);
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid #e84393;
    color: white;
}

.warning::before {
    content: "⚠️ ";
    font-weight: bold;
}

.file-structure {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
}

.file-structure pre {
    margin: 0;
    white-space: pre-wrap;
}

.file-structure h4 {
    color: #3498db;
    margin-bottom: 10px;
}

.api-endpoint {
    background: linear-gradient(120deg, #e8f4fd 0%, #f0f8ff 100%);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 5px solid #3498db;
}

.api-endpoint h4 {
    color: #3498db;
    margin-bottom: 15px;
}

.http-method {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: bold;
    margin-right: 10px;
    font-size: 0.9em;
}

.get {
    background: #2ecc71;
    color: white;
}

.post {
    background: #3498db;
    color: white;
}

.put {
    background: #f39c12;
    color: white;
}

.delete {
    background: #e74c3c;
    color: white;
}

.response-example {
    background: linear-gradient(120deg, #e8f5e8 0%, #f0fff0 100%);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 5px solid #27ae60;
}

.response-example h4 {
    color: #27ae60;
    margin-bottom: 15px;
}

.hybrid-flow {
    background: linear-gradient(120deg, #fff5e6 0%, #ffeaa7 100%);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 5px solid #f39c12;
}

.hybrid-flow h4 {
    color: #e67e22;
    margin-bottom: 15px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.comparison-table th {
    background: #667eea;
    color: white;
    padding: 15px;
    text-align: left;
}

.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-table tr:nth-child(even) {
    background: #f8f9fa;
}