/* Documentation layout */
.documentation {
    padding: 40px 0;
}

.documentation .container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
}

/* Sticky sidebar navigation */
.docs-nav {
    position: sticky;
    top: 20px;
    height: fit-content;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.docs-nav li {
    margin-bottom: 12px;
}

.docs-nav a {
    color: #333333;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 12px;
    display: block;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.docs-nav a:hover {
    background-color: #d98843;
    color: white;
}

/* Documentation content */
.docs-content {
    max-width: 800px;
}

.docs-content section {
    margin-bottom: 60px;
}

.docs-content h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333333;
}

.docs-content h3 {
    font-size: 24px;
    margin: 25px 0 15px;
    color: #333333;
}

.docs-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333333;
}

/* Tier cards - matching the pricing cards from index.html with gold/orange theme */
.tier {
    background: #ffffff;
    border: 3px solid #d98843;
    border-radius: 12px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tier:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Tier title - large and prominent with dark text */
.tier h3 {
    margin-top: 0;
    color: #333333;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
}

.tier > p {
    color: #666666;
    font-size: 16px;
    line-height: 1.8;
}

.tier ul {
    margin-top: 15px;
    padding-left: 20px;
}

.tier li {
    margin-bottom: 8px;
    color: #333333;
    font-size: 16px;
    line-height: 1.8;
}

/* Tier subsections - light background with gold/orange accent border */
.tier-example,
.tier-savings,
.tier-best-for {
    background: #f8f9fa;
    border-left: 4px solid #d98843;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

/* Example usage heading */
.tier-example h3 {
    margin: 0 0 15px 0;
    color: #d98843;
    font-size: 18px;
    font-weight: 600;
}

.tier-example h4,
.tier-savings h4,
.tier-best-for h4 {
    margin: 0 0 10px 0;
    color: #d98843;
    font-size: 16px;
    font-weight: 600;
}

.tier-example ul,
.tier-best-for ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
}

.tier-example li,
.tier-best-for li {
    margin-bottom: 6px;
    font-size: 14px;
    color: #333333;
}

.tier-example p,
.tier-savings p,
.tier-best-for p {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #333333;
}

.tier-example strong {
    color: #d98843;
}

/* Quick Start Guide Styles */
.quick-start-steps {
    margin: 30px 0;
}

.step {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
}

.step h3 {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #2c3e50;
}

.step-number {
    background: #d98843;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    margin-right: 15px;
    flex-shrink: 0;
}

.step p {
    margin: 0;
    line-height: 1.6;
}

.step a {
    color: #d98843;
    text-decoration: none;
}

.step a:hover {
    text-decoration: underline;
}

.quick-start-tip {
    background: #fdf5e6;
    border: 1px solid #d98843;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
}

.quick-start-tip h4 {
    margin: 0 0 10px 0;
    color: #d98843;
}

.quick-start-tip p {
    margin: 0;
    color: #333333;
    line-height: 1.6;
}

/* Responsive design */
@media (max-width: 768px) {
    .documentation .container {
        grid-template-columns: 1fr;
    }

    .docs-nav {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }

    .docs-content {
        padding: 0 20px;
    }
    
    .tier:hover {
        transform: none;
    }
    
    .tier h3 {
        font-size: 28px;
    }
    
    .step {
        padding: 15px;
    }
    
    .step h3 {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .tier-example,
    .tier-savings,
    .tier-best-for {
        padding: 12px 15px;
        margin: 15px 0;
    }
}