/* ============================================================
   NÜXGROW · หน้า /app (แอป NÜXGROW · ฟีเจอร์ + แพ็กเกจ) · v0.1 (10 ต.ค. 2569)
   โหลดต่อท้าย quiet-precision.css + deeptech.css + pfc-skin.css · ใช้ตัวแปร --qp-* เท่านั้น · คลาสเฉพาะหน้าขึ้นต้น app-
   ============================================================ */

.app-hero { min-height: 0; padding-bottom: clamp(56px, 8vw, 104px); }
.app-hero .dt-pill { display: inline-block; }

/* ── สิ่งที่แอปทำให้ ── */
.app-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--qp-line); border: 1px solid var(--qp-line); }
.app-feat { display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 3vw, 32px); background: var(--qp-bg); }
.app-feat h3 { font-size: var(--qp-t-20); font-weight: 600; line-height: 1.35; color: var(--qp-ink); }
.app-feat h3 .dt-pill { margin-left: 6px; vertical-align: middle; }
.app-feat p { font-size: var(--qp-t-15); line-height: 1.7; color: var(--qp-ink-2); }
.app-feat--soon p { color: var(--qp-muted); }
.app-no { font-family: var(--qp-font-mono); font-size: var(--qp-t-12); letter-spacing: .12em; color: var(--qp-gold); }
.app-also { margin-top: 22px; font-size: var(--qp-t-15); line-height: 1.7; color: var(--qp-muted); }
@media (max-width: 959px) { .app-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .app-feats { grid-template-columns: minmax(0, 1fr); } }

/* ── หน้าจอ (บัญชีสาธิต) ── */
.app-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); align-items: start; }
.app-shot { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.app-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--qp-line-strong); border-radius: 4px; background: var(--qp-surface); }
.app-shot figcaption { font-size: var(--qp-t-15); line-height: 1.6; color: var(--qp-ink-2); }
.app-shot figcaption b { color: var(--qp-ink); font-weight: 600; }
@media (max-width: 800px) { .app-shots { grid-template-columns: minmax(0, 1fr); } }

/* ── แพ็กเกจ ── */
.app-tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.app-tier { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; border: 1px solid var(--qp-line-strong); border-radius: 4px; background: color-mix(in srgb, var(--qp-surface) 88%, transparent); }
.app-step { font-family: var(--qp-font-mono); font-size: var(--qp-t-12); letter-spacing: .08em; color: var(--qp-gold); }
.app-tier h3 { font-size: var(--qp-t-24); font-weight: 600; line-height: 1.3; color: var(--qp-ink); }
.app-en { font-size: var(--qp-t-13); font-weight: 400; color: var(--qp-muted); }
.app-price { font-size: var(--qp-t-20); font-weight: 600; color: var(--qp-green); }
.app-annual { margin-top: -6px; font-size: var(--qp-t-14, 14px); line-height: 1.5; color: var(--qp-ink-2); }   /* จ่ายรายปี 12 → 14 (รอบ V.1) */
.app-fit { font-size: var(--qp-t-15); line-height: 1.6; color: var(--qp-ink-2); }
.app-fit b { color: var(--qp-ink); font-weight: 600; }
.app-tier ul { margin: 4px 0 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; font-size: var(--qp-t-15); line-height: 1.6; color: var(--qp-ink-2); }
@media (max-width: 1100px) { .app-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .app-tiers { grid-template-columns: minmax(0, 1fr); } }

.app-care { margin-top: clamp(28px, 4vw, 44px); padding: clamp(22px, 3vw, 32px); border: 1px solid var(--qp-gold); border-radius: 4px; display: flex; flex-direction: column; gap: 12px; }
.app-care h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 600; line-height: 1.35; color: var(--qp-ink); }
.app-care p { font-size: var(--qp-t-16); line-height: 1.7; color: var(--qp-ink-2); }
.app-care .app-care__price { color: var(--qp-ink); font-weight: 600; }
.app-care .dt-actions { margin-top: 6px; }

/* ── สถานะตอนนี้ (คง <table> ไว้ให้ AI/โปรแกรมอ่านเป็นตารางได้) ── */
.app-status { width: 100%; border-collapse: collapse; font-size: var(--qp-t-16); }
.app-status th { text-align: left; font-size: var(--qp-t-13); font-weight: 600; color: var(--qp-muted); padding: 0 20px 14px 0; border-bottom: 1px solid var(--qp-line-strong); }
.app-status td { padding: 18px 20px 18px 0; border-bottom: 1px solid var(--qp-line); vertical-align: top; color: var(--qp-ink-2); line-height: 1.65; }
.app-status td:last-child { width: 40%; }
@media (max-width: 700px) {
  .app-status thead { display: none; }
  .app-status, .app-status tbody, .app-status tr, .app-status td { display: block; width: 100%; }
  .app-status tr { padding: 16px 0; border-bottom: 1px solid var(--qp-line); }
  .app-status td { padding: 0; border: 0; }
  .app-status td:last-child { width: 100%; margin-top: 8px; }
}

/* ── ติดต่อ ── */
.app-ct .dt-actions { margin-top: 26px; }
