/* =========================================
   page-thankyou.css — Primo Inova
   Scoped to .primo-thankyou
   Design tokens: #f5862a / #141847 / IBM Plex Sans Thai
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@400;500;700&display=swap');

.primo-thankyou, .primo-thankyou * { box-sizing: border-box; }

.pt-accent { color: #f5862a; }
.pt-bold   { font-weight: 700; }

/* ---- Section ---- */
.pt-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #141847;
  padding: 120px 24px 80px;
}
.pt-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1509391366360-2e959784a276?w=1600&h=900&fit=crop&auto=format');
  background-size: cover; background-position: center;
  opacity: 0.55;
  pointer-events: none;
}
.pt-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(245,134,42,0.22) 0%, transparent 50%),
    rgba(20,24,71,0.35);
  pointer-events: none;
}
.pt-inner {
  position: relative; z-index: 10;
  max-width: 880px; margin: 0 auto;
  width: 100%;
  text-align: center;
}

/* ---- Success check ---- */
.pt-check {
  width: 104px; height: 104px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: rgba(245,134,42,0.12);
  border: 1px solid rgba(245,134,42,0.35);
  display: flex; align-items: center; justify-content: center;
  animation: pt-pop 0.5s cubic-bezier(.2,.8,.3,1.2) both;
}
.pt-check svg { width: 60px; height: 60px; }
.pt-check__circle {
  fill: none; stroke: #f5862a; stroke-width: 2.5;
  stroke-dasharray: 152; stroke-dashoffset: 152;
  animation: pt-draw 0.7s ease-out 0.15s forwards;
}
.pt-check__mark {
  fill: none; stroke: #f5862a; stroke-width: 4;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 48; stroke-dashoffset: 48;
  animation: pt-draw 0.4s ease-out 0.7s forwards;
}
@keyframes pt-draw { to { stroke-dashoffset: 0; } }
@keyframes pt-pop {
  from { opacity: 0; transform: scale(0.7); }
  to   { opacity: 1; transform: scale(1); }
}

/* ---- Badge ---- */
.pt-badge {
  display: inline-block;
  background: #f5862a; color: #000;
  font-family: 'IBM Plex Sans Thai', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 16px; border-radius: 999px;
  margin-bottom: 16px;
}

/* ---- Heading ---- */
.pt-h1 {
  color: #fff;
  font-family: 'IBM Plex Sans Thai', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.25;
  margin: 0 0 20px;
}
.pt-lead {
  color: rgba(255,255,255,0.75);
  font-family: 'IBM Plex Sans Thai', sans-serif;
  font-size: 18px; line-height: 1.9;
  max-width: 620px; margin: 0 auto 48px;
}
.pt-lead strong { color: #fff; font-weight: 700; }

/* ---- Steps ---- */
.pt-steps {
  display: grid; grid-template-columns: 1fr;
  gap: 20px; margin-bottom: 44px;
  text-align: left;
}
@media (min-width: 768px) {
  .pt-steps { grid-template-columns: repeat(3, 1fr); }
}
.pt-step {
  position: relative;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 28px 24px 24px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.pt-step:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(245,134,42,0.40);
  transform: translateY(-3px);
}
.pt-step__num {
  position: absolute; top: -14px; left: 24px;
  width: 28px; height: 28px; border-radius: 50%;
  background: #f5862a; color: #141847;
  display: flex; align-items: center; justify-content: center;
  font-family: 'IBM Plex Sans Thai', sans-serif;
  font-size: 14px; font-weight: 700;
}
.pt-step__emoji { font-size: 26px; display: block; margin-bottom: 10px; }
.pt-step__title {
  color: #fff;
  font-family: 'IBM Plex Sans Thai', sans-serif;
  font-size: 17px; font-weight: 700;
  margin: 0 0 6px;
}
.pt-step__desc {
  color: rgba(255,255,255,0.60);
  font-family: 'IBM Plex Sans Thai', sans-serif;
  font-size: 14px; line-height: 1.7; margin: 0;
}

/* ---- Contact strip ---- */
.pt-contact-strip {
  display: inline-flex; flex-wrap: wrap;
  align-items: center; justify-content: center; gap: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: 10px 24px;
  margin-bottom: 36px;
}
.pt-contact-strip__label {
  color: rgba(255,255,255,0.60);
  font-family: 'IBM Plex Sans Thai', sans-serif;
  font-size: 14px;
}
.pt-phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: #f5862a !important;
  font-family: 'IBM Plex Sans Thai', sans-serif;
  font-size: 18px; font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}
.pt-phone:hover { color: #ffa557 !important; }

/* ---- Actions ---- */
.pt-actions {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 14px;
}
.pt-btn-primary {
  display: inline-block;
  background: #f5862a; color: #fff !important;
  padding: 13px 32px; border-radius: 6px;
  font-family: 'IBM Plex Sans Thai', sans-serif;
  font-size: 15px; font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}
.pt-btn-primary:hover { background: #e0741f; color: #fff !important; }
.pt-btn-outline {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff !important;
  padding: 13px 32px; border-radius: 6px;
  font-family: 'IBM Plex Sans Thai', sans-serif;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.pt-btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.55);
  color: #fff !important;
}

/* ---- Mobile ---- */
@media (max-width: 640px) {
  .pt-section { padding: 100px 20px 64px; }
  .pt-lead { font-size: 16px; margin-bottom: 36px; }
  .pt-actions .pt-btn-primary,
  .pt-actions .pt-btn-outline { width: 100%; text-align: center; }
}
