/* BeautySRP SEO landing pages */
:root {
  --lp-ink: #1f2937;
  --lp-muted: #64748b;
  --lp-brand: #2d89ef;
  --lp-brand-dark: #1c6bc8;
  --lp-accent: #dc2f22;
  --lp-ok: #047857;
  --lp-bg: #f8fafc;
  --lp-card: #ffffff;
  --lp-line: #e2e8f0;
  --lp-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  --lp-radius: 16px;
  --lp-trans: all 0.2s ease-in-out;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
#pos, #booking, #salon, #medical, #usp, #faq, #ask, #enterprise {
  scroll-margin-top: 88px;
}
body {
  margin: 0;
  font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", sans-serif;
  color: var(--lp-ink);
  background: var(--lp-bg);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; height: auto; }
a { color: var(--lp-brand-dark); text-decoration: none; transition: var(--lp-trans); }
a:hover { color: var(--lp-brand); }
.skip-link {
  position: absolute; left: -9999px; top: auto;
}
.skip-link:focus {
  left: 12px; top: 12px; z-index: 9999;
  background: #fff; padding: 10px 14px; border-radius: 8px;
}
.lp-container {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}
.lp-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--lp-line);
  backdrop-filter: blur(8px);
}
.lp-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 60px; gap: 12px;
}
.lp-logo img { display: block; max-height: 28px; width: auto; }
.lp-nav {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  font-size: 0.92rem; font-weight: 600;
}
.lp-nav-link {
  color: var(--lp-ink); min-height: 44px; display: inline-flex; align-items: center;
  transition: var(--lp-trans);
}
.lp-nav-link:hover, .lp-nav-link:focus-visible { color: var(--lp-brand-dark); }
.lp-nav-cta {
  background: #25d366; color: #fff !important;
  padding: 10px 16px; border-radius: 999px;
  min-height: 44px; display: inline-flex; align-items: center;
  transition: var(--lp-trans);
}
.lp-nav-cta:hover { filter: brightness(0.95); color: #fff !important; }

.lp-dropdown { position: relative; }
.lp-drop-btn {
  min-height: 44px; padding: 8px 12px; border: none; background: transparent;
  font: inherit; font-weight: 600; color: var(--lp-ink); cursor: pointer;
  border-radius: 8px; transition: var(--lp-trans);
}
.lp-drop-btn:hover, .lp-drop-btn:focus-visible {
  color: var(--lp-brand-dark); outline: 2px solid var(--lp-brand); outline-offset: 2px;
}
.lp-drop-menu {
  position: absolute; top: calc(100% + 4px); right: 0; min-width: 280px;
  max-width: min(320px, calc(100vw - 24px));
  background: #fff; border: 1px solid var(--lp-line); border-radius: 12px;
  box-shadow: var(--lp-shadow); padding: 6px 0; z-index: 60;
}
.lp-drop-menu a {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: 2px; min-height: 52px; padding: 10px 16px;
  color: #1f2937; font-weight: 600; white-space: normal;
  transition: var(--lp-trans); line-height: 1.25;
}
.lp-drop-menu a:hover, .lp-drop-menu a:focus-visible {
  background: #f8fafc; color: var(--lp-brand-dark);
}
.lp-drop-title { display: block; font-size: 0.95rem; color: inherit; }
.lp-drop-desc {
  display: block; font-size: 0.78rem; font-weight: 500;
  color: var(--lp-muted); line-height: 1.35;
}
.lp-dropdown.open .lp-drop-menu { display: block; }

/* Desktop: sticky promo under header; Mobile: static (avoid double sticky) */
.lp-promo-bar {
  background: #0f172a; color: #fff;
  border-bottom: 1px solid #1e293b;
}
@media (min-width: 768px) {
  .lp-promo-bar {
    position: sticky; top: 60px; z-index: 40;
  }
}
.lp-sticky-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px; padding: 10px 0; min-height: 52px;
}
.lp-sticky-copy { font-size: 0.92rem; }
.lp-sticky-copy strong { color: #fbbf24; font-size: 1.05rem; }
.lp-sticky-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.lp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 20px; border-radius: 12px;
  font-weight: 700; border: none; cursor: pointer;
  transition: var(--lp-trans); text-align: center;
}
.lp-btn-lg { min-height: 52px; padding: 14px 24px; font-size: 1.05rem; }
.lp-btn-primary { background: var(--lp-brand); color: #fff !important; }
.lp-btn-primary:hover { background: var(--lp-brand-dark); color: #fff !important; }
.lp-btn-wa { background: #25d366; color: #fff !important; }
.lp-btn-wa:hover { filter: brightness(0.95); color: #fff !important; }
.lp-btn-ghost {
  background: #fff; color: var(--lp-ink) !important;
  border: 1px solid var(--lp-line);
}
.lp-btn-ghost:hover { border-color: var(--lp-brand); color: var(--lp-brand-dark) !important; }
.lp-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

.lp-hero {
  background: linear-gradient(135deg, #dbeafe 0%, #ffffff 55%, #ecfeff 100%);
  padding: 40px 0 36px;
}
.lp-eyebrow {
  display: inline-block; font-size: 0.85rem; font-weight: 700;
  color: var(--lp-brand-dark); background: #eff6ff;
  border: 1px solid #bfdbfe; border-radius: 999px;
  padding: 6px 12px; margin-bottom: 12px;
}
.lp-hero h1 {
  margin: 0 0 12px; font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.25; color: #0f172a; max-width: 18em;
}
.lp-hero .lead {
  margin: 0 0 10px; font-size: 1.15rem; color: var(--lp-ink); max-width: 40rem;
}
.lp-hero .sub {
  margin: 0 0 18px; color: var(--lp-muted); max-width: 40rem;
}
.lp-price-anchor {
  display: inline-flex; align-items: baseline; gap: 6px;
  background: #fff; border: 1px solid #fecaca; border-radius: 14px;
  padding: 10px 14px; margin-bottom: 16px; box-shadow: var(--lp-shadow);
}
.lp-price-anchor .num { color: var(--lp-accent); font-size: 1.6rem; font-weight: 800; }
.lp-price-anchor .unit { color: var(--lp-muted); font-size: 0.9rem; }
.lp-trust-row {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px;
}
.lp-chip {
  background: #fff; border: 1px solid var(--lp-line); border-radius: 999px;
  padding: 8px 12px; font-size: 0.82rem; color: #334155; font-weight: 600;
}

.lp-section { padding: 48px 0; }
.lp-section.alt { background: #fff; }
.lp-section h2 {
  margin: 0 0 10px; font-size: clamp(1.35rem, 3vw, 1.75rem); color: #0f172a;
}
.lp-section .intro { color: var(--lp-muted); margin: 0 0 22px; max-width: 46rem; }

.lp-pain-grid, .lp-usp-grid, .lp-mod-grid {
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .lp-pain-grid, .lp-usp-grid { grid-template-columns: 1fr 1fr; }
  .lp-mod-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.lp-card {
  background: var(--lp-card); border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius); padding: 20px 18px;
  box-shadow: 0 1px 0 rgba(15,23,42,.03);
  transition: var(--lp-trans);
}
.lp-card:hover { box-shadow: var(--lp-shadow); transform: translateY(-2px); }
.lp-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.lp-card p { margin: 0; color: var(--lp-muted); font-size: 0.95rem; }
.lp-card .tag {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  color: var(--lp-ok); background: #ecfdf5; border-radius: 6px;
  padding: 3px 8px; margin-bottom: 8px;
}
.lp-pain .tag { color: #b45309; background: #fffbeb; }
.lp-kicker {
  margin: 0 0 6px; font-size: 0.85rem; font-weight: 700; color: var(--lp-brand-dark);
}
.lp-usp {
  border-left: 4px solid var(--lp-brand);
  padding-left: 16px;
}
.lp-usp .lp-result {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed var(--lp-line);
  color: var(--lp-ok); font-size: 0.88rem; font-weight: 600;
}
.lp-note-soft {
  margin-top: 14px; font-size: 0.85rem; color: var(--lp-muted);
}

.lp-compare {
  overflow-x: auto; border: 1px solid var(--lp-line);
  border-radius: 14px; background: #fff;
}
.lp-compare table { width: 100%; border-collapse: collapse; min-width: 640px; }
.lp-compare th, .lp-compare td {
  padding: 12px 14px; border-bottom: 1px solid #f1f5f9;
  text-align: left; vertical-align: top; font-size: 0.92rem;
}
.lp-compare th { background: #eff6ff; white-space: nowrap; }
.lp-compare td.yes { color: var(--lp-ok); font-weight: 700; text-align: center; }
.lp-compare td.no { color: #cbd5e1; text-align: center; }

.lp-faq details {
  background: #fff; border: 1px solid var(--lp-line);
  border-radius: 12px; margin-bottom: 10px; overflow: hidden;
}
.lp-faq summary {
  cursor: pointer; list-style: none; padding: 16px 18px;
  font-weight: 700; min-height: 52px;
  display: flex; justify-content: space-between; align-items: center;
  transition: var(--lp-trans);
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary:hover { background: #f8fafc; }
.lp-faq summary::after { content: "+"; color: var(--lp-muted); font-size: 1.2rem; }
.lp-faq details[open] summary::after { content: "–"; }
.lp-faq .ans { padding: 0 18px 16px; color: var(--lp-muted); }

.lp-final-cta {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #fff; padding: 48px 0; text-align: center;
}
.lp-final-cta h2 { margin: 0 0 10px; color: #fff; }
.lp-final-cta p { margin: 0 auto; max-width: 36rem; opacity: .95; }
.lp-final-cta .lp-cta-row { justify-content: center; }
.lp-final-cta .lp-btn-ghost { border-color: rgba(255,255,255,.4); background: transparent; color: #fff !important; }
.lp-final-cta .lp-note { margin-top: 16px; font-size: 0.85rem; opacity: .8; }

.lp-footer {
  background: #0f172a; color: #94a3b8; padding: 36px 0 20px;
  font-size: 0.9rem;
}
.lp-footer-grid {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .lp-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.lp-footer strong { display: block; color: #fff; margin-bottom: 8px; }
.lp-footer a { display: block; color: #cbd5e1; margin: 6px 0; min-height: 44px; line-height: 1.4; padding: 8px 0; }
.lp-footer a:hover { color: #fff; }
.lp-copy { margin-top: 24px; padding-top: 16px; border-top: 1px solid #1e293b; font-size: 0.82rem; }

.lp-float-wa {
  position: fixed; right: 14px; bottom: 18px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.lp-list { margin: 0; padding-left: 1.2rem; color: var(--lp-muted); }
.lp-list li { margin: 6px 0; }
.lp-hl { background: #fff7ed; border-left: 4px solid #f97316; padding: 14px 16px; border-radius: 0 12px 12px 0; margin: 18px 0; }
.lp-hl strong { color: #9a3412; }

@media (max-width: 767px) {
  /* 保留「解決方案」＋ WhatsApp；價錢／比較改由頁內與 Footer 進 */
  .lp-nav-link { display: none; }
  .lp-dropdown { display: block; }
  .lp-nav { gap: 6px 10px; flex-shrink: 1; justify-content: flex-end; }
  .lp-drop-btn { padding: 8px 10px; font-size: 0.9rem; }
  .lp-nav-cta {
    display: inline-flex;
    padding: 10px 12px;
    font-size: 0.85rem;
  }
  .lp-drop-menu {
    right: 0;
    left: auto;
    min-width: min(300px, calc(100vw - 20px));
  }
  .lp-hero { padding: 28px 0 24px; }
  .lp-section { padding: 36px 0; }
  .lp-promo-bar .lp-sticky-actions .lp-btn { flex: 1; }
  .lp-promo-bar .lp-sticky-inner { justify-content: center; text-align: center; }
  .lp-cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .lp-cta-row .lp-btn { width: 100%; }
  .lp-compare th:first-child,
  .lp-compare td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #fff;
    box-shadow: 4px 0 8px rgba(15, 23, 42, 0.06);
  }
  .lp-compare th:first-child { background: #eff6ff; }
}
