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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
    font-size: 16px;
}

/* Container */
.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Navigation */
.sidebar {
    width: 250px;
    background: #fff;
    border-right: 1px solid #e5e5e5;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.sidebar-header h1 {
    font-size: 20px;
    font-weight: 400;
    color: #000;
}

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

.sidebar-menu li {
    margin: 0;
}

.sidebar-menu .nav-link {
    display: block;
    padding: 12px 20px;
    color: #666;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.sidebar-menu .nav-link:hover {
    background-color: #f5f5f5;
    color: #000;
}

.sidebar-menu .nav-link.active {
    background-color: #f5f5f5;
    color: #000;
    border-left-color: #000;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 250px;
    background-color: #fff;
}

/* Section Header */
.section-header {
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 30px 40px 20px;
    text-align: left;
}

.section-header h1 {
    font-size: 24px;
    font-weight: 400;
    color: #000;
}

/* Section Content */
.section-content {
    padding: 30px 40px;
    max-width: 800px;
    margin: 0 auto;
}

/* Content Sections */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

/* Hero Section */
.hero {
    text-align: left;
    margin-bottom: 40px;
    padding: 20px 0;
}

.hero h2 {
    font-size: 32px;
    font-weight: 400;
    color: #000;
    margin-bottom: 16px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 24px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Content Section Headers */
.section-content h2 {
    font-size: 24px;
    font-weight: 400;
    color: #000;
    margin-bottom: 24px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 12px;
}

/* Feature List */
.feature-list {
    margin-bottom: 40px;
}

.feature {
    margin-bottom: 24px;
    padding: 16px 0;
    border-bottom: 1px solid #f5f5f5;
}

.feature:last-child {
    border-bottom: none;
}

.feature h3 {
    font-size: 18px;
    font-weight: 400;
    color: #000;
    margin-bottom: 8px;
}

.feature p {
    color: #666;
    line-height: 1.6;
}

/* Steps */
.steps {
    margin-bottom: 40px;
}

.step {
    margin-bottom: 20px;
    padding: 12px 0;
}

.step h3 {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    margin-bottom: 8px;
}

.step p {
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    text-align: left;
    background-color: #f9f9f9;
    padding: 24px;
    border-radius: 4px;
    border: 1px solid #e5e5e5;
    margin-top: 32px;
}

/* Section Navigation */
.section-navigation {
    text-align: right;
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid #e5e5e5;
}

/* Extra spacing for home page navigation */
#home .section-navigation {
    margin-top: 48px;
}

.cta h2 {
    font-size: 20px;
    font-weight: 400;
    color: #000;
    margin-bottom: 12px;
    border-bottom: none;
    padding-bottom: 0;
}

.cta p {
    color: #666;
    margin-bottom: 16px;
    font-size: 16px;
}

/* Command Section */
.command-section {
    margin-bottom: 24px;
    padding: 16px 0;
    border-bottom: 1px solid #f5f5f5;
}

.command-section:last-child {
    border-bottom: none;
}

.command-section h3 {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    margin-bottom: 8px;
}

.command-section h3 code {
    background-color: #f5f5f5;
    color: #000;
    padding: 0.2em 0.4em;
    border-radius: 2px;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.9em;
    border: 1px solid #e5e5e5;
}

.command-section p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 6px;
}

.command-section ul {
    margin: 6px 0 12px 20px;
}

.command-section li {
    color: #666;
    margin: 3px 0;
}

/* FAQ Section */
.faq-item {
    margin-bottom: 24px;
    padding: 16px 0;
    border-bottom: 1px solid #f5f5f5;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 400;
    color: #000;
    margin-bottom: 12px;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
}

.faq-item ul, .faq-item ol {
    margin: 8px 0 12px 20px;
}

.faq-item li {
    color: #666;
    margin: 4px 0;
    line-height: 1.6;
}

.faq-item strong {
    color: #000;
    font-weight: 400;
}

/* Pricing Table */
.pricing-table {
    margin: 32px 0;
    overflow-x: auto;
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.pricing-table th {
    background-color: #f6f8fa;
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: #24292e;
    border: 1px solid #d1d5da;
}

.pricing-table td {
    padding: 16px;
    border: 1px solid #d1d5da;
    color: #586069;
}

.pricing-table tr:nth-child(even) {
    background-color: #f6f8fa;
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.payment-method {
    padding: 24px;
    border: 1px solid #e1e4e8;
    border-radius: 6px;
    text-align: center;
}

.payment-method h3 {
    font-size: 18px;
    font-weight: 600;
    color: #24292e;
    margin-bottom: 8px;
}

.payment-method p {
    color: #586069;
    margin-bottom: 8px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    text-align: center;
    transition: all 0.2s ease;
    border: 1px solid #e5e5e5;
}

.btn-primary {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

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

.btn-secondary {
    background-color: #fff;
    color: #000;
    border-color: #e5e5e5;
}

.btn-secondary:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
}

/* Code styling */
code {
    background-color: #f5f5f5;
    color: #000;
    padding: 0.2em 0.4em;
    border-radius: 2px;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.9em;
    border: 1px solid #e5e5e5;
}

pre {
    background-color: #f6f8fa;
    border-radius: 6px;
    padding: 16px;
    overflow-x: auto;
    margin: 16px 0;
}

pre code {
    background-color: transparent;
    padding: 0;
    color: #24292e;
}

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

th, td {
    border: 1px solid #d1d5da;
    padding: 12px;
    text-align: left;
}

th {
    background-color: #f6f8fa;
    font-weight: 600;
    color: #24292e;
}

/* Lists */
ul, ol {
    margin: 16px 0;
    padding-left: 24px;
}

li {
    margin: 8px 0;
    color: #586069;
}

/* Links */
a {
    color: #0366d6;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Blockquotes */
blockquote {
    border-left: 4px solid #dfe2e5;
    padding-left: 16px;
    margin: 16px 0;
    color: #586069;
    font-style: italic;
}

/* Horizontal Rule */
hr {
    border: none;
    height: 1px;
    background-color: #e1e4e8;
    margin: 32px 0;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: #000;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        width: 80%;
        max-width: 300px;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .section-header {
        padding: 20px;
    }
    
    .section-header h1 {
        font-size: 24px;
    }
    
    .section-content {
        padding: 20px;
    }
    
    .hero h2 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-content h2 {
        font-size: 24px;
    }
    
    .feature h3 {
        font-size: 18px;
    }
    
    .step h3 {
        font-size: 16px;
    }
    
    .cta {
        padding: 24px;
    }
    
    .cta h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-content h2 {
        font-size: 20px;
    }
    
    .feature h3 {
        font-size: 16px;
    }
    
    .step h3 {
        font-size: 14px;
    }
}