*, *::before, *::after { box-sizing: border-box; }
body { font-family: 'Sarabun', sans-serif; color: #1a1a2e; margin: 0; background: #f5f4f2; }
h1, h2, h3, .section-title { font-family: 'Montserrat', 'Sarabun', sans-serif; }

/* ── Variables ── */
:root {
  --brand:       #173988;
  --brand-mid:   #2048b0;
  --brand-dark:  #0f2560;
  --brand-light: #afcae8;
  --brand-xlight:#eef3fb;
  --accent:      #FF6B35;
  --accent-light:#FFF0EB;
}

/* ── Navbar ── */
.lp-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: background .3s, box-shadow .3s;
}
.lp-nav.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.lp-nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.lp-logo-img { height: 44px; width: auto; transition: opacity .2s; }
.nav-cta {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
  box-shadow: 0 4px 14px rgba(255,107,53,.4);
}
.nav-cta:hover { background: #e55a27; transform: translateY(-1px); color: #fff; }

/* ── Hero ── */
.hero-lp {
  min-height: 100vh;
  background: linear-gradient(135deg, #0b1e57 0%, #173988 50%, #2048b0 80%, #afcae8 100%);
  display: flex; align-items: center;
  padding: 100px 0 60px;
  position: relative; overflow: hidden;
}
.hero-lp::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 10% 60%, rgba(175,202,232,.2) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 15%, rgba(255,107,53,.08) 0%, transparent 45%);
}
.hero-lp::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,40 C360,80 1080,0 1440,40 L1440,80 L0,80 Z' fill='%23f5f4f2'/%3E%3C/svg%3E") no-repeat bottom/cover;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff; padding: 6px 16px;
  border-radius: 50px; font-size: .82rem; font-weight: 600;
  margin-bottom: 20px;
}
.hero-lp h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900; color: #fff; line-height: 1.2;
  margin-bottom: 20px;
}
.hero-lp h1 span { color: #7FDBCC; }
.hero-lp p {
  font-size: 1.1rem; color: rgba(255,255,255,.85);
  max-width: 520px; line-height: 1.7; margin-bottom: 32px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-hero-primary {
  background: var(--accent);
  color: #fff; border: none;
  padding: 14px 32px; border-radius: 50px;
  font-weight: 800; font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(255,107,53,.45);
  transition: all .2s;
}
.btn-hero-primary:hover { background: #e55a27; transform: translateY(-2px); color: #fff; }
.btn-hero-outline {
  background: transparent;
  color: #fff; border: 2px solid rgba(255,255,255,.5);
  padding: 14px 28px; border-radius: 50px;
  font-weight: 700; font-size: 1rem;
  text-decoration: none; transition: all .2s;
}
.btn-hero-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }
.hero-stats {
  display: flex; gap: 32px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat-num { font-size: 1.8rem; font-weight: 900; color: #fff; line-height: 1; }
.hero-stat-label { font-size: .78rem; color: rgba(255,255,255,.65); margin-top: 2px; }

/* hero image side */
.hero-img-wrap {
  position: relative;
}
.hero-card-float {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  padding: 20px 24px;
  color: #fff;
}
.hero-product-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 16px;
}
.hero-product-item {
  display: block;
  background: rgba(255,255,255,.1);
  border-radius: 14px; padding: 16px 12px;
  text-align: center; font-size: .82rem; color: rgba(255,255,255,.9);
  text-decoration: none; transition: background .2s;
}
.hero-product-item:hover {
  background: rgba(255,255,255,.22);
  color: #fff;
}
.hero-product-item .emoji { font-size: 2rem; display: block; margin-bottom: 6px; }
.hero-order-badge {
  background: rgba(255,255,255,.15);
  border-radius: 12px; padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
}
.hero-order-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}

/* ── Section Utility ── */
section { padding: 80px 0; }
.section-tag {
  display: inline-block;
  background: var(--brand-xlight);
  color: var(--brand);
  padding: 4px 14px; border-radius: 50px;
  font-size: .8rem; font-weight: 700;
  margin-bottom: 12px;
}
.section-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 900; color: #1a1a2e; margin-bottom: 12px; }
.section-sub { color: #666; font-size: 1rem; line-height: 1.7; max-width: 560px; }

/* ── Why ── */
.why-section { background: #f8f9fa; }
.why-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px;
  height: 100%;
  border-bottom: 4px solid transparent;
  transition: all .25s;
  box-shadow: 0 2px 16px rgba(0,0,0,.05);
}
.why-card:hover { border-bottom-color: var(--brand); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,109,119,.12); }
.why-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 16px;
}
.why-card h5 { font-weight: 800; font-size: 1rem; margin-bottom: 8px; color: #1a1a2e; }
.why-card p { font-size: .88rem; color: #777; line-height: 1.7; margin: 0; }

/* ── How it works ── */
.how-section { background: #fff; }
.step-line {
  display: flex; flex-direction: column; align-items: center;
  position: relative;
}
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-mid) 100%);
  color: #fff; font-size: 1.3rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,109,119,.35);
  position: relative; z-index: 1;
  margin-bottom: 16px;
}
.step-card {
  background: var(--brand-xlight);
  border-radius: 20px; padding: 24px;
  text-align: center; height: 100%;
  border: 1.5px solid rgba(0,109,119,.1);
}
.step-card .step-emoji { font-size: 2.4rem; display: block; margin-bottom: 12px; }
.step-card h5 { font-weight: 800; color: var(--brand-dark); margin-bottom: 8px; }
.step-card p { font-size: .88rem; color: #555; line-height: 1.6; margin: 0; }
.step-connector {
  display: none;
}
@media (min-width: 768px) {
  .step-connector {
    display: block;
    position: absolute; top: 28px;
    left: calc(50% + 36px); right: calc(-50% + 36px);
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--brand-light) 0, var(--brand-light) 6px, transparent 6px, transparent 14px);
  }
}

/* ── Categories ── */
.cat-section { background: #f8f9fa; }
.cat-card {
  display: block;
  background: #fff; border-radius: 18px;
  padding: 24px 20px; text-align: center;
  border: 1.5px solid #eee;
  transition: all .22s; cursor: pointer;
  color: inherit; text-decoration: none;
}
.cat-card:hover {
  border-color: var(--brand);
  background: var(--brand-xlight);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,109,119,.12);
}
.cat-emoji { font-size: 2.4rem; display: block; margin-bottom: 10px; }
.cat-card h6 { font-weight: 800; font-size: .9rem; color: #1a1a2e; margin-bottom: 4px; }
.cat-card small { color: #999; font-size: .75rem; }

/* ── Trust ── */
.trust-section {
  background: linear-gradient(135deg, #0b1e57 0%, #173988 50%, #2048b0 100%);
  color: #fff;
}
.trust-num { font-size: 2.4rem; font-weight: 900; color: #fff; line-height: 1; white-space: nowrap; }
.trust-label { font-size: .85rem; color: rgba(255,255,255,.7); margin-top: 4px; }
.trust-item {
  border-right: 1px solid rgba(255,255,255,.2);
  padding: 8px 0;
}
.trust-item:last-child { border-right: none; }

/* ── Testimonials ── */
.testi-section { background: #fff; }
.testi-card {
  background: var(--brand-xlight);
  border-radius: 20px; padding: 28px;
  height: 100%;
  border: 1.5px solid rgba(0,109,119,.08);
}
.testi-stars { color: #FFB800; font-size: .9rem; margin-bottom: 12px; }
.testi-text { color: #444; line-height: 1.7; font-size: .92rem; margin-bottom: 16px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-mid) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #fff; font-weight: 700;
  flex-shrink: 0;
}
.testi-name { font-weight: 700; font-size: .9rem; color: #1a1a2e; }
.testi-role { font-size: .75rem; color: #999; }

/* ── CTA Banner ── */
.cta-section {
  background: linear-gradient(135deg, #0b1e57 0%, #173988 60%, #2048b0 100%);
  padding: 80px 0;
}
.cta-section h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 900; color: #fff; margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,.8); font-size: 1rem; margin-bottom: 32px; }
.btn-cta-main {
  background: var(--accent);
  color: #fff; border: none;
  padding: 16px 40px; border-radius: 50px;
  font-weight: 800; font-size: 1.05rem;
  text-decoration: none; display: inline-block;
  box-shadow: 0 8px 24px rgba(255,107,53,.45);
  transition: all .2s;
}
.btn-cta-main:hover { background: #e55a27; transform: translateY(-2px); color: #fff; }
.btn-cta-line {
  background: #06C755;
  color: #fff; border: none;
  padding: 16px 32px; border-radius: 50px;
  font-weight: 700; font-size: 1rem;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  transition: all .2s;
}
.btn-cta-line:hover { background: #05a847; transform: translateY(-2px); color: #fff; }

/* ── Footer ── */
.lp-footer {
  background: #080f2a;
  color: rgba(255,255,255,.6);
  padding: 48px 0 24px;
}
.footer-logo-text { font-size: 1.1rem; font-weight: 900; color: #fff; }
.footer-logo-sub { font-size: .72rem; color: rgba(255,255,255,.4); }
.footer-link { color: rgba(255,255,255,.5); text-decoration: none; font-size: .85rem; display: block; margin-bottom: 8px; }
.footer-link:hover { color: var(--brand-light); }
.footer-divider { border-color: rgba(255,255,255,.08); margin: 32px 0 20px; }
.footer-bottom { font-size: .78rem; color: rgba(255,255,255,.3); }

/* ── Responsive ── */
@media (max-width: 768px) {
  section { padding: 56px 0; }
  .hero-lp { padding: 90px 0 80px; }
  .hero-img-wrap { margin-top: 40px; }
  .hero-stats { gap: 20px; }
  .trust-divider { display: none; }

  /* Trust section mobile fix */
  .trust-item {
    padding: 24px 12px;
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .trust-item:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,.12) !important;
  }
  .trust-item:nth-last-child(-n+2) {
    border-bottom: none;
  }
  .trust-num { font-size: 1.6rem; }
}
