/*
 * /development/line-crm-integration/ and /th/development/line-crm-integration/ only.
 * Modular LINE integration offer: hero with starting price, module cards, payment models,
 * Customer Intelligence report mock and chat-to-lead mock (synthetic data).
 */

html[lang="th"] .lcrm-page {
  font-family: "Inter", "Noto Sans Thai", "Leelawadee UI", Tahoma, sans-serif;
}

.lcrm-page {
  color: var(--txt-black);
  background: var(--background-white);
}
.lcrm-page *,
.lcrm-page *::before,
.lcrm-page *::after {
  box-sizing: border-box;
}
.lcrm-page h1,
.lcrm-page h2,
.lcrm-page h3,
.lcrm-page p,
.lcrm-page ul,
.lcrm-page ol {
  margin-top: 0;
}
.lcrm-page h2 {
  margin-bottom: 20px;
  font-size: 44px;
  font-weight: 400;
  line-height: 1.25;
}
.lcrm-page h3 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
}
.lcrm-page p,
.lcrm-page li {
  font-size: 17px;
  line-height: 1.65;
}
.lcrm-lead {
  max-width: 860px;
  margin-bottom: 40px;
  color: var(--txt-gray);
  font-size: 19px;
  line-height: 1.6;
}
.lcrm-section {
  padding: 90px 0;
}
.lcrm-section--light {
  background: var(--background-light);
}
.lcrm-section--dark {
  color: var(--txt-white);
  background: var(--background-dark);
}
.lcrm-section--dark .lcrm-lead {
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Buttons ---------- */
.lcrm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 30px;
}
.lcrm-btn {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid var(--purple-normal);
  border-radius: 43px;
  background: var(--purple-normal);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s;
}
.lcrm-btn:hover {
  border-color: #6338aa;
  background: #6338aa;
}
.lcrm-btn--ghost {
  border-color: currentColor;
  background: transparent;
  color: inherit;
}
.lcrm-btn--ghost:hover {
  border-color: var(--purple-normal);
  background: var(--purple-normal);
  color: #fff;
}
.lcrm-btn:focus-visible {
  outline: 3px solid #b7adf0;
  outline-offset: 2px;
}

/* ---------- Hero ---------- */
.lcrm-hero {
  padding: 60px 0 100px;
  color: var(--txt-white);
  background: var(--background-dark);
}
.lcrm-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}
.lcrm-breadcrumbs a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}
.lcrm-breadcrumbs a:hover {
  color: #fff;
}
.lcrm-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.lcrm-hero h1 {
  margin-bottom: 24px;
  font-size: 54px;
  font-weight: 500;
  line-height: 1.15;
}
.lcrm-hero__text {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 19px;
  line-height: 1.6;
}
.lcrm-price-tag {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: baseline;
  margin-top: 28px;
  padding: 14px 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}
.lcrm-price-tag strong {
  font-size: 30px;
  font-weight: 600;
}
.lcrm-price-tag span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}
.lcrm-hero .lcrm-btn--ghost {
  color: #fff;
}

/* ---------- Chat → CRM lead mock (synthetic) ---------- */
.lcrm-mock {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}
.lcrm-mock__chat,
.lcrm-mock__card {
  border-radius: 16px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.lcrm-mock__chat {
  padding: 16px;
  background: #8cabd9;
}
.lcrm-mock__chat-head {
  margin-bottom: 12px;
  color: #12233d;
  font-size: 13px;
  font-weight: 600;
}
.lcrm-bubble {
  max-width: 92%;
  margin-bottom: 8px;
  padding: 9px 12px;
  border-radius: 14px 14px 14px 4px;
  background: #fff;
  color: #1a1a1a;
  font-size: 13px;
  line-height: 1.45;
}
.lcrm-bubble--staff {
  margin-left: auto;
  border-radius: 14px 14px 4px 14px;
  background: #06c755;
  color: #fff;
}
.lcrm-mock__card {
  padding: 18px;
  background: #fff;
  color: #1a1a1a;
}
.lcrm-mock__card-title {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
}
.lcrm-chip {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 20px;
  background: #ebe8fb;
  color: #4b3fa0;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.lcrm-chip--warn {
  background: #fff1d6;
  color: #8a5a00;
}
.lcrm-chip--ok {
  background: #dcf5e6;
  color: #11673a;
}
.lcrm-fields {
  margin: 0;
  font-size: 13px;
}
.lcrm-fields div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid #eee;
}
.lcrm-fields dt {
  color: #707070;
}
.lcrm-fields dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}
.lcrm-mock__arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--purple-normal);
  color: #fff;
  font-size: 18px;
  transform: translate(-50%, -50%);
}
.lcrm-caption {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}
.lcrm-section:not(.lcrm-section--dark) .lcrm-caption {
  color: var(--txt-gray);
}

/* ---------- Definition and problems ---------- */
.lcrm-problems {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lcrm-problems li {
  padding: 24px;
  border-radius: 16px;
  background: var(--background-light);
}
.lcrm-problems strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

/* ---------- Pricing ---------- */
.lcrm-prices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 18px;
  margin-bottom: 26px;
}
.lcrm-price {
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 26px;
  border: 1px solid var(--outher-light-gray);
  border-radius: 18px;
}
.lcrm-price--featured {
  border-color: var(--purple-normal);
  box-shadow: 0 0 0 1px var(--purple-normal);
}
.lcrm-price__offer {
  margin-top: auto;
  padding-top: 18px;
}
.lcrm-price__amount {
  margin-bottom: 4px;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
}
.lcrm-price__amount--text {
  font-size: 24px;
  line-height: 1.5;
}
.lcrm-price__per {
  color: var(--txt-gray);
  font-size: 15px;
}
.lcrm-price p {
  margin: 0;
  font-size: 16px;
}
.lcrm-price p.lcrm-price__terms {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--outher-light-gray);
  color: var(--txt-gray);
  font-size: 14px;
}
.lcrm-fineprint {
  color: var(--txt-gray);
  font-size: 14px !important;
}
.lcrm-models {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 18px;
  margin-bottom: 18px;
}
.lcrm-model {
  padding: 24px;
  border-radius: 16px;
  background: var(--background-light);
}
.lcrm-model h3 {
  font-size: 19px;
}
.lcrm-model p {
  margin: 0;
  font-size: 15px;
}

/* ---------- Intelligence ---------- */
.lcrm-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.lcrm-checklist {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.lcrm-checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 8px;
}
.lcrm-checklist li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 2px;
  width: 14px;
  height: 8px;
  border-bottom: 2px solid #8f84e0;
  border-left: 2px solid #8f84e0;
  transform: rotate(-45deg);
}
.lcrm-report {
  padding: 26px;
  border-radius: 18px;
  background: #fff;
  color: #1a1a1a;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.lcrm-report__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 600;
}
.lcrm-report__kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}
.lcrm-kpi {
  padding: 12px;
  border-radius: 12px;
  background: #f4f4f8;
}
.lcrm-kpi b {
  display: block;
  font-size: 22px;
}
.lcrm-kpi span {
  color: #707070;
  font-size: 12px;
}
.lcrm-report h4 {
  margin: 0 0 10px;
  font-size: 14px;
}
.lcrm-bars {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.lcrm-bars li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 40px;
  gap: 10px;
  align-items: center;
  margin-bottom: 7px;
  font-size: 13px !important;
  line-height: 1.3 !important;
}
.lcrm-bars i {
  display: block;
  height: 10px;
  border-radius: 6px;
  background: #6657c2;
}
.lcrm-bars em {
  color: #707070;
  font-style: normal;
  text-align: right;
}
.lcrm-report__rec {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #ebe8fb;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

/* ---------- Examples, integrations, steps ---------- */
.lcrm-examples {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 22px;
}
.lcrm-example {
  padding: 28px;
  border-radius: 18px;
  background: #fff;
}
.lcrm-example__size {
  margin-bottom: 10px;
  color: var(--purple-normal);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}
.lcrm-example p:not(.lcrm-example__size) {
  margin-bottom: 10px;
  font-size: 16px;
}
.lcrm-page .lcrm-segmentation,
.lcrm-page .lcrm-integration-note {
  margin: 22px 0 0;
}
.lcrm-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lcrm-logos li {
  padding: 10px 18px;
  border: 1px solid var(--outher-light-gray);
  border-radius: 30px;
  font-size: 16px;
}
.lcrm-cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.lcrm-case {
  display: block;
  padding: 24px;
  border: 1px solid var(--outher-light-gray);
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s;
}
.lcrm-case:hover {
  border-color: var(--purple-normal);
}
.lcrm-case strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}
.lcrm-case span {
  display: block;
  color: var(--txt-gray);
  font-size: 15px;
  line-height: 1.55;
}
.lcrm-case em {
  display: inline-block;
  margin-top: 12px;
  color: var(--purple-normal);
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
}
.lcrm-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: lcrm-step;
}
.lcrm-steps li {
  padding-top: 18px;
  border-top: 2px solid var(--purple-normal);
  counter-increment: lcrm-step;
}
.lcrm-steps li::before {
  content: "0" counter(lcrm-step);
  display: block;
  margin-bottom: 8px;
  color: var(--purple-normal);
  font-size: 15px;
  font-weight: 700;
}
.lcrm-steps strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

/* ---------- FAQ ---------- */
.lcrm-faq {
  max-width: 980px;
}
.lcrm-faq details {
  border-bottom: 1px solid var(--outher-light-gray);
}
.lcrm-faq summary {
  padding: 20px 36px 20px 0;
  position: relative;
  font-size: 19px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.lcrm-faq summary::-webkit-details-marker {
  display: none;
}
.lcrm-faq summary::after {
  content: "+";
  position: absolute;
  top: 16px;
  right: 4px;
  color: var(--purple-normal);
  font-size: 26px;
  font-weight: 400;
}
.lcrm-faq details[open] summary::after {
  content: "−";
}
.lcrm-faq details p {
  margin-bottom: 20px;
}

/* ---------- Final CTA ---------- */
.lcrm-final {
  text-align: center;
}
.lcrm-final .lcrm-lead {
  margin-right: auto;
  margin-left: auto;
}
.lcrm-final .lcrm-actions {
  justify-content: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .lcrm-hero__grid,
  .lcrm-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
  .lcrm-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .lcrm-section {
    padding: 60px 0;
  }
  .lcrm-hero {
    padding: 40px 0 70px;
  }
  .lcrm-breadcrumbs {
    margin-bottom: 30px;
  }
  .lcrm-hero h1 {
    font-size: 34px;
  }
  .lcrm-page h2 {
    font-size: 30px;
  }
  .lcrm-hero__text,
  .lcrm-lead {
    font-size: 17px;
  }
  .lcrm-mock {
    grid-template-columns: minmax(0, 1fr);
  }
  .lcrm-mock__arrow {
    position: static;
    margin: -4px auto;
    transform: rotate(90deg);
  }
  .lcrm-steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .lcrm-bars li {
    grid-template-columns: 110px minmax(0, 1fr) 34px;
  }
  .lcrm-actions .lcrm-btn {
    width: 100%;
  }
}
