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

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

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

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

.bt-hero__badge-dot {
    display: none;
}

.bt-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: 1.5rem;
}

.bt-hero__title .highlight {
    color: var(--secondary-green);
    display: block;
}

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

.bt-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;
}

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

.bt-hero__note {
    font-size: 0.8125rem;
    font-weight: var(--font-weight-light);
    color: var(--grey-05);
    margin-bottom: 2.5rem;
}

/* Price comparison card */
.bt-hero__price-card {
    background: var(--white);
    border: 1px solid var(--grey-03);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    max-width: 640px;
    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: center;
    text-align: left;
}

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

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

.bt-hero__price-eyebrow {
    font-size: 0.6875rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-quaternary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.bt-hero__price-eyebrow--green {
    color: var(--secondary-green);
}

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

.bt-hero__price-amount {
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    color: var(--grey-05);
    line-height: 1;
}

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

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

.bt-hero__price-footnote {
    font-size: 0.625rem;
    font-weight: var(--font-weight-light);
    color: var(--grey-05);
    margin-top: 0.25rem;
}

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

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

.bt-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);
}

/* Hero video */
.bt-hero__video-wrap {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    background: #111827;
    position: relative;
    aspect-ratio: 16/9;
}

.bt-hero__video-thumb {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.bt-hero__video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.65;
    transition: opacity 0.3s ease;
}

.bt-hero__video-thumb:hover img {
    opacity: 0.75;
}

.bt-hero__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    background: rgba(24, 168, 125, 0.9);
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    box-shadow: 0 4px 20px rgba(24, 168, 125, 0.45);
    pointer-events: none;
}

.bt-hero__video-thumb:hover .bt-hero__play-btn {
    transform: translate(-50%, -50%) scale(1.08);
}

.bt-hero__video-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1.25rem 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
    pointer-events: none;
}

.bt-hero__video-caption p {
    font-size: 0.8rem;
    font-weight: var(--font-weight-medium);
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
    text-align: left;
    margin: 0;
}

.bt-hero__video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ---- Two-Column Side-by-Side Comparison ---- */
.bt-two-col {
    background: var(--white);
    padding: 6rem 1.5rem;
}

.bt-two-col__container {
    max-width: var(--spacing-container);
    margin: 0 auto;
}

.bt-two-col__header {
    text-align: center;
    margin-bottom: 3rem;
}

.bt-two-col__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(24, 168, 125, 0.1);
    border-radius: 9999px;
    padding: 5px 16px 5px 12px;
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    color: var(--secondary-green);
    margin-bottom: 1rem;
}

.bt-two-col__title {
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.bt-two-col__subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-secondary);
}

.bt-two-col__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

/* Column card */
.bt-col-card {
    background: var(--white);
    border: 1px solid var(--grey-03);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.bt-col-card--tasktag {
    border: 2px solid var(--secondary-green);
    box-shadow: 0 4px 20px rgba(24, 168, 125, 0.12);
}

.bt-col-header {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bt-col-header--dark {
    background: #1f2937;
}

.bt-col-header--green {
    background: var(--secondary-green);
}

.bt-col-header__icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    flex-shrink: 0;
}

.bt-col-header__info {
    flex: 1;
}

.bt-col-header__name {
    font-size: 1.0625rem;
    font-weight: var(--font-weight-bold);
    color: var(--white);
    line-height: 1.2;
}

.bt-col-header__tagline {
    font-size: 0.75rem;
    font-weight: var(--font-weight-medium);
    color: rgba(255,255,255,0.65);
    margin-top: 2px;
}

.bt-col-header__badge {
    background: rgba(255,255,255,0.2);
    border-radius: 9999px;
    padding: 3px 10px;
    font-size: 0.6875rem;
    font-weight: var(--font-weight-semibold);
    color: var(--white);
    white-space: nowrap;
    flex-shrink: 0;
}

.bt-col-features {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bt-feature-item {
    background: var(--grey-02);
    border: 1px solid var(--grey-03);
    border-radius: 10px;
    padding: 0.75rem 0.875rem;
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}

.bt-feature-item--green {
    background: rgba(24, 168, 125, 0.05);
    border-color: rgba(24, 168, 125, 0.15);
}

.bt-feature-item__icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
    background: rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    margin-top: 1px;
}

.bt-feature-item__icon--green {
    background: rgba(24, 168, 125, 0.15);
    color: var(--secondary-green);
}

.bt-feature-item__title {
    font-size: 0.8125rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: 2px;
}

.bt-feature-item__desc {
    font-size: 0.75rem;
    font-weight: var(--font-weight-light);
    color: var(--text-secondary);
    line-height: 1.5;
}

.bt-col-cta {
    padding: 0.5rem 0.75rem 0.875rem;
}

.bt-col-cta a {
    display: block;
    text-align: center;
    padding: 0.6875rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    transition: all 0.2s ease;
}

.bt-col-cta--dark a {
    background: #1f2937;
    color: var(--white);
}

.bt-col-cta--dark a:hover {
    background: #111827;
}

.bt-col-cta--green a {
    background: var(--secondary-green);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(24, 168, 125, 0.25);
}

.bt-col-cta--green a:hover {
    background: var(--secondary-green-border);
}

.bt-two-col__footer-note {
    text-align: center;
    margin-top: 1.75rem;
    font-size: 0.875rem;
    font-weight: var(--font-weight-light);
    color: var(--text-secondary);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}


/* ========== WORKFLOW / PRICING STRIP (cs-wf__*) ========== */
.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__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);
}

/* 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;
}

/* ---- Deep Dives section overrides ---- */
.cs-faq {
    padding-top: 2rem;
}


.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;
}

/* Mobile column toggle for buildertrend */
@media (max-width: 768px) {
    .compare-table.show-buildertrend th:nth-child(3),
    .compare-table.show-buildertrend td:nth-child(3) {
        display: none !important;
    }

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

/* ---- Testimonial — adapts cs-quote with video ---- */
.bt-testimonial-section {
    background: var(--white);
    padding: 6rem 1.5rem;
}

/* ---- Pricing Metrics Strip ---- */
.bt-metrics {
    background: var(--text-primary);
    padding: 5.5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

/* Blueprint grid background */
.bt-metrics::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.bt-metrics__container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.bt-metrics__header {
    text-align: center;
    margin-bottom: 3rem;
}

.bt-metrics__badge {
    font-size: 0.6875rem;
    font-weight: var(--font-weight-semibold);
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.bt-metrics__badge::before,
.bt-metrics__badge::after {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: rgba(255,255,255,0.25);
}

.bt-metrics__title {
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--white);
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin: 0 auto;
}

.bt-metrics__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.bt-metrics__cell {
    background: rgba(255,255,255,0.03);
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.875rem;
    transition: background 0.2s ease;
}

.bt-metrics__cell:hover {
    background: rgba(255,255,255,0.065);
}

.bt-metrics__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(24, 168, 125, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-green);
}

.bt-metrics__value {
    font-size: 2.75rem;
    font-weight: var(--font-weight-bold);
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.02em;
}

.bt-metrics__label {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: rgba(255,255,255,0.6);
    line-height: 1.45;
}

.bt-metrics__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.bt-metrics__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2.25rem;
    background: var(--secondary-green);
    color: var(--white);
    font-weight: var(--font-weight-semibold);
    font-size: 1rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(24, 168, 125, 0.35);
}

.bt-metrics__cta:hover {
    background: var(--secondary-green-border);
}

.bt-metrics__note {
    font-size: 0.8125rem;
    font-weight: var(--font-weight-light);
    color: rgba(255,255,255,0.35);
    text-align: center;
}

/* ---- Secondary Testimonial Strip ---- */
.bt-secondary-testimonial {
    background: var(--grey-02);
    border: 1px solid var(--grey-03);
    border-radius: 16px;
    padding: 2rem;
    max-width: var(--spacing-container);
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.bt-secondary-testimonial__avatar {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 9999px;
    object-fit: cover;
    border: 2px solid rgba(24, 168, 125, 0.25);
}

.bt-secondary-testimonial__body {
    flex: 1;
}

.bt-secondary-testimonial__stars {
    display: flex;
    gap: 2px;
    margin-bottom: 0.75rem;
    color: #f59e0b;
}

.bt-secondary-testimonial__quote {
    font-size: 0.9375rem;
    font-weight: var(--font-weight-light);
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 0.875rem;
}

.bt-secondary-testimonial__author {
    font-size: 0.875rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.bt-secondary-testimonial__role {
    font-size: 0.8125rem;
    font-weight: var(--font-weight-light);
    color: var(--text-secondary);
}

.bt-secondary-testimonial__verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(24, 168, 125, 0.1);
    border-radius: 9999px;
    padding: 2px 10px;
    font-size: 0.6875rem;
    font-weight: var(--font-weight-semibold);
    color: var(--secondary-green);
    margin-left: 0.5rem;
}

.bt-cta-space { display: none; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .cs-br-desktop { display: none; }
    .bt-cta-space { display: inline; }

    .bt-hero__title {
        font-size: 2.75rem;
    }

    .bt-two-col__title {
        font-size: 2.5rem;
    }

    .bt-two-col__subtitle {
        font-size: 1.25rem;
    }

    .bt-metrics__title {
        font-size: 2.5rem;
    }

    .bt-metrics__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bt-secondary-testimonial {
        margin: 0 1.5rem;
    }

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

    .cs-wf__grid--3 { grid-template-columns: 1fr; }

    /* Pricing strip: icon kiri, teks kanan */
    .cs-workflow--isc .cs-wf__step {
        display: grid !important;
        grid-template-columns: 56px 1fr;
        grid-template-areas:
            "icon value"
            "icon label";
        column-gap: 1rem;
        align-items: center;
    }
    .cs-workflow--isc .cs-wf__step .cs-wf__icon {
        grid-area: icon;
    }
    .cs-workflow--isc .cs-wf__step .bt-metrics__value {
        grid-area: value;
        margin-top: 0 !important;
    }
    .cs-workflow--isc .cs-wf__step .bt-metrics__label {
        grid-area: label;
    }

    .bt-hero__price-eyebrow { font-size: 0.8rem; }
    .bt-hero__price-name    { font-size: 1.375rem; }
    .bt-hero__price-amount  { font-size: 2.25rem; }
    .bt-hero__price-amount span { font-size: 1.0625rem; }
    .bt-hero__price-footnote { font-size: 0.75rem; }
}

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

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

    .bt-hero__title {
        font-size: 2.25rem;
    }

    .bt-hero__subtitle {
        font-size: 0.875rem;
    }

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

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

    .bt-hero__price-side--right {
        padding-left: 0;
        text-align: center;
        padding-top: 0;
        padding-bottom: 1rem;
        border-top: none;
        border-bottom: none;
    }

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

    .bt-hero__vs-line {
        width: 40px;
        height: 1px;
    }

    .bt-hero__price-eyebrow  { font-size: 0.875rem; }
    .bt-hero__price-name     { font-size: 1.5rem; }
    .bt-hero__price-amount   { font-size: 2.5rem; }
    .bt-hero__price-amount span { font-size: 1.125rem; }
    .bt-hero__price-footnote { font-size: 0.8125rem; }

    .bt-two-col {
        padding: 4rem 1rem;
    }

    .bt-two-col__title {
        font-size: 2rem;
    }

    .bt-two-col__subtitle {
        font-size: 1rem;
    }

    .bt-two-col__grid {
        grid-template-columns: 1fr;
    }

    .bt-metrics {
        padding: 4rem 1rem;
    }

    .bt-metrics__title {
        font-size: 2rem;
    }

    .bt-metrics__grid {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 12px;
    }

    .bt-secondary-testimonial {
        margin: 0 1rem;
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .bt-hero__title {
        font-size: 1.875rem;
    }

    .bt-metrics__value {
        font-size: 2.25rem;
    }

    .bt-metrics__cell {
        padding: 1.75rem 1rem;
    }
}
