:root {
    --primary-color: #0ea5e9;
    --secondary-color: #38bdf8;
    --text-color: #1f2937;
    --heading-color: #0f172a;
    --bg-color: #f8fafc;
    --light-bg: #e2e8f0;
    --border-color: #d0d8e3;
    --gradient-start: #0f172a;
    --gradient-end: #0ea5e9;
    --gradient: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    --accent-surface: rgba(14, 165, 233, 0.12);
    --accent-surface-strong: rgba(14, 165, 233, 0.2);
    --accent-shadow: rgba(14, 165, 233, 0.25);
}

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

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

a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
    text-decoration-color: rgba(14, 165, 233, 0.35);
}

/* Prevent button-style and navigation links from gaining hover underlines */
.logo:hover,
.nav-links a:hover,
.cta-button:hover,
.cta-primary:hover,
.cta-secondary:hover,
.cta-button-large:hover,
.tool-link:hover,
.category-card:hover,
.category-card h3 a:hover,
.badge:hover,
.pill:hover,
.tag-item:hover {
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', system-ui, sans-serif;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--heading-color);
}

p {
    margin: 1rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: #0b1120;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e2e8f0;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #e2e8f0;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.cta-button {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    transition: background 0.3s;
}

.cta-button:hover {
    background: var(--secondary-color);
}

/* Hero Section */
.hero {
    background: var(--gradient);
    color: white;
    padding: 6rem 0 5rem;
    margin-top: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.133 7-7s-3.134-7-7-7-7 3.133-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.133 7-7s-3.134-7-7-7-7 3.133-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
}

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

.hero h1 {
    color: white;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
}

.stat-label {
    display: block;
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-description {
    font-size: 1.2rem;
    margin: 2rem auto 3rem;
    opacity: 0.9;
    max-width: 700px;
    line-height: 1.7;
}

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

.cta-primary {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.cta-primary:hover {
    background: #f3f4f6;
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.cta-secondary {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1.2rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 4rem 0;
}


h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-color);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Why Us Section */
.why-us ul {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.why-us li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.why-us li:last-child {
    border-bottom: none;
}

.why-us strong {
    color: var(--primary-color);
}

/* Contact Form */
.contact {
    background: var(--light-bg);
}

.contact-form-container {
    max-width: 840px;
    margin: 0 auto;
}

.contact-form {
    max-width: 840px;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
    background-color: white;
    color: var(--text-color);
}

.form-group select {
    padding-right: 2.5rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235e5972' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-intro {
    margin: 0.5rem 0 1.5rem;
    color: #4b5563;
    font-size: 0.95rem;
}

.form-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.form-section:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 1.5rem;
}

.form-section h4 {
    margin-bottom: 1rem;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.checkbox-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.checkbox-label input {
    margin-top: 0.2rem;
}

.submit-button {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
}

.submit-button:hover {
    background: var(--secondary-color);
}

.contact-alternative {
    text-align: center;
    margin-top: 2rem;
    color: #666;
}

.contact-alternative a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
    background: #0b1120;
    color: #e2e8f0;
}

/* CTA Section */
.cta-section {
    background: var(--gradient);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button-large {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}

.cta-button-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Page Content */
.page-content {
    padding: 6rem 0 4rem;
    min-height: calc(100vh - 200px);
}

.page-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.page-content article {
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Page Specific */
.contact-info {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 8px;
}

.contact-info h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* Responsive */
/* Taxonomy Pages - Categories and Tags */
.categories-list .grid,
.tags-cloud {
    margin-top: 2rem;
}

.categories-list .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.category-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
}

.category-card h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.category-card h3 a:hover {
    color: var(--primary-color);
}

.category-card .count {
    color: #666;
    font-size: 0.9rem;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--light-bg);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    color: var(--text-color);
    transition: background-color 0.3s, transform 0.3s;
}

.tag-item:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.tag-item .count {
    font-size: 0.85rem;
    opacity: 0.7;
}

.category-articles,
.tag-articles {
    padding: 3rem 0;
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.article-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.article-card h2 {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
}

.article-card h2 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.article-card h2 a:hover {
    color: var(--primary-color);
}

.article-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-card .meta {
    display: flex;
    gap: 1rem;
    color: #999;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 0 3rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
        margin: 1.5rem auto 2rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
        text-align: center;
    }

    .nav-links {
        gap: 1rem;
    }

    .page-content {
        padding: 4rem 0 2rem;
    }
}

/* Directory Sections */
.section-lead {
    max-width: 720px;
    margin: -1rem auto 2.5rem;
    text-align: center;
    color: var(--text-color);
    font-size: 1.05rem;
}

.tool-section {
    background: var(--bg-color);
}

.tool-section.alt {
    background: var(--light-bg);
}

.tool-directory {
    background: var(--bg-color);
}

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

.tool-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.tool-card.compact {
    padding: 1.5rem;
}

.tool-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tool-card-header img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: contain;
    background: #f1f5f9;
    padding: 4px;
}

.tool-card h2,
.tool-card h3 {
    margin-bottom: 0.25rem;
    text-align: left;
}

.tool-card h2 {
    font-size: 1.25rem;
    line-height: 1.3;
}

.tool-card h2 a,
.tool-card h3 a {
    color: var(--heading-color);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.tool-card:hover h2 a,
.tool-card:hover h3 a {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.tool-card p {
    margin: 0;
    color: var(--text-color);
}

.tool-meta {
    font-size: 0.95rem;
    color: #6b7280;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: var(--accent-surface);
    color: var(--secondary-color);
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s ease;
}

.badge:hover {
    background: var(--accent-surface-strong);
}

.badge.verified {
    background: rgba(34, 197, 94, 0.15);
    color: #047857;
}

.tool-rating {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.rating-score {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.rating-label {
    font-size: 0.9rem;
    color: #64748b;
}

.tool-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.tool-pricing {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    color: var(--heading-color);
    font-weight: 600;
}

.tool-pricing .pricing-model {
    display: inline-block;
    background: var(--accent-surface);
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tool-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    background: var(--accent-surface);
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.tool-link::after {
    content: '→';
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.tool-link:hover {
    background: var(--gradient);
    color: #ffffff;
    box-shadow: 0 12px 24px var(--accent-shadow);
}

.tool-link:hover::after {
    transform: translateX(4px);
}

.category-section {
    background: var(--light-bg);
}

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

.category-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--heading-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.07);
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
}

.category-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.category-count {
    font-size: 0.9rem;
    color: #6b7280;
}

.hero.compact {
    padding: 6rem 0 3.5rem;
}

.hero.compact .hero-subtitle {
    margin-bottom: 1.5rem;
}

.filter-pills {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

.pill:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Tool Detail Page */
.tool-page section {
    padding: 4rem 0;
}

.tool-hero {
    background: var(--gradient);
    color: white;
    margin-top: 60px;
    padding: 7rem 0 5rem;
}

.tool-hero h1 {
    color: #ffffff;
    margin: 0 0 0.85rem;
}

.tool-hero .tool-meta {
    color: rgba(255, 255, 255, 0.8);
}

.tool-hero .tool-badges {
    margin: 1.75rem 0 2.25rem;
}

.tool-hero .badge {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.tool-hero .badge:hover {
    background: rgba(255, 255, 255, 0.28);
    color: #ffffff;
}

.tool-content h2 {
    font-size: 2rem;
    margin: 2.75rem 0 1.25rem;
    text-align: left;
    color: var(--heading-color);
}

.tool-content h2:first-child {
    margin-top: 0;
}

.tool-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
}

.tool-hero-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.tool-hero-meta img {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px;
}

.tool-summary {
    font-size: 1.1rem;
    opacity: 0.95;
}

.tool-quick-facts {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tool-quick-facts h2 {
    color: white;
    text-align: left;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.tool-quick-facts ul {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.tool-quick-facts li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.95rem;
    opacity: 0.95;
}

.tool-quick-facts span {
    color: rgba(255, 255, 255, 0.8);
}

.tool-quick-facts strong {
    color: white;
    font-weight: 600;
}

.tool-body {
    background: var(--bg-color);
}

.tool-content {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
}

.tool-content article h2,
.tool-content article h3 {
    text-align: left;
}

.tool-content article ul:not(.pros-cons) {
    margin: 1rem 0 2rem 1.2rem;
    list-style: disc;
}

.pros-cons {
    list-style: none;
    padding-left: 0;
}

.pros-cons li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.pros li::before {
    content: '+';
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: 700;
}

.cons li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: 700;
}

.tool-sidebar {
    display: grid;
    gap: 1.5rem;
}

.sidebar-card {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.sidebar-card h3 {
    text-align: left;
    margin-bottom: 1rem;
}

.sidebar-card ul {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    padding-left: 0;
}

.sidebar-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.sidebar-card .cta-secondary,
.sidebar-card .cta-secondary:hover {
    color: #ffffff;
    text-decoration: none;
}

.sidebar-card a:hover {
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .tool-hero-grid,
    .tool-content {
        grid-template-columns: 1fr;
    }

    .tool-quick-facts {
        order: 2;
    }

    .tool-hero-content {
        order: 1;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 5rem 0 4rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .tool-card {
        padding: 1.5rem;
    }

    .tool-hero {
        padding: 6rem 0 4rem;
    }

    .tool-hero-meta {
        flex-direction: column;
        text-align: center;
    }

    .tool-hero-meta img {
        margin-bottom: 0.5rem;
    }

    .tool-quick-facts ul {
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        padding: 1.5rem;
    }

    .pill {
        width: 100%;
        justify-content: center;
    }

    .tool-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .tool-link {
        padding-top: 0.5rem;
    }
}
