/* Shared by /pages/ai and /pages/connect-claude. */
.ai-page {
    background: #fafafa;
}

.ai-shell {
    padding: 48px 0 24px;
}

/* Hero */
.ai-hero {
    text-align: center;
    margin: 0 auto 18px;
}

.ai-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(52, 55, 193, 0.12);
    background: rgba(54, 88, 255, 0.05);
    color: #3658ff;
    font-size: 13px;
    font-weight: 700;
}

.ai-hero__title {
    max-width: 900px;
    margin: 0 auto 14px;
    line-height: 1.14;
    color: #1f2937;
}

.ai-hero__subtitle {
    max-width: 820px;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 17px;
    color: #555 !important;
}

.ai-hero__ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 26px;
}

.ai-hero__ctas .btn {
    border-radius: 16px;
    font-weight: 700;
}

.ai-hero__ctas .btn-secondary-ai {
    background: #fff;
    border: 1px solid #c4cbd6;
    color: #111827;
}

/* Section headers */
.ai-section {
    margin: 56px auto 0;
    max-width: 1100px;
}

.ai-section__head {
    text-align: center;
    margin-bottom: 26px;
}

.ai-section__head h2 {
    margin: 0 0 8px;
    color: #1f2937;
}

.ai-section__head p {
    max-width: 760px;
    margin: 0 auto;
    color: #6b7280;
    font-size: 15.5px;
    line-height: 1.6;
}

/* Chips - same vocabulary as the pricing cards */
.ai-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 13px;
    border-radius: 999px;
    background: #eef3ff;
    color: #3658ff;
    font-size: 12px;
    font-weight: 700;
}

.ai-chip--live {
    background: #e8f8ef;
    color: #15803d;
}

.ai-chip--date {
    background: #f3edfb;
    color: #6b3fa0;
}

/* Card grids */
.ai-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
}

/* Zigzag feature rows (Pro section) */
.ai-zig {
    display: flex;
    flex-direction: column;
}

.ai-zig__row {
    display: flex;
    align-items: center;
    gap: 48px;
    margin-bottom: 56px;
}

.ai-zig__row:last-child {
    margin-bottom: 0;
}

.ai-zig__row:nth-child(even) {
    flex-direction: row-reverse;
}

.ai-zig__text {
    flex: 0 0 38%;
}

.ai-zig__text h3 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.3;
    color: #111827;
}

.ai-zig__text p {
    margin: 0;
    color: #555;
    font-size: 15px;
    line-height: 1.65;
}

.ai-zig__text .ai-chip {
    margin-bottom: 12px;
}

.ai-zig__media {
    flex: 1;
    min-width: 0;
}

.ai-zig__media .ai-card__shot {
    margin: 0;
    box-shadow: 0 10px 30px rgba(20, 40, 80, 0.08);
}

@media (max-width: 900px) {
    .ai-zig__row,
    .ai-zig__row:nth-child(even) {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .ai-zig__text,
    .ai-zig__media {
        flex: 0 0 auto;
        width: 100%;
    }
}

.ai-card {
    flex: 1 1 300px;
    max-width: 350px;
    background: #fff;
    border: 1px solid #d9e3f4;
    border-radius: 20px;
    padding: 24px 22px;
    box-shadow: 0 10px 26px rgba(17, 24, 39, 0.06);
    text-align: left;
}

.ai-card__mark {
    color: #3658ff;
    font-size: 20px;
    line-height: 1;
    margin-bottom: 10px;
}

.ai-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.3;
    color: #111827;
}

.ai-card p {
    margin: 0;
    color: #555;
    font-size: 14.5px;
    line-height: 1.6;
}

.ai-card ul,
.ai-card ol {
    margin: 0;
    padding-left: 20px;
    color: #555;
    font-size: 14.5px;
    line-height: 1.6;
}

.ai-card .ai-chip {
    margin-bottom: 12px;
}

/* Screenshot slot: shows the styled placeholder until the real image
   file exists; a broken <img> is never rendered because the tag stays
   commented out until the owner drops the file in. */
.ai-card__shot {
    margin: 14px 0 0;
    border: 1px dashed #c9d6ee;
    border-radius: 12px;
    background: #f6f8fd;
    min-height: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #8a93a6;
    font-size: 12.5px;
    text-align: center;
    padding: 12px;
}

.ai-card__shot .glyph {
    color: #aab8d8;
    font-size: 18px;
}

.ai-card__shot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.ai-card__shot-link {
    display: block;
    cursor: zoom-in;
}

/* A card with a real screenshot drops the placeholder styling. */
.ai-card__shot--filled {
    border: 1px solid #d9e3f4;
    background: #fff;
    min-height: 0;
    padding: 6px;
}

/* Trust section */
.ai-trust {
    margin: 64px auto 0;
    max-width: 900px;
    background: #fff;
    border: 1px solid #d9e3f4;
    border-radius: 24px;
    padding: 36px 32px;
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.07);
    text-align: center;
}

.ai-trust h2 {
    margin: 0 0 12px;
    color: #1f2937;
}

.ai-trust__lead {
    max-width: 700px;
    margin: 0 auto 22px;
    color: #374151;
    font-size: 17px;
    line-height: 1.65;
}

.ai-trust__points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.ai-trust__point {
    flex: 1 1 240px;
    max-width: 400px;
    background: #f7f9ff;
    border: 1px solid rgba(52, 55, 193, 0.12);
    border-radius: 14px;
    padding: 16px 18px;
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
    text-align: left;
}

.ai-trust__point b {
    color: #111827;
}

/* Names note (support assistant vs Ask AI) */
.ai-names-note {
    max-width: 760px;
    margin: 26px auto 0;
    color: #6b7280;
    font-size: 13.5px;
    line-height: 1.6;
    text-align: center;
}

/* FAQ */
.ai-faq {
    margin: 64px auto 40px;
    max-width: 820px;
}

.ai-faq h2 {
    text-align: center;
    margin: 0 0 20px;
    color: #1f2937;
}

.ai-faq details {
    background: #fff;
    border: 1px solid #e5e8ee;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 12px;
}

.ai-faq summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 15.5px;
    color: #111827;
}

.ai-faq details p {
    margin: 12px 0 0;
    color: #555;
    font-size: 14.5px;
    line-height: 1.65;
}

@media (max-width: 767px) {
    .ai-shell {
        padding: 68px 0 24px;
    }

    .ai-hero__title {
        font-size: 40px;
    }

    .ai-card {
        max-width: none;
    }

    .ai-trust {
        padding: 28px 20px;
    }
}
