/**
 * Category Pages Stylesheet
 * Enhanced category pages with use cases, comparisons, and recommendations
 */

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #7c3aed;
    --success-color: #059669;
    --warning-color: #d97706;
    --danger-color: #dc2626;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-tertiary: #9ca3af;
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: #fafafa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header Styles */
.main-header {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.25rem;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: translateY(-1px);
}

.logo-icon {
    font-size: 1.75rem;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

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

/* Footer Styles */
.main-footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: white;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* Category Hero */
.category-hero {
    background: #ffffff;
    color: #1f2937;
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.category-hero::before {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    color: inherit;
}

.category-hero .hero-content h1 {
    color: #1f2937;
    text-shadow: none;
}

.category-hero .hero-content .hero-description,
.category-hero .hero-content p {
    color: #6b7280;
}

.category-hero .category-meta .meta-tags,
.category-hero .category-meta .meta-tags span,
.category-hero .category-meta .meta-tags i {
    color: #4b5563;
}

.category-icon-large {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.category-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.95;
    line-height: 1.75;
    font-weight: 400;
}

.category-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
}

.meta-tags {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    gap: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.meta-tags i {
    opacity: 0.9;
    font-size: 1.125rem;
}

/* Quick Stats */
.quick-stats {
    background: #fafafa;
    padding: 2rem 0;
    margin-top: -2rem;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    background: var(--bg-white);
    border: 2px solid transparent;
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0.75rem 0 0.5rem;
    letter-spacing: -0.02em;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
}

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

.use-cases-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-primary);
}

.use-cases-section h2 i {
    color: var(--warning-color);
    margin-right: 0.875rem;
}

.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(--bg-white);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.use-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.use-case-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    transform: translateY(-6px);
    border-color: var(--primary-color);
}

.use-case-card:hover::before {
    opacity: 1;
}

.use-case-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.use-case-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.9375rem;
}

.recommended-tools {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-light);
}

.recommended-tools strong {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tool-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 600;
    margin: 0.25rem 0.375rem 0.25rem 0;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.tool-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

/* Comparison Matrix Section */
.comparison-matrix-section {
    padding: 3rem 0;
    background: var(--bg-white);
}

.comparison-matrix-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-primary);
}

.comparison-matrix-section h2 i {
    color: var(--primary-color);
    margin-right: 0.75rem;
}

.matrix-description {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.matrix-wrapper {
    overflow-x: auto;
    margin-top: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.comparison-matrix {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    min-width: 600px;
}

.comparison-matrix th {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
}

.comparison-matrix td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.comparison-matrix tbody tr:hover {
    background: var(--bg-light);
}

.tool-name {
    font-weight: 600;
    color: var(--text-primary);
}

.score-cell {
    min-width: 120px;
}

.score-bar {
    position: relative;
    width: 100%;
    height: 24px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.score-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--success-color) 0%, #34d399 100%);
    transition: width 0.6s ease;
    border-radius: var(--radius-sm);
}

.score-value {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

.total-score {
    text-align: center;
}

.total-score strong {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.percentage {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* Best For Section */
.best-for-section {
    padding: 3rem 0;
    background: var(--bg-light);
}

.best-for-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-primary);
}

.best-for-section h2 i {
    color: var(--warning-color);
    margin-right: 0.75rem;
}

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

.best-for-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.best-for-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--warning-color);
}

.user-type {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.user-type i {
    font-size: 1.5rem;
    color: var(--warning-color);
}

.user-type h3 {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin: 0;
}

.best-for-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Pricing Overview Section */
.pricing-overview-section {
    padding: 3rem 0;
    background: var(--bg-white);
}

.pricing-overview-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-primary);
}

.pricing-overview-section h2 i {
    color: var(--success-color);
    margin-right: 0.75rem;
}

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

.pricing-tier {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.pricing-tier:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.pricing-tier.free {
    border-color: var(--success-color);
}

.pricing-tier.affordable {
    border-color: var(--primary-color);
}

.pricing-tier.professional {
    border-color: var(--warning-color);
}

.pricing-tier h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.pricing-tier.free h3 {
    color: var(--success-color);
}

.pricing-tier.affordable h3 {
    color: var(--primary-color);
}

.pricing-tier.professional h3 {
    color: var(--warning-color);
}

.pricing-tier ul {
    list-style: none;
}

.pricing-tier li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.pricing-tier li:last-child {
    border-bottom: none;
}

/* Tools Section */
.tools-section {
    padding: 3rem 0;
    background: var(--bg-light);
}

.tools-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-primary);
}

.tools-section h2 i {
    color: var(--primary-color);
    margin-right: 0.875rem;
}

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

/* Standard Tool Card Styles - using main styles.css */
/* Additional badge styles for category pages */
.badge-pricing {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 0.5rem;
}

.badge-pricing.free {
    background: linear-gradient(135deg, var(--success-color), #10b981);
    color: white;
}

.badge-pricing.freemium {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
}

.badge-pricing.paid {
    background: linear-gradient(135deg, var(--warning-color), #f59e0b);
    color: white;
}

.badge-featured {
    display: inline-block;
    background: linear-gradient(135deg, var(--warning-color), #f59e0b);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tool-badges {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

/* FAQ Section */
.faq-section {
    padding: 3rem 0;
    background: var(--bg-white);
}

.faq-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-primary);
}

.faq-section h2 i {
    color: var(--secondary-color);
    margin-right: 0.75rem;
}

.faq-accordion {
    max-width: 800px;
    margin: 2rem auto 0;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--text-secondary);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Related Categories */
.related-categories {
    padding: 3rem 0;
    background: var(--bg-light);
}

.related-categories h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-primary);
}

.related-categories h2 i {
    color: var(--primary-color);
    margin-right: 0.75rem;
}

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

.related-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.related-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.related-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.related-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.related-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* People Also Ask Section */
.people-also-ask-section {
    padding: 3rem 0;
    background: var(--bg-light);
}

.people-also-ask-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-primary);
}

.people-also-ask-section h2 i {
    color: var(--secondary-color);
    margin-right: 0.875rem;
}

.section-intro {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.paa-grid {
    max-width: 900px;
    margin: 0 auto;
}

.paa-item {
    background: var(--bg-white);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-xl);
    margin-bottom: 1.25rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.paa-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.paa-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.paa-question:hover {
    color: var(--primary-color);
    background: var(--bg-light);
}

.paa-question i.fa-search {
    color: var(--text-tertiary);
    font-size: 1rem;
}

.paa-question i.fa-chevron-down {
    transition: transform 0.3s ease;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.paa-item.active .paa-question i.fa-chevron-down {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.paa-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.paa-item.active .paa-answer {
    max-height: 500px;
}

.paa-answer p {
    padding: 0 2rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.9375rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .category-hero h1 {
        font-size: 2.75rem;
    }

    .hero-description {
        font-size: 1.0625rem;
    }

    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .category-hero {
        padding: 3.5rem 0 2.5rem;
    }

    .category-hero h1 {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.65;
    }

    .category-icon-large {
        font-size: 3.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .use-cases-grid,
    .best-for-grid,
    .pricing-tiers {
        grid-template-columns: 1fr;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .comparison-matrix {
        font-size: 0.875rem;
    }

    .comparison-matrix th,
    .comparison-matrix td {
        padding: 0.75rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .use-cases-section,
    .tools-section,
    .people-also-ask-section {
        padding: 3.5rem 0;
    }

    .use-cases-section h2,
    .tools-section h2,
    .people-also-ask-section h2 {
        font-size: 1.875rem;
    }

    .paa-question {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }

    .paa-answer p {
        padding: 0 1.5rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .category-hero h1 {
        font-size: 1.75rem;
    }

    .category-icon-large {
        font-size: 3rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .use-case-card {
        padding: 2rem;
    }

    .badge-pricing,
    .badge-featured {
        font-size: 0.6875rem;
        padding: 0.25rem 0.625rem;
    }
}
