/* ============================================
   Global Talk — Meta Pixel Demo LP
   Mobile-first / coral & peach palette
   ============================================ */

:root {
  --coral: #ff6b5e;
  --peach: #ffb26b;
  --coral-dark: #e8503f;
  --cream: #fff7f0;
  --ink: #40342e;
  --ink-light: #8a7a70;
  --white: #ffffff;
  --line: #ffe3d1;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(255, 107, 94, 0.16);
  --sticky-h: 72px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}

body {
  font-family:
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", Meiryo,
    system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--sticky-h);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---- demo notice band ---- */
.demo-notice {
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  text-align: center;
  padding: 6px 12px;
  letter-spacing: 0.02em;
}

/* ---- header ---- */
.site-header {
  padding: 14px 20px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.site-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--coral);
  letter-spacing: 0.03em;
}

.site-logo-sub {
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-light);
  margin-left: 6px;
}

/* ---- first view ---- */
.fv {
  background: linear-gradient(
    160deg,
    var(--cream) 0%,
    #ffe9d6 60%,
    #ffddc4 100%
  );
  padding: 40px 20px 48px;
  text-align: center;
  overflow: hidden;
}

.fv-inner {
  max-width: 640px;
  margin: 0 auto;
}

.fv-badge {
  display: inline-block;
  background: var(--white);
  color: var(--coral);
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--coral);
  border-radius: 999px;
  padding: 4px 16px;
  margin-bottom: 16px;
}

.fv-catch {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.fv-catch strong {
  color: var(--coral);
  font-size: 1.25em;
}

.fv-sub {
  font-size: 14px;
  color: var(--ink-light);
  margin-bottom: 20px;
}

.fv-price {
  color: var(--coral);
  font-size: 18px;
}

.fv-image {
  margin: 0 auto 24px;
  max-width: 480px;
}

/* ---- CTA button ---- */
.cta-button {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  background: linear-gradient(90deg, var(--coral) 0%, var(--peach) 100%);
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  padding: 18px 24px;
  border: none;
  border-radius: 999px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 107, 94, 0.28);
}

.cta-button:active {
  transform: translateY(0);
}

.cta-note {
  font-size: 11px;
  color: var(--ink-light);
  margin-top: 10px;
  text-align: center;
}

/* ---- sections ---- */
.section {
  padding: 56px 20px;
}

.section-inner {
  max-width: 640px;
  margin: 0 auto;
}

.section-title {
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 32px;
  position: relative;
  padding-bottom: 14px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--coral), var(--peach));
}

/* ---- features ---- */
.features {
  background: var(--white);
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-item {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}

.feature-item img {
  margin: 0 auto 14px;
}

.feature-item h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--coral-dark);
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 14px;
  color: var(--ink);
  text-align: left;
}

/* ---- pricing ---- */
.pricing {
  background: linear-gradient(180deg, var(--cream) 0%, #ffeede 100%);
}

.price-card {
  background: var(--white);
  border: 2px solid var(--coral);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.price-card-label {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 18px;
  margin-bottom: 16px;
}

.price-card-price {
  font-size: 48px;
  font-weight: 800;
  color: var(--coral);
  line-height: 1.2;
  margin-bottom: 20px;
}

.price-yen,
.price-unit {
  font-size: 16px;
  color: var(--ink);
  font-weight: 700;
}

.price-card-list {
  list-style: none;
  text-align: left;
  margin: 0 auto 24px;
  max-width: 320px;
}

.price-card-list li {
  font-size: 14px;
  padding: 8px 0 8px 28px;
  border-bottom: 1px dashed var(--line);
  position: relative;
}

.price-card-list li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  color: var(--coral);
  font-weight: 700;
}

/* ---- voices ---- */
.voices {
  background: var(--white);
}

.voices-disclaimer {
  font-size: 12px;
  color: var(--ink-light);
  text-align: center;
  margin: -20px 0 24px;
}

.voice-list {
  list-style: none;
  display: grid;
  gap: 16px;
}

.voice-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 20px;
}

.voice-item img {
  flex-shrink: 0;
  border-radius: 50%;
}

.voice-meta {
  font-size: 12px;
  font-weight: 700;
  color: var(--coral-dark);
  margin-bottom: 6px;
}

.voice-text {
  font-size: 14px;
}

/* ---- register form ---- */
.register {
  background: linear-gradient(160deg, #fff0e2 0%, var(--cream) 100%);
}

.register-lead {
  font-size: 14px;
  text-align: center;
  color: var(--ink-light);
  margin-bottom: 24px;
}

.register-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  max-width: 480px;
  margin: 0 auto;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  font-size: 16px;
  padding: 14px 16px;
  border: 2px solid var(--line);
  border-radius: 10px;
  margin-bottom: 8px;
  transition: border-color 0.15s ease;
}

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

.form-input.is-invalid {
  border-color: var(--coral-dark);
  background: #fff5f4;
}

.form-error {
  color: var(--coral-dark);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.cta-button--submit {
  margin-top: 12px;
  font-family: inherit;
}

/* ---- footer ---- */
.site-footer {
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 12px;
  padding: 28px 20px;
  line-height: 2;
}

.footer-copy {
  opacity: 0.6;
}

/* ---- sticky mobile CTA ---- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.3s ease;
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.cta-button--sticky {
  font-size: 15px;
  padding: 14px 20px;
  box-shadow: 0 4px 14px rgba(255, 107, 94, 0.3);
}

/* ---- thanks page ---- */
.thanks {
  padding: 64px 20px 80px;
  text-align: center;
  background: linear-gradient(160deg, var(--cream) 0%, #ffe9d6 100%);
  min-height: 60vh;
}

.thanks-inner {
  max-width: 480px;
}

.thanks-image {
  margin: 0 auto 24px;
  max-width: 320px;
}

.thanks-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--coral);
  margin-bottom: 16px;
}

.thanks-text {
  font-size: 15px;
  margin-bottom: 32px;
}

.thanks-note {
  font-size: 12px;
  color: var(--ink-light);
}

.cta-button--back {
  max-width: 320px;
}

/* thanks page has no sticky CTA */
body:not(:has(.sticky-cta)) {
  padding-bottom: 0;
}

/* ---- fade-in initial state is set by JS (GSAP-fail safe) ---- */

/* ---- responsive: tablet and up ---- */
.sp-only {
  display: inline;
}

@media (min-width: 768px) {
  .sp-only {
    display: none;
  }

  body {
    padding-bottom: 0;
  }

  .fv {
    padding: 72px 24px 80px;
  }

  .fv-catch {
    font-size: 42px;
  }

  .fv-sub {
    font-size: 16px;
  }

  .section {
    padding: 80px 24px;
  }

  .section-title {
    font-size: 30px;
  }

  .feature-list {
    grid-template-columns: 1fr 1fr;
  }

  .sticky-cta {
    display: none;
  }
}

/* ---- reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .sticky-cta {
    transition: none;
  }
}
