/* 3b. Your AI assistant: text on the left, a still chat on the right (stacked on phones).
   Colors match the rest of the site (styles.css). */

.section-ai { background: linear-gradient(180deg, #FFFFFF 0%, var(--blue-soft) 100%); }
.ai-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ai-text .sub { margin-top: 14px; }

.ai-points { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.ai-points li {
  position: relative; padding-left: 30px;
  font-size: 16px; line-height: 1.5; color: var(--muted);
}
.ai-points strong { color: var(--text); font-weight: 600; }
/* blue check in front of each point */
.ai-points li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* The chat window */
.ai-chat {
  background: var(--card); border-radius: var(--radius-card); overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 40, 100, 0.12); border: 1px solid var(--line);
  max-width: 460px; width: 100%; justify-self: center;
}
.ai-chat-top {
  display: flex; align-items: center; gap: 8px; padding: 14px 18px;
  border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600;
}
.ai-dot { width: 10px; height: 10px; border-radius: 50%; background: #34C759; }
.ai-chat-body { display: grid; gap: 14px; padding: 20px 18px; }
.ai-msg { font-size: 15px; line-height: 1.45; max-width: 88%; }
.ai-msg-you {
  justify-self: end; padding: 10px 14px; border-radius: 18px 18px 4px 18px;
  background: var(--bg-gray);
}
.ai-msg-bot { justify-self: start; }
.ai-msg-bot > p { margin-bottom: 10px; }

/* The pay link the assistant hands back */
.ai-link { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; min-width: 240px; }
.ai-link-biz { font-size: 13px; font-weight: 600; color: var(--muted); }
.ai-link-amount { font-size: 26px; font-weight: 600; letter-spacing: -0.5px; margin-top: 2px; font-variant-numeric: tabular-nums; }
.ai-link-amount small { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.ai-link-then { font-size: 14px; color: var(--muted); margin-top: 2px; }
.ai-link-btn {
  display: grid; place-items: center; height: 40px; margin-top: 12px; border-radius: 12px;
  background: var(--blue); color: #FFFFFF; font-size: 15px; font-weight: 600;
}
.ai-chat-input {
  margin: 0 18px 18px; padding: 11px 16px; border-radius: 999px;
  border: 1px solid var(--line); color: #AEAEB2; font-size: 15px;
}

/* Tablets and phones: text first, then the chat */
@media (max-width: 960px) {
  .ai-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .ai-msg { font-size: 14px; max-width: 92%; }
  .ai-link { min-width: 0; }
}
