:root {
  --ink: #0b1b2b;
  --muted: #5c7085;
  --accent: #1878f0;
  --accent-dark: #0b5fd0;
  --sky-top: #cfe4ff;
  --sky-bot: #edf3fd;
  --line: #e5ecf5;
  --radius: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans Thai", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }

/* ── Sky ──────────────────────────────────────────────── */

.sky {
  position: relative;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bot) 72%, var(--sky-bot) 100%);
  padding-bottom: 90px;
  overflow: hidden;
}

.clouds { position: absolute; inset: 0; pointer-events: none; }

/* Built from overlapping round shapes on a shared base so the bumps merge
   into one silhouette rather than reading as separate circles. */
.cloud {
  position: absolute;
  background: #fff;
  border-radius: 100px;
  opacity: .75;
  animation: drift linear infinite;
}
.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 50%;
}
.cloud::before { width: 58%; height: 165%; left: 12%; bottom: 22%; }
.cloud::after  { width: 42%; height: 130%; right: 14%; bottom: 20%; }

.c1 { width: 150px; height: 44px; top: 12%;  animation-duration: 95s;  animation-delay: -10s; }
.c2 { width: 100px; height: 30px; top: 32%;  animation-duration: 130s; animation-delay: -60s; opacity: .55; }
.c3 { width: 190px; height: 54px; top: 56%;  animation-duration: 110s; animation-delay: -35s; opacity: .5; }
.c4 { width:  80px; height: 26px; top: 74%;  animation-duration: 150s; animation-delay: -95s; opacity: .45; }

@keyframes drift {
  from { transform: translateX(-260px); }
  to   { transform: translateX(calc(100vw + 260px)); }
}

@media (prefers-reduced-motion: reduce) {
  .cloud { animation: none; }
  .c1 { left: 6%; } .c2 { left: 68%; } .c3 { left: 30%; } .c4 { left: 85%; }
}

/* ── Nav ──────────────────────────────────────────────── */

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  text-decoration: none;
}
.brand img { border-radius: 9px; }
.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 999px;
  transition: background .18s, color .18s;
}
.nav-link:hover { background: rgba(255,255,255,.7); color: var(--ink); }

/* ── Hero ─────────────────────────────────────────────── */

.hero {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 44px 0 20px;
}
.hero-logo {
  border-radius: 30px;
  box-shadow: 0 18px 40px rgba(11, 95, 208, .18);
}
.hero h1 {
  font-size: clamp(30px, 6vw, 52px);
  line-height: 1.28;
  font-weight: 700;
  margin-top: 28px;
  letter-spacing: -.01em;
}
.hero h1 em { font-style: normal; color: var(--accent-dark); }
.lede {
  max-width: 30em;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: clamp(15px, 2.2vw, 18px);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.chip {
  background: rgba(255,255,255,.85);
  border: 1px solid #fff;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  color: #24445f;
}
.soon {
  margin-top: 26px;
  font-size: 14px;
  color: var(--muted);
}

.wave { display: block; position: absolute; bottom: -1px; left: 0; width: 100%; height: 70px; }

/* ── Sections ─────────────────────────────────────────── */

.section { padding: 76px 0; }
.section h2 {
  font-size: clamp(24px, 4vw, 34px);
  text-align: center;
  font-weight: 700;
}
.sub { text-align: center; color: var(--muted); margin-top: 8px; }

.band { background: var(--sky-bot); }

/* ── Steps ────────────────────────────────────────────── */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 44px;
  counter-reset: step;
}
.steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}
.steps h3, .card h3 { font-size: 18px; margin-top: 16px; font-weight: 700; }
.steps p, .card p { color: var(--muted); margin-top: 8px; font-size: 15px; }

/* ── Feature cards ────────────────────────────────────── */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 44px;
}
.card {
  background: #fff;
  border: 1px solid #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
}
.ico {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(24,120,240,.1);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.ico svg { width: 23px; height: 23px; }

/* ── FAQ ──────────────────────────────────────────────── */

.faq { max-width: 720px; margin: 40px auto 0; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 22px;
  margin-bottom: 12px;
  background: #fff;
}
.faq summary {
  cursor: pointer;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
  flex: none;
}
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin-top: 12px; font-size: 15px; }

/* ── Footer ───────────────────────────────────────────── */

.footer { background: var(--sky-bot); border-top: 1px solid var(--line); }
.foot-inner { padding: 44px 0; text-align: center; }
.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.foot-brand img { border-radius: 8px; }
.foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin-top: 20px;
}
.foot-links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.foot-links a:hover { color: var(--accent); text-decoration: underline; }
.copy { margin-top: 22px; font-size: 13px; color: #8296a9; }

@media (max-width: 560px) {
  .section { padding: 56px 0; }
  .hero { padding-top: 28px; }
  .nav-link { display: none; }
}
