:root {
    --fc-primary: #0d6efd;
    --fc-dark: #101828;
    --fc-text: #344054;
    --fc-muted: #667085;
    --fc-border: #e5e7eb;
    --fc-bg-soft: #f8fafc;
    --fc-radius: 18px;
    --fc-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--fc-text);
    background: #ffffff;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

a {
    color: var(--fc-primary);
}

a:hover {
    color: #0a58ca;
}

.site-header .navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(8px);
}

.navbar-brand {
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.brand-accent {
    color: var(--fc-primary);
}

.hero-section {
    padding: 3rem 0 2rem;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.hero-card {
    background: #fff;
    border: 1px solid var(--fc-border);
    border-radius: 28px;
    padding: 2rem;
    box-shadow: var(--fc-shadow);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--fc-primary);
}

.hero-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.mini-box {
    background: var(--fc-bg-soft);
    border: 1px solid var(--fc-border);
    border-radius: 16px;
    padding: 1rem;
    font-weight: 600;
    text-align: center;
}

.section-heading p,
.text-muted {
    color: var(--fc-muted) !important;
}

.category-card,
.tool-card,
.info-box,
.tool-upload-box,
.sidebar-card {
    background: #fff;
    border: 1px solid var(--fc-border);
    border-radius: var(--fc-radius);
    padding: 1.5rem;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.04);
}

.icon-circle {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #eef4ff;
    color: var(--fc-primary);
    font-size: 1.2rem;
}

.tool-card-inner {
    height: 100%;
}

.tool-badge {
    display: inline-block;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--fc-primary);
    font-size: 0.8rem;
    font-weight: 700;
}

.tool-hero {
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.related-tools-list li + li {
    margin-top: 0.75rem;
}

.related-tools-list a {
    text-decoration: none;
    font-weight: 600;
}

.site-footer {
    background: #fbfcfe;
    border-top: 1px solid var(--fc-border);
}

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

.footer-links a {
    color: var(--fc-text);
    text-decoration: none;
}

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

.breadcrumb {
    margin-bottom: 0;
}

.breadcrumb-item a {
    text-decoration: none;
}

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

@media (max-width: 767.98px) {
    .hero-section {
        padding-top: 2rem;
    }

    .hero-mini-grid {
        grid-template-columns: 1fr;
    }

    .display-5,
    .display-6 {
        font-size: 2rem;
    }

    .hero-card,
    .category-card,
    .tool-card,
    .info-box,
    .tool-upload-box,
    .sidebar-card {
        padding: 1.2rem;
        border-radius: 16px;
    }
}
.category-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.category-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.category-card-link .category-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.category-card-link:hover .category-card {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
    border-color: #d6dae1;
}

.category-hero-card {
    background: #fff;
    border: 1px solid var(--fc-border);
    border-radius: 28px;
    padding: 2rem;
    box-shadow: var(--fc-shadow);
}
.category-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.category-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.category-card-link .category-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.category-card-link:hover .category-card {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
    border-color: #d6dae1;
}

.category-hero-card {
    background: #fff;
    border: 1px solid var(--fc-border);
    border-radius: 28px;
    padding: 2rem;
    box-shadow: var(--fc-shadow);
}