/* ==========================================================================
   SYSTEMS — Landing Page (holographic tech)
   โหลดต่อจาก style.css เพื่อใช้ reset / ฟอนต์ / ปุ่ม / .wrap ร่วมกัน
   ไฟล์นี้คุมเฉพาะ "พื้นผิว" ของหน้า landing ซึ่งเป็นคนละภาษาภาพกับหน้าอื่น

   สีเรืองแสงทั้งหมดไล่มาจาก --brand-sky (#59a3d5) ซึ่งเป็นสีเมฆในโลโก้จริง
   ไม่ได้ใช้ cyan สำเร็จรูป จึงได้ลุคนีออนโดยยังเป็นสีของบริษัทเอง
   ========================================================================== */

.lp {
  /* พื้น — น้ำเงินเข้มเกือบดำ ไม่ใช่ #000 สนิท */
  --lp-bg: #04101f;
  --lp-bg-2: #071c33;

  /* ไล่ความสว่างของแสง: ขอบนอก -> กลาง -> แกนร้อน */
  --lp-glow: #59a3d5;
  --lp-glow-hot: #9ad4f2;
  --lp-glow-core: #dff2ff;
  --lp-deep: #004482;

  --lp-line: rgba(89, 163, 213, .26);
  --lp-line-hot: rgba(154, 212, 242, .55);
  --lp-panel-2: rgba(89, 163, 213, .1);

  --lp-text: #e8f3fb;
  --lp-muted: #9fbcd6;
  --lp-faint: #6b8bab;

  --grain: .045;

  background: var(--lp-bg);
  color: var(--lp-text);
}

/* หน้านี้ล็อกธีมมืดตายตัว จึงไม่ต้องมีปุ่มสลับธีม
   และไม่อ่านค่า theme จาก localStorage เหมือนหน้าอื่น */
.lp h1, .lp h2, .lp h3, .lp h4 { color: #fff; }
.lp p { color: var(--lp-muted); }
.lp ::selection { background: var(--lp-glow); color: var(--lp-bg); }

/* --------------------------------------------------------------------------
   1. พื้นหลังร่วม — เส้นวงจร + แสงกระจาย
   -------------------------------------------------------------------------- */

/* ลายเส้นวงจรทั้งหน้า วาดด้วย SVG ฝังใน data URI จึงไม่ต้องโหลดไฟล์เพิ่ม
   ต้องจางมาก — นี่คือพื้นผิว ไม่ใช่ภาพประกอบ ถ้าดันขึ้นมาจะไปแย่งสายตา
   กับภาพโฮโลแกรมและตัวหนังสือใน hero ทันที */
.lp-circuit-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' fill='none' stroke='%2359a3d5' stroke-width='1'%3E%3Cpath d='M0 40h60l20 20h70M260 40h-40l-20 20h-30M0 170h40l30-30h60M260 180h-70l-25 25H60l-20-20H0'/%3E%3Cpath d='M120 0v50M120 260v-60M60 60v40M180 100v70'/%3E%3Ccircle cx='120' cy='50' r='2.5'/%3E%3Ccircle cx='60' cy='100' r='2.5'/%3E%3Ccircle cx='180' cy='100' r='2.5'/%3E%3Ccircle cx='150' cy='60' r='2.5'/%3E%3Ccircle cx='40' cy='170' r='2.5'/%3E%3C/svg%3E");
  background-size: 260px 260px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 45%, #000 20%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 45%, #000 20%, transparent 76%);
}

.lp-section {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  isolation: isolate;
  overflow: hidden;
}
.lp-section > .wrap { position: relative; z-index: 1; }

/* แสงกระจายเป็นวง วางไว้หลังเนื้อหา ใช้ซ้ำได้หลายจุด */
.lp-aura {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: .5;
  z-index: -1;
}
.lp-aura--a { width: 620px; height: 480px; top: -160px; right: -140px; background: rgba(89, 163, 213, .3); }
.lp-aura--b { width: 520px; height: 420px; bottom: -180px; left: -160px; background: rgba(0, 68, 130, .55); }

/* --------------------------------------------------------------------------
   2. หัวข้อและองค์ประกอบร่วม
   -------------------------------------------------------------------------- */
.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-mono);
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lp-glow-hot);
  margin-bottom: 1.1rem;
}
.lp-eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--lp-glow-hot);
  box-shadow: 0 0 8px var(--lp-glow);
}
.lp-head--center .lp-eyebrow::before { display: none; }

.lp-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.lp-head--center { margin-inline: auto; text-align: center; }
.lp-head p { font-size: 1.06rem; max-width: var(--measure); }
.lp-head--center p { margin-inline: auto; }

/* คำเน้นในหัวข้อ — เรืองแสงแทนการไล่เฉดสองสี */
.lp-hl {
  color: var(--lp-glow-hot);
  text-shadow: 0 0 28px rgba(89, 163, 213, .55);
}

/* --------------------------------------------------------------------------
   3. Hero
   -------------------------------------------------------------------------- */
.lp-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(900px 620px at 78% 12%, rgba(89, 163, 213, .2), transparent 64%),
    radial-gradient(700px 520px at 14% 88%, rgba(0, 68, 130, .5), transparent 62%),
    linear-gradient(168deg, var(--lp-bg), var(--lp-bg-2) 55%, var(--lp-bg));
}
/* ฝั่งข้อความได้พื้นที่มากกว่า เพราะพาดหัวภาษาไทยกินความกว้างกว่าอังกฤษมาก
   ถ้าแบ่งครึ่งเท่ากัน หัวข้อจะแตกเป็น 4 บรรทัดและดันเนื้อหาตกขอบจอ */
.lp-hero__inner {
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
@media (max-width: 1000px) {
  .lp-hero__inner { grid-template-columns: 1fr; }
}

.lp-hero h1 {
  font-size: clamp(1.95rem, 3.4vw, 2.9rem);
  line-height: 1.4;          /* ไทยต้องการที่ว่างเหนือบรรทัดสำหรับวรรณยุกต์ */
  letter-spacing: -.018em;
  margin-bottom: 1.15rem;
}
.lp-hero__lead {
  font-size: clamp(1.02rem, 1.5vw, 1.14rem);
  max-width: 34rem;
  margin-bottom: 2rem;
}
.lp-hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.5rem; }

/* ป้ายบนสุด — ขอบเรืองแสงบาง ๆ */
.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .42rem 1rem .42rem .45rem;
  border-radius: var(--r-full);
  background: var(--lp-panel-2);
  border: 1px solid var(--lp-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 0 24px rgba(89, 163, 213, .16);
  color: #cfe4f4;
  font-size: .82rem;
  margin-bottom: 1.7rem;
  backdrop-filter: blur(10px);
}
.lp-badge b {
  padding: .2rem .6rem;
  border-radius: var(--r-sm);
  background: var(--lp-glow);
  color: #04101f;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
}

/* ปุ่มหลักแบบเรืองแสง */
.lp .btn--glow {
  background: linear-gradient(160deg, var(--lp-glow), var(--lp-deep));
  color: #fff;
  border-color: rgba(154, 212, 242, .5);
  box-shadow: 0 0 0 1px rgba(154, 212, 242, .18), 0 8px 28px rgba(89, 163, 213, .35);
}
.lp .btn--glow:hover {
  color: #fff;
  box-shadow: 0 0 0 1px rgba(154, 212, 242, .35), 0 14px 40px rgba(89, 163, 213, .5);
}
.lp .btn--wire {
  background: rgba(89, 163, 213, .07);
  color: #dbeaf7;
  border-color: var(--lp-line);
  backdrop-filter: blur(8px);
}
.lp .btn--wire:hover {
  background: rgba(89, 163, 213, .15);
  border-color: var(--lp-line-hot);
  color: #fff;
}

/* สถิติใต้ hero */
.lp-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--lp-line);
}
.lp-stat__n {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: #fff;
  letter-spacing: -.03em;
  text-shadow: 0 0 22px rgba(89, 163, 213, .4);
}
.lp-stat__n .u { color: var(--lp-glow-hot); }
.lp-stat__l { font-size: .84rem; color: var(--lp-faint); margin-top: .4rem; text-wrap: balance; }

/* --------------------------------------------------------------------------
   4. ภาพโฮโลแกรม — แผงลอยรอบแกนกลางเรืองแสง
   -------------------------------------------------------------------------- */
.holo {
  position: relative;
  aspect-ratio: 1 / .92;
  min-height: 420px;
}

/* เส้นวงจรที่ลากเชื่อมแผงต่าง ๆ เข้าหาแกนกลาง */
.holo__wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.holo__wires path { fill: none; stroke: var(--lp-line-hot); stroke-width: 1.2; }
.holo__wires .glow { stroke: var(--lp-glow); stroke-width: 3.5; opacity: .3; filter: blur(3px); }

/* จุดข้อมูลวิ่งไปตามเส้น — สื่อว่าระบบคุยกันตลอดเวลา */
.holo__wires .pulse {
  stroke: var(--lp-glow-core);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 3 190;
  filter: drop-shadow(0 0 5px var(--lp-glow-hot));
  animation: wire-run 3.4s linear infinite;
}
.holo__wires .pulse:nth-of-type(2) { animation-delay: .9s; }
.holo__wires .pulse:nth-of-type(3) { animation-delay: 1.8s; }
.holo__wires .pulse:nth-of-type(4) { animation-delay: 2.5s; }
@keyframes wire-run { to { stroke-dashoffset: -193; } }

/* แกนกลาง — วงซ้อนกันแบบเลนส์ */
.holo__core {
  position: absolute;
  left: 50%; top: 50%;
  width: 132px; height: 132px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
}
.holo__core i {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--lp-line);
}
.holo__core i:nth-child(1) { inset: 0; animation: spin-slow 24s linear infinite; border-style: dashed; }
.holo__core i:nth-child(2) { inset: 18px; border-color: var(--lp-line-hot); }
.holo__core i:nth-child(3) {
  inset: 34px;
  border-color: transparent;
  background: radial-gradient(circle, var(--lp-glow-core), var(--lp-glow) 42%, transparent 72%);
  box-shadow: 0 0 40px 8px rgba(89, 163, 213, .55);
  animation: core-breathe 3.6s ease-in-out infinite;
}
.holo__core svg {
  position: relative;
  width: 34px; height: 34px;
  color: #04101f;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes core-breathe {
  0%, 100% { transform: scale(1); opacity: .92; }
  50% { transform: scale(1.08); opacity: 1; }
}

/* แผงกระจก — ใช้ทั้งแผงไอคอนและแผงป้ายกำกับ
   พื้นต้องทึบพอที่จะอ่านออกเมื่อวางทับลายวงจร ไม่ใช่กระจกใสสนิท */
.holo__panel {
  position: absolute;
  border-radius: var(--r-md);
  background: linear-gradient(155deg, rgba(16, 52, 92, .92), rgba(6, 24, 46, .88));
  border: 1px solid var(--lp-line-hot);
  backdrop-filter: blur(12px);
  /* ขอบในบาง ๆ + เงาในตัว จำลองการหักเหที่ขอบกระจก */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    inset 0 0 22px rgba(89, 163, 213, .1),
    0 18px 44px rgba(0, 0, 0, .45);
}

/* แผงไอคอน 4x3 — โมดูลที่บริษัทติดตั้งให้ลูกค้าจริง */
.holo__grid {
  top: 4%; right: 0;
  width: 60%;
  padding: .85rem;
}
.holo__grid-bar {
  display: flex;
  gap: .32rem;
  padding: 0 .2rem .6rem;
  border-bottom: 1px solid var(--lp-line);
  margin-bottom: .7rem;
}
.holo__grid-bar span { width: 7px; height: 7px; border-radius: 50%; background: var(--lp-line-hot); }
.holo__grid-bar span:first-child { background: var(--lp-glow-hot); }
.holo__cells {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem;
}
.holo__cell {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--lp-line);
  background: rgba(89, 163, 213, .07);
  color: var(--lp-glow-hot);
  transition: background-color .25s var(--ease), border-color .25s var(--ease),
    box-shadow .25s var(--ease), transform .25s var(--ease);
}
.holo__cell svg { width: 48%; height: 48%; }
.holo__cell:hover {
  background: rgba(89, 163, 213, .2);
  border-color: var(--lp-glow-hot);
  box-shadow: 0 0 18px rgba(89, 163, 213, .55);
  transform: translateY(-2px);
}

/* แผงป้ายกำกับด้านซ้าย */
.holo__tag {
  width: 34%;
  min-width: 150px;
  padding: .8rem .9rem;
}
.holo__tag--a { top: 12%; left: 0; }
.holo__tag--b { bottom: 26%; left: 2%; }
.holo__tag--c { bottom: 6%; left: 38%; }
.holo__tag b {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
}
.holo__tag span { display: block; font-size: .7rem; color: var(--lp-faint); margin-top: .1rem; }
.holo__tag .ico {
  width: 26px; height: 26px;
  margin-bottom: .5rem;
  color: var(--lp-glow-hot);
  filter: drop-shadow(0 0 6px rgba(89, 163, 213, .7));
}

/* แสงแฟลร์แบบดาวกระจาย เหมือนจุดสว่างในภาพอ้างอิง */
.holo__flare {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--lp-glow-core);
  box-shadow: 0 0 12px 4px rgba(154, 212, 242, .8);
}
.holo__flare::before,
.holo__flare::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  translate: -50% -50%;
  background: linear-gradient(90deg, transparent, var(--lp-glow-core), transparent);
}
.holo__flare::before { width: 90px; height: 1px; }
.holo__flare::after { width: 1px; height: 90px; background: linear-gradient(180deg, transparent, var(--lp-glow-core), transparent); }
.holo__flare--1 { top: 6%; right: 4%; }
.holo__flare--2 { bottom: 30%; left: 34%; }

@media (max-width: 620px) {
  .holo { min-height: 340px; }
  .holo__tag { font-size: .9em; }
  .holo__tag--b { display: none; }
}

/* --------------------------------------------------------------------------
   5. แถบความน่าเชื่อถือ
   -------------------------------------------------------------------------- */
.lp-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2.5rem;
  padding-block: 1.6rem;
  border-block: 1px solid var(--lp-line);
  background: rgba(89, 163, 213, .035);
}
.lp-trust__item {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: .9rem;
  color: var(--lp-muted);
}
.lp-trust__item svg {
  width: 22px; height: 22px;
  color: var(--lp-glow-hot);
  filter: drop-shadow(0 0 6px rgba(89, 163, 213, .6));
}
.lp-trust__item b { color: #fff; font-weight: 600; }

/* --------------------------------------------------------------------------
   6. การ์ด
   -------------------------------------------------------------------------- */
.lp-grid { display: grid; gap: clamp(1rem, 1.8vw, 1.5rem); }
.lp-grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.lp-grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.lp-grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* MA กับ Outsource คือสิ่งที่ต้องการขายจริง จึงได้พื้นที่ครึ่งแถวคนละใบ
   ส่วนงานติดตั้งอีก 4 อย่างลงไปเรียงเป็นแถวล่าง — ลำดับความสำคัญอ่านออกจากขนาด */
.lp-grid--priority { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
@media (min-width: 1000px) {
  .lp-grid--priority { grid-template-columns: repeat(12, 1fr); }
  .lp-grid--priority > :nth-child(-n+2) { grid-column: span 6; }
  .lp-grid--priority > :nth-child(n+3)  { grid-column: span 3; }
}

/* เหมือนหน้าอื่น: การ์ดเป็น flex column เพื่อดันแท็กลงไปชิดขอบล่างเสมอ
   แถวการ์ดจึงเรียงตรงกันแม้ข้อความยาวไม่เท่ากัน */
.lp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.4vw, 1.95rem);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(89, 163, 213, .09), rgba(89, 163, 213, .028));
  border: 1px solid var(--lp-line);
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease),
    box-shadow .3s var(--ease);
}
/* ขอบสว่างตามตำแหน่งเมาส์ — main.js เป็นคนป้อน --mx/--my */
.lp-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%),
    var(--lp-glow-hot), transparent 62%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.lp-card:hover::before { opacity: 1; }
.lp-card:hover {
  transform: translateY(-6px);
  border-color: var(--lp-line-hot);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .45), 0 0 34px rgba(89, 163, 213, .16);
}
.lp-card:active { transform: translateY(-3px) scale(.995); transition-duration: .1s; }
.lp-card h3 { font-size: 1.18rem; margin-bottom: .5rem; }
.lp-card p { font-size: .95rem; color: var(--lp-muted); }

.lp-card__ico {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  margin-bottom: 1.2rem;
  background: rgba(89, 163, 213, .12);
  border: 1px solid var(--lp-line);
  color: var(--lp-glow-hot);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.lp-card__ico svg { width: 25px; height: 25px; }
.lp-card:hover .lp-card__ico {
  background: rgba(89, 163, 213, .22);
  box-shadow: 0 0 22px rgba(89, 163, 213, .4);
}

/* การ์ดนำ — ขอบและแสงเข้มกว่าใบอื่นเล็กน้อย เพื่อบอกว่านี่คือบริการหลัก */
.lp-card--lead {
  background: linear-gradient(160deg, rgba(89, 163, 213, .16), rgba(89, 163, 213, .05));
  border-color: var(--lp-line-hot);
}
.lp-card--lead h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.lp-card--lead .lp-card__ico {
  width: 60px; height: 60px;
  background: rgba(89, 163, 213, .2);
  box-shadow: 0 0 24px rgba(89, 163, 213, .3);
}
.lp-card--lead .lp-card__ico svg { width: 29px; height: 29px; }

/* การ์ดของธุรกิจรอง — เล็กลงและเงียบลงโดยตั้งใจ */
.lp-card--sm { padding: clamp(1.25rem, 2vw, 1.6rem); }
.lp-card--sm h3 { font-size: 1.06rem; }
.lp-card--sm p { font-size: .91rem; }
.lp-card--sm .lp-card__ico { width: 44px; height: 44px; margin-bottom: 1rem; }
.lp-card--sm .lp-card__ico svg { width: 21px; height: 21px; }

.lp-link { margin-top: auto; padding-top: 1.1rem; color: var(--lp-glow-hot); }
.lp-link:hover { color: #fff; }

/* ส่วน ISO 20000-1 คือจุดต่างของงานบริการ จึงยกพื้นให้เข้มขึ้นหนึ่งระดับ
   และคาดเส้นเรืองแสงบนล่าง เพื่อให้อ่านเป็นบล็อกแยกจากส่วนอื่น */
.lp-section--iso {
  background:
    radial-gradient(900px 460px at 50% 0%, rgba(0, 68, 130, .4), transparent 68%),
    rgba(4, 16, 31, .55);
  border-block: 1px solid var(--lp-line);
}
.lp-section--iso::before,
.lp-section--iso::after {
  content: "";
  position: absolute;
  left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lp-glow-hot), transparent);
  opacity: .5;
}
.lp-section--iso::before { top: 0; }
.lp-section--iso::after { bottom: 0; }

/* ทั้งส่วนของธุรกิจรองถูกลดเสียงลง ไม่ให้ไปแย่งความสนใจจากงาน MA ด้านบน */
.lp-section--sub { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.lp-section--sub h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.lp-section--sub .lp-head { margin-bottom: clamp(2rem, 4vw, 3rem); }

.lp-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: 1.25rem; }
.lp-tag {
  font-size: .74rem;
  font-weight: 600;
  padding: .24rem .65rem;
  border-radius: var(--r-sm);
  background: rgba(89, 163, 213, .1);
  border: 1px solid var(--lp-line);
  color: #a8c8e0;
}

/* การ์ดปัญหา — ใช้โทนแดงอมส้มเพื่อแยกจากส่วนที่เป็นทางออก */
.lp-pain {
  display: flex;
  gap: .9rem;
  padding: 1.2rem 1.3rem;
  border-radius: var(--r-md);
  background: rgba(180, 60, 70, .07);
  border: 1px solid rgba(200, 90, 100, .22);
}
.lp-pain svg { width: 21px; height: 21px; flex: none; margin-top: .28rem; color: #e58e98; }
.lp-pain p { margin: 0; font-size: .95rem; color: #d3c3c6; }

/* --------------------------------------------------------------------------
   7. บล็อกสินค้าเด่น (ERP / ระบบคิว)
   -------------------------------------------------------------------------- */
.lp-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.lp-split--rev > *:first-child { order: 2; }
@media (max-width: 780px) { .lp-split--rev > *:first-child { order: 0; } }
.lp-split p { max-width: var(--measure); }

.lp-feats { display: grid; gap: .8rem; margin-top: 1.6rem; }
.lp-feats li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  font-size: .96rem;
  color: var(--lp-muted);
}
.lp-feats svg {
  width: 20px; height: 20px;
  flex: none;
  margin-top: .3rem;
  color: var(--lp-glow-hot);
  filter: drop-shadow(0 0 5px rgba(89, 163, 213, .6));
}
.lp-feats b { color: #fff; font-weight: 600; }

.lp-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.lp-chip {
  padding: .45rem .9rem;
  border-radius: var(--r-full);
  background: rgba(89, 163, 213, .08);
  border: 1px solid var(--lp-line);
  font-size: .86rem;
  color: #b9d3e8;
  transition: all .2s var(--ease);
}
.lp-chip:hover {
  border-color: var(--lp-glow-hot);
  color: #fff;
  box-shadow: 0 0 16px rgba(89, 163, 213, .3);
}

/* หน้าจอจำลอง */
.lp-screen {
  border-radius: var(--r-xl);
  border: 1px solid var(--lp-line);
  background: linear-gradient(165deg, rgba(10, 37, 68, .95), rgba(4, 16, 31, .96));
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 46px rgba(89, 163, 213, .12);
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.lp-screen__bar {
  display: flex;
  align-items: center;
  gap: .42rem;
  padding: .8rem 1.1rem;
  border-bottom: 1px solid var(--lp-line);
  background: rgba(89, 163, 213, .05);
}
.lp-screen__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--lp-line-hot); }
.lp-screen__bar i:first-child { background: var(--lp-glow-hot); box-shadow: 0 0 8px var(--lp-glow); }
.lp-screen__bar span {
  margin-left: .55rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--lp-faint);
  letter-spacing: .04em;
}
.lp-screen__body { padding: 1.3rem; display: grid; gap: .8rem; }

.lp-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.lp-kpi {
  padding: .95rem 1rem;
  border-radius: var(--r-md);
  background: rgba(89, 163, 213, .06);
  border: 1px solid var(--lp-line);
}
.lp-kpi__l {
  font-size: .73rem;
  color: var(--lp-faint);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}
.lp-kpi__v {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  color: #fff;
  margin-top: .15rem;
}
.lp-kpi__d { font-size: .77rem; font-weight: 600; color: #62d69b; }
.lp-kpi__d--down { color: #e58e98; }
.lp-kpi__d--flat { color: var(--lp-faint); }

.lp-rows { display: grid; gap: .6rem; }
.lp-row {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .8rem .95rem;
  border-radius: var(--r-md);
  background: rgba(89, 163, 213, .05);
  border: 1px solid var(--lp-line);
}
.lp-row__i {
  width: 34px; height: 34px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 9px;
  background: rgba(89, 163, 213, .14);
  color: var(--lp-glow-hot);
}
.lp-row__i svg { width: 17px; height: 17px; }
.lp-row__b { flex: 1; min-width: 0; }
.lp-row__n { font-size: .87rem; font-weight: 600; color: #dceaf6; }
.lp-row__s { font-size: .76rem; color: var(--lp-faint); margin-top: .15rem; }

/* ป้ายสถานะในหน้าจอจำลอง service desk */
.lp-badge-ok, .lp-badge-work {
  flex: none;
  padding: .22rem .6rem;
  border-radius: var(--r-sm);
  font-size: .72rem;
  font-weight: 700;
  white-space: nowrap;
}
.lp-badge-ok {
  background: rgba(34, 160, 100, .16);
  border: 1px solid rgba(34, 160, 100, .4);
  color: #7fe0ab;
}
.lp-badge-work {
  background: rgba(214, 158, 46, .16);
  border: 1px solid rgba(214, 158, 46, .42);
  color: #f0cd85;
}
.lp-screen__note {
  font-size: .74rem;
  color: var(--lp-faint);
  margin: .3rem 0 0;
  text-align: center;
}
.lp-row__v {
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--lp-glow-hot);
}
.lp-bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(89, 163, 213, .14);
  overflow: hidden;
  margin-top: .42rem;
}
.lp-bar > i {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--lp-deep), var(--lp-glow-hot));
  box-shadow: 0 0 10px rgba(89, 163, 213, .7);
  animation: lp-grow 1.6s var(--ease) both;
}
@keyframes lp-grow { from { width: 0 !important; } }

/* บัตรคิว */
.lp-ticket {
  text-align: center;
  padding: 2.1rem 1.5rem;
  border-radius: var(--r-xl);
  background:
    radial-gradient(420px 240px at 50% 0%, rgba(89, 163, 213, .3), transparent 68%),
    linear-gradient(165deg, var(--lp-deep), #04101f 75%);
  border: 1px solid var(--lp-line);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .5), 0 0 40px rgba(89, 163, 213, .14);
}
.lp-ticket__l { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--lp-glow-hot); }
.lp-ticket__c {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 4.6rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: #fff;
  letter-spacing: -.03em;
  margin: .35rem 0 .3rem;
  text-shadow: 0 0 34px rgba(89, 163, 213, .6);
}
.lp-ticket__m { font-size: .88rem; color: #b9d3e8; }
.lp-ticket__n {
  display: flex;
  justify-content: center;
  gap: .45rem;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px dashed var(--lp-line);
}
.lp-ticket__n span {
  padding: .28rem .7rem;
  border-radius: var(--r-sm);
  background: rgba(89, 163, 213, .12);
  border: 1px solid var(--lp-line);
  font-family: var(--font-mono);
  font-size: .8rem;
  font-variant-numeric: tabular-nums;
  color: #cfe4f4;
}

/* --------------------------------------------------------------------------
   8. ขั้นตอนการทำงาน
   -------------------------------------------------------------------------- */
.lp-steps { display: grid; gap: 1.2rem; position: relative; }
@media (min-width: 900px) {
  .lp-steps { grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-top: 19px; }
  .lp-steps::before {
    content: "";
    position: absolute;
    top: 19px; left: 12.5%; right: 12.5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--lp-line-hot) 10%, var(--lp-line-hot) 90%, transparent);
  }
}
.lp-step {
  position: relative;
  padding: 1.6rem 1.35rem;
  border-radius: var(--r-lg);
  background: rgba(89, 163, 213, .05);
  border: 1px solid var(--lp-line);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.lp-step:hover { transform: translateY(-4px); border-color: var(--lp-line-hot); }
.lp-step__n {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .93rem;
  font-variant-numeric: tabular-nums;
  color: #04101f;
  background: var(--lp-glow);
  box-shadow: 0 0 20px rgba(89, 163, 213, .6), 0 0 0 6px var(--lp-bg);
  margin-bottom: 1rem;
}
@media (min-width: 900px) {
  .lp-step { padding-top: 2.5rem; }
  .lp-step__n { position: absolute; top: -19px; left: 1.35rem; margin-bottom: 0; }
}
.lp-step h3 { font-size: 1.03rem; margin-bottom: .35rem; }
.lp-step p { font-size: .89rem; margin: 0; }

/* --------------------------------------------------------------------------
   8b. FAQ — ใช้โครง .faq ของ style.css แล้วเปลี่ยนสีให้เข้ากับพื้นมืด
   เนื้อหาตรงกับ FAQPage schema ใน <head> ทุกข้อ ถ้าแก้ข้อความต้องแก้ทั้งสองที่
   -------------------------------------------------------------------------- */
.lp-faq-wrap { max-width: 52rem; margin-inline: auto; }
.lp .lp-faq {
  background: rgba(89, 163, 213, .05);
  border-color: var(--lp-line);
  border-radius: var(--r-md);
}
.lp .lp-faq + .lp-faq { margin-top: .7rem; }
.lp .lp-faq summary { color: #eaf3fa; }
.lp .lp-faq summary:hover { background: rgba(89, 163, 213, .09); }
.lp .lp-faq summary::after { color: var(--lp-glow-hot); }
.lp .lp-faq[open] { border-color: var(--lp-line-hot); }
.lp .lp-faq .faq__body { color: var(--lp-muted); }

/* --------------------------------------------------------------------------
   9. ฟอร์มรับข้อมูลผู้สนใจ
   -------------------------------------------------------------------------- */
.lp-cta {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 900px) { .lp-cta { grid-template-columns: 1fr; } }

.lp-contact { display: grid; gap: 1rem; margin-top: 1.8rem; }
.lp-contact li { display: flex; gap: .9rem; align-items: flex-start; }
.lp-contact svg {
  width: 20px; height: 20px;
  flex: none;
  margin-top: .28rem;
  color: var(--lp-glow-hot);
  filter: drop-shadow(0 0 5px rgba(89, 163, 213, .6));
}
.lp-contact b { display: block; color: #fff; font-size: .96rem; font-weight: 600; }
.lp-contact span, .lp-contact a { color: var(--lp-muted); font-size: .93rem; }
.lp-contact a:hover { color: var(--lp-glow-hot); }

.lp-form {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: var(--r-xl);
  background: linear-gradient(165deg, rgba(89, 163, 213, .1), rgba(89, 163, 213, .03));
  border: 1px solid var(--lp-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 24px 56px rgba(0, 0, 0, .45);
  backdrop-filter: blur(14px);
}
.lp-form h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.lp-form > p { font-size: .93rem; margin-bottom: 1.4rem; }

/* ใช้โครง .field / .field__err ร่วมกับ style.css ตัวตรวจฟอร์มใน main.js
   จึงทำงานกับหน้านี้ได้ทันที ไม่ต้องเขียน validation ซ้ำ */
.lp .field label { color: #dceaf6; }
.lp .field input,
.lp .field select,
.lp .field textarea {
  background: rgba(4, 16, 31, .6);
  border-color: var(--lp-line);
  color: var(--lp-text);
}
.lp .field input::placeholder,
.lp .field textarea::placeholder { color: var(--lp-faint); }
.lp .field input:focus,
.lp .field select:focus,
.lp .field textarea:focus {
  border-color: var(--lp-glow-hot);
  box-shadow: 0 0 0 3px rgba(89, 163, 213, .25);
}
.lp .field.is-invalid input,
.lp .field.is-invalid select,
.lp .field.is-invalid textarea {
  border-color: #e58e98;
  background: rgba(180, 60, 70, .12);
}
.lp .field__err { color: #f0a8b0; }
.lp .form-status--ok {
  background: rgba(34, 160, 100, .14);
  color: #7fe0ab;
  border-color: rgba(34, 160, 100, .4);
}
.lp .form-status--err {
  background: rgba(180, 60, 70, .14);
  color: #f0a8b0;
  border-color: rgba(200, 90, 100, .4);
}
.lp .form-note { color: var(--lp-faint); }

/* --------------------------------------------------------------------------
   10. Footer
   -------------------------------------------------------------------------- */
.lp-footer {
  border-top: 1px solid var(--lp-line);
  padding-block: 2.5rem;
  background: rgba(4, 16, 31, .8);
}
.lp-footer__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.lp-footer .logo__name { color: #fff; }
.lp-footer .logo__mark { color: var(--lp-glow); filter: drop-shadow(0 0 10px rgba(89, 163, 213, .5)); }
.lp-footer__meta { font-size: .84rem; color: var(--lp-faint); text-align: right; }
.lp-footer__meta a { color: var(--lp-muted); }
.lp-footer__meta a:hover { color: var(--lp-glow-hot); }

/* --------------------------------------------------------------------------
   11. Header เฉพาะหน้านี้ — โปร่งใส ไม่มีเมนูเต็ม เพราะเป็นหน้าปิดการขาย
   -------------------------------------------------------------------------- */
.lp-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(4, 16, 31, .72);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.lp-header.is-stuck { border-bottom-color: var(--lp-line); }
.lp-header__in {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 70px;
}
.lp-header .logo__name { color: #fff; }
.lp-header .logo__mark { color: var(--lp-glow); filter: drop-shadow(0 0 8px rgba(89, 163, 213, .5)); }
.lp-header__cta { margin-left: auto; display: flex; align-items: center; gap: .7rem; }
.lp-header__tel {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .92rem;
  font-weight: 600;
  color: #cfe4f4;
}
.lp-header__tel svg { width: 17px; height: 17px; color: var(--lp-glow-hot); }
@media (max-width: 560px) { .lp-header__tel span { display: none; } }
