/* ===============================
   READABILITY TOOL FIX
================================ */

.tool-form {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.tool-form textarea {
    flex: 1;
    min-height: 160px;
    resize: vertical;
    font-size: 15px;
}

.tool-form button {
    white-space: nowrap;
    padding: 14px 22px;
    height: fit-content;
    font-size: 15px;
    border-radius: 10px;
}

/* Mobile */
@media (max-width: 768px) {
    .tool-form {
        flex-direction: column;
    }

    .tool-form button {
        width: 100%;
    }
}


/* ===============================
   TOOLS – GLOBAL UI
================================ */

.tool-hero {
    background: linear-gradient(135deg, #0F172A, #1DA1DB);
    padding: 90px 20px;
    color: #fff;
    text-align: center;
}

.tool-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 12px;
    color: White;
}

.tool-hero p {
    font-size: 1.15rem;
    opacity: 0.9;
}

/* ===============================
   TOOL CARD
================================ */

.tool-wrapper {
    padding: 60px 20px;
}

.tool-card {
    max-width: 880px;
    margin: auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    padding: 40px;
}

.tool-form {
    display: flex;
    gap: 12px;
}

.tool-form input {
    flex: 1;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    font-size: 16px;
}

.tool-form button {
    background: #1DA1DB;
    color: #fff;
    border: none;
    padding: 14px 22px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.tool-form button:hover {
    background: #1679B8;
}

/* ===============================
   RESULTS
================================ */

.result-box {
    margin-top: 32px;
    display: none;
}

.result-card {
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 24px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 600;
    margin-left: 8px;
}

.badge.low { background: #DCFCE7; color: #166534; }
.badge.medium { background: #FEF3C7; color: #92400E; }
.badge.high { background: #FEE2E2; color: #991B1B; }

.commandments {
    margin-top: 32px;
    background: #F9FAFB;
    padding: 24px;
    border-radius: 12px;
}

.commandments h3 {
    margin-bottom: 12px;
}

/* ===============================
   SEO CONTENT
================================ */

.seo-content {
    padding: 80px 20px;
    background: #F9FAFB;
}

.seo-inner {
    max-width: 900px;
    margin: auto;
}

.seo-inner h2 {
    margin-top: 32px;
}

.seo-inner p {
    margin-top: 12px;
    color: #374151;
}




/* ===============================
   TOOLS HUB PAGE
================================ */

.tools-hero {
    background: linear-gradient(135deg, #0f172a, #020617);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.tools-hero h1 {
    font-size: 2.6rem;
    margin-bottom: 12px;
    color: white;
}

.tools-hero p {
    max-width: 720px;
    margin: auto;
    color: #cbd5f5;
}

.tools-section {
    padding: 80px 0;
}

.tools-category {
    margin-bottom: 60px;
}

.tools-category h2 {
    margin-bottom: 20px;
    border-left: 4px solid #2563eb;
    padding-left: 12px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.tools-grid li {
    list-style: none;
}

.tools-grid a {
    display: block;
    padding: 14px 16px;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    color: #0f172a;
    font-weight: 500;
      text-decoration: none;

}

.tools-grid a:hover {
    border-color: #2563eb;
    background: #f8fafc;
}

.tools-seo-content {
    background: #f8fafc;
    padding: 80px 0;
}

.tools-seo-content h2,
.tools-seo-content h3 {
    margin-top: 24px;
}
