/* ============================================================
   MCP product pages (AeroBIM /mechanical, AquaBIM /plumbing)
   app/components/McpProductPage.tsx. Every rule is scoped under
   .mcp-* so the shared PricingHero on other product pages is untouched.
   ============================================================ */

/* Hero: gradient + decorative SVG behind the stock PricingHero */
.mcp-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent-darker) 0%, var(--accent) 100%);
}

    .mcp-hero .strip-accent {
        position: relative;
        background: transparent;
    }

.mcp-hero-fx {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.mcp-hero--waves .mcp-hero-fx {
    stroke: var(--accent-lighter);
    opacity: .35;
}

.mcp-hero--ripples .mcp-hero-fx {
    stroke: var(--accent-lightest);
}

/* Shared section bits */
.mcp-tint {
    background-color: var(--accent-lightest);
}

.mcp-section-title {
    text-align: center;
    color: var(--accent-darker);
    margin-bottom: 10px;
}

.mcp-section-sub {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

/* Conversation example */
.mcp-chat-split,
.mcp-video-split {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: center;
    padding: 24px 16px;
}

    /* Intro without a conversation box or image: text only, kept to a readable width */
    .mcp-chat-split.mcp-split-solo {
        grid-template-columns: minmax(0, 720px);
    }

    .mcp-chat-split h2,
    .mcp-video-split h2 {
        color: var(--accent-darker);
    }

.mcp-chat-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.mcp-chat {
    background: #0f1720;
    color: #d7e0e8;
    border-top: 4px solid var(--accent-light);
    border-radius: 10px;
    padding: 18px 20px;
    font: 14px/1.6 ui-monospace, Consolas, monospace;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .2);
}

.mcp-chat-line {
    margin: 0 0 10px;
    white-space: pre-line;
}

    .mcp-chat-line:last-child {
        margin-bottom: 0;
    }

.mcp-chat-who {
    color: var(--accent-lighter);
    font-weight: bold;
    margin-right: 6px;
}

.mcp-chat-tool {
    color: #7c8b99;
}

.mcp-chat-assistant {
    color: white;
}

/* Capability cards: 4-across, 2x2 below 992px */
.mcp-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.mcp-card {
    background: white;
    border-top: 4px solid var(--accent-light);
    border-radius: 8px;
    padding: 26px 22px;
    box-shadow: 1px 1px 10px 4px rgba(0, 0, 0, .06);
}

    .mcp-card h3 {
        color: var(--accent-dark);
        font-size: 1.08rem;
        margin: 0 0 8px;
    }

    .mcp-card p {
        margin: 0;
        line-height: 1.6;
    }

.mcp-card-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 10px;
    background: var(--accent-lightest);
    color: var(--accent-dark);
}

/* Video */
.mcp-learn {
    color: var(--accent-dark);
    font-weight: bold;
    text-decoration: none;
}

/* How it works: 3-across numbered steps */
.mcp-how-steps {
    list-style-type: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin: 0;
    padding: 0;
}

    .mcp-how-steps h3 {
        color: var(--accent-darker);
        margin: 0 0 6px;
    }

    .mcp-how-steps p {
        margin: 0;
        line-height: 1.6;
    }

.mcp-step-n {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    font-weight: bold;
    font-size: 20px;
}

/* Bottom call to action */
.mcp-cta {
    background-color: var(--accent-dark);
    color: white;
}

    .mcp-cta h2 {
        color: white;
        margin-bottom: 8px;
    }

    .mcp-cta p {
        max-width: 640px;
        margin: 0 auto;
        line-height: 1.6;
    }

    .mcp-cta-contact {
        margin-top: 24px;
    }

.mcp-cta-form {
    max-width: 640px;
    margin: 24px auto 0;
    padding: 24px;
    border-radius: 8px;
    background: white;
    text-align: left;
}

/* Feature request */
.mcp-request {
    text-align: center;
}

    .mcp-request h2 {
        color: var(--accent-darker);
    }

    .mcp-request p {
        max-width: 560px;
        margin: 0 auto 24px;
        line-height: 1.6;
    }

@media (max-width: 992px) {
    .mcp-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .mcp-chat-split,
    .mcp-video-split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .mcp-cards,
    .mcp-how-steps {
        grid-template-columns: 1fr;
    }
}
