/* ===== NubKrang Marketing Site — paypers-inspired, friendly-premium ===== */

:root {
  /* brand */
  --ink: #0A1628;          /* navy text / dark */
  --ink-soft: #45576c;     /* secondary text */
  --ink-mute: #8193a7;     /* muted */
  --mint: #00E5B0;         /* primary CTA */
  --mint-press: #00cba0;
  --mint-deep: #00b894;
  --teal: #00897B;         /* links / accent */
  --amber: #F2A100;
  --amber-soft: #FFB627;

  /* surfaces */
  --bg: #ffffff;
  --bg-alt: #f4f8fb;       /* alt section */
  --bg-mint: #e3fbf3;      /* tint */
  --bg-amber: #fff5e2;
  --border: #e8eef4;
  --border-soft: #eef3f8;

  /* radius */
  --r-sm: 14px;
  --r: 20px;
  --r-lg: 28px;
  --r-xl: 36px;

  /* shadows (one consistent elevation scale) */
  --sh-1: 0 1px 2px rgba(10,22,40,.04), 0 2px 6px rgba(10,22,40,.04);
  --sh-2: 0 4px 10px rgba(10,22,40,.05), 0 10px 24px rgba(10,22,40,.06);
  --sh-3: 0 12px 28px rgba(10,22,40,.09), 0 28px 60px rgba(10,22,40,.10);
  --sh-mint: 0 10px 24px rgba(0,229,176,.34);

  /* spacing rhythm (8pt) */
  --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px;
  --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px; --s-20: 80px; --s-26: 104px;

  --maxw: 1160px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Anuphan', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.75;            /* Thai needs air for tone marks */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, .brand-name, .kpi-num, .step-num, .price-amt {
  font-family: 'Prompt', 'Anuphan', sans-serif;
  line-height: 1.22;
  letter-spacing: -.015em;
  font-weight: 700;
}
h2, h3 { text-wrap: balance; }
.section-lead, .hero-sub, .price-note, .problem-card p, .feature-text > p { text-wrap: pretty; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: rgba(0,229,176,.3); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 780px; }

.section { padding: var(--s-26) 0; }
@media (max-width: 720px) { .section { padding: var(--s-16) 0; } body { font-size: 16px; } }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-family: 'Prompt', sans-serif; font-weight: 600;
  border-radius: 999px; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .22s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap; line-height: 1;
}
.btn:active { transform: translateY(0) scale(.97); }
.btn:focus-visible { outline: 3px solid rgba(0,137,123,.45); outline-offset: 2px; }
.btn-sm { padding: 10px 18px; font-size: 14.5px; }
.btn-lg { padding: 16px 30px; font-size: 17px; }
.btn-block { width: 100%; padding: 13px 20px; font-size: 15px; margin-top: auto; }

.btn-primary {
  background: linear-gradient(180deg, var(--mint), var(--mint-deep));
  color: var(--ink); box-shadow: var(--sh-mint);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(0,229,176,.45); }

.btn-ghost { background: #fff; color: var(--ink); border-color: var(--border); box-shadow: var(--sh-1); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--sh-2); }

/* ===== Navbar ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,22,40,.86);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.nav.scrolled { border-color: rgba(255,255,255,.1); box-shadow: 0 6px 24px rgba(0,0,0,.28); background: rgba(10,22,40,.94); }
.nav .brand-name { color: #fff; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 32px; height: 32px; object-fit: contain; }
.brand-name { font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.nav .btn-primary { flex-shrink: 0; box-shadow: 0 2px 10px rgba(0,0,0,.22); }
.nav .btn-primary:hover { box-shadow: 0 6px 16px rgba(0,229,176,.4); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 15px; color: rgba(255,255,255,.74); font-weight: 500; position: relative; transition: color .15s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--mint); border-radius: 2px; transition: width .22s ease; }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
@media (max-width: 860px) { .nav-links { display: none; } }
.nav-cta-extra { margin-left: .28em; }
@media (max-width: 420px) { .nav-cta-extra { display: none; } }

/* ===== Hero ===== */
.hero { position: relative; padding: 78px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero-copy, .hero-visual, .feature-text, .feature-visual { min-width: 0; }   /* prevent grid blowout from nowrap children */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--sh-1);
  color: var(--teal); font-weight: 600; font-size: 14px; padding: 8px 16px;
  border-radius: 999px; margin-bottom: 26px;
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(0,229,176,.22); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(0,229,176,.22); } 50% { box-shadow: 0 0 0 7px rgba(0,229,176,.08); } }

.hero h1 { font-size: clamp(33px, 4.8vw, 54px); font-weight: 700; letter-spacing: -.025em; }
.hero h1 .hl {
  position: relative; white-space: nowrap; color: var(--ink); z-index: 0;
}
.hero h1 .hl::before {
  content: ""; position: absolute; z-index: -1; left: -.08em; right: -.08em;
  bottom: .06em; height: .42em;
  background: linear-gradient(105deg, rgba(0,229,176,.55), rgba(0,229,176,.85));
  border-radius: 6px; transform: rotate(-1.2deg);
}
.hero-sub { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-soft); margin: 26px 0 32px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-proof { display: flex; align-items: center; gap: 9px; margin-top: 22px; font-size: 14.5px; color: var(--ink-mute); }
.hero-proof svg { flex-shrink: 0; }

.hero-visual { display: flex; justify-content: center; }

/* phone frame + floating chips */
.phone-frame { position: relative; }

/* realistic in-phone mockup of the LINE check-in feature */
.phone-mock {
  width: 290px; aspect-ratio: 1000 / 2040;
  background: linear-gradient(160deg, #16263f, #0A1628);
  border-radius: 42px; padding: 9px; box-shadow: var(--sh-3);
  position: relative;
}
.phone-notch { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 92px; height: 22px; background: #0A1628; border-radius: 12px; z-index: 3; }
.phone-screen { height: 100%; background: #e9eef3; border-radius: 34px; overflow: hidden; display: flex; flex-direction: column; }
.chat-top { display: flex; align-items: center; gap: 9px; padding: 30px 16px 12px; background: #fff; border-bottom: 1px solid #eef2f6; }
.chat-back { color: #9aabbf; font-size: 22px; line-height: 1; }
.chat-ava { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--mint), var(--teal)); color: #fff; font-family: 'Prompt'; font-weight: 700; font-size: 15px; display: grid; place-items: center; flex-shrink: 0; }
.chat-name { font-family: 'Prompt'; font-weight: 600; font-size: 14px; color: var(--ink); display: flex; flex-direction: column; line-height: 1.25; }
.chat-name small { font-weight: 400; font-size: 9.5px; color: #16b981; letter-spacing: -.02em; }
.chat-body { flex: 1; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.chat-card { background: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 6px 16px rgba(10,22,40,.08); }
.cc-title { font-family: 'Prompt'; font-weight: 700; font-size: 15px; color: var(--ink); }
.cc-sub { font-size: 10.5px; color: #8a9bb0; margin-top: 3px; }
.cc-divider { height: 1px; background: #eef2f6; margin: 12px 0; }
.cc-row { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 7px; }
.cc-row span { color: var(--teal); font-weight: 600; }
.cc-row b { color: var(--ink); font-weight: 600; }
.cc-btns { display: flex; gap: 8px; margin-top: 13px; }
.cc-btn { flex: 1; text-align: center; padding: 9px 0; border-radius: 9px; font-family: 'Prompt'; font-weight: 600; font-size: 12.5px; }
.cc-btn-mint { background: linear-gradient(180deg, var(--mint), var(--mint-deep)); color: var(--ink); }
.cc-btn-ghost { background: #f0f4f8; color: #5a6b7e; }
.chat-confirm { align-self: flex-end; background: var(--bg-mint); color: var(--teal); font-size: 11.5px; font-weight: 600; padding: 7px 13px; border-radius: 13px 13px 4px 13px; }
@media (max-width: 420px) { .phone-mock { width: 256px; } }

/* hero real-screenshot slideshow */
.phone-shot {
  width: 290px; aspect-ratio: 1179 / 2556;
  background: linear-gradient(160deg, #1b2d47, #0A1628);
  border-radius: 46px; padding: 7px; box-shadow: var(--sh-3);
}
.shot-viewport { width: 100%; height: 100%; border-radius: 40px; overflow: hidden; background: #0A1628; }
.shot-track { display: flex; width: 500%; height: 100%; animation: heroSlides 22s infinite; }
.shot-track img { width: 20%; height: 100%; object-fit: cover; object-position: top center; }
@keyframes heroSlides {
  0%, 16%   { transform: translateX(0); }
  20%, 36%  { transform: translateX(-20%); }
  40%, 56%  { transform: translateX(-40%); }
  60%, 76%  { transform: translateX(-60%); }
  80%, 100% { transform: translateX(-80%); }
}
@media (prefers-reduced-motion: reduce) { .shot-track { animation: none; } }
@media (max-width: 420px) { .phone-shot { width: 256px; } }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--sh-3);
  border-radius: 16px; padding: 11px 15px; font-size: 13px; line-height: 1.35;
  color: var(--ink-soft); z-index: 3; animation: floaty 5s ease-in-out infinite;
}
.float-chip b { color: var(--ink); font-family: 'Prompt'; font-size: 14px; }
.chip-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.chip-ic-mint { background: var(--bg-mint); color: var(--teal); }
.chip-ic-amber { background: var(--bg-amber); color: var(--amber); }
.chip-a { top: 16%; left: -38px; }
.chip-b { bottom: 14%; right: -42px; animation-delay: 1.4s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* decorative gradient field */
.blob { position: absolute; border-radius: 50%; filter: blur(10px); z-index: -1; }
.blob-1 { width: 440px; height: 440px; background: radial-gradient(circle, rgba(0,229,176,.30), transparent 68%); top: -110px; right: -70px; }
.blob-2 { width: 360px; height: 360px; background: radial-gradient(circle, rgba(242,161,0,.16), transparent 68%); bottom: -140px; left: -90px; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: radial-gradient(rgba(10,22,40,.035) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-proof { justify-content: center; }
  .chip-a { left: -8px; } .chip-b { right: -8px; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: clamp(30px, 8.6vw, 40px); }
  .hero h1 .hl { white-space: normal; }
  .hero-cta { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-cta .btn { width: 100%; white-space: normal; }
  .hero-proof { flex-wrap: wrap; justify-content: center; text-align: center; }
}
@media (max-width: 420px) { .float-chip { transform: scale(.86); } .chip-a { left: -2px; } .chip-b { right: -2px; } }

/* ===== Image placeholders ===== */
.img-placeholder {
  width: 100%; border: 2px dashed #c2d4e2; border-radius: var(--r);
  background: linear-gradient(140deg, #f3f9fc, #eaf4f9);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 24px; color: var(--ink-mute); position: relative;
}
.img-placeholder::before {
  content: ""; position: absolute; top: 14px; left: 14px;
  width: 26px; height: 26px; border-radius: 8px; background: var(--mint); opacity: .55;
}
.ph-label { font-size: 13px; line-height: 1.55; max-width: 82%; }
.ph-label b { color: var(--teal); }
.ph-phone { aspect-ratio: 9 / 16; max-width: 290px; box-shadow: var(--sh-3); border-style: solid; border-color: #fff; border-width: 10px; background: #f3f9fc; border-radius: 32px; }
.ph-wide { aspect-ratio: 4 / 3; box-shadow: var(--sh-2); transition: transform .3s ease, box-shadow .3s ease; }
.feature-visual:hover .ph-wide { transform: translateY(-4px); box-shadow: var(--sh-3); }

/* ===== Feature screen mockups (HTML/CSS, replace placeholders) ===== */
.feat-screen {
  width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden;
  box-shadow: var(--sh-2); display: flex; align-items: center; justify-content: center;
  padding: 30px; background: linear-gradient(150deg, #e6f6f0, #eef3f8);
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-visual:hover .feat-screen { transform: translateY(-4px); box-shadow: var(--sh-3); }
.scr { width: 100%; max-width: 320px; background: #fff; border-radius: 18px; box-shadow: 0 14px 32px rgba(10,22,40,.14); overflow: hidden; }
.scr-hd { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid #eef2f6; font-family: 'Prompt'; font-weight: 700; font-size: 13.5px; color: var(--ink); }
.scr-hd svg { color: var(--teal); flex-shrink: 0; }
.scr-badge { margin-left: auto; background: var(--bg-mint); color: var(--teal); font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; font-family: 'Anuphan'; }
.scr-bd { padding: 12px 16px; }

/* F1 client list */
.cl-row { display: flex; align-items: center; gap: 11px; padding: 9px 0; }
.cl-row + .cl-row { border-top: 1px solid #f2f5f8; }
.cl-ava { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--bg-mint), #d3f0e8); color: var(--teal); font-family: 'Prompt'; font-weight: 700; font-size: 14px; display: grid; place-items: center; flex-shrink: 0; }
.cl-info { flex: 1; min-width: 0; }
.cl-name { font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.cl-bar { height: 6px; border-radius: 3px; background: #eef2f6; overflow: hidden; }
.cl-bar span { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--mint), var(--teal)); }
.cl-num { font-size: 12.5px; font-weight: 700; color: var(--teal); font-family: 'Prompt'; flex-shrink: 0; }
.cl-row.low .cl-bar span { background: var(--amber); }
.cl-row.low .cl-num { color: var(--amber); }

/* F2 AI chat */
.scr-chat .scr-bd { display: flex; flex-direction: column; gap: 8px; background: #eef2f6; }
.msg { max-width: 82%; font-size: 12.5px; line-height: 1.55; padding: 9px 12px; border-radius: 14px; }
.msg-user { align-self: flex-end; background: linear-gradient(180deg, var(--mint), var(--mint-deep)); color: var(--ink); border-bottom-right-radius: 4px; font-weight: 500; }
.msg-ai { align-self: flex-start; background: #fff; color: var(--ink); border-bottom-left-radius: 4px; box-shadow: 0 2px 6px rgba(10,22,40,.06); }

/* F3 timeline */
.tl-row { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; }
.tl-time { font-family: 'Prompt'; font-weight: 700; font-size: 12.5px; color: #8a9bb0; width: 44px; flex-shrink: 0; }
.tl-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); margin-top: 4px; flex-shrink: 0; box-shadow: 0 0 0 3px var(--bg-mint); }
.tl-name { font-size: 13.5px; font-weight: 600; color: var(--ink); }

/* F4 client view — ring + before/after photos */
.scr-client .scr-bd { text-align: center; }
.scr-pill { margin-left: auto; background: var(--bg-mint); color: var(--teal); font-size: 10.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; font-family: 'Anuphan'; }
.cv-ring { width: 124px; height: 124px; border-radius: 50%; margin: 2px auto 8px; background: conic-gradient(var(--mint) calc(var(--pct, 58) * 1%), #e9eef3 0); display: grid; place-items: center; }
.cv-ring-inner { width: 96px; height: 96px; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.cv-ring-num { font-family: 'Prompt'; font-weight: 700; font-size: 36px; color: var(--ink); line-height: 1; }
.cv-ring-sub { font-size: 12px; color: var(--ink-mute); margin-top: 2px; font-weight: 600; }
.cv-cap { font-size: 12px; color: var(--ink-mute); font-weight: 500; margin-bottom: 12px; }
.cv-ba { display: flex; gap: 8px; }
.cv-thumb { flex: 1; margin: 0; border-radius: 10px; overflow: hidden; position: relative; aspect-ratio: 1 / 1; }
.cv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cv-thumb figcaption { position: absolute; top: 6px; left: 6px; background: rgba(10,22,40,.6); color: #fff; font-size: 9px; font-weight: 600; padding: 2px 7px; border-radius: 5px; }

/* F5 dashboard / overview */
.ds-rev { background: linear-gradient(140deg, #11233b, #0A1628); border-radius: 12px; padding: 13px 14px; margin-bottom: 10px; }
.ds-rev span { font-size: 10.5px; color: rgba(255,255,255,.6); display: block; }
.ds-rev b { font-family: 'Prompt'; font-weight: 700; font-size: 24px; color: #fff; display: block; margin: 1px 0 2px; }
.ds-rev em { font-style: normal; font-size: 11px; color: var(--mint); font-weight: 600; }
.ds-stats { display: flex; gap: 10px; margin-bottom: 12px; }
.ds-stat { flex: 1; background: #f4f8fb; border-radius: 11px; padding: 10px 12px; }
.ds-stat span { font-size: 10.5px; color: var(--ink-mute); display: block; }
.ds-stat b { font-family: 'Prompt'; font-weight: 700; font-size: 18px; color: var(--ink); display: block; margin-top: 2px; }
.ds-chart { display: flex; align-items: flex-end; gap: 8px; height: 62px; }
.ds-chart i { flex: 1; background: linear-gradient(180deg, var(--mint), var(--teal)); border-radius: 5px 5px 0 0; }

/* ===== KPI strip ===== */
.kpi { padding: 0 0 var(--s-8); margin-top: -10px; }
.kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.kpi-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: 28px 24px; text-align: center; box-shadow: var(--sh-1);
  transition: transform .2s ease, box-shadow .2s ease;
}
.kpi-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.kpi-num { font-size: 28px; font-weight: 700; background: linear-gradient(120deg, var(--ink), var(--teal)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.kpi-label { font-size: 14.5px; color: var(--ink-soft); margin-top: 6px; }
@media (max-width: 720px) { .kpi-grid { grid-template-columns: 1fr; } }

/* ===== Section heads ===== */
.section-head { text-align: center; max-width: 700px; margin: 0 auto var(--s-12); }
.kicker { display: inline-block; color: var(--teal); font-weight: 600; font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(28px, 3.8vw, 42px); letter-spacing: -.02em; }
.section-lead { color: var(--ink-soft); font-size: 17.5px; margin-top: 16px; }

/* ===== Problem (bento-ish) ===== */
.problem { background: var(--bg-alt); }
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.problem-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: 28px 24px; box-shadow: var(--sh-1);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: #fcd98a; }
.problem-icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--bg-amber); color: var(--amber); margin-bottom: 18px;
}
.problem-card h3 { font-size: 17.5px; margin-bottom: 9px; font-weight: 600; }
.problem-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; }
@media (max-width: 900px) { .problem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .problem-grid { grid-template-columns: 1fr; } }

/* ===== Features ===== */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  margin-bottom: 96px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse .feature-text { order: 2; }
.feature-badge {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--bg-mint), #d3f7ea); color: var(--teal);
  margin-bottom: 20px; box-shadow: inset 0 0 0 1px rgba(0,137,123,.12);
}
.feat-tag { display: inline-block; color: var(--teal); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.feature-text h3 { font-size: clamp(23px, 2.7vw, 30px); margin-bottom: 14px; letter-spacing: -.02em; }
.feature-text > p { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 22px; }
.feat-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.feat-list li { position: relative; padding-left: 32px; font-size: 15.5px; color: var(--ink); }
.feat-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 21px; height: 21px;
  border-radius: 50%; background: var(--bg-mint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2300897B' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
@media (max-width: 800px) {
  .feature-row { grid-template-columns: 1fr; gap: 30px; margin-bottom: 64px; }
  .feature-row.reverse .feature-text { order: 0; }
}

/* ===== How it works ===== */
.how { background: var(--bg-alt); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.step {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: 36px 28px 30px; text-align: left; box-shadow: var(--sh-1); overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.step::after {
  content: attr(data-n); position: absolute; right: 14px; top: 2px;
  font-family: 'Prompt'; font-weight: 700; font-size: 78px; line-height: 1;
  color: rgba(0,229,176,.10); letter-spacing: -.04em;
}
.step-num {
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(180deg, var(--mint), var(--mint-deep)); color: var(--ink);
  font-size: 21px; font-weight: 700; display: grid; place-items: center; margin-bottom: 18px;
  box-shadow: var(--sh-mint); position: relative; z-index: 1;
}
.step h3 { font-size: 19px; margin-bottom: 9px; font-weight: 600; }
.step p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; }
.how-cta { text-align: center; margin-top: var(--s-12); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ===== Pricing ===== */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; max-width: 980px; margin: 0 auto; }
.price-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--border); border-radius: var(--r);
  padding: 28px 22px; position: relative; box-shadow: var(--sh-1);
  transition: transform .22s ease, box-shadow .22s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.price-card.popular {
  border: 0; transform: translateY(-8px);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(160deg, var(--mint), var(--teal)) border-box;
  border: 2px solid transparent; box-shadow: 0 20px 44px rgba(0,229,176,.26);
}
.price-card.popular:hover { transform: translateY(-12px); }
.price-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(180deg, var(--mint), var(--mint-deep)); color: var(--ink);
  font-size: 12px; font-weight: 700; font-family: 'Prompt'; padding: 5px 16px;
  border-radius: 999px; box-shadow: var(--sh-mint); white-space: nowrap;
}
.price-name { font-size: 19px; margin-bottom: 10px; }
.price-amt { font-size: 30px; font-weight: 700; color: var(--ink); }
.price-amt span { font-size: 14px; font-weight: 500; color: var(--ink-mute); font-family: 'Anuphan'; }
.price-meta { font-size: 13.5px; color: var(--teal); font-weight: 600; margin: 7px 0 18px; }
.price-feat { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 4px; }
.price-note { text-align: center; max-width: 600px; margin: 32px auto 0; font-size: 14.5px; color: var(--ink-soft); }
.price-cta { text-align: center; margin-top: 18px; }
.price-feat li { position: relative; padding-left: 25px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }
.price-feat li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2300897B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
}
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; max-width: 460px; } .price-card.popular { transform: none; } .price-card.popular:hover { transform: translateY(-4px); } }

/* ===== Testimonials ===== */
.testimonials { background: var(--bg-alt); }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: 30px 26px; box-shadow: var(--sh-1); position: relative;
  transition: transform .22s ease, box-shadow .22s ease;
}
.quote-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.quote-card::before {
  content: "\201C"; position: absolute; top: 6px; right: 22px;
  font-family: 'Prompt'; font-size: 72px; color: rgba(0,229,176,.16); line-height: 1;
}
.quote-card p { font-size: 15.5px; color: var(--ink); margin-bottom: 22px; line-height: 1.75; position: relative; }
.quote-card figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-soft); }
.avatar-ph { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--bg-mint), var(--bg-amber)); flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(10,22,40,.05); }
.quote-card figcaption b { color: var(--ink); }
.ph-note { text-align: center; font-size: 13px; color: var(--ink-mute); margin-top: var(--s-6); font-style: italic; }
@media (max-width: 820px) { .quote-grid { grid-template-columns: 1fr; } }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 4px 22px; box-shadow: var(--sh-1); transition: border-color .2s, box-shadow .2s;
}
.faq-item[open] { border-color: rgba(0,137,123,.35); box-shadow: var(--sh-2); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600;
  font-size: 16.5px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; background: var(--teal); border-radius: 2px; transition: transform .25s ease; }
.faq-plus::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-plus::after { left: 7px; top: 0; width: 2px; height: 16px; }
.faq-item[open] .faq-plus::after { transform: scaleY(0); }
.faq-item[open] .faq-plus::before { transform: rotate(180deg); }
.faq-item p { padding: 0 0 20px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.75; }

/* ===== Final CTA ===== */
.cta-final { padding: var(--s-20) 0; }
.cta-box {
  background: radial-gradient(120% 140% at 80% -20%, #163763 0%, #0A1628 55%);
  border-radius: var(--r-xl); padding: 64px 44px; text-align: center; color: #fff;
  position: relative; overflow: hidden; box-shadow: var(--sh-3);
}
.cta-box::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 22px 22px;
}
.cta-box::after {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,176,.45), transparent 68%);
  top: -130px; right: -90px;
}
.cta-box h2 { font-size: clamp(28px, 3.8vw, 40px); color: #fff; position: relative; letter-spacing: -.02em; }
.cta-box > p { color: rgba(255,255,255,.82); font-size: 17.5px; margin: 16px 0 32px; position: relative; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 32px; position: relative; flex-wrap: wrap; }
.cta-qr { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.cta-qr img { width: 108px; height: 108px; border-radius: 14px; background: #fff; padding: 7px; box-shadow: var(--sh-2); }
.cta-qr span { font-size: 13px; color: rgba(255,255,255,.7); }

/* ===== Footer ===== */
.footer { background: #0A1628; color: rgba(255,255,255,.66); padding: 60px 0 30px; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-brand .brand-logo { width: 36px; height: 36px; display: inline-block; vertical-align: middle; }
.footer-brand .brand-name { color: #fff; margin-left: 9px; }
.footer-tag { font-size: 14.5px; margin-top: 14px; max-width: 300px; line-height: 1.7; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 28px; align-content: flex-start; max-width: 480px; }
.footer-links a { font-size: 14.5px; transition: color .15s; }
.footer-links a:hover { color: var(--mint); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,.1); margin-top: var(--s-10); padding-top: var(--s-6);
  font-size: 13px; flex-wrap: wrap; gap: 10px;
}
.powered b { color: var(--mint); }

/* ===== Scroll reveal + stagger ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .eyebrow-dot, .float-chip { animation: none; }
  html { scroll-behavior: auto; }
}
