/* ========== TASKTAG VS MANIFOLD — PAGE-SPECIFIC STYLES ========== */

/* ---- Hero (mf-) ---- */
.mf-hero {
    background: var(--white);
    padding: 4rem 1.5rem 4rem;
    text-align: center;
}

.mf-hero__container {
    max-width: var(--spacing-container);
    margin: 0 auto;
}

.mf-hero__badge {
    display: inline-block;
    background: var(--light-mint);
    border-radius: var(--radius-full);
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: var(--font-weight-medium);
    color: var(--secondary-green);
    margin-bottom: 1.5rem;
}

.mf-hero__title {
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

.mf-hero__subtitle {
    font-size: 1.1rem;
    font-weight: var(--font-weight-light);
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0 auto 2rem;
}

.mf-hero__subtitle-line2 {
    display: block;
    margin-top: 1rem;
}

.mf-hero__subtitle .highlight {
    color: var(--secondary-green);
    font-weight: var(--font-weight-semibold);
}

.mf-hero__subtitle-brand {
    color: var(--text-primary);
    font-weight: var(--font-weight-bold);
}

.mf-hero__subtitle-brand--green {
    color: var(--secondary-green);
}

.mf-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: var(--secondary-green);
    color: var(--white);
    font-weight: var(--font-weight-semibold);
    font-size: 1.125rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(24, 168, 125, 0.3);
    margin-bottom: 2rem;
}

.mf-hero__cta:hover {
    background: var(--secondary-green-border);
    box-shadow: 0 6px 20px rgba(24, 168, 125, 0.4);
}

.mf-hero__badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.mf-hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--light-mint);
    border: 1px solid #d1fae5;
    border-radius: var(--radius-full);
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    color: var(--secondary-green-border);
}

.mf-hero__pill--dark {
    background: var(--text-primary);
    border-color: var(--grey-05);
    color: #e5e7eb;
}

.mf-hero__pill--dark strong {
    color: var(--text-quaternary);
    font-weight: var(--font-weight-bold);
}

/* ---- Hero feature comparison card (mirrors bb-hero__price-card, feature-focused not price-focused) ---- */
.mf-hero__price-card {
    background: var(--white);
    border: 1px solid var(--grey-03);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    max-width: 680px;
    margin: 0 auto 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: grid;
    grid-template-columns: 1fr 48px 1fr;
    gap: 1rem;
    align-items: start;
    text-align: left;
}

.mf-hero__price-side {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.mf-hero__price-side--right {
    padding-left: 0.5rem;
}

.mf-hero__price-name {
    font-size: 1.125rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin: 0 0 0.25rem;
}

.mf-hero__price-amount {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--grey-05);
    line-height: 1.3;
}

.mf-hero__price-amount--green {
    color: var(--secondary-green);
}

.mf-hero__price-amount span {
    font-size: 0.875rem;
    font-weight: var(--font-weight-regular);
    color: var(--text-secondary);
}

.mf-hero__vs-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.mf-hero__vs-line {
    width: 1px;
    height: 36px;
    background: var(--grey-03);
}

.mf-hero__vs-label {
    background: var(--grey-02);
    border-radius: 4px;
    padding: 3px 6px;
    font-size: 0.6875rem;
    font-weight: var(--font-weight-bold);
    color: var(--grey-05);
}

.mf-price-card__rule {
    border: none;
    border-top: 1px solid var(--grey-03);
    margin: 0.75rem 0;
}

.mf-price-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mf-price-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.mf-price-list--cons li i {
    color: var(--text-tertiary);
}

.mf-price-list--pros li i {
    color: var(--secondary-green);
}

.mf-price-list + .mf-price-list {
    margin-top: 0.5rem;
}

/* Dark banner (reused for hero + table section) */
.mf-banner {
    background: var(--text-primary);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.mf-banner__title {
    font-size: 0.9375rem;
    font-weight: var(--font-weight-bold);
    color: var(--white);
    margin-bottom: 2px;
}

.mf-banner__mobile-br {
    display: none;
}

.mf-banner__desc {
    font-size: 0.8125rem;
    font-weight: var(--font-weight-light);
    color: var(--text-quaternary);
}

.mf-banner__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--secondary-green);
    color: var(--white);
    font-weight: var(--font-weight-semibold);
    font-size: 0.875rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(24, 168, 125, 0.2);
    transition: background 0.2s ease;
}

.mf-banner__btn:hover {
    background: var(--secondary-green-border);
}

/* ---- Compare table column ---- */
.compare-table thead th.col-manifold {
    background: var(--white);
    color: var(--text-primary);
    text-align: center;
}

.compare-table thead th.col-manifold .compare-table__plan-price {
    display: block;
    font-size: 1rem;
    font-weight: var(--font-weight-regular);
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

.compare-table tbody td.col-manifold {
    background: var(--white);
}

.compare-table__footnote {
    text-align: center;
    font-size: 0.75rem;
    font-weight: var(--font-weight-light);
    color: var(--text-tertiary);
    margin-top: 1.5rem;
}

/* ---- Pain points — flat 3-col (override cs-story__problems bento default) ---- */
.compare-pain .cs-story__problems {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 2rem;
}

.compare-pain .cs-story__problem-card {
    grid-column: span 1 !important;
}

@media (max-width: 768px) {
    .compare-pain .cs-story__problems {
        grid-template-columns: 1fr;
    }
}

/* ---- Deep dives — centered header (matches other compare pages) ---- */
.compare-deepdives__header {
    text-align: center;
}

.compare-deepdives__header-text h2,
.compare-deepdives__header-text p {
    text-align: center;
}

.compare-article__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.compare-article__desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---- FAQ padding override ---- */
.cs-faq {
    padding-top: 2rem;
}

/* ============================================================
   WORKFLOW — cs-wf__* base styles + cs-workflow--isc dark theme
   (mirrors gps-time-tracking.css — not loaded on this page)
   ============================================================ */
.cs-wf__grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cs-wf__grid--3 { grid-template-columns: repeat(3, 1fr); }

.cs-wf__step {
    display: flex;
    flex-direction: column;
}

.cs-wf__step-top {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

.cs-wf__icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    background: var(--secondary-green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(24, 168, 125, 0.25);
}

.cs-wf__step-title {
    font-size: 0.9375rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.cs-wf__step-desc {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0 0 0.875rem;
    flex: 1;
}

/* Dark ISC variant */
.cs-workflow--isc {
    background: var(--text-primary);
}

.cs-workflow--isc .cs-section__title    { color: var(--white); }
.cs-workflow--isc .cs-section__subtitle { color: #9ca3af; }

.cs-workflow--isc .cs-wf__step {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1.75rem;
}

.cs-workflow--isc .cs-wf__icon {
    background: rgba(24, 168, 125, 0.15);
    color: var(--secondary-green);
    box-shadow: none;
}

.cs-workflow--isc .cs-wf__step-title { color: var(--white); }
.cs-workflow--isc .cs-wf__step-desc  { color: var(--white); margin-bottom: 0; }

@media (max-width: 1024px) {
    .cs-wf__grid--3 { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .cs-br-desktop {
        display: none;
    }

    .mf-hero__title {
        font-size: 2.5rem;
    }

    .mf-hero__subtitle {
        font-size: 1.25rem;
    }

    .mf-hero__price-card {
        max-width: 100%;
    }

    .mf-hero__price-name    { font-size: 1.375rem; }
    .mf-hero__price-amount  { font-size: 1.5rem; }
    .mf-hero__price-amount span { font-size: 1rem; }

    .mf-banner {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .cs-br-desktop {
        display: none;
    }

    .mf-hero {
        padding: 4rem 1rem 3rem;
    }

    .mf-hero__title {
        font-size: 2rem;
    }

    .mf-hero__subtitle {
        font-size: 1.125rem;
    }

    .mf-hero__cta {
        width: 100%;
    }

    .mf-hero__price-card {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 1.25rem;
        text-align: center;
    }

    .mf-hero__price-side:not(.mf-hero__price-side--right) { order: 1; }
    .mf-hero__vs-divider { order: 2; }
    .mf-hero__price-side--right { order: 3; }

    .mf-hero__price-side:not(.mf-hero__price-side--right) {
        padding-bottom: 1rem;
    }

    .mf-hero__price-side--right {
        padding-left: 0;
        text-align: center;
        padding-top: 0;
    }

    .mf-hero__vs-divider {
        flex-direction: row;
        justify-content: center;
        padding: 0.75rem 0;
    }

    .mf-hero__vs-line {
        flex: 1;
        height: 1px;
    }

    .mf-hero__price-name     { font-size: 1.5rem; }
    .mf-hero__price-amount   { font-size: 1.5rem; }
    .mf-hero__price-amount span { font-size: 1.0625rem; }

    .mf-hero__price-card .mf-price-card__rule {
        display: none;
    }

    .mf-hero__price-card .mf-price-list {
        margin-top: 0.75rem;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.375rem;
    }

    .mf-hero__price-card .mf-price-list li {
        background: var(--grey-02);
        border-radius: 100px;
        padding: 0.3rem 0.75rem;
        font-size: 0.75rem;
        justify-content: center;
        text-align: center;
        width: auto;
    }

    .mf-hero__price-card .mf-price-list li i {
        display: none;
    }

    .mf-banner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .mf-banner__mobile-br {
        display: block;
    }

    .mf-banner__btn {
        width: 100%;
        justify-content: center;
    }

    /* Mobile column toggle */
    .compare-table.show-manifold th:nth-child(3),
    .compare-table.show-manifold td:nth-child(3) {
        display: none !important;
    }

    .compare-table.show-manifold th:nth-child(2),
    .compare-table.show-manifold td:nth-child(2) {
        display: table-cell;
        width: 50% !important;
    }
}

@media (max-width: 480px) {
    .mf-hero {
        padding: 3rem 1rem 2rem;
    }

    .mf-hero__title {
        font-size: 1.75rem;
    }

    .mf-hero__subtitle {
        font-size: 1rem;
    }

    .mf-hero__badges {
        display: none;
    }
}
