/* wwwroot/css/tools.css — shared layout for /tools/ SEO landing pages.
   Pairs with odopt.css (header/footer/tokens). Light-first, mirrors pricing.html. */

.tool-hero {
    position: relative;
    background: url('../img/hero-clouds.png') center/cover no-repeat,
        linear-gradient(180deg, #c8d6e8 0%, #e8eef5 100%);
    padding: 32px 20px 64px;
}

.tool-hero-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 860px) {
    .tool-hero-inner { grid-template-columns: 1fr; gap: 24px; }
}

.tool-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #1f2937;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    margin-bottom: 20px;
}
.tool-back:hover { background: rgba(255, 255, 255, 0.95); }
.tool-back svg { width: 16px; height: 16px; }

.tool-kicker {
    font-size: 11px;
    letter-spacing: .14em;
    font-weight: 700;
    color: #FF5C00;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.tool-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: #0b1220;
    letter-spacing: -.02em;
    line-height: 1.12;
    margin: 0 0 16px;
}

.tool-lede {
    font-size: 16px;
    color: #334155;
    line-height: 1.65;
    margin: 0 0 24px;
    max-width: 560px;
}

.tool-cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.tool-btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    transition: opacity .15s, transform .15s, background .15s;
}
.tool-btn--primary { background: #FF5C00; color: #fff; }
.tool-btn--primary:hover { opacity: .9; transform: translateY(-1px); }
.tool-btn--ghost {
    background: rgba(255, 255, 255, 0.7);
    color: #0b1220;
    border-color: rgba(0, 0, 0, 0.12);
}
.tool-btn--ghost:hover { background: rgba(255, 255, 255, 0.95); }

.tool-freeline { font-size: 13px; color: #475569; }

.tool-shot {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.16);
    background: #fff;
    display: block;
}

/* Content sections */
.tool-section { max-width: 880px; margin: 0 auto; padding: 56px 20px; }
.tool-section h2 {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    color: #0b1220;
    letter-spacing: -.01em;
    margin: 0 0 16px;
}
.tool-section p { font-size: 15.5px; line-height: 1.7; color: #334155; margin: 0 0 14px; }

.tool-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 28px;
}
@media (max-width: 720px) { .tool-features { grid-template-columns: 1fr; } }

.tool-feature {
    background: #fff;
    border: 1px solid #e6e9ef;
    border-radius: 14px;
    padding: 20px 22px;
}
.tool-feature h3 { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: #0b1220; }
.tool-feature p { margin: 0; font-size: 14px; line-height: 1.6; color: #475569; }

/* Steps */
.tool-steps { list-style: none; padding: 0; margin: 24px 0 0; counter-reset: step; }
.tool-steps li {
    position: relative;
    padding: 0 0 22px 52px;
    min-height: 40px;
}
.tool-steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0; top: 0;
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: #FF5C00; color: #fff;
    font-weight: 800; font-size: 15px;
}
.tool-steps li strong { display: block; color: #0b1220; font-size: 15px; margin-bottom: 2px; }
.tool-steps li span { font-size: 14px; color: #475569; line-height: 1.6; }

/* FAQ */
.tool-faq { margin-top: 22px; }
.tool-faq details {
    border: 1px solid #e6e9ef;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 12px;
    background: #fff;
}
.tool-faq summary {
    font-weight: 700;
    font-size: 15px;
    color: #0b1220;
    cursor: pointer;
    list-style: none;
}
.tool-faq summary::-webkit-details-marker { display: none; }
.tool-faq details[open] summary { margin-bottom: 8px; }
.tool-faq p { margin: 0; font-size: 14.5px; color: #475569; line-height: 1.65; }

/* Related tools */
.tool-related {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}
@media (max-width: 720px) { .tool-related { grid-template-columns: 1fr; } }
.tool-related a {
    display: block;
    background: #fff;
    border: 1px solid #e6e9ef;
    border-radius: 12px;
    padding: 16px 18px;
    text-decoration: none;
    transition: border-color .15s, transform .15s;
}
.tool-related a:hover { border-color: #FF5C00; transform: translateY(-2px); }
.tool-related strong { display: block; color: #0b1220; font-size: 15px; margin-bottom: 4px; }
.tool-related span { font-size: 13.5px; color: #64748b; line-height: 1.5; }

/* CTA band */
.tool-band {
    background: linear-gradient(180deg, #0b1220 0%, #10203a 100%);
    color: #fff;
    text-align: center;
    padding: 56px 20px;
}
.tool-band h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin: 0 0 10px; }
.tool-band p { color: #b9c4d6; font-size: 15px; margin: 0 0 22px; }

/* Tools hub grid */
.hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 1000px;
    margin: 32px auto 0;
}
@media (max-width: 860px) { .hub-grid { grid-template-columns: 1fr; max-width: 460px; } }
.hub-card {
    display: block;
    background: #fff;
    border: 1px solid #e6e9ef;
    border-radius: 14px;
    padding: 22px;
    text-decoration: none;
    transition: border-color .15s, transform .15s, box-shadow .15s;
}
.hub-card:hover { border-color: #FF5C00; transform: translateY(-3px); box-shadow: 0 12px 32px rgba(15,23,42,.12); }
.hub-card .hub-cat { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #FF5C00; font-weight: 700; }
.hub-card h3 { margin: 6px 0 6px; font-size: 18px; color: #0b1220; font-weight: 800; }
.hub-card p { margin: 0; font-size: 14px; color: #475569; line-height: 1.6; }
