/* SEO Enhancement Styles - Non-destructive additions */
/* These styles complement the existing design system */

/* ============================================
   Breadcrumb Navigation
   ============================================ */
.breadcrumb {
    background: var(--muted);
    padding: 0.75rem 0;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--border);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    flex-wrap: wrap;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-list a:hover {
    color: var(--primary);
}

.breadcrumb-list li:not(:last-child)::after {
    content: "›";
    margin-left: 0.5rem;
    color: var(--muted-foreground);
    font-size: 1.125rem;
}

.breadcrumb-list li:last-child {
    color: var(--foreground);
    font-weight: 500;
}

/* ============================================
   Section Titles
   ============================================ */
.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--foreground);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
    padding: 3rem 0;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

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

.faq-question {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--foreground);
    line-height: 1.4;
}

.faq-answer {
    color: var(--muted-foreground);
    line-height: 1.7;
    font-size: 1rem;
}

.faq-answer strong {
    color: var(--foreground);
    font-weight: 600;
}

.faq-answer code {
    background: var(--secondary);
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

/* ============================================
   Related Tools Section
   ============================================ */
.related-tools {
    padding: 3rem 0;
    background: var(--muted);
}

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

.tool-link-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tool-link-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dark .tool-link-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tool-link-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
}

.tool-link-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
    line-height: 1.5;
}

.tool-link-card .tool-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--primary-foreground);
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 500;
    margin-top: 0.5rem;
    align-self: flex-start;
}

/* ============================================
   How to Use Section
   ============================================ */
.how-to-section {
    padding: 3rem 0;
}

.how-to-steps {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.step-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary);
    color: var(--primary-foreground);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.step-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* ============================================
   Use Cases Section
   ============================================ */
.use-cases-section {
    padding: 3rem 0;
    background: var(--background);
}

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

.use-case-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.use-case-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.use-case-icon {
    font-size: 1.5rem;
}

.use-case-card p {
    color: var(--muted-foreground);
    line-height: 1.6;
    font-size: 0.9375rem;
}

.use-case-card ul {
    margin-top: 0.75rem;
    padding-left: 1.25rem;
    color: var(--muted-foreground);
}

.use-case-card li {
    margin-bottom: 0.375rem;
    line-height: 1.5;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .faq-question {
        font-size: 1.125rem;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .breadcrumb {
        font-size: 0.8125rem;
    }
    
    .step-item {
        gap: 1rem;
    }
    
    .step-number {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .breadcrumb,
    .related-tools {
        display: none;
    }
}
