/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ecf0f1;
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-height: 100vh;
}

/* Header */
header {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Main Content */
main {
    padding: 2rem;
}

section {
    margin-bottom: 2.5rem;
}

h2 {
    color: #34495e;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #bdc3c7;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.8;
}

/* Links */
a {
    color: #2980b9;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #3498db;
    text-decoration: underline;
}

/* Lists */
.steps-list {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.steps-list li {
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    transition: background-color 0.2s ease;
}

.steps-list li:hover {
    background-color: #f8f9fa;
    border-radius: 4px;
}

/* Guide Sections */
.guide-section {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

/* Note Section */
.note-section {
    background-color: #fef5e7;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #f39c12;
}

/* License Section */
.license-section {
    background-color: #e8f6f3;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #16a085;
}

/* Intro Section */
.intro {
    background-color: #ebf5fb;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #5dade2;
}

/* Code blocks */
code, pre {
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.2rem 0.4rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}

pre {
    padding: 1rem;
    overflow-x: auto;
    margin-bottom: 1rem;
}

pre code {
    border: none;
    padding: 0;
}

/* Task sections */
.task-section {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #7f8c8d;
}

.task-section h3 {
    color: #34495e;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.task-section ul, .task-section ol {
    margin-left: 2rem;
}

.task-section li {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 1.5rem;
    margin-top: auto;
}

/* Resources section */
.resources-list {
    list-style: none;
    margin-left: 0;
}

.resources-list li {
    padding: 0.5rem;
    margin-bottom: 0.3rem;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.resources-list li::before {
    content: "→ ";
    color: #3498db;
    font-weight: bold;
}

/* Button Styles */
.button {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: #3498db;
    color: white !important;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: 0.5rem;
}

.button:hover {
    background-color: #2980b9;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    main {
        padding: 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}
