/**
 * AI Integration — chatbot, security, channels
 */
.page-ai {
    --imp-body-font: "Inter", Georgia, "Times New Roman", serif;
    --imp-sans: "Inter", system-ui, sans-serif;
}
.page-ai .page-content {
    max-width: 960px;
    font-family: var(--imp-body-font);
    font-size: 1.02rem;
}
.page-ai .imp-hero__kicker,
.page-ai .imp-section-title,
.page-ai .ai-stat__label,
.page-ai .ai-channel__tag,
.page-ai .ai-guard__title {
    font-family: var(--imp-sans);
}

.ai-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 1.75rem;
    align-items: center;
    margin-bottom: 2rem;
}
@media (max-width: 820px) {
    .ai-hero-grid { grid-template-columns: 1fr; }
}
.ai-hero-grid .imp-hero { margin-bottom: 0; }

.ai-phone-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 0.5rem;
}
.ai-phone-wrap::before {
    content: "";
    position: absolute;
    inset: 10% 5% 5%;
    background: radial-gradient(ellipse at center, rgba(79, 70, 229, 0.14), transparent 70%);
    pointer-events: none;
}
.ai-phone-wrap img {
    position: relative;
    z-index: 1;
    width: min(100%, 280px);
    height: auto;
    border-radius: 28px;
    box-shadow: 0 24px 48px rgba(79, 70, 229, 0.18), 0 0 0 1px rgba(79, 70, 229, 0.08);
}
.ai-phone-caption {
    text-align: center;
    margin: 0.75rem 0 0;
    font-family: var(--imp-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.ai-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 2rem;
}
@media (max-width: 720px) {
    .ai-stats { grid-template-columns: repeat(2, 1fr); }
}
.ai-stat {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1rem 1.05rem;
    box-shadow: var(--shadow-sm);
}
.ai-stat__icon {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
    line-height: 1;
}
.ai-stat__value {
    font-family: var(--imp-sans);
    font-size: 0.92rem;
    font-weight: 800;
    color: #4f46e5;
    line-height: 1.25;
    margin-bottom: 0.25rem;
}
.ai-stat__label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    line-height: 1.35;
}

.ai-channels {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin-bottom: 2rem;
}
@media (max-width: 640px) {
    .ai-channels { grid-template-columns: 1fr; }
}
.ai-channel {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.2rem 1.25rem;
    box-shadow: var(--shadow-sm);
}
.ai-channel__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.12);
    border-radius: 999px;
    padding: 0.3rem 0.65rem;
    margin-bottom: 0.65rem;
}
.ai-channel__tag img {
    width: 14px;
    height: 14px;
    object-fit: contain;
}
.ai-channel h2 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.45rem;
}
.ai-channel p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.ai-security {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 2rem;
}
@media (max-width: 820px) {
    .ai-security { grid-template-columns: 1fr; }
}
.ai-guard {
    background: linear-gradient(180deg, rgba(79, 70, 229, 0.05), var(--cs-surface));
    border: 1px solid rgba(79, 70, 229, 0.14);
    border-radius: 1rem;
    padding: 1.15rem 1.2rem;
}
.ai-guard__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 1rem;
    background: rgba(79, 70, 229, 0.1);
    margin-bottom: 0.65rem;
}
.ai-guard__title {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #4f46e5;
    margin: 0 0 0.45rem;
}
.ai-guard p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.ai-flow {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}
.ai-flow__head {
    padding: 1.1rem 1.35rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--cs-sunken);
}
.ai-flow__head h2 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    color: var(--text-primary);
}
.ai-flow__head p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
.ai-flow__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 820px) {
    .ai-flow__steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .ai-flow__steps { grid-template-columns: 1fr; }
}
.ai-flow__step {
    padding: 1rem 1.15rem;
    border-right: 1px solid var(--divider);
    border-bottom: 1px solid var(--divider);
}
.ai-flow__step:last-child { border-right: none; }
.ai-flow__num {
    font-family: var(--imp-sans);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}
.ai-flow__step h3 {
    font-size: 0.88rem;
    font-weight: 700;
    color: #4f46e5;
    margin: 0 0 0.35rem;
}
.ai-flow__step p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.ai-lang-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 2rem;
}
.ai-lang {
    font-family: var(--imp-sans);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-secondary);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
}

.ai-cta-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.35rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.09), rgba(79, 70, 229, 0.06));
    border: 1px solid rgba(79, 70, 229, 0.14);
}
.ai-cta-strip p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    flex: 1;
    min-width: 200px;
}
.ai-cta-strip a {
    font-family: var(--imp-sans);
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    background: #4f46e5;
    text-decoration: none;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    white-space: nowrap;
}
.ai-cta-strip a:hover { background: #3730a3; }
