:root {
  --steel-blue: #3B699A;
  --steel-blue-dark: #2C4F78;
  --marigold: #F9C067;
  --marigold-dark: #E8A83F;
  --warm-cream: #FBF3E6;
  --warm-cream-alt: #F5E9D6;
  --ink: #2B2620;
  --ink-soft: #5A5148;
  --white: #FFFFFF;
  --success: #3B8A5E;
  --error: #C0392B;
  --radius: 16px;
  --shadow: 0 8px 30px rgba(59, 105, 154, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Sarabun', sans-serif;
  background: var(--warm-cream);
  color: var(--ink);
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: 'Kanit', sans-serif;
  color: var(--steel-blue-dark);
  margin: 0 0 0.5em;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 760px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--warm-cream-alt);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
}

.section-title.light {
  color: var(--white);
}

.accent {
  color: var(--steel-blue);
  font-style: italic;
}

.section-title.light .accent {
  color: var(--marigold);
}

.punch-line {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-note {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin-top: -16px;
  margin-bottom: 40px;
}

/* ===== TOP BAR ===== */
.topbar {
  background: var(--warm-cream);
  padding: 18px 0;
}

.topbar-inner {
  display: flex;
  justify-content: center;
}

.topbar-logo {
  height: 48px;
  width: auto;
}

/* ===== HERO ===== */
.hero {
  background:
    radial-gradient(ellipse 900px 500px at 50% -10%, rgba(249, 192, 103, 0.18), transparent 60%),
    linear-gradient(160deg, var(--steel-blue) 0%, var(--steel-blue-dark) 100%);
  color: var(--white);
  padding: 110px 0 90px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(249, 192, 103, 0.14);
  border: 1px solid rgba(249, 192, 103, 0.4);
  color: var(--marigold);
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 0.85rem;
  padding: 8px 20px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero-title {
  font-family: 'Kanit', sans-serif;
  color: var(--white);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 840px;
  margin: 0 auto 28px;
}

.hero-highlight {
  color: var(--marigold);
  font-style: italic;
}

.hero-sub {
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.92);
}

.hero-note {
  margin-top: 18px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--marigold);
}

.hero-visual {
  max-width: 640px;
  margin: 48px auto 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  border: none;
  border-radius: 999px;
  font-family: 'Sarabun', sans-serif;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.05rem;
  width: 100%;
}

.btn-primary {
  background: var(--marigold);
  color: var(--steel-blue-dark);
  width: auto;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }

.btn-cta {
  background: var(--marigold);
  color: var(--steel-blue-dark);
}

.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.btn-cta:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ===== GRID / CARDS ===== */
.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero-title { font-size: 2rem; }
}

.fit-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.fit-yes { border-top: 4px solid var(--success); }
.fit-no { border-top: 4px solid var(--error); }

.fit-card h3 {
  font-family: 'Sarabun', sans-serif;
  color: var(--ink);
  font-size: 1.15rem;
  margin-bottom: 20px;
}

.fit-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fit-card li {
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid var(--warm-cream-alt);
  position: relative;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.fit-card li:last-child { border-bottom: none; }

.fit-yes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.fit-no li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: var(--error);
  font-weight: 700;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
}

.card-bonus {
  border: 2px solid var(--marigold);
}

.card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--warm-cream-alt), var(--white));
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image .placeholder-icon {
  font-size: 2.6rem;
  opacity: 0.35;
}

.card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--steel-blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
}

.card-bonus .card-num {
  background: var(--marigold);
  color: var(--steel-blue-dark);
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--steel-blue);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.card h3 { font-size: 1.15rem; }
.card p:not(.tag) { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* ===== BENEFITS ===== */
.benefit { text-align: center; padding: 8px; }
.benefit-icon { font-size: 2.2rem; margin-bottom: 12px; }
.benefit h3 { font-size: 1.05rem; font-family: 'Sarabun', sans-serif; color: var(--ink); }
.benefit p { color: var(--ink-soft); font-size: 0.92rem; }

/* ===== REVIEWS ===== */
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  text-align: left;
}

.review-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.review-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--white);
  font-weight: 700;
  font-family: 'Kanit', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.review-stars { color: var(--marigold-dark); font-size: 0.95rem; }
.review-name { color: var(--ink); font-weight: 600; font-size: 0.9rem; }
.review-text { color: var(--ink); font-style: italic; margin: 0; }

/* ===== PRICING ===== */
.section-pricing {
  background: linear-gradient(160deg, var(--steel-blue-dark) 0%, var(--steel-blue) 100%);
}

.pricing-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  text-align: center;
}

.pricing-badge {
  background: var(--marigold);
  color: var(--steel-blue-dark);
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  margin-bottom: 4px;
}

.price-old {
  text-decoration: line-through;
  color: var(--ink-soft);
  font-size: 1.2rem;
}

.price-new {
  font-family: 'Kanit', sans-serif;
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  font-weight: 700;
  color: var(--steel-blue);
  text-shadow: 0 0 30px rgba(59, 105, 154, 0.2);
}

.price-caption {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.price-includes {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.price-includes li {
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid var(--warm-cream-alt);
  position: relative;
  font-size: 0.92rem;
  color: var(--ink);
}

.price-includes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.form-row {
  text-align: left;
  margin-bottom: 16px;
}

.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

.form-row input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid #DDD0BC;
  font-family: 'Sarabun', sans-serif;
  font-size: 0.95rem;
}

.form-row input:focus {
  outline: none;
  border-color: var(--steel-blue);
}

.payment-element {
  margin: 20px 0;
  text-align: left;
}

.payment-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
}

.payment-message.error { background: #FBEAE8; color: var(--error); }
.payment-message.info { background: #EAF1F8; color: var(--steel-blue-dark); }

.secure-note {
  margin-top: 24px;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.hidden { display: none !important; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--white);
  border-radius: 12px;
  padding: 18px 22px;
  box-shadow: var(--shadow);
}

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--steel-blue);
  font-weight: 700;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.faq-cta {
  text-align: center;
  margin-top: 40px;
}

.faq-cta .btn {
  padding: 16px 44px;
  font-size: 1.05rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--steel-blue-dark);
  color: rgba(255,255,255,0.85);
  text-align: center;
  padding: 40px 0;
  font-size: 0.9rem;
}

.footer-sub { color: rgba(255,255,255,0.6); font-size: 0.8rem; }
