/*
 * Taskip Free Tools — Gutenberg Blocks Frontend Styles
 * Covers all six blocks: hero, tools-grid, tool-spotlight, faq, stats-bar, cta-banner
 */

/* ─── Shared reset ──────────────────────────────────────────────────────────── */
.taskip-hero-block *,
.taskip-tools-grid-block *,
.taskip-spotlight-block *,
.taskip-faq-block *,
.taskip-stats-block *,
.taskip-cta-banner-block * {
    box-sizing: border-box;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   HERO BLOCK
   ═══════════════════════════════════════════════════════════════════════════════ */
.taskip-hero-block {
    background: linear-gradient(135deg, #eef4ff 0%, #f0fdf8 100%);
    padding: 80px 24px 72px;
    text-align: center;
}
.taskip-hero-inner {
    max-width: 720px;
    margin: 0 auto;
}

/* Badge */
.taskip-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 14px;
    background: #fff;
    border: 1px solid #bfdbfe;
    border-radius: 99px;
    font-size: 12.5px;
    font-weight: 600;
    color: #1d4ed8;
    margin-bottom: 22px;
    letter-spacing: .02em;
}
.taskip-hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    display: inline-block;
    animation: taskip-pulse 2s ease-in-out infinite;
}
@keyframes taskip-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .6; transform: scale(1.3); }
}

/* Headline */
.taskip-hero-headline {
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.15;
    color: #0f172a;
    margin: 0 0 18px;
    letter-spacing: -.02em;
}

/* Subheadline */
.taskip-hero-sub {
    font-size: clamp(15px, 1.8vw, 18px);
    color: #475569;
    line-height: 1.65;
    margin: 0 0 32px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.taskip-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}
.taskip-hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    background: #0070f3;
    color: #fff;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s, transform .1s;
}
.taskip-hero-btn-primary:hover {
    background: #005ed4;
    transform: translateY(-1px);
    color: #fff;
}
.taskip-hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 13px 24px;
    background: #fff;
    color: #334155;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .15s, background .15s;
}
.taskip-hero-btn-secondary:hover {
    border-color: #94a3b8;
    background: #f8fafc;
    color: #0f172a;
}

/* Trust signals */
.taskip-hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: #64748b;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   TOOLS GRID BLOCK
   ═══════════════════════════════════════════════════════════════════════════════ */
.taskip-tools-grid-block {
    padding: 64px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.taskip-tg-header {
    text-align: center;
    margin-bottom: 48px;
}
.taskip-tg-title {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
    letter-spacing: -.015em;
}
.taskip-tg-subtitle {
    font-size: 16px;
    color: #64748b;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid */
.taskip-tg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

/* Card */
.taskip-tg-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: box-shadow .18s, border-color .18s, transform .12s;
}
.taskip-tg-card:hover {
    box-shadow: 0 8px 32px rgba(0,112,243,.1);
    border-color: #bfdbfe;
    transform: translateY(-2px);
}
.taskip-tg-card--ai {
    border-color: #ddd6fe;
    background: linear-gradient(135deg, #fff 85%, #f5f3ff 100%);
}
.taskip-tg-card--ai:hover {
    border-color: #a78bfa;
    box-shadow: 0 8px 32px rgba(124,58,237,.1);
}

/* Card top row */
.taskip-tg-card-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}
.taskip-tg-icon {
    width: 40px;
    height: 40px;
    background: #eff6ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #0070f3;
}
.taskip-tg-card--ai .taskip-tg-icon {
    background: #f5f3ff;
    color: #7c3aed;
}
.taskip-tg-cat {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .04em;
    flex: 1;
}
.taskip-tg-ai-badge {
    font-size: 10px;
    font-weight: 800;
    color: #7c3aed;
    background: #f5f3ff;
    border: 1px solid #ddd6fe;
    border-radius: 5px;
    padding: 2px 6px;
    letter-spacing: .05em;
}

/* Card text */
.taskip-tg-name {
    font-size: 15.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
    line-height: 1.3;
}
.taskip-tg-tagline {
    font-size: 12.5px;
    font-weight: 500;
    color: #0070f3;
    margin: 0 0 10px;
}
.taskip-tg-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 16px;
    flex: 1;
}

/* Card link */
.taskip-tg-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: #0070f3;
    text-decoration: none;
    margin-top: auto;
    transition: gap .15s;
}
.taskip-tg-link:hover {
    gap: 9px;
    color: #005ed4;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   TOOL SPOTLIGHT BLOCK
   ═══════════════════════════════════════════════════════════════════════════════ */
.taskip-spotlight-block {
    padding: 72px 24px;
    max-width: 1160px;
    margin: 0 auto;
}

/* Row */
.taskip-ts-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.taskip-ts-row--reverse {
    direction: rtl;
}
.taskip-ts-row--reverse > * {
    direction: ltr;
}

/* Content side */
.taskip-ts-cat {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    color: #0070f3;
    text-transform: uppercase;
    letter-spacing: .06em;
    background: #eff6ff;
    padding: 3px 10px;
    border-radius: 99px;
    margin-bottom: 14px;
}
.taskip-ts-headline {
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin: 0 0 14px;
    letter-spacing: -.015em;
}
.taskip-ts-desc {
    font-size: 15.5px;
    color: #475569;
    line-height: 1.7;
    margin: 0 0 22px;
}

/* Feature list */
.taskip-ts-features {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.taskip-ts-features li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    color: #334155;
    font-weight: 500;
}

/* CTA */
.taskip-ts-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: #0070f3;
    color: #fff;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s, transform .1s;
}
.taskip-ts-cta:hover {
    background: #005ed4;
    transform: translateY(-1px);
    color: #fff;
}

/* Visual mock */
.taskip-ts-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.taskip-ts-mock {
    width: 100%;
    max-width: 380px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0,0,0,.08);
    overflow: hidden;
}
.taskip-ts-mock-bar {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 14px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.taskip-ts-mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e2e8f0;
}
.taskip-ts-mock-dot:nth-child(1) { background: #fca5a5; }
.taskip-ts-mock-dot:nth-child(2) { background: #fcd34d; }
.taskip-ts-mock-dot:nth-child(3) { background: #86efac; }
.taskip-ts-mock-label {
    font-size: 11px;
    color: #94a3b8;
    margin-left: 8px;
}
.taskip-ts-mock-body {
    padding: 24px 20px;
}
.taskip-ts-mock-icon {
    width: 56px;
    height: 56px;
    background: #eff6ff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.taskip-ts-mock-name {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}
.taskip-ts-mock-tagline {
    font-size: 12.5px;
    color: #0070f3;
    font-weight: 500;
    margin-bottom: 14px;
}
.taskip-ts-mock-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #475569;
    padding: 5px 0;
    border-top: 1px solid #f1f5f9;
}
.taskip-ts-mock-check {
    color: #0ea374;
    font-weight: 700;
    font-size: 13px;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FAQ BLOCK
   ═══════════════════════════════════════════════════════════════════════════════ */
.taskip-faq-block {
    padding: 64px 24px;
    max-width: 780px;
    margin: 0 auto;
}
.taskip-faq-title {
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    margin: 0 0 40px;
    letter-spacing: -.015em;
}
.taskip-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
}

/* Item */
.taskip-faq-item {
    border-bottom: 1px solid #e2e8f0;
}
.taskip-faq-item:last-child {
    border-bottom: none;
}

/* Summary / question */
.taskip-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px;
    font-size: 14.5px;
    font-weight: 600;
    color: #1a1f36;
    cursor: pointer;
    list-style: none;
    user-select: none;
    background: #fff;
    transition: background .12s;
}
.taskip-faq-q:hover { background: #f8fafc; }
.taskip-faq-q::-webkit-details-marker { display: none; }

.taskip-faq-icon {
    flex-shrink: 0;
    color: #94a3b8;
    transition: transform .2s;
}
.taskip-faq-item[open] .taskip-faq-icon {
    transform: rotate(180deg);
    color: #0070f3;
}
.taskip-faq-item[open] > .taskip-faq-q {
    background: #f0f6ff;
    color: #0070f3;
}

/* Answer */
.taskip-faq-a {
    padding: 0 22px 18px;
    background: #fff;
}
.taskip-faq-a p {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   STATS BAR BLOCK
   ═══════════════════════════════════════════════════════════════════════════════ */
.taskip-stats-block {
    padding: 48px 24px;
    background: #0070f3;
}
.taskip-stats-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}
.taskip-stat-item {
    flex: 1;
    min-width: 160px;
    text-align: center;
    padding: 16px 24px;
    border-right: 1px solid rgba(255,255,255,.15);
}
.taskip-stat-item:last-child { border-right: none; }
.taskip-stat-val {
    display: block;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 6px;
}
.taskip-stat-lab {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,.75);
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   CTA BANNER BLOCK
   ═══════════════════════════════════════════════════════════════════════════════ */
.taskip-cta-banner-block {
    padding: 72px 24px;
    text-align: center;
}
.taskip-ctab-inner {
    max-width: 620px;
    margin: 0 auto;
}
.taskip-ctab-headline {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 14px;
    letter-spacing: -.015em;
}
.taskip-ctab-sub {
    font-size: 16px;
    line-height: 1.65;
    margin: 0 0 32px;
    opacity: .85;
}
.taskip-ctab-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.taskip-ctab-btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity .15s, transform .1s;
}
.taskip-ctab-btn-primary:hover { opacity: .9; transform: translateY(-1px); }
.taskip-ctab-btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid currentColor;
    transition: opacity .15s;
}
.taskip-ctab-btn-secondary:hover { opacity: .8; }

/* Style: Gradient (default) */
.taskip-cta-banner--gradient {
    background: linear-gradient(135deg, #0070f3 0%, #7c3aed 100%);
}
.taskip-cta-banner--gradient .taskip-ctab-headline,
.taskip-cta-banner--gradient .taskip-ctab-sub { color: #fff; }
.taskip-cta-banner--gradient .taskip-ctab-btn-primary {
    background: #fff;
    color: #0070f3;
}
.taskip-cta-banner--gradient .taskip-ctab-btn-secondary {
    color: rgba(255,255,255,.9);
    border-color: rgba(255,255,255,.4);
}
.taskip-cta-banner--gradient .taskip-ctab-btn-secondary:hover { color: #fff; border-color: #fff; }

/* Style: Dark */
.taskip-cta-banner--dark {
    background: #0f172a;
}
.taskip-cta-banner--dark .taskip-ctab-headline { color: #fff; }
.taskip-cta-banner--dark .taskip-ctab-sub { color: #94a3b8; }
.taskip-cta-banner--dark .taskip-ctab-btn-primary {
    background: #0070f3;
    color: #fff;
}
.taskip-cta-banner--dark .taskip-ctab-btn-secondary {
    color: #94a3b8;
    border-color: #334155;
}
.taskip-cta-banner--dark .taskip-ctab-btn-secondary:hover { color: #fff; border-color: #fff; }

/* Style: Light */
.taskip-cta-banner--light {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}
.taskip-cta-banner--light .taskip-ctab-headline { color: #0f172a; }
.taskip-cta-banner--light .taskip-ctab-sub { color: #64748b; }
.taskip-cta-banner--light .taskip-ctab-btn-primary {
    background: #0070f3;
    color: #fff;
}
.taskip-cta-banner--light .taskip-ctab-btn-secondary {
    color: #475569;
    border-color: #cbd5e1;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .taskip-hero-block   { padding: 52px 20px 48px; }
    .taskip-tools-grid-block { padding: 40px 16px; }
    .taskip-spotlight-block  { padding: 48px 20px; }
    .taskip-faq-block        { padding: 40px 16px; }
    .taskip-cta-banner-block { padding: 48px 20px; }

    .taskip-ts-row {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .taskip-ts-row--reverse { direction: ltr; }

    .taskip-tg-grid {
        grid-template-columns: 1fr;
    }

    .taskip-stats-inner {
        flex-direction: column;
        gap: 0;
    }
    .taskip-stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,.15);
        padding: 20px 16px;
    }
    .taskip-stat-item:last-child { border-bottom: none; }

    .taskip-ts-mock { max-width: 100%; }
}

@media (max-width: 480px) {
    .taskip-hero-actions { flex-direction: column; align-items: stretch; }
    .taskip-hero-btn-primary,
    .taskip-hero-btn-secondary { justify-content: center; }
    .taskip-ctab-actions { flex-direction: column; align-items: stretch; }
    .taskip-ctab-btn-primary,
    .taskip-ctab-btn-secondary { justify-content: center; }
    .taskip-faq-q { padding: 15px 16px; font-size: 13.5px; }
    .taskip-faq-a { padding: 0 16px 14px; }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   STATS BAR — with optional header
   ═══════════════════════════════════════════════════════════════════════════════ */
.taskip-stats-block--has-header {
    padding-top: 64px;
    padding-bottom: 64px;
}
.taskip-stats-header {
    text-align: center;
    margin-bottom: 36px;
}
.taskip-stats-title {
    font-size: clamp(22px, 2.8vw, 30px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: -.015em;
}
.taskip-stats-subtitle {
    font-size: 15px;
    color: rgba(255,255,255,.75);
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   TOOL HERO BLOCK  (.taskip-tool-hero-block)
   ═══════════════════════════════════════════════════════════════════════════════ */
.taskip-tool-hero-block {
    background: linear-gradient(150deg, #eef4ff 0%, #f0fdf8 100%);
    padding: 72px 24px 64px;
    text-align: center;
}
.taskip-tool-hero-block--ai {
    background: linear-gradient(150deg, #f5f3ff 0%, #eff6ff 50%, #f0fdf8 100%);
}
.taskip-th-inner {
    max-width: 680px;
    margin: 0 auto;
}

/* Icon + badge row */
.taskip-th-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.taskip-th-icon-wrap {
    width: 52px; height: 52px;
    background: #eff6ff;
    border: 1.5px solid #bfdbfe;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: #0070f3;
    flex-shrink: 0;
}
.taskip-th-icon-wrap--ai {
    background: #f5f3ff;
    border-color: #ddd6fe;
    color: #7c3aed;
}
.taskip-th-badge {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 5px 14px;
    background: #fff;
    border: 1px solid #bfdbfe;
    border-radius: 99px;
    font-size: 12.5px; font-weight: 600; color: #1d4ed8;
}
.taskip-th-badge-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #22c55e;
    display: inline-block;
    animation: taskip-pulse 2s ease-in-out infinite;
}
.taskip-th-ai-pill {
    background: #7c3aed; color: #fff;
    font-size: 10px; font-weight: 700;
    padding: 2px 7px; border-radius: 99px;
    letter-spacing: .04em;
}

/* Headline & sub */
.taskip-th-headline {
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 800; line-height: 1.15;
    color: #0f172a; margin: 0 0 16px;
    letter-spacing: -.02em;
}
.taskip-th-sub {
    font-size: clamp(15px, 1.8vw, 17px);
    color: #475569; line-height: 1.7;
    margin: 0 0 24px;
    max-width: 560px; margin-left: auto; margin-right: auto;
}

/* Feature pills */
.taskip-th-pills {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 8px; list-style: none; margin: 0 0 28px; padding: 0;
}
.taskip-th-pill {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 12px;
    background: #fff; border: 1px solid #d1fae5;
    border-radius: 99px;
    font-size: 12.5px; font-weight: 500; color: #065f46;
}

/* Actions */
.taskip-th-actions {
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap; gap: 12px; margin-bottom: 22px;
}
.taskip-th-cta-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 26px; background: #0070f3; color: #fff;
    border-radius: 10px; font-size: 15px; font-weight: 700;
    text-decoration: none; transition: background .15s, transform .1s;
}
.taskip-th-cta-primary:hover { background: #005ed4; transform: translateY(-1px); color: #fff; }
.taskip-tool-hero-block--ai .taskip-th-cta-primary { background: #7c3aed; }
.taskip-tool-hero-block--ai .taskip-th-cta-primary:hover { background: #6d28d9; }
.taskip-th-cta-secondary {
    display: inline-flex; align-items: center;
    padding: 13px 22px; background: #fff; color: #334155;
    border: 1.5px solid #cbd5e1; border-radius: 10px;
    font-size: 15px; font-weight: 600; text-decoration: none;
    transition: border-color .15s, background .15s;
}
.taskip-th-cta-secondary:hover { border-color: #94a3b8; background: #f8fafc; color: #0f172a; }

/* Trust row */
.taskip-th-trust {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 6px 18px; list-style: none; margin: 0; padding: 0;
    font-size: 12.5px; color: #64748b;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FEATURES GRID BLOCK  (.taskip-features-block)
   ═══════════════════════════════════════════════════════════════════════════════ */
.taskip-features-block {
    padding: 64px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Header */
.taskip-feat-header { text-align: center; margin-bottom: 44px; }
.taskip-feat-title {
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 800; color: #0f172a;
    margin: 0 0 10px; letter-spacing: -.015em;
}
.taskip-feat-subtitle {
    font-size: 15.5px; color: #64748b;
    max-width: 520px; margin: 0 auto; line-height: 1.6;
}

/* Grid */
.taskip-feat-grid {
    display: grid;
    gap: 22px;
}
.taskip-features-cols-3 .taskip-feat-grid { grid-template-columns: repeat(3, 1fr); }
.taskip-features-cols-2 .taskip-feat-grid { grid-template-columns: repeat(2, 1fr); }

/* Card */
.taskip-feat-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 26px 22px;
    transition: box-shadow .18s, border-color .18s, transform .12s;
}
.taskip-feat-card:hover {
    box-shadow: 0 6px 28px rgba(0,112,243,.09);
    border-color: #bfdbfe;
    transform: translateY(-2px);
}
.taskip-feat-icon {
    width: 46px; height: 46px;
    background: #eff6ff; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #0070f3; margin-bottom: 14px;
}
.taskip-feat-name {
    font-size: 15px; font-weight: 700; color: #0f172a;
    margin: 0 0 7px;
}
.taskip-feat-desc {
    font-size: 13.5px; color: #64748b;
    line-height: 1.65; margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PROS & CONS BLOCK  (.taskip-pros-cons-block)
   ═══════════════════════════════════════════════════════════════════════════════ */
.taskip-pros-cons-block {
    padding: 64px 24px;
    max-width: 940px;
    margin: 0 auto;
}
.taskip-pc-header { text-align: center; margin-bottom: 40px; }
.taskip-pc-title {
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 800; color: #0f172a;
    margin: 0 0 10px; letter-spacing: -.015em;
}
.taskip-pc-subtitle {
    font-size: 15px; color: #64748b; margin: 0; line-height: 1.6;
}

/* Two columns */
.taskip-pc-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Column */
.taskip-pc-col {
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    border: 1px solid;
}
.taskip-pc-col--pros { border-color: #bbf7d0; background: #f0fdf4; }
.taskip-pc-col--cons { border-color: #fecaca; background: #fff5f5; }

/* Column header */
.taskip-pc-col-head {
    display: flex; align-items: center; gap: 10px;
    padding: 16px 20px;
    border-bottom: 1px solid;
    font-weight: 700;
}
.taskip-pc-col--pros .taskip-pc-col-head {
    background: #dcfce7; border-color: #bbf7d0; color: #166534;
}
.taskip-pc-col--cons .taskip-pc-col-head {
    background: #fee2e2; border-color: #fecaca; color: #991b1b;
}
.taskip-pc-col-head h3 { margin: 0; font-size: 14px; font-weight: 700; }
.taskip-pc-col-icon {
    width: 28px; height: 28px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.taskip-pc-col-icon--pro { background: #bbf7d0; color: #166534; }
.taskip-pc-col-icon--con { background: #fecaca; color: #991b1b; }

/* List */
.taskip-pc-list {
    list-style: none; margin: 0; padding: 16px 20px;
    display: flex; flex-direction: column; gap: 10px;
}
.taskip-pc-list li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 13.5px; line-height: 1.55;
}
.taskip-pc-col--pros .taskip-pc-list li { color: #166534; }
.taskip-pc-col--cons .taskip-pc-list li { color: #7f1d1d; }
.taskip-pc-check {
    flex-shrink: 0; font-weight: 800; color: #16a34a;
    font-size: 14px; line-height: 1.4;
}
.taskip-pc-cross {
    flex-shrink: 0; font-weight: 800; color: #dc2626;
    font-size: 13px; line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   WHY USE THIS TOOL BLOCK  (.taskip-why-use-block)
   ═══════════════════════════════════════════════════════════════════════════════ */
.taskip-why-use-block {
    padding: 64px 24px;
    max-width: 1060px;
    margin: 0 auto;
    background: #f8fafc;
    border-radius: 0;
}
.taskip-why-header { text-align: center; margin-bottom: 44px; }
.taskip-why-title {
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 800; color: #0f172a;
    margin: 0 0 10px; letter-spacing: -.015em;
}
.taskip-why-subtitle {
    font-size: 15.5px; color: #64748b;
    max-width: 520px; margin: 0 auto; line-height: 1.6;
}

/* Grid — 2 columns of 2 cards */
.taskip-why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Card */
.taskip-why-card {
    display: flex; align-items: flex-start; gap: 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 26px 22px;
    transition: box-shadow .18s, border-color .18s, transform .12s;
}
.taskip-why-card:hover {
    box-shadow: 0 6px 28px rgba(0,112,243,.08);
    border-color: #bfdbfe;
    transform: translateY(-2px);
}

/* Number badge */
.taskip-why-num {
    flex-shrink: 0;
    width: 40px; height: 40px;
    background: linear-gradient(135deg, #0070f3, #7c3aed);
    color: #fff;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 17px; font-weight: 800;
    line-height: 1;
}

/* Body */
.taskip-why-body { flex: 1; }
.taskip-why-card-title {
    font-size: 15.5px; font-weight: 700; color: #0f172a;
    margin: 0 0 6px;
}
.taskip-why-card-desc {
    font-size: 13.5px; color: #64748b;
    line-height: 1.65; margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE — new blocks
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .taskip-tool-hero-block  { padding: 52px 20px 44px; }
    .taskip-features-block   { padding: 40px 16px; }
    .taskip-pros-cons-block  { padding: 40px 16px; }
    .taskip-why-use-block    { padding: 40px 16px; }

    .taskip-features-cols-3 .taskip-feat-grid,
    .taskip-features-cols-2 .taskip-feat-grid {
        grid-template-columns: 1fr 1fr;
    }
    .taskip-pc-columns       { grid-template-columns: 1fr; }
    .taskip-why-grid         { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .taskip-features-cols-3 .taskip-feat-grid,
    .taskip-features-cols-2 .taskip-feat-grid {
        grid-template-columns: 1fr;
    }
    .taskip-th-actions       { flex-direction: column; align-items: stretch; }
    .taskip-th-cta-primary,
    .taskip-th-cta-secondary { justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   HOW IT WORKS BLOCK
   ═══════════════════════════════════════════════════════════════════════════════ */
.taskip-hiw-block {
    padding: 64px 40px;
    background: #fff;
    max-width: 900px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Header */
.taskip-hiw-header {
    text-align: center;
    margin-bottom: 52px;
}
.taskip-hiw-title {
    font-size: clamp(22px, 4vw, 30px);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
    line-height: 1.2;
}
.taskip-hiw-subtitle {
    font-size: 16px;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* Steps list */
.taskip-hiw-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

/* Vertical connector line between steps */
.taskip-hiw-steps::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 54px;
    bottom: 54px;
    width: 2px;
    background: linear-gradient(to bottom, #3b82f6 0%, #818cf8 100%);
    opacity: 0.25;
    pointer-events: none;
}

.taskip-hiw-step {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 24px 0;
    position: relative;
}
.taskip-hiw-step:not(:last-child) {
    padding-bottom: 28px;
}

/* Number badge */
.taskip-hiw-step-num {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(99,102,241,.30);
    position: relative;
    z-index: 1;
}

/* Step content */
.taskip-hiw-step-body {
    padding-top: 10px;
}
.taskip-hiw-step-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
    line-height: 1.3;
}
.taskip-hiw-step-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   USE CASES BLOCK
   ═══════════════════════════════════════════════════════════════════════════════ */
.taskip-uc-block {
    padding: 64px 40px;
    background: #f8fafc;
    box-sizing: border-box;
}

/* Header */
.taskip-uc-header {
    text-align: center;
    margin-bottom: 44px;
}
.taskip-uc-title {
    font-size: clamp(22px, 4vw, 30px);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px;
    line-height: 1.2;
}
.taskip-uc-subtitle {
    font-size: 16px;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* Grid */
.taskip-uc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

/* Card */
.taskip-uc-card {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px 26px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.taskip-uc-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 6px 24px rgba(59,130,246,.10);
    transform: translateY(-2px);
}

/* Role tag */
.taskip-uc-role {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #3b82f6;
    background: #eff6ff;
    border-radius: 4px;
    padding: 3px 8px;
    margin-bottom: 12px;
}

.taskip-uc-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
    line-height: 1.3;
}
.taskip-uc-card-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RELATED TOOLS BLOCK
   ═══════════════════════════════════════════════════════════════════════════════ */
.taskip-rt-block {
    padding: 64px 40px;
    background: #fff;
    box-sizing: border-box;
}

/* Header */
.taskip-rt-header {
    text-align: center;
    margin-bottom: 40px;
}
.taskip-rt-title {
    font-size: clamp(20px, 3.5vw, 27px);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
    line-height: 1.2;
}
.taskip-rt-subtitle {
    font-size: 15px;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* Grid */
.taskip-rt-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 780px;
    margin: 0 auto;
}

/* Card link */
.taskip-rt-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 20px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.taskip-rt-card:hover {
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 4px 16px rgba(59,130,246,.10);
    transform: translateX(3px);
    text-decoration: none;
    color: inherit;
}

/* Icon circle */
.taskip-rt-card-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
}

/* Body */
.taskip-rt-card-body {
    flex: 1;
    min-width: 0;
}
.taskip-rt-card-category {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 3px;
}
.taskip-rt-card-title {
    font-size: 15.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 3px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.taskip-rt-card-tagline {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Arrow */
.taskip-rt-card-arrow {
    flex-shrink: 0;
    color: #94a3b8;
    transition: color 0.2s, transform 0.2s;
}
.taskip-rt-card:hover .taskip-rt-card-arrow {
    color: #3b82f6;
    transform: translateX(3px);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE — How It Works · Use Cases · Related Tools
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .taskip-hiw-block   { padding: 44px 20px; }
    .taskip-uc-block    { padding: 44px 16px; }
    .taskip-rt-block    { padding: 44px 16px; }

    .taskip-uc-grid     { grid-template-columns: 1fr; }

    .taskip-hiw-steps::before {
        left: 23px;
        top: 46px;
        bottom: 46px;
    }
    .taskip-hiw-step-num {
        width: 46px;
        height: 46px;
        font-size: 17px;
    }
}
@media (max-width: 480px) {
    .taskip-hiw-step    { gap: 16px; }
    .taskip-rt-card     { padding: 14px 14px; }
    .taskip-rt-card-icon { width: 38px; height: 38px; border-radius: 8px; }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ICON VARIANTS — features, use-cases, how-it-works
   ═══════════════════════════════════════════════════════════════════════════════ */

/* --- Features: emoji icon --- */
.taskip-feat-icon--emoji {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    margin-bottom: 14px;
    user-select: none;
}

/* --- Features: image icon --- */
.taskip-feat-icon--image {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 14px;
    flex-shrink: 0;
}
.taskip-feat-icon--image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* --- Use-cases: emoji icon --- */
.taskip-uc-icon--emoji {
    font-size: 36px;
    line-height: 1;
    margin-bottom: 12px;
    display: block;
    user-select: none;
}

/* --- Use-cases: image icon --- */
.taskip-uc-icon--image {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
}
.taskip-uc-icon--image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* --- How It Works: emoji badge --- */
.taskip-hiw-step-num--emoji {
    background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
    color: inherit;
    font-size: 26px;
    box-shadow: 0 2px 8px rgba(99,102,241,.12);
}

/* --- How It Works: image badge --- */
.taskip-hiw-step-num--image {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    box-shadow: none;
    overflow: hidden;
    padding: 0;
}
.taskip-hiw-step-num--image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
