/* === Reset === */
* { margin: 0; padding: 0; box-sizing: border-box; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* === Tokens === */
:root {
  --navy: #1A1F3A;
  --navy-dark: #0F1420;
  --navy-mid: #242B4A;
  --gold: #C9A961;
  --gold-dark: #8a6a2c;
  --white: #FFFFFF;
  --text-light: #E5E5E5;
  --text-muted: #9CA3AF;
  --radius: 12px;
  --max-w: 1200px;
}

/* === Base === */
body {
  font-family: 'Sarabun', 'Inter', sans-serif;
  background: var(--navy-dark);
  color: var(--text-light);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.container.center { text-align: center; }

h1, h2, h3 { color: var(--white); line-height: 1.2; font-weight: 700; }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); margin-bottom: 1.5rem; text-align: center; }

.lead { font-size: 1.05rem; color: var(--text-light); text-align: center; max-width: 640px; margin: 0 auto 2rem; }

/* === Sections === */
.section { padding: 80px 0; }
.section-dark { background: var(--navy); }
.section-gold { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); color: var(--navy-dark); }
.section-gold h2, .section-gold .lead { color: var(--navy-dark); }

@media (max-width: 640px) {
  .section { padding: 40px 0; }
}

/* === Hero === */
.hero {
  padding: 60px 0 80px;
  background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%);
  text-align: center;
  position: relative;
}

.hero-cover {
  width: 240px;
  margin: 0 auto 32px;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 3px var(--gold);
}

.hero-title {
  font-size: clamp(1.75rem, 6vw, 3rem);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.4rem);
  color: var(--gold);
  margin-bottom: 32px;
  font-weight: 600;
}

.hero-note { margin-top: 16px; font-size: 0.9rem; color: var(--text-muted); }

@media (max-width: 640px) {
  .hero { padding: 40px 0 60px; }
  .hero-cover { width: 200px; margin-bottom: 24px; }
}

/* === Buttons === */
.btn {
  display: block;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.15s, box-shadow 0.15s;
  text-align: center;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 8px 24px rgba(201,169,97,0.35);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(201,169,97,0.5); }

.btn-secondary {
  display: block;
  margin: 20px auto 0;
  background: var(--navy-dark);
  color: var(--gold);
  border: 2px solid var(--navy-dark);
}

.btn-large { padding: 20px 40px; font-size: 1.15rem; width: 100%; max-width: 340px; margin: 24px auto 0; display: block; }

/* === Problem List === */
.problem-list {
  list-style: none;
  max-width: 640px;
  margin: 0 auto;
}

.problem-list li {
  padding: 16px 20px;
  margin-bottom: 12px;
  background: var(--navy-mid);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  font-size: 1.05rem;
}

/* === Solution === */
.solution-list {
  list-style: none;
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}

.solution-list li {
  padding: 12px 0;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(201,169,97,0.15);
}

.solution-list li:last-child { border-bottom: none; }

/* === Chapters === */
.chapters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.chapter-card {
  background: var(--navy-mid);
  padding: 24px;
  border-radius: var(--radius);
  border-top: 3px solid var(--gold);
  transition: transform 0.2s;
}

.chapter-card:hover { transform: translateY(-4px); }

.chapter-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.chapter-card h3 { font-size: 1.15rem; }

/* === Price === */
.price-box {
  text-align: center;
  background: var(--navy);
  padding: 40px 24px;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  max-width: 420px;
  margin: 0 auto;
  position: relative;
}

.badge {
  display: block;
  background: #E53935;
  color: #fff;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.price-original { color: var(--text-muted); font-size: 1.25rem; margin-bottom: 8px; }

.price-current {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}

.price-current span { font-size: 1.5rem; }

.price-note { color: var(--text-muted); font-size: 0.9rem; }

/* === Order === */
.order-note { margin-top: 20px; color: var(--text-muted); font-size: 0.9rem; }

/* === FAQ === */
.faq { max-width: 720px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid rgba(201,169,97,0.2);
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 40px 20px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  position: relative;
}

.faq-q::after {
  content: '+';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--gold);
  transition: transform 0.2s;
}

.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-light);
}

.faq-item.open .faq-a { max-height: 300px; }

.faq-a p { padding: 0 0 20px; }

/* === Footer === */
.footer {
  background: var(--navy-dark);
  padding: 40px 0;
  border-top: 1px solid rgba(201,169,97,0.15);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-author { color: var(--white); margin-bottom: 4px; }
.footer-role { margin-bottom: 16px; }
.footer-social { margin-bottom: 16px; }
.footer-social a { color: var(--gold); margin: 0 8px; }
.footer-copy { font-size: 0.8rem; }


/* === QR Code Section === */
.qr-box {
  background: #FFFFFF;
  padding: 24px;
  border-radius: var(--radius);
  border: 3px solid var(--gold);
  max-width: 340px;
  margin: 32px auto;
  box-shadow: 0 20px 60px rgba(201,169,97,0.3);
}

.qr-image {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

.qr-caption {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 600;
  text-align: center;
}

@media (max-width: 640px) {
  .qr-box {
    padding: 16px;
    max-width: 340px;
  }
  .qr-image {
    max-width: 220px;
  }
}

/* === Trust Box (NEW) === */
.trust-section {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 60px 0;
}

.trust-box {
  background: var(--navy-mid);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 40px 32px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.trust-badge {
  display: block;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.trust-title {
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.3;
}

.trust-text {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 32px;
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 500px;
  margin: 0 auto;
}

.trust-stat {
  background: var(--navy);
  padding: 16px 8px;
  border-radius: 8px;
  border-top: 3px solid var(--gold);
}

.trust-stat-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}

.trust-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

@media (max-width: 640px) {
  .trust-box { padding: 28px 20px; }
  .trust-stat-num { font-size: 1.2rem; }
  .trust-stat-label { font-size: 0.75rem; }
}

/* === Trust Signature === */
.trust-signature {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(201,169,97,0.3);
  text-align: center;
  color: var(--gold);
  font-size: 1.15rem;
  line-height: 1.7;
}
.trust-signature strong { color: var(--gold); font-weight: 700; }
.trust-signature span { color: var(--text-muted); font-size: 0.9rem; font-style: italic; }

/* === Hero Tagline === */
.hero-tagline {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 32px;
  opacity: 0.9;
  line-height: 1.6;
}

/* === Footer Brand === */
.footer-brand {
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}

/* === Trust Text Override (left-align, 16px, 1.8) === */
.trust-text {
  text-align: left;
  font-size: 16px;
  line-height: 1.8;
  color: #FFFFFF;
}
