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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #0078D4 0%, #5C2D91 100%);
    min-height: 100vh;
    padding: 20px;
    margin-right: 240px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    overflow: hidden;
}

/* Header Navigation */
header {
    background: linear-gradient(135deg, #0078D4 0%, #5C2D91 100%);
    color: white;
    padding: 0;
}

.site-title {
    padding: 30px 40px 20px 40px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.site-title h1 {
    font-size: 2.5em;
    margin-bottom: 5px;
    color: white;
}

.site-title .tagline {
    font-size: 1.1em;
    opacity: 0.95;
    color: white;
}

nav {
    padding: 0;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}

nav li {
    flex: 1;
    min-width: 150px;
}

nav a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.2);
    transition: background 0.3s ease;
    font-weight: 500;
}

nav li:last-child a {
    border-right: none;
}

nav a:hover,
nav a.active {
    background: rgba(0,0,0,0.2);
}

/* Content */
.content {
    padding: 40px;
}

h1 {
    color: #0078D4;
    margin-bottom: 20px;
    font-size: 2.5em;
}

h2 {
    color: #5C2D91;
    margin: 30px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #0078D4;
    font-size: 1.8em;
}

h3 {
    color: #0078D4;
    margin: 25px 0 15px 0;
    font-size: 1.4em;
}

p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #444;
}

/* Intro Section */
.intro {
    background: linear-gradient(135deg, #0078D415 0%, #5C2D9115 100%);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 40px;
    border: 2px solid #0078D430;
}

.intro strong {
    color: #0078D4;
    font-weight: 600;
}

/* Highlight Boxes */
.highlight-box {
    background: #e6f4ff;
    border-left: 5px solid #0078D4;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

.info-box {
    background: #f0f8ff;
    border-left: 5px solid #2196F3;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

/* Commands */
.command {
    background: #f8f9fa;
    border-left: 4px solid #0078D4;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.command:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.command-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

code {
    background: #2d3748;
    color: #48bb78;
    padding: 3px 8px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.95em;
}

pre {
    background: #2d3748;
    color: #48bb78;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 10px 0;
}

pre code {
    background: none;
    padding: 0;
    margin: 0;
}

/* Feature Cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.feature-card {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #0078D4;
    box-shadow: 0 5px 15px rgba(0, 120, 212, 0.2);
    transform: translateY(-5px);
}

.feature-card h3 {
    color: #0078D4;
    margin-top: 0;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
}

th {
    background: #0078D4;
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

td {
    padding: 10px 12px;
    border-bottom: 1px solid #e9ecef;
}

tr:hover {
    background: #f8f9fa;
}

/* Lists */
ul, ol {
    margin: 15px 0 15px 30px;
}

li {
    margin-bottom: 8px;
    line-height: 1.7;
}

/* Footer */
footer {
    background: #2d3748;
    color: white;
    padding: 20px 40px;
    text-align: center;
    font-size: 0.9em;
}

footer a {
    color: #0078D4;
    text-decoration: none;
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    right: 0;
    top: 100px;
    width: 220px;
    background: white;
    border-left: 3px solid #0078D4;
    padding: 20px;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    z-index: 1000;
}

.sidebar h3 {
    font-size: 1.1em;
    margin-top: 0;
    margin-bottom: 15px;
    color: #0078D4;
    border-bottom: 2px solid #0078D4;
    padding-bottom: 8px;
}

.sidebar-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-links li {
    margin-bottom: 10px;
}

.sidebar-links a {
    display: block;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.2s;
    font-size: 0.95em;
}

.sidebar-links a:hover {
    background: #e6f4ff;
    color: #0078D4;
    transform: translateX(-3px);
}

/* Home Link */
.home-link {
    position: fixed;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    color: #0078D4;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-weight: 600;
    transition: all 0.3s;
    z-index: 1001;
}

.home-link:hover {
    background: #0078D4;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 120, 212, 0.3);
}

.home-link svg {
    width: 20px;
    height: 20px;
}

/* Responsive */
@media (max-width: 1200px) {
    .sidebar {
        display: none;
    }
    body {
        margin-right: 20px;
    }
}

@media (max-width: 768px) {
    .content {
        padding: 20px;
    }
    nav ul {
        flex-direction: column;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    h1 {
        font-size: 2em;
    }
    .home-link {
        top: 10px;
        left: 10px;
        padding: 8px 12px;
        font-size: 0.9em;
    }
    .home-link span {
        display: none;
    }
}
