:root {
  --bg: #f4f7ff;
  --bg-deep: #0b2f70;
  --card: rgba(255, 255, 255, 0.9);
  --accent-1: #1865db;
  --accent-2: #41a2ff;
  --accent-soft: rgba(24, 101, 219, 0.08);
  --text-main: #0f2342;
  --text-soft: #60739a;
  --border-subtle: rgba(40, 74, 135, 0.14);
  --radius-lg: 26px;
  --shadow-soft: 0 26px 70px rgba(28, 68, 136, 0.15);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Noto Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(92, 166, 255, 0.18), transparent 36%),
    radial-gradient(circle at bottom right, rgba(43, 118, 255, 0.16), transparent 32%),
    linear-gradient(180deg, #f7f9ff 0%, #edf2ff 35%, #e7efff 100%);
}

.animate-up {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
}

.orb-a {
  width: 340px;
  height: 340px;
  background: rgba(88, 164, 255, 0.8);
  top: -60px;
  left: -80px;
}

.orb-b {
  width: 300px;
  height: 300px;
  background: rgba(39, 98, 255, 0.65);
  top: 40%;
  right: -80px;
}

.orb-c {
  width: 260px;
  height: 260px;
  background: rgba(46, 146, 255, 0.6);
  bottom: -50px;
  left: 40%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(90deg, rgba(248, 251, 255, 0.9), rgba(240, 246, 255, 0.86));
  border-bottom: 1px solid rgba(31, 66, 129, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 0% 0%, #41a2ff, #1865db);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(19, 72, 155, 0.35);
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--accent-1);
}

.brand-tagline {
  font-size: 0.82rem;
  color: var(--text-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 600;
  color: #254064;
}

.nav a {
  position: relative;
  font-size: 0.96rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent-2), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(31, 94, 201, 0.4);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 26px rgba(8, 37, 98, 0.12);
}

.hero {
  padding: 40px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  font-weight: 800;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--accent-1);
}

.pill-soft {
  background: rgba(16, 53, 124, 0.12);
  color: #f7fbff;
}

/* Hero pill - ใหญ่ เด่นชัด มี effect */
.pill-hero {
  padding: 14px 24px;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, rgba(24, 101, 219, 0.9), rgba(65, 162, 255, 0.85));
  color: #fff;
  box-shadow:
    0 4px 20px rgba(24, 101, 219, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  text-transform: none;
  animation: pill-glow 3s ease-in-out infinite;
}

@keyframes pill-glow {
  0%, 100% {
    box-shadow:
      0 4px 20px rgba(24, 101, 219, 0.4),
      0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  }
  50% {
    box-shadow:
      0 6px 28px rgba(24, 101, 219, 0.55),
      0 0 0 1px rgba(255, 255, 255, 0.3) inset;
  }
}

/* Workflow pill - ใหญ่ เด่นชัด มี effect (พื้นหลังสีน้ำเงินเข้ม) */
.pill-workflow {
  padding: 16px 28px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, rgba(110, 168, 255, 0.95), rgba(65, 162, 255, 0.9));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 6px 24px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(110, 168, 255, 0.4);
  text-transform: uppercase;
  animation: pill-workflow-glow 2.5s ease-in-out infinite;
}

@keyframes pill-workflow-glow {
  0%, 100% {
    box-shadow:
      0 6px 24px rgba(0, 0, 0, 0.3),
      0 0 30px rgba(110, 168, 255, 0.4);
  }
  50% {
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.25),
      0 0 45px rgba(110, 168, 255, 0.6);
  }
}

/* หน้าจอโปรแกรม pill - ใหญ่ เด่นชัด มี effect */
.pill-screens {
  padding: 14px 24px;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: #fff;
  box-shadow:
    0 4px 20px rgba(24, 101, 219, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  text-transform: none;
  animation: pill-screens-pulse 2.8s ease-in-out infinite;
}

@keyframes pill-screens-pulse {
  0%, 100% {
    box-shadow:
      0 4px 20px rgba(24, 101, 219, 0.35),
      0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  }
  50% {
    box-shadow:
      0 8px 32px rgba(24, 101, 219, 0.5),
      0 0 0 1px rgba(255, 255, 255, 0.35) inset;
  }
}

.pill-light {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* Pill "เริ่มต้นใช้งาน" - ใหญ่ เด่นชัด มี effect */
.pill-start {
  padding: 14px 26px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(173, 206, 255, 0.4));
  color: #ffffff;
  box-shadow:
    0 6px 22px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.3) inset;
  border: 1px solid rgba(255, 255, 255, 0.45);
  animation: pill-start-glow 2.6s ease-in-out infinite;
}

.pill-start:hover {
  text-decoration: underline;                /* เส้นใต้เวลาเมาส์ผ่าน */
  transform: translateY(-1px);               /* เด้งขึ้นเล็กน้อย */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); /* เงาลึกขึ้น */
}

@keyframes pill-start-glow {
  0%, 100% {
    box-shadow:
      0 6px 22px rgba(0, 0, 0, 0.35),
      0 0 0 1px rgba(255, 255, 255, 0.3) inset;
  }
  50% {
    box-shadow:
      0 10px 30px rgba(0, 0, 0, 0.45),
      0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  }
}

.hero-copy h1 {
  margin: 14px 0 8px;
  font-size: clamp(2.3rem, 4vw, 3.3rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.hero-text {
  margin: 10px 0 0;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 800;
  cursor: pointer;
  border: none;
  font-size: 0.98rem;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: #fff;
  box-shadow: 0 20px 40px rgba(22, 90, 196, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 28px 58px rgba(16, 71, 168, 0.48);
}

.btn-ghost {
  background: rgba(248, 251, 255, 0.8);
  color: var(--accent-1);
  border: 1px solid rgba(66, 117, 198, 0.35);
}

.btn-ghost:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(23, 63, 132, 0.2);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ปุ่มติดต่อสอบถามหลัก ให้ตัวอักษรใหญ่ขึ้นอีกนิด */
.btn-contact-main {
  font-size: 1.1rem;
  cursor: default;
}

.hero-meta {
  margin-top: 22px;
  display: grid;
  gap: 8px;
}

.meta-item {
  display: grid;
  gap: 2px;
}

.meta-label {
  font-size: 0.92rem; 
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #7a8db0;
}

.meta-value {
  font-size: 0.95rem;
  color: var(--text-soft);
}

.hero-visual {
  position: relative;
}

.hero-screen {
  border-radius: 32px;
  padding: 14px;
  margin-bottom: 72px;
  background: linear-gradient(135deg, rgba(12, 49, 122, 0.94), rgba(34, 110, 215, 0.95));
  box-shadow: var(--shadow-soft);
}

.hero-screen-inner {
  border-radius: 22px;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), transparent 55%), #031738;
  padding: 10px;
  overflow: hidden;
}

/* ทำไมต้อง Estimate Construction - ใหญ่ เด่นชัด มี effect */
.pill-why {
  padding: 16px 28px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: #fff;
  box-shadow:
    0 6px 24px rgba(24, 101, 219, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  text-transform: none;
  animation: pill-why-glow 2.5s ease-in-out infinite;
}


@keyframes pill-why-glow {
  0%, 100% {
    box-shadow:
      0 6px 24px rgba(24, 101, 219, 0.4),
      0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  }
  50% {
    box-shadow:
      0 10px 36px rgba(24, 101, 219, 0.55),
      0 0 0 1px rgba(255, 255, 255, 0.35) inset;
  }
}

.why-head h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin-top: 16px;
}

/* แถบหัวโปรแกรม: ชื่อโปรแกรม (ซ้าย) + Logo (ขวา) - อยู่ข้างนอกด้านบน */

/* แถบหัวโปรแกรม: ชื่อโปรแกรม (ซ้าย) + Logo (ขวา) */
.app-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
  margin: 0 24px 16px;  /* กันไม่ให้ชิดขอบซ้าย-ขวา */
  background: linear-gradient(135deg, rgba(12, 49, 122, 0.94), rgba(34, 110, 215, 0.95));
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(22, 90, 196, 0.25);
}

.app-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}

.app-version {
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(200, 225, 255, 0.98);
  letter-spacing: 0.04em;
}

.app-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-shot {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  height: 320px;
  background: #06162e;
  animation: floatY 6s ease-in-out infinite;
}

.hero-shot.is-fading {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.hero-badges {
  position: absolute;
  inset: auto 0 0 auto;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.badge-card {
  background: #fff;
  border-radius: 18px;
  padding: 10px 14px;
  box-shadow: 0 16px 40px rgba(6, 34, 88, 0.26);
  min-width: 120px;
}

.badge-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--accent-1);
}

.badge-sub {
  font-size: 0.82rem;
  color: var(--text-soft);
}

.section {
  padding: 48px 0 36px;
}

.section-alt {
  padding: 60px 0 46px;
  background: linear-gradient(180deg, rgba(11, 47, 112, 0.96), #071936);
  color: #f7fbff;
}

.section-alt p,
.section-alt .pricing-desc {
  color: rgba(219, 230, 255, 0.85);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: flex-start;
}

.section-head h2 {
  margin: 12px 0 8px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  color: var(--text-soft);
  max-width: 620px;
}

.center {
  text-align: center;
}

.value-grid {
  display: grid;
  gap: 16px;
}

.value-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 46px rgba(13, 44, 102, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-card h3 {
  margin: 0 0 4px;
  font-size: 1.06rem;
}

.value-card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-soft);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(9, 36, 92, 0.22);
}

.timeline {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}

.timeline-step {
  position: relative;
  border-radius: 20px;
  padding: 18px 18px 16px 70px;
  background: linear-gradient(135deg, rgba(9, 37, 83, 0.95), rgba(21, 70, 146, 0.9));
  border: 1px solid rgba(93, 154, 255, 0.6);
}

.timeline-step h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.timeline-step p {
  margin: 0;
  font-size: 0.96rem;
}

.step-no {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(148, 189, 255, 0.8);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 800;
}

.screens-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 30px;
  align-items: center;
}

.screen-hint {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.feature-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--text-soft);
  font-size: 0.98rem;
  display: grid;
  gap: 6px;
}

/* 6 รูปซ้อนทับกัน */
.screen-stack {
  position: relative;
  min-height: 400px;
}

.screen-card {
  position: absolute;
  border-radius: 18px;
  background: #031027;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(4, 20, 58, 0.8);
  border: 1px solid rgba(182, 202, 255, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease, z-index 0.2s ease;
}

.screen-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 28px 70px rgba(4, 20, 58, 0.9);
  z-index: 10;
}

.screen-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}

/* ตำแหน่ง 6 รูปซ้อนทับ */
.screen-1 { right: 0; top: 0; width: 62%; height: 200px; z-index: 6; }
.screen-2 { left: 2%; top: 50px; width: 68%; height: 210px; z-index: 5; }
.screen-3 { right: 5%; top: 110px; width: 58%; height: 190px; z-index: 4; }
.screen-4 { left: 8%; top: 160px; width: 64%; height: 200px; z-index: 3; }
.screen-5 { right: 2%; top: 210px; width: 60%; height: 180px; z-index: 2; }
.screen-6 { left: 12%; bottom: 0; width: 56%; height: 170px; z-index: 1; }

/* Clickable images - expand on click */
.img-expandable {
  cursor: zoom-in;
}

/* QR Code - คลิกขยายและเพิ่มเพื่อน */
.qr-clickable {
  cursor: pointer;
}

/* Lightbox overlay */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 95vw;
  max-height: 95vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  overflow-y: auto;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 95vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-qr-actions {
  margin-top: 0.5rem;
}

.lightbox-qr-actions .btn-line-add {
  background: #06c755;
  color: #fff;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.lightbox-qr-actions .btn-line-add:hover {
  background: #05b04c;
}


/* แถบยาว - ใหญ่ เด่นชัด */
.pricing-bar {
  background: linear-gradient(90deg, rgba(12, 45, 110, 0.98), rgba(24, 80, 165, 0.95));
  border-radius: 20px;
  padding: 28px 36px;
  border: 2px solid rgba(110, 169, 255, 0.6);
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.pricing-bar .pricing-bar-text {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  line-height: 1.5;
  white-space: nowrap;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 900px) {
  .pricing-bar-text {
    white-space: normal;
    font-size: 1.2rem;
  }

  .pricing-bar {
    padding: 24px 24px;
  }
}

/* คำถามพบบ่อย - ใหญ่ เด่นชัด */
.pill-faq {
  padding: 14px 26px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: #fff;
  box-shadow: 0 6px 24px rgba(24, 101, 219, 0.35);
}

.faq-head .faq-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-top: 16px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 32px;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 22px 20px;
  border: 2px solid var(--border-subtle);
  box-shadow: 0 20px 50px rgba(10, 44, 104, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.4;
}

.faq-item p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-soft);
  line-height: 1.65;
}

.faq-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(9, 36, 92, 0.22);
  border-color: rgba(92, 146, 232, 0.8);
}

.section-cta {
  padding: 60px 0;
  background: radial-gradient(circle at top left, rgba(112, 188, 255, 0.3), transparent 58%), var(--bg-deep);
  color: #f8fbff;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: center;
}

.cta-panel h2 {
  margin: 12px 0 8px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.cta-panel p {
  margin: 0;
  font-size: 0.98rem;
  color: rgba(213, 228, 255, 0.9);
}

.cta-actions {
  background: rgba(5, 26, 70, 0.8);
  border-radius: 22px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(110, 167, 255, 0.8);
  box-shadow: 0 26px 70px rgba(3, 17, 54, 0.9);
}

.cta-note {
  margin-top: 10px;
  font-size: 0.92rem;
  color: rgba(216, 230, 255, 0.86);
}

.cta-partners {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(110, 167, 255, 0.3);
  justify-content: center;
  flex-wrap: wrap;
}

.partner-logo {
  display: block;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.partner-logo:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.partner-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

/* ขยายขนาด QR Code ให้ใหญ่ขึ้นกว่าปกติ */
.partner-logo-qr img {
  height: 50px;
}

.site-footer {
  padding: 22px 0 32px;
  border-top: 1px solid rgba(28, 59, 116, 0.12);
  background: #020819;
  color: #d0ddff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  align-items: center;
  row-gap: 10px;
  column-gap: 24px;
}

.footer-sub {
  font-size: 0.9rem;
  color: #9fb1e6;
}

.footer-meta {
  display: grid;
  gap: 4px;
  font-size: 0.9rem;
  justify-items: end;
}

.footer-line-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-line-qr {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-copy {
  font-size: 0.86rem;
  color: #7f90bf;
}

.footer-by {
  font-size: 0.86rem;
  color: #7f90bf;
  text-align: right;
}

.footer-meta a {
  color: #d3e4ff;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 1024px) {
  .nav {
    display: none;
  }

  .hero-grid,
  .two-col,
  .screens-grid,
  .cta-panel,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-meta {
    justify-items: start;
  }

  .hero-screen {
    margin-bottom: 0;
  }

  .hero-badges {
    position: static;
    margin-top: 16px;
    justify-content: flex-start;
  }

  .screen-1, .screen-2, .screen-3, .screen-4, .screen-5, .screen-6 {
    position: relative;
    width: 100%;
    height: 180px;
    margin-bottom: 12px;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }

  .screen-stack {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .pill-hero {
    font-size: 1.1rem;
    padding: 12px 20px;
  }

  .shell {
    width: min(100% - 20px, 1120px);
  }

  .hero {
    padding-top: 26px;
  }

  .hero-shot {
    height: 240px;
  }

  .section,
  .section-alt {
    padding: 40px 0 32px;
  }

  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .screen-card img {
    height: 200px;
  }
}
.price-highlight {
  margin-bottom: 20px;
  align-self: flex-end;
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(214, 230, 255, 0.98));
  box-shadow:
    0 16px 40px rgba(9, 36, 92, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.85) inset;
  animation: price-pulse 3s ease-in-out infinite;
}

.price-label,
.price-main {
  font-size: 1.4rem;
  font-weight: 900;
  color: #1865db;
  letter-spacing: 0.02em;
}

@keyframes price-pulse {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow:
      0 16px 40px rgba(9, 36, 92, 0.24),
      0 0 0 1px rgba(255, 255, 255, 0.85) inset;
  }
  50% {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
      0 22px 50px rgba(9, 36, 92, 0.3),
      0 0 0 1px rgba(255, 255, 255, 1) inset;
  }
}
.yt-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.yt-icon {
  width: 18px;
  height: 12px;
  border-radius: 4px;
  background: #ff0000;              /* สีแดงแบบ YouTube */
  position: relative;
  flex-shrink: 0;
}

/* สามเหลี่ยม play */
.yt-icon::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  border-style: solid;
  border-width: 3px 0 3px 6px;
  border-color: transparent transparent transparent #ffffff;
}
.lang-toggle {
  margin-left: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(31, 94, 201, 0.4);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  color: #254064;
}

.lang-toggle.active {
  background: linear-gradient(135deg, #1865db, #41a2ff);
  color: #ffffff;
}