
:root {
  --bg-0: #FBF9FF;
  --bg-1: #F6F2FF;
  --card: #FFFFFF;
  --text: #1E1B3A;
  --text-muted: #635E7A;
  --primary: #7C3AED;
  --primary-dark: #5B21B6;
  --blue: #2563EB;
  --pink: #EC4899;
  --border: #E7E1FB;
  --success: #16A34A;
  --success-bg: #ECFDF3;
  --shadow-card: 0 20px 50px -20px rgba(124, 58, 237, 0.28);
  --shadow-soft: 0 8px 24px -12px rgba(30, 27, 58, 0.14);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Noto Sans Lao", "Noto Sans Thai", "Noto Sans", sans-serif;
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Ambient animated background ─────────────────────────────────────── */
.bg-orbs {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  will-change: transform;
}
.orb-1 { width: 420px; height: 420px; top: -120px; left: -80px; background: radial-gradient(circle, #BFDBFE, transparent 70%); animation: float-a 18s ease-in-out infinite; }
.orb-2 { width: 380px; height: 380px; top: 10%; right: -140px; background: radial-gradient(circle, #DDD6FE, transparent 70%); animation: float-b 22s ease-in-out infinite; }
.orb-3 { width: 320px; height: 320px; bottom: -100px; left: 8%; background: radial-gradient(circle, #FBCFE8, transparent 70%); animation: float-c 16s ease-in-out infinite; }
.orb-4 { width: 360px; height: 360px; bottom: 5%; right: 6%; background: radial-gradient(circle, #C4B5FD, transparent 70%); animation: float-a 20s ease-in-out infinite reverse; }

@keyframes float-a { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,40px) scale(1.08); } }
@keyframes float-b { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-40px,25px) scale(1.05); } }
@keyframes float-c { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(25px,-30px) scale(1.1); } }

/* Giant faded brand watermark behind the hero — premium marketplaces (see
   Reference Image 2) anchor the page with a huge, barely-there logo mark
   instead of leaving the background empty. Purely decorative. */
.watermark {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-6deg);
  width: min(760px, 92vw);
  height: auto;
  opacity: 0.06;
  z-index: -1;
  pointer-events: none;
  user-select: none;
}

@media (prefers-reduced-motion: reduce) {
  .orb { animation: none !important; }
  * { scroll-behavior: auto !important; }
}

/* ── Header ───────────────────────────────────────────────────────────── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0 8px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; }
.logo-box {
  width: 44px; height: 44px; border-radius: 13px; overflow: hidden;
  background: #FFFFFF;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
  padding: 6px;
}
.logo-box img { width: 100%; height: 100%; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.wordmark {
  font-family: "Noto Sans", sans-serif;
  font-weight: 800;
  font-size: 19px;
  background: linear-gradient(90deg, var(--blue), var(--primary) 60%, var(--pink));
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .wordmark { animation: none; } }
@keyframes shimmer { to { background-position: 200% center; } }
.tagline { font-size: 11.5px; color: var(--text-muted); font-weight: 500; }

.verified-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--success-bg); color: var(--success);
  border: 1px solid rgba(22,163,74,0.18);
  padding: 7px 13px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700;
}
.verified-pill svg { width: 15px; height: 15px; }

main { position: relative; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { padding: 28px 0 8px; }
.hero-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 32px 40px;
  text-align: center;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  animation: rise 700ms var(--ease) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .hero-card { animation: none; } }

.hero-card::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(37,99,235,0.35), rgba(124,58,237,0.15), rgba(236,72,153,0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}

.category-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-1); color: var(--primary-dark);
  padding: 8px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 700; margin-bottom: 22px;
}
.category-badge svg { width: 18px; height: 18px; color: var(--primary); }

.hero-title {
  font-size: clamp(32px, 6vw, 46px);
  font-weight: 800; margin: 0 0 8px; line-height: 1.3;
  color: var(--text);
}
.hero-sub { font-size: 16px; color: var(--text-muted); font-weight: 600; margin: 0 0 18px; }
.hero-value {
  max-width: 460px; margin: 0 auto 30px;
  font-size: 15px; color: var(--text-muted); line-height: 1.75;
}

.decor { display: flex; justify-content: center; gap: 14px; margin-bottom: 30px; }
.decor span {
  width: 46px; height: 46px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-1); color: var(--primary);
}
.decor span svg { width: 22px; height: 22px; }
.decor span:nth-child(2) { transform: translateY(-8px); background: #FCE7F3; color: var(--pink); }
.decor span:nth-child(3) { background: #DBEAFE; color: var(--blue); }

.cta-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; max-width: 360px;
  padding: 17px 24px; border: none; border-radius: 16px;
  background: linear-gradient(120deg, var(--blue), var(--primary));
  color: #fff; font-size: 16px; font-weight: 800;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 14px 30px -10px rgba(124, 58, 237, 0.55);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.cta-button:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(124, 58, 237, 0.62); }
.cta-button:active { transform: translateY(0); }
.cta-button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.cta-button svg { width: 19px; height: 19px; }

.cta-hint { margin: 14px 0 0; font-size: 12.5px; color: var(--text-muted); }

/* ── Language content ─────────────────────────────────────────────────── */
.section { padding: 46px 0; }
.section-head { text-align: center; max-width: 560px; margin: 0 auto 28px; }
.section-title { font-size: clamp(21px, 3.4vw, 27px); font-weight: 800; margin: 0 0 8px; }
.section-sub { font-size: 14.5px; color: var(--text-muted); margin: 0; }

.lang-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .lang-grid { grid-template-columns: 1fr; } }

.lang-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 24px 22px;
  box-shadow: var(--shadow-soft);
  opacity: 0; transform: translateY(14px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.lang-card.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .lang-card { opacity: 1; transform: none; } }

.lang-tag {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 22px; border-radius: 6px;
  background: var(--bg-1); color: var(--primary-dark);
  font-size: 11px; font-weight: 800; letter-spacing: 0.4px;
}
.lang-name { font-size: 13.5px; font-weight: 700; color: var(--text-muted); margin: 10px 0 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.lang-card p { margin: 0; font-size: 15px; color: var(--text); }

/* ── Benefits ─────────────────────────────────────────────────────────── */
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .benefits-grid { grid-template-columns: 1fr; } }

.benefit-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 22px 18px; text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
  opacity: 0; transform: translateY(14px);
}
.benefit-card.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .benefit-card { opacity: 1; transform: none; } }
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.benefit-icon {
  width: 46px; height: 46px; border-radius: 13px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-1); color: var(--primary);
}
.benefit-icon svg { width: 22px; height: 22px; }
.benefit-card h3 { font-size: 14.5px; font-weight: 700; margin: 0 0 6px; }
.benefit-card p { font-size: 12.5px; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* ── Trust ────────────────────────────────────────────────────────────── */
.trust-card {
  background: linear-gradient(135deg, #F5F3FF, #FDF2F8);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
}
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 24px; }
@media (max-width: 640px) { .trust-list { grid-template-columns: 1fr; } }
.trust-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; }
.trust-list svg { width: 20px; height: 20px; color: var(--success); flex-shrink: 0; margin-top: 1px; }

/* ── Bottom CTA ───────────────────────────────────────────────────────── */
.cta-bottom { text-align: center; padding: 12px 0 8px; }
.cta-bottom .cta-button { max-width: 420px; margin: 0 auto; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 12.5px;
}
.site-footer .wordmark { font-size: 15px; margin-bottom: 6px; }

@media (max-width: 640px) {
  .hero-card { padding: 34px 20px 30px; border-radius: 22px; }
  .section { padding: 34px 0; }
}
