/* ==========================================================================
   nongmay.com — coming soon placeholder
   Palette pulled from the Nong May character: slate-blue hair, hot pink
   accents, sky blue trim. Kept bright and soft on purpose.
   ========================================================================== */

:root {
  --pink:        #FF5FA2;
  --pink-soft:   #FFD3E6;
  --pink-wash:   #FFF0F6;
  --sky:         #4CC3F5;
  --sky-soft:    #CFEEFC;
  --mint:        #7BE0C4;
  --lemon:       #FFD86B;
  --slate-deep:  #3A4665;
  --ink:         #2C2A47;
  --muted:       #8E89A8;
  --white:       #FFFFFF;

  --shadow-sm: 0 2px 8px rgba(255, 95, 162, .10);
  --shadow-lg: 0 24px 60px rgba(93, 110, 147, .16);

  --font-display: "Mali", "Sukhumvit Set", ui-rounded, system-ui, sans-serif;
  --font-body: "IBM Plex Sans Thai", "Sukhumvit Set", -apple-system,
               BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background: linear-gradient(170deg, #FFF6FA 0%, #FDF4FF 40%, #F0FAFF 100%);
  overflow-x: hidden;
  line-height: 1.6;
}

/* --- soft colour blobs behind everything ------------------------------- */
.blobs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
}
.blob--pink { width: 46vw; height: 46vw; background: var(--pink-soft); top: -12vw; left: -10vw; }
.blob--sky  { width: 40vw; height: 40vw; background: var(--sky-soft);  top: 24vh;  right: -14vw; }
.blob--mint { width: 34vw; height: 34vw; background: #D6FBF0;          bottom: -12vw; left: 18vw; }

/* --- floating sparkles -------------------------------------------------- */
.sparkles { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.sparkle {
  position: absolute;
  color: var(--pink);
  opacity: .5;
  animation: drift 14s ease-in-out infinite;
}
.sparkle:nth-child(2) { color: var(--sky);   animation-duration: 18s; animation-delay: -3s; }
.sparkle:nth-child(3) { color: var(--lemon); animation-duration: 16s; animation-delay: -7s; }
.sparkle:nth-child(4) { color: var(--mint);  animation-duration: 20s; animation-delay: -11s; }
.sparkle:nth-child(5) { color: var(--pink);  animation-duration: 15s; animation-delay: -5s; }

@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-26px) rotate(14deg); }
}

/* --- layout ------------------------------------------------------------- */
.page {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 1080px;
  margin: 0 auto;
  padding: 26px 24px 40px;
}

/* --- top bar ------------------------------------------------------------ */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.6;
  color: var(--slate-deep);
  text-decoration: none;
}
.mark__dot {
  width: 34px; height: 34px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--pink) 0%, #FF8BC0 100%);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  flex: none;
}

.langswitch {
  display: inline-flex;
  background: rgba(255, 255, 255, .8);
  border: 1px solid rgba(93, 110, 147, .14);
  border-radius: 100px;
  padding: 4px;
  gap: 2px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}
.langswitch a {
  padding: 6px 15px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color .18s ease, background .18s ease;
}
.langswitch a:hover { color: var(--slate-deep); }
.langswitch a[aria-current="true"] {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 2px 8px rgba(255, 95, 162, .35);
}

/* --- centre stage ------------------------------------------------------- */
.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px 0 28px;
}

/* --- mascot ------------------------------------------------------------- */
.mascot {
  position: relative;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}
.mascot__glow {
  position: absolute;
  width: 86%;
  aspect-ratio: 1;
  border-radius: 46% 54% 52% 48% / 50% 46% 54% 50%;
  background: radial-gradient(circle at 40% 35%, #FFFFFF 0%, var(--pink-wash) 45%, var(--pink-soft) 100%);
  box-shadow: var(--shadow-lg);
  animation: squish 9s ease-in-out infinite;
}
@keyframes squish {
  0%, 100% { border-radius: 46% 54% 52% 48% / 50% 46% 54% 50%; transform: rotate(0deg); }
  50%      { border-radius: 54% 46% 48% 52% / 46% 54% 46% 54%; transform: rotate(-3deg); }
}
.mascot__img {
  position: relative;
  width: 100%;
  max-width: 330px;
  height: auto;
  filter: drop-shadow(0 16px 26px rgba(93, 110, 147, .22));
  animation: bob 4.5s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* --- headline ----------------------------------------------------------- */
h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.6vw, 58px);
  /* Thai stacks vowels and tone marks above and below the baseline —
     it needs far more leading than Latin or the marks get clipped. */
  line-height: 1.42;
  font-weight: 700;
  margin: 0 0 22px;
  color: var(--slate-deep);
}
h1 em {
  font-style: normal;
  display: inline-block;
  white-space: nowrap;      /* Thai has no word spaces — stop mid-name breaks */
  padding: 0 .06em .1em;
  background: linear-gradient(100deg, var(--pink) 10%, #A46BFF 55%, var(--sky) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- coming soon badge -------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
  border: 1.5px solid var(--pink-soft);
  color: var(--pink);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .06em;
  line-height: 1.7;
  padding: 9px 22px 9px 17px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}
.badge__pulse {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--pink);
  animation: pulse 1.9s ease-in-out infinite;
  flex: none;
}
@keyframes pulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: .35; transform: scale(1.45); }
}

/* --- service entrances --------------------------------------------------- */
.intro {
  margin: -8px 0 0;
  font-size: 16.5px;
  color: #6E6889;
}
.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  max-width: 680px;
  margin: 22px auto 0;
}
.service {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  background: var(--white);
  border: 2px solid rgba(93, 110, 147, .10);
  border-radius: 20px;
  padding: 18px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.service--chat:hover { border-color: var(--sky); }
.service--review:hover { border-color: var(--pink); }
.service__icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}
.service--chat .service__icon { background: var(--sky-soft); color: #0C6E99; }
.service--review .service__icon { background: #FFF1F4; color: #BE123C; }
.service__text h2 {
  margin: 0 0 3px;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.45;
  color: var(--slate-deep);
}
.service__text p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #6E6889;
}
.service__arrow { flex: none; margin-left: auto; color: var(--pink); }
.service--chat .service__arrow { color: #0C6E99; }

/* --- responsive --------------------------------------------------------- */
@media (max-width: 640px) {
  .page { padding: 20px 18px 34px; }
  .mascot__img { max-width: 250px; }
  .badge { font-size: 14px; }
  .services { grid-template-columns: 1fr; max-width: 420px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* --- focus visibility --------------------------------------------------- */
a:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 8px;
}
