/* Documentation-specific styles extending the main landing styles */

/* Documentation Header */
.docs-header {
    border-bottom: 1px solid rgba(0, 196, 180, 0.2);
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
}

.logo-link {
    text-decoration: none;
    color: inherit;
}

.logo-link:hover .logo-text {
    color: var(--primary-teal);
    transition: color 0.3s ease;
}

/* Documentation Main Layout */
.docs-main {
    padding-top: 100px;
}

.docs-hero {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(0, 196, 180, 0.1) 0%, rgba(161, 0, 242, 0.1) 100%);
    border-bottom: 1px solid rgba(0, 196, 180, 0.2);
}

.docs-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.docs-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.docs-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.docs-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

/* Documentation Grid */
.docs-grid-section {
    padding: 80px 0;
}

.docs-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary-teal);
    border-bottom: 2px solid rgba(0, 196, 180, 0.3);
    padding-bottom: 0.5rem;
}

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

/* Documentation Cards */
.doc-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 196, 180, 0.2);
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.doc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-teal), var(--primary-purple));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.doc-card:hover::before {
    transform: scaleX(1);
}

.doc-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-teal);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 196, 180, 0.2);
}

.doc-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.doc-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.doc-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.doc-readtime {
    color: var(--primary-teal);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Quick Links */
.quick-links {
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(161, 0, 242, 0.2);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(161, 0, 242, 0.2);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.quick-link:hover {
    background: rgba(161, 0, 242, 0.1);
    border-color: var(--primary-purple);
    transform: translateY(-2px);
}

.quick-icon {
    font-size: 1.25rem;
}

.quick-text {
    font-weight: 500;
}

/* Documentation Footer */
.docs-footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(0, 196, 180, 0.2);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary-teal);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-text {
    color: var(--text-muted);
    line-height: 1.6;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-teal);
}

.footer-links code {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

/* Content Pages Styles */
.docs-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.docs-nav {
    background: rgba(18, 18, 18, 0.95);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 196, 180, 0.2);
    margin-bottom: 2rem;
}

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

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

.docs-nav a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.docs-nav a:hover {
    color: var(--primary-teal);
}

/* Code Blocks */
.docs-content pre {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 196, 180, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.docs-content code {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

.docs-content pre code {
    background: none;
    padding: 0;
}

/* Tables */
.docs-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border: 1px solid rgba(0, 196, 180, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.docs-content th,
.docs-content td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.docs-content th {
    background: rgba(0, 196, 180, 0.1);
    color: var(--primary-teal);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .docs-title {
        font-size: 2.5rem;
    }
    
    .docs-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .docs-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.breadcrumbs nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

.breadcrumbs a {
    color: var(--primary-teal);
    text-decoration: none;
}

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

/* Content Navigation */
.content-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-prev,
.nav-next {
    flex: 1;
    max-width: 300px;
}

.nav-next {
    text-align: right;
}

.nav-link {
    display: block;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 196, 180, 0.2);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-teal);
}

.nav-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.nav-title {
    font-weight: 600;
    color: var(--text-light);
} 