/* Page-specific styles for apps, about, docs */
.page-header {
    padding: 4rem 0 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #1A1A1A;
}

.page-header p {
    font-size: 1.125rem;
    color: #666666;
    max-width: 600px;
    margin: 0 auto;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.app-card {
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    padding: 2rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.app-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.app-card h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #1A1A1A;
}

.app-card p {
    color: #666666;
    margin-bottom: 1rem;
}

.highlight-box {
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-left: 4px solid #2C2C2C;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

.highlight-box h3 {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #1A1A1A;
}

.highlight-box p {
    color: #4A4A4A;
    line-height: 1.8;
}

/* Docs specific */
.docs-layout {
    display: flex;
    gap: 3rem;
    padding: 3rem 0;
}

.docs-sidebar {
    width: 250px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.docs-sidebar h3 {
    font-size: 14px;
    font-weight: 600;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.docs-sidebar ul {
    list-style: none;
}

.docs-sidebar ul li {
    margin-bottom: 0.5rem;
}

.docs-sidebar ul li a {
    color: #666666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.docs-sidebar ul li a {
    color: #666666;
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 0.5rem 0;
    transition: color 0.2s;
}

.docs-sidebar ul li a:hover,
.docs-sidebar ul li a.active {
    color: #2C2C2C;
    font-weight: 500;
}

.docs-content {
    flex: 1;
    max-width: 800px;
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    padding: 3rem;
}

.docs-content h2 {
    font-size: 1.75rem;
    font-weight: 400;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: #1A1A1A;
    padding-top: 2rem;
    border-top: 1px solid #E5E5E5;
}

.docs-content h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: #1A1A1A;
}

.docs-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.docs-content ul,
.docs-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.docs-content ul li,
.docs-content ol li {
    color: #4A4A4A;
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.docs-content h3 {
    font-size: 1.25rem;
    font-weight: 400;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #1A1A1A;
}

.docs-content p {
    color: #4A4A4A;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.docs-content code {
    background: #F5F5F5;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    font-size: 14px;
    color: #2C2C2C;
}

.docs-content pre {
    background: #1A1A1A;
    color: #E5E5E5;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.docs-content pre code {
    background: transparent;
    color: #E5E5E5;
    padding: 0;
}

.app-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #F5F5F5;
    color: #666666;
    font-size: 12px;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.app-card ul {
    list-style: none;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E5E5E5;
}

.app-card ul li {
    color: #666666;
    font-size: 14px;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.app-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2C2C2C;
}

.endpoint {
    background: #F5F5F5;
    border-left: 4px solid #2C2C2C;
    padding: 1rem;
    margin: 1.5rem 0;
}

.endpoint-method {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #2C2C2C;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    margin-right: 0.75rem;
}

.endpoint-method.get {
    background: #16A34A;
}

.endpoint-method.post {
    background: #2563EB;
}

.endpoint-method.delete {
    background: #DC2626;
}

@media (max-width: 1024px) {
    .docs-layout {
        flex-direction: column;
    }

    .docs-sidebar {
        width: 100%;
        position: static;
    }
}

