/* Guides Page Specific Styles */

.page-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Table of Contents */
.toc {
    padding: 3rem 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.toc-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

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

.toc-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.toc-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.toc-icon {
    font-size: 1.5rem;
}

/* Guides Layout */
.guides-content {
    padding: 4rem 0;
    background: white;
}

.guides-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 4rem;
}

/* Sidebar */
.sidebar {
    position: relative;
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
}

.sidebar h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.sidebar-nav {
    list-style: none;
}

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

.sidebar-nav a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.sidebar-nav a:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

/* Main Content */
.guide-main {
    max-width: 800px;
}

.guide-section {
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 2px solid var(--border-color);
}

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

.guide-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2rem;
    scroll-margin-top: 100px;
}

.guide-section h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
}

.guide-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 1rem;
}

.guide-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.guide-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.guide-list li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.guide-list li strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
}

.guide-list li p {
    margin: 0.5rem 0 0 0;
}

/* Info Boxes */
.info-box,
.warning-box,
.success-box {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
}

.info-box {
    background: #eff6ff;
    border: 2px solid #bfdbfe;
}

.warning-box {
    background: #fef3c7;
    border: 2px solid #fde68a;
}

.success-box {
    background: #d1fae5;
    border: 2px solid #a7f3d0;
}

.info-icon,
.warning-icon,
.success-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-box strong,
.warning-box strong,
.success-box strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.5rem;
}

.info-box p,
.warning-box p,
.success-box p,
.info-box div,
.warning-box div,
.success-box div {
    color: var(--text-secondary);
    line-height: 1.7;
}

.warning-box a,
.info-box a,
.success-box a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 968px) {
    .guides-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .guide-section h2 {
        font-size: 2rem;
    }
    
    .guide-section h3 {
        font-size: 1.5rem;
    }
}

