* {
    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: #333;
    background-color: #f9f9f9;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

html {
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE/Edge */
}

.container {
    display: flex;
    min-height: 100vh;
}

/* ========== SIDEBAR ========== */
.sidebar {
    width: 280px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    padding: 30px 20px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.forge-icon {
    width: 50px;
    height: 50px;
}

.sidebar-logo h2 {
    font-size: 1.5em;
    font-weight: 700;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 40px;
}

.nav-item {
    padding: 12px 16px;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    display: block;
}

.nav-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
}

.nav-item.active {
    background-color: white;
    color: #2563eb;
    font-weight: 600;
}

.sidebar-footer {
    position: absolute;
    bottom: 30px;
    left: 20px;
    right: 20px;
}

.sidebar-footer p {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.sidebar-footer .license {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.6);
}

/* ========== MAIN CONTENT ========== */
.main-content {
    flex: 1;
    background-color: #fff;
}

.hero {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    padding: 60px 40px;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.tagline {
    font-size: 1.3em;
    font-weight: 300;
    opacity: 0.95;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    font-size: 1em;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: white;
    color: #2563eb;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.content-section {
    padding: 60px 40px;
}

.section-inner {
    max-width: 900px;
    margin: 0 auto;
}

.section-inner h2 {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1e1e1e;
}

.section-inner h3 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e1e1e;
}

.section-inner p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.section-inner a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.section-inner a:hover {
    text-decoration: underline;
}

.section-inner code {
    background-color: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.95em;
    color: #2563eb;
}

/* ========== FEATURES GRID ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.feature-card {
    background: #f5f5f5;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border-left: 4px solid #2563eb;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: #2563eb;
}

.feature-card p {
    font-size: 0.95em;
    color: #666;
}

.feature-card:hover {
    cursor: pointer;
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

/* ========== QUICK START ========== */
.quick-start {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.step {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.step:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.3em;
    margin-bottom: 15px;
}

.step h3 {
    margin-bottom: 10px;
    color: #1e1e1e;
}

.step p {
    font-size: 0.95em;
    color: #666;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}
/* ========== CODE EXAMPLES ========== */
.code-example {
    background: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
    margin: 30px 0;
}

.code-tabs {
    display: flex;
    background: #252526;
    border-bottom: 1px solid #3e3e42;
}

.code-tab {
    padding: 12px 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.code-tab:hover {
    color: white;
}

.code-tab.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

.code-content {
    display: none;
    padding: 20px;
}

.code-content.active {
    display: block;
}

.code-content pre {
    margin: 0;
    overflow-x: auto;
}

.code-content code {
    color: #ce9178;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.95em;
    line-height: 1.6;
}

/* ========== TABLES ========== */
.section-inner table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.section-inner table th {
    background-color: #f5f5f5;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #e0e0e0;
}

.section-inner table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.section-inner table tr:hover {
    background-color: #f9f9f9;
}

/* ========== BOXES ========== */
.info-box {
    background: #e0f2fe;
    border-left: 4px solid #2563eb;
    padding: 20px;
    border-radius: 6px;
    margin: 30px 0;
}

.info-box p {
    color: #1e40af;
    margin: 0;
}

.download-box {
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    border: 2px solid #2563eb;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    max-width: 600px;
    margin: 30px auto;
}

.download-title {
    font-size: 1.8em;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 15px;
}

.download-description {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.05em;
}

.download-version {
    font-size: 0.95em;
    color: #888;
    margin-bottom: 25px;
}

.download-button {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    padding: 15px 40px;
    font-size: 1.1em;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.3);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: static;
        padding: 20px;
    }

    .sidebar-footer {
        position: static;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .nav-item {
        padding: 8px 12px;
        font-size: 0.9em;
    }

    .hero {
        padding: 40px 20px;
    }

    .hero h1 {
        font-size: 2em;
    }

    .tagline {
        font-size: 1.1em;
    }

    .content-section {
        padding: 40px 20px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .quick-start {
        grid-template-columns: 1fr;
    }

    .section-inner h2 {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5em;
    }

    .tagline {
        font-size: 1em;
    }

    .code-tabs {
        flex-direction: column;
    }

    .code-tab {
        border-bottom: none;
        border-right: 2px solid transparent;
    }

    .code-tab.active {
        border-right-color: #2563eb;
        border-bottom: none;
    }
}