/* ============================================================
   Ritaya — AI feature pages and market landing pages
   (AI Voice Agent, AI Social Media Manager, Marketing Campaigns, India / UK landing pages)
   Illustrations are drawn in HTML/CSS, so they need no image files and are always labelled "Illustrative example".
   ============================================================ */

/* ── Illustration card ── */
.aip-mock {
  background: #fff;
  border: 1px solid #e8dfd0;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(26, 26, 46, 0.14);
  padding: 20px;
  max-width: 460px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.aip-mock__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid #f0e8d8;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1a1a2e;
}
.aip-mock__dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18); }
.aip-mock__tag { margin-left: auto; font-size: 0.6875rem; font-weight: 700; color: #64748b; background: #f3f4f6; border-radius: 999px; padding: 3px 10px; }
.aip-mock__note { margin: 14px 0 0; font-size: 0.6875rem; color: #94a3b8; text-align: center; }

/* ── Phone call transcript ── */
.aip-chat { display: flex; flex-direction: column; gap: 9px; }
.aip-bubble { max-width: 86%; padding: 9px 13px; border-radius: 14px; font-size: 0.8125rem; line-height: 1.5; }
.aip-bubble small { display: block; font-size: 0.625rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.6; margin-bottom: 2px; }
.aip-bubble--caller { align-self: flex-start; background: #f3f4f6; color: #1a1a2e; border-bottom-left-radius: 4px; }
.aip-bubble--agent { align-self: flex-end; background: #1a1a2e; color: #fff; border-bottom-right-radius: 4px; }
.aip-order {
  margin-top: 4px;
  border: 1px dashed #CB202D;
  background: #fff5f5;
  border-radius: 12px;
  padding: 11px 13px;
  font-size: 0.78125rem;
  color: #1a1a2e;
  line-height: 1.55;
}
.aip-order b { color: #CB202D; }

/* ── Social post preview ── */
.aip-post__pic {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: linear-gradient(135deg, #CB202D 0%, #f97316 60%, #fbbf24 100%);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  color: #fff;
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.2;
  margin-bottom: 12px;
}
.aip-post__caption { font-size: 0.8125rem; color: #1a1a2e; line-height: 1.55; margin: 0 0 6px; }
.aip-post__tags { font-size: 0.75rem; color: #2563eb; margin: 0 0 12px; }
.aip-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.aip-chip { font-size: 0.6875rem; font-weight: 700; border-radius: 999px; padding: 4px 10px; background: #f3f4f6; color: #475569; }
.aip-chip--on { background: #fff0f1; color: #CB202D; }
.aip-chip--green { background: #ecfdf3; color: #15803d; }

/* ── Campaign card ── */
.aip-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.aip-stat { background: #faf7ef; border-radius: 10px; padding: 10px; text-align: center; }
.aip-stat b { display: block; font-size: 1.125rem; color: #1a1a2e; }
.aip-stat span { font-size: 0.6875rem; color: #64748b; }
.aip-msg { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px; padding: 11px 13px; font-size: 0.78125rem; color: #14532d; line-height: 1.55; }

/* ── Steps ── */
.aip-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; max-width: 980px; margin: 0 auto; }
.aip-step { background: #fff; border: 1px solid #e8dfd0; border-radius: 14px; padding: 22px; }
.aip-step b { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #CB202D; color: #fff; font-weight: 800; margin-bottom: 10px; }
.aip-step h3 { margin: 0 0 6px; font-size: 1.0625rem; font-weight: 800; color: #1a1a2e; }
.aip-step p { margin: 0; color: #64748b; font-size: 0.9375rem; line-height: 1.6; }

/* ── Note strip (market-specific detail) ── */
.aip-note {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e8dfd0;
  border-left: 4px solid #CB202D;
  border-radius: 12px;
  padding: 16px 20px;
  color: #475569;
  font-size: 0.9375rem;
  line-height: 1.65;
}
.aip-note strong { color: #1a1a2e; }
/* Bigger variant for the pricing line on landing pages */
.aip-note--price { max-width: 980px; padding: 26px 32px; font-size: 1.5rem; line-height: 1.5; text-align: center; border-left-width: 6px; color: #1a1a2e; }
.aip-note--price strong { color: #CB202D; font-size: 1.15em; font-weight: 800; }
.aip-note--price a { display: inline-block; margin-top: 6px; font-size: 1.125rem; }
@media (max-width: 640px) { .aip-note--price { font-size: 1.1875rem; padding: 20px; } }

/* ── Landing pages ── */
.aip-lp-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
  color: #fff;
  padding: 88px 0 72px;
}
.aip-lp-hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.aip-lp-hero h1 { color: #fff; margin: 0 0 16px; font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 800; line-height: 1.12; }
.aip-lp-hero p.lead { margin: 0 0 22px; max-width: 580px; color: rgba(255, 255, 255, 0.82); font-size: 1.0625rem; line-height: 1.65; }
.aip-lp-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.9); }
.aip-lp-badges li::before { content: "\2713"; color: #ff8a92; font-weight: 800; margin-right: 8px; }
.aip-price-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  background: #fff;
  color: #1a1a2e;
  border-radius: 14px;
  padding: 12px 20px;
  margin: 0 0 22px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}
.aip-price-pill span { font-size: 0.875rem; font-weight: 600; color: #64748b; }
.aip-price-pill strong { font-size: 1.75rem; font-weight: 800; color: #CB202D; line-height: 1; }
.aip-price-pill em { font-style: normal; font-size: 0.9375rem; font-weight: 700; color: #1a1a2e; }
/* UK landing page: the starting price is the headline offer: large text straight on the hero, no box */
.aip-price-pill--big {
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 16px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  color: #fff;
}
.aip-price-pill--big span { font-size: 1.125rem; font-weight: 700; color: rgba(255, 255, 255, 0.85); }
.aip-price-pill--big strong { font-size: clamp(3.25rem, 9vw, 5.5rem); letter-spacing: -0.02em; color: #fff; }
.aip-price-pill--big em { font-size: 1.5rem; font-weight: 800; color: #fff; }

.aip-lp-form { background: #fff; border-radius: 18px; padding: 8px; box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3); color: #1a1a2e; }
.aip-trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.aip-trio__card { background: #fff; border: 1px solid #e8dfd0; border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.aip-trio__card h3 { margin: 0; font-size: 1.1875rem; font-weight: 800; color: #1a1a2e; }
.aip-trio__card p { margin: 0; color: #64748b; line-height: 1.65; font-size: 0.9375rem; }
.aip-trio__card a { margin-top: auto; color: #CB202D; font-weight: 700; text-decoration: none; font-size: 0.9375rem; }
.aip-trio__card a:hover { text-decoration: underline; }
.aip-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; align-items: center; color: #475569; font-weight: 800; }

@media (max-width: 900px) {
  .aip-lp-hero { padding: 64px 0 48px; }
  .aip-lp-hero__grid { grid-template-columns: 1fr; }
}

/* ── Pricing band (landing pages) ── */
.aip-pricebar { background: linear-gradient(120deg, #CB202D 0%, #a51822 60%, #7f1219 100%); color: #fff; padding: 44px 24px; position: relative; overflow: hidden; }
.aip-pricebar::before { content:""; position:absolute; right:-80px; top:-80px; width:320px; height:320px; border-radius:50%; background: rgba(255,122,61,.28); filter: blur(10px); }
.aip-pricebar__inner { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; max-width: 1100px; margin: 0 auto; }
.aip-pricebar__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-right: 40px; border-right: 1px solid rgba(255,255,255,.3); }
.aip-pricebar__price span { font-size: 1.125rem; font-weight: 600; opacity: .9; }
.aip-pricebar__price strong { font-size: clamp(3.5rem, 8vw, 5rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.aip-pricebar__price em { font-style: normal; font-size: 1.375rem; font-weight: 700; }
.aip-pricebar__text h3 { margin: 0 0 6px; font-size: 1.625rem; font-weight: 800; color: #fff; }
.aip-pricebar__text p { margin: 0; font-size: 1.1875rem; line-height: 1.5; color: #fff !important; opacity: .95; }
.aip-pricebar__btn { display: inline-block; background: #fff; color: #CB202D; font-weight: 800; font-size: 1.125rem; padding: 16px 30px; border-radius: 12px; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.25); white-space: nowrap; transition: transform .15s; }
.aip-pricebar__btn:hover { transform: translateY(-2px); }
@media (max-width: 860px) {
  .aip-pricebar__inner { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .aip-pricebar__price { justify-content: center; padding: 0 0 20px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.3); }
}
