/* ========== Template A: Minimal - Responsive ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; }
body, html { width: 100%; min-height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.5; font-size: 15px;
  background: #f8f9fa; color: #1a1a2e;
  -webkit-font-smoothing: antialiased;
}
ul { list-style: none; }
a { text-decoration: none; -webkit-tap-highlight-color: transparent; color: inherit; }
img { max-width: 100%; vertical-align: middle; }

.page { width: 100%; min-height: 100vh; max-width: 520px; margin: 0 auto; display: flex; flex-direction: column; }
.container { padding: 0 20px 40px; }

/* Banner */
.banner {
  position: relative; width: 100%; padding-top: 50%; overflow: hidden;
  background: linear-gradient(135deg, #e0f2fe 0%, #f0fdf4 50%, #fefce8 100%);
}
.banner-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 40px 24px 28px;
}
.banner-title { font-size: 28px; font-weight: 800; color: #1a1a2e; line-height: 1.2; }
.banner-subtitle { font-size: 15px; color: #555; margin-top: 8px; line-height: 1.4; }

/* Live Bar */
.live-bar {
  display: flex; align-items: center; justify-content: center;
  padding: 10px 0; gap: 6px;
  background: #fff; border-bottom: 1px solid #eee;
  font-size: 13px; color: #888;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
  animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50% { opacity: 0.8; box-shadow: 0 0 0 4px rgba(34,197,94,0); }
}
.live-count { font-weight: 700; color: #22c55e; }

/* Urgency */
.urgency {
  padding: 24px 20px; text-align: center;
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
}
.urgency-content-title { font-size: 22px; font-weight: 800; color: #fff; }
.urgency-content-p { font-size: 13px; color: rgba(255,255,255,0.9); padding: 6px 0 14px; }
.urgency-stats { display: flex; gap: 12px; justify-content: center; }
.stat-card {
  flex: 1; max-width: 180px; background: rgba(255,255,255,0.15);
  border-radius: 12px; padding: 14px; border: 1px solid rgba(255,255,255,0.2);
}
.stat-number { font-size: 26px; font-weight: 800; color: #ffd700; }
.stat-label { font-size: 11px; color: rgba(255,255,255,0.8); }

/* Gender Selector */
.page-sex { padding: 20px 0; }
.sex-options {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 16px;
  padding: 28px 20px; text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.sex-title { font-size: 17px; font-weight: 700; color: #1a1a2e; padding-bottom: 14px; }
.sex-female, .sex-male {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; max-width: 320px; margin: 8px auto;
  height: 48px; border-radius: 24px; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
}
.sex-female { background: #ec4899; color: #fff; border: none; }
.sex-female:active { transform: scale(0.97); }
.sex-male { background: #fff; color: #555; border: 2px solid #e5e7eb; }
.sex-male:active { transform: scale(0.97); }
.sex-icon { font-size: 18px; }

/* Thank You */
.page-thank, .page-welcome { display: none; }
.thank-card {
  text-align: center; padding: 28px 20px;
  background: #fff; border: 1px solid #e5e7eb;
  border-radius: 16px; box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.thank-icon {
  width: 48px; height: 48px; line-height: 48px; border-radius: 50%;
  margin: 0 auto 14px; background: #22c55e; font-size: 26px; color: #fff;
}
.thank-text { font-size: 14px; color: #555; line-height: 1.5; margin-bottom: 16px; }

/* Welcome / CTA */
.welcome-content {
  background: #fff; border: 1px solid #e5e7eb;
  border-radius: 16px; padding: 24px 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.welcome-txt { font-size: 15px; color: #333; }
.welcome-txt p {
  line-height: 1.7; padding: 6px 0 6px 10px;
  border-left: 3px solid #22c55e; margin-bottom: 6px;
}
.welcome-txt-guide {
  font-weight: 700; font-size: 17px; color: #1a1a2e;
  line-height: 1.4; padding: 16px 0 6px; text-align: center;
}
.welcome-link-p { position: relative; margin: 12px 0; text-align: center; }
.welcome-link {
  display: inline-block; width: 100%; padding: 16px 20px;
  background: #22c55e; color: #fff; font-weight: 700; font-size: 18px;
  border-radius: 32px;
  box-shadow: 0 6px 20px rgba(34,197,94,0.35);
  animation: cta-pulse 2s ease-in-out infinite;
}
.welcome-link:active { transform: scale(0.96); }
@keyframes cta-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); box-shadow: 0 8px 28px rgba(34,197,94,0.5); }
}
.welcome-notis { color: #999; font-size: 11px; padding-top: 14px; line-height: 1.5; text-align: center; }

/* Social Proof */
.section-title { font-size: 18px; font-weight: 700; color: #1a1a2e; padding: 24px 0 12px; text-align: center; }
.social-proof { padding-top: 8px; }
.testimonial-list { display: flex; flex-direction: column; gap: 10px; }
.testimonial-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 16px; box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.testimonial-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.testimonial-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.testimonial-meta { flex: 1; }
.testimonial-name { font-size: 14px; font-weight: 600; color: #1a1a2e; }
.testimonial-time { font-size: 11px; color: #aaa; }
.testimonial-stars { color: #fbbf24; font-size: 13px; letter-spacing: 1px; }
.testimonial-text { font-size: 13px; color: #666; line-height: 1.5; }

/* Join Counter */
.join-counter { padding: 18px 0; }
.join-counter-inner {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 18px; border-radius: 32px;
  background: #fef2f2; border: 1px solid #fecaca;
  font-size: 13px; color: #666;
}
.join-icon { font-size: 16px; }
.join-number { font-weight: 800; color: #ef4444; font-size: 15px; }

/* Second CTA */
.second-cta { padding: 0 0 18px; }

/* Company Intro */
.page-intro {
  margin-top: 8px; border-radius: 16px; overflow: hidden;
  border: 1px solid #e5e7eb; box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.intro-title {
  padding: 14px 18px; font-size: 16px; font-weight: 700; color: #1a1a2e;
  background: #f9fafb; border-bottom: 1px solid #e5e7eb;
}
.intro-content { padding: 14px 18px 24px; background: #fff; }
.intro-content dt { font-weight: 700; font-size: 14px; color: #1a1a2e; padding-top: 10px; }
.intro-content dd { font-size: 13px; color: #555; line-height: 1.6; }
.text-prominent { color: #ef4444; font-weight: 700; }
.text-indent2 { text-indent: 1em; }

/* FAQ */
.faq-section { padding-top: 8px; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 14px 16px;
}
.faq-q { font-weight: 700; font-size: 14px; color: #1a1a2e; margin-bottom: 4px; }
.faq-a { font-size: 13px; color: #777; line-height: 1.5; }

/* Footer */
.page-footer { padding: 24px 0 12px; text-align: center; }
.footer-wa {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px; border-radius: 24px;
  background: #25d366; color: #fff; font-size: 13px; font-weight: 600;
}
.footer-wa a { color: #fff; text-decoration: underline; }
.wa-icon { font-size: 16px; }
.footer-copy { font-size: 10px; color: #ccc; padding-top: 12px; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.page-sex, .page-welcome, .page-thank { animation: fadeInUp 0.4s ease-out; }

/* Desktop */
@media screen and (min-width: 600px) {
  body { background: #e5e7eb; }
  .page { box-shadow: 0 0 40px rgba(0,0,0,0.1); border-radius: 0 0 16px 16px; margin-top: 0; }
  .banner-title { font-size: 32px; }
  .banner-subtitle { font-size: 17px; }
  .welcome-link { font-size: 20px; padding: 18px 24px; }
}
