/*
 * ChangeFluent AI Tools - shared styles
 *
 * Uses brand palette:
 *   navy   #0e2238
 *   blue   #0082ba
 *   orange #e0741b
 *   pale   #e6f3f8
 *
 * Kept small and dependency-free. The theme (Astra) supplies typography and
 * base resets. These styles layer on for tool pages only.
 */

.cfait-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero */
.cfait-hero {
    background: linear-gradient(180deg, #e6f3f8 0%, #ffffff 100%);
    padding: 64px 0 40px;
}
.cfait-hero h1 {
    color: #0e2238;
    margin: 0 0 12px;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}
.cfait-lede {
    color: #33475b;
    font-size: 1.1rem;
    max-width: 720px;
    line-height: 1.55;
    margin: 0 0 16px;
}

/* Cards for the tools hub */
.cfait-tools-grid { padding: 40px 0 80px; }
.cfait-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.cfait-card {
    display: block;
    background: #ffffff;
    border: 1px solid #dfe7ef;
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    color: #0e2238;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.cfait-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(14, 34, 56, 0.08);
    border-color: #0082ba;
}
.cfait-card h2 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    color: #0082ba;
}
.cfait-card p {
    color: #4a5b6f;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 16px;
}
.cfait-card-cta {
    color: #e0741b;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Buttons */
.cfait-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
    cursor: pointer;
    border: 1px solid transparent;
    background: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.cfait-btn--primary {
    background: #0082ba;
    color: #ffffff;
}
.cfait-btn--primary:hover {
    background: #006b99;
    color: #ffffff;
}
.cfait-btn--ghost {
    background: transparent;
    color: #0082ba;
    border-color: #0082ba;
}
.cfait-btn--ghost:hover {
    background: #e6f3f8;
    color: #006b99;
}
.cfait-btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}

/* Usage badge */
.cfait-usage-badge {
    display: inline-block;
    background: #fff3e6;
    color: #7a3f0e;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
}
