:root {
  --primary: #1b66ff;
  --primary-dark: #154fcc;
  --accent: #ffb100;
  --bg-main: #f5f7fb;
  --bg-main-light: #f3f6ff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --radius: 14px;
  --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.12);
}

/* Base */

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background-color: #ffffff;
  line-height: 1.6;
}

/* Logo & Brand */

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #ffffff, #1b66ff);
  box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.3);
}

.brand-text {
  font-weight: 700;
  font-size: 1rem;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Helper backgrounds */

.bg-main {
  background: radial-gradient(circle at top, #e0ecff, #ffffff);
}

.bg-main-light {
  background: linear-gradient(180deg, #f5f7ff 0%, #ffffff 70%);
}

/* Small shadow on sticky header for mobile/scroll */

.shadow-sm-sm {
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

/* Hero */

.hero-section {
  padding-top: 3rem;
  padding-bottom: 2.75rem;
}

.hero-kicker {
  font-size: 0.78rem;
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  background-color: #e0edff;
  color: var(--primary-dark);
}

.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background-color: var(--accent);
}

.hero-title {
  font-weight: 700;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
}

.hero-bullets li {
  font-size: 0.9rem;
  color: var(--text-main);
}

.hero-note {
  font-size: 0.85rem;
}

/* Hero card */

.hero-card {
  position: relative;
  background-color: #0f172a;
  color: #e2e8f0;
  border-radius: 1.25rem;
  padding: 1.2rem 1.1rem 0.9rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.35), transparent 65%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-card-header {
  position: relative;
  z-index: 1;
}

.hero-card-title {
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-card-sub {
  font-size: 0.78rem;
  color: #9ca3af;
}

.hero-card-pill {
  font-size: 0.72rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.hero-stat-row {
  position: relative;
  z-index: 1;
}

.stat {
  padding: 0.5rem 0.55rem;
  border-radius: 0.75rem;
  background-color: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.55);
}

.stat-label {
  font-size: 0.7rem;
  color: #9ca3af;
  margin-bottom: 0.15rem;
}

.stat-value {
  font-size: 1rem;
  font-weight: 700;
}

.stat-tag {
  font-size: 0.7rem;
  color: #a5b4fc;
  margin-top: 0.1rem;
}

.hero-card-foot {
  position: relative;
  z-index: 1;
}

/* Sections */

.section-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 0.3rem;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 640px;
}

/* Service cards */

.service-card {
  border-radius: var(--radius);
  border: 1px solid #e2e8f0;
}

.service-card .card-title {
  font-weight: 600;
}

.service-card .card-text {
  font-size: 0.86rem;
}

/* Steps */

.step {
  background-color: #ffffff;
  border-radius: var(--radius);
  border: 1px solid #e2e8f0;
  padding: 0.85rem;
  font-size: 0.86rem;
}

.step-number {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background-color: #eff6ff;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.step h3 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

/* Benefits */

.list-check {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 0;
  margin-bottom: 0;
}

.list-check li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.list-check span.icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background-color: #bbf7d0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #166534;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.result-box {
  background-color: #0f172a;
  color: #e2e8f0;
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.result-box p {
  font-size: 0.85rem;
}

.result-number {
  font-size: 1rem;
  font-weight: 700;
}

.result-label {
  font-size: 0.75rem;
  color: #cbd5f5;
}

/* Pricing */

.pricing-card {
  background-color: #ffffff;
  border-radius: var(--radius);
  border: 1px solid #e2e8f0;
  padding: 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-card.highlight {
  border-color: var(--primary);
  box-shadow: var(--shadow-soft);
}

.pricing-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
}

.pricing-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.pricing-price {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.35rem;
}

.pricing-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.pricing-list {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: left;
  padding-left: 0;
  margin-bottom: 0.75rem;
}

.pricing-list li + li {
  margin-top: 0.25rem;
}

.pricing-btn {
  font-size: 0.88rem;
}

/* FAQ */

.faq-item {
  background-color: #ffffff;
  border-radius: var(--radius);
  border: 1px solid #e2e8f0;
  padding: 0.9rem;
}

.faq-item h3 {
  font-size: 0.98rem;
  margin-bottom: 0.3rem;
}

.faq-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Contact */

.contact-info {
  font-size: 0.9rem;
}

.contact-note {
  font-size: 0.8rem;
}

.contact-form-wrapper {
  border-radius: var(--radius);
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  padding: 1rem;
}

.contact-form {
  border-radius: var(--radius);
}

.form-group {
  margin-bottom: 0.7rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.45rem 0.6rem;
  border-radius: 0.6rem;
  border: 1px solid #d1d5db;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
}

/* Footer */

.footer-sub {
  font-size: 0.82rem;
  color: #9ca3af;
  margin-top: 0.2rem;
}

.footer-links a {
  font-size: 0.8rem;
}

/* Mobile-first adjustments */

@media (min-width: 992px) {
  .hero-section {
    padding-top: 3.5rem;
    padding-bottom: 3rem;
  }

  .hero-title.h1-lg {
    font-size: 2.1rem;
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 2.2rem;
    padding-bottom: 2.2rem;
  }

  .hero-card {
    margin-top: 0.5rem;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.35rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-bullets li {
    font-size: 0.85rem;
  }

  .hero-card {
    padding: 0.95rem 0.9rem 0.8rem;
  }

  .stat {
    padding: 0.45rem 0.4rem;
  }

  .stat-value {
    font-size: 0.95rem;
  }

  .section-subtitle {
    font-size: 0.88rem;
  }

  .pricing-card {
    text-align: left;
  }

  .contact-form-wrapper {
    padding: 0.8rem;
  }
}




/* ปุ่มไลน์ลอยมุมขวาล่าง                  LINE  */
.line-floating {
  position: fixed;
  right: 10px;
  bottom: 10px;
  width: 50px;
  height: 50px;
  background: #06c755;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  z-index: 9999;
  animation: line-bounce 1.8s infinite ease-in-out;
}

.line-floating img {
  width: 100%;
  height: 100%;
}

/* เด้งดึ๋ง ๆ */
@keyframes line-bounce {
  0%   { transform: translateY(0); }
  20%  { transform: translateY(-8px); }
  40%  { transform: translateY(0); }
  60%  { transform: translateY(-4px); }
  80%  { transform: translateY(0); }
  100% { transform: translateY(0); }
}

/* มือถือ: ขยับขึ้นนิดหน่อย ไม่ให้ชนปุ่มเมนู */
@media (max-width: 576px) {
  .line-floating {
    right: 15px;
    bottom: 15px;
    width: 55px;
    height: 55px;
  }

  .line-floating img {
    width: 32px;
    height: 32px;
  }
}
