/* BizKit shared theme — used by landing + feature pages */

html { scroll-behavior: smooth; }
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01";
}
:lang(th), .font-th { font-family: "Noto Sans Thai Looped", "Plus Jakarta Sans", sans-serif; }

/* ---------- Backgrounds ---------- */
.bg-hero {
  background:
    radial-gradient(1100px 500px at 85% -20%, #C7E8F7 0%, transparent 55%),
    radial-gradient(900px 500px at 10% 110%, #E9F4FB 0%, transparent 60%),
    linear-gradient(180deg, #EEF7FC 0%, #E3F0F9 100%);
}
.bg-testi {
  background:
    radial-gradient(700px 400px at 10% 10%, #C7E8F7 0%, transparent 60%),
    radial-gradient(600px 400px at 90% 90%, #D6EBF7 0%, transparent 60%),
    linear-gradient(180deg, #F3F8FC 0%, #E6F1F8 100%);
}

/* ---------- Buttons ---------- */
.btn-brand {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: #1C9DD8;
  color: #ffffff;
  padding: 0.85rem 1.65rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 30px -10px rgba(28, 157, 216, 0.45);
  transition: transform .25s cubic-bezier(.22,1,.36,1), background-color .25s, box-shadow .25s;
}
.btn-brand:hover { background: #1583B7; transform: translateY(-2px); box-shadow: 0 18px 34px -10px rgba(28, 157, 216, 0.5); }
.btn-brand:active { transform: translateY(0); }
.btn-brand:focus-visible { outline: 3px solid #5DBFE8; outline-offset: 2px; }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: transparent;
  color: #0F2233;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: 1.5px solid #CFE6F4;
  transition: transform .25s, color .25s, border-color .25s, background-color .25s;
}
.btn-ghost:hover { color: #1C9DD8; border-color: #1C9DD8; background: #E7F5FC; }
.btn-ghost:focus-visible { outline: 3px solid #5DBFE8; outline-offset: 2px; }

/* ---------- Pill email form ---------- */
.pill-form {
  display: flex;
  background: #ffffff;
  border-radius: 999px;
  padding: 6px;
  max-width: 420px;
  box-shadow: 0 10px 24px -10px rgba(15, 34, 51, 0.12);
}
.pill-form input {
  flex: 1; border: 0; outline: 0;
  padding: 0.7rem 1.25rem;
  font-size: 14px; background: transparent; color: #0F2233;
}
.pill-form input::placeholder { color: #9AA8BA; }
.pill-form button {
  background: #1C9DD8; color: #ffffff;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-weight: 600; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: 0; cursor: pointer;
  transition: background-color .25s, transform .25s;
}
.pill-form button:hover { background: #1583B7; transform: translateY(-1px); }
.pill-form button:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }

/* ---------- Section heading helpers ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1C9DD8;
}
.h-section {
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #0F2233;
}
.h-section-sub {
  color: #6A7B8E;
  font-size: 15px;
  line-height: 1.75;
}

/* ---------- Nav link ---------- */
.nav-link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: #2A3C52;
  padding: 0.5rem 0;
  transition: color .25s;
}
.nav-link:hover { color: #1C9DD8; }
.nav-link.active { color: #1C9DD8; font-weight: 600; }
.nav-link.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; border-radius: 2px; background: #1C9DD8;
}

/* ---------- Feature card (landing-style) ---------- */
.feat-card {
  text-align: center;
  padding: 1.25rem 1rem 1.5rem;
  border-radius: 18px;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s, background-color .35s;
}
.feat-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -20px rgba(15, 34, 51, 0.1); background: #fff; }
.feat-icon {
  width: 78px; height: 78px;
  margin: 0 auto 1.1rem;
  border-radius: 999px;
  background: #E7F5FC;
  display: flex; align-items: center; justify-content: center;
  color: #1C9DD8;
  transition: transform .45s cubic-bezier(.22,1,.36,1), background-color .35s, color .35s;
}
.feat-card:hover .feat-icon { background: #1C9DD8; color: #fff; transform: scale(1.06) rotate(-4deg); }

/* ---------- Pricing card ---------- */
.price-card {
  background: #ffffff;
  border: 1px solid #E5ECF3;
  border-radius: 24px;
  padding: 2rem 1.75rem;
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s, border-color .3s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -20px rgba(15,34,51,0.12); border-color: #CFE6F4; }
.price-card.featured { background: linear-gradient(180deg, #1C9DD8 0%, #1583B7 100%); color: #fff; border-color: #1C9DD8; box-shadow: 0 30px 60px -20px rgba(28,157,216,0.45); }
.price-card.featured .price-muted { color: #C7E8F7; }
.price-card.featured .tick { color: #ffffff; background: rgba(255,255,255,0.2); }
.price-card.featured .price-foot-btn { background: #ffffff; color: #1583B7; }
.price-card.featured .price-foot-btn:hover { background: #E7F5FC; }

/* ---------- Icons / ticks / crosses ---------- */
.tick {
  width: 20px; height: 20px; border-radius: 999px;
  background: #E7F5FC; color: #1C9DD8;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cross {
  width: 20px; height: 20px; border-radius: 999px;
  background: #F1F3F6; color: #A7B4C4;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ---------- FAQ ---------- */
details[open] summary .faq-plus { transform: rotate(45deg); }
details summary { list-style: none; cursor: pointer; }
details summary::-webkit-details-marker { display: none; }
.faq-plus { transition: transform .35s cubic-bezier(.22,1,.36,1); color: #1C9DD8; }

/* ---------- Subtle dotted-underline link ---------- */
.link-dotted {
  color: #1C9DD8;
  font-weight: 600;
  font-size: 14px;
  position: relative;
  display: inline-flex; align-items: center; gap: .35rem;
}
.link-dotted::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: currentColor; opacity: .4;
  transition: opacity .25s;
}
.link-dotted:hover::after { opacity: 1; }

/* ---------- Utilities & motion ---------- */
.no-tap { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline-offset: 3px; }
.anim-float      { animation: float 5s ease-in-out infinite; }
.anim-float-slow { animation: floatSlow 7s ease-in-out infinite; }

/* ---------- Marquee for logos ---------- */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.marquee-track {
  display: inline-flex;
  gap: 4rem;
  animation: marquee 48s linear infinite;
  white-space: nowrap;
  align-items: center;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Workflow step (feature pages) ---------- */
.step-node {
  width: 56px; height: 56px;
  border-radius: 999px;
  background: #ffffff;
  color: #1C9DD8;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  box-shadow: 0 10px 24px -12px rgba(28, 157, 216, 0.4);
  border: 1.5px solid #C7E8F7;
  transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.step-card:hover .step-node {
  background: #1C9DD8; color: #fff;
  transform: translateY(-3px) scale(1.05);
  border-color: #1C9DD8;
}
.step-dashed {
  background-image: linear-gradient(90deg, #92D4F0 50%, transparent 50%);
  background-size: 8px 2px;
  background-repeat: repeat-x;
  background-position: 0 50%;
  height: 2px;
}
