/* ================================================================
   SIGN-UP / PENYU MEMBERSHIP PAGE — signup.css
   Depends on inner.css for base tokens and nav/footer styles.
================================================================ */

:root {
  --max:    880px;
  --gutter: clamp(20px, 5vw, 64px);

  /* Latin text stays on Poppins; Chinese glyphs fall through to
     AlibabaPuHuiTi Black (the only face loaded — see inner.css @font-face). */
  --sans: "Poppins","AlibabaPuHuiTi Black","Noto Sans SC","Helvetica Neue",Arial,system-ui,sans-serif;
}

/* ── HERO ── */
.ngs-hero {
  background: var(--blue900);
  padding: clamp(90px, 13vw, 150px) var(--gutter) clamp(70px, 9vw, 110px);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.ngs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.ngs-hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--orange);
}

.ngs-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ngs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}
.ngs-eyebrow::before {
  content: "";
  width: 28px; height: 2.5px;
  background: var(--orange);
  border-radius: 2px;
}

.ngs-hero-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.08;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 18px;
}
.ngs-hero-title em {
  font-style: normal;
  color: var(--orange);
}

.ngs-hero-sub {
  font-family: var(--sans);
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 400;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
  margin-bottom: 36px;
}

.ngs-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: #fff;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  padding: 15px 34px;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
}
.ngs-hero-cta:hover { opacity: .85; transform: translateY(-1px); }

/* ── SECTION SHARED ── */
.ngs-section {
  padding: clamp(60px, 8vw, 100px) var(--gutter);
}
.ngs-section--dark {
  background: var(--blue900);
  color: #fff;
}

.ngs-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.ngs-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.ngs-label::before {
  content: "";
  width: 24px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.ngs-label--light { color: rgba(255,255,255,.5); }
.ngs-label--light::before { background: rgba(255,255,255,.3); }

.ngs-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(26px, 3.5vw, 42px);
  letter-spacing: -.025em;
  line-height: 1.15;
  color: var(--blue900);
  margin-bottom: 20px;
}
.ngs-title--light { color: #fff; margin-bottom: 40px; }

.ngs-lead {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 32px;
}

/* ── MEANING — penyu / pêng-iú etymology ── */
.ngs-meaning {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  justify-content: center;
  gap: 28px;
  text-align: center;
}

.ngs-meaning-word {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 36px;
  min-width: 180px;
}
.ngs-meaning-lang {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.ngs-meaning-term {
  font-family: var(--display);
  font-weight: 900;
  font-size: 26px;
  color: var(--blue900);
  margin-bottom: 6px;
}
.ngs-meaning-term span { color: var(--orange); margin-left: 6px; }
.ngs-meaning-def {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

.ngs-meaning-plus {
  font-family: var(--display);
  font-weight: 900;
  font-size: 28px;
  color: var(--orange);
}

.ngs-meaning-body {
  grid-column: 1 / -1;
  max-width: 620px;
  margin: 12px auto 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
}
.ngs-meaning-body em {
  font-style: normal;
  font-weight: 700;
  color: var(--blue900);
}

/* ── ETHOS — 3 principle cards ── */
.ngs-ethos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ngs-ethos-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  padding: 40px 32px;
  position: relative;
  border-radius: 4px;
}
.ngs-ethos-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
}

.ngs-ethos-num {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.ngs-ethos-stmt {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.3;
  letter-spacing: -.015em;
  color: #fff;
  margin-bottom: 14px;
}

.ngs-ethos-body {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,.6);
}

/* ── PULL QUOTE ── */
.ngs-quote {
  background: var(--surface);
  padding: clamp(60px, 8vw, 100px) var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ngs-quote::before {
  content: '"';
  position: absolute;
  font-size: 340px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
  color: rgba(3,40,75,.05);
  top: -110px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.ngs-quote-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.ngs-quote-text {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(19px, 2.6vw, 28px);
  line-height: 1.55;
  color: var(--blue900);
  margin-bottom: 20px;
}
.ngs-quote-text em {
  font-style: normal;
  color: var(--orange);
}
.ngs-quote-source {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ── BENEFITS ── */
.ngs-benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ngs-benefit-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 36px;
}

.ngs-benefit-icon {
  width: 48px; height: 48px;
  background: color-mix(in srgb, var(--orange) 12%, transparent);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  margin-bottom: 20px;
}

.ngs-benefit-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 17px;
  color: var(--blue900);
  margin-bottom: 10px;
}

.ngs-benefit-body {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* ── CLOSING CTA ── */
.ngs-closing {
  background: var(--orange);
  padding: clamp(70px, 9vw, 110px) var(--gutter);
  text-align: center;
}
.ngs-closing-inner { max-width: 640px; margin: 0 auto; }

.ngs-closing-eyebrow {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: 18px;
}

.ngs-closing-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(26px, 4vw, 44px);
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.025em;
  margin-bottom: 10px;
}

.ngs-closing-body {
  font-size: 17px;
  color: rgba(255,255,255,.85);
  line-height: 1.6;
  margin-bottom: 36px;
  font-style: italic;
}

.ngs-closing-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue900);
  color: #fff;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
}
.ngs-closing-cta:hover { opacity: .85; transform: translateY(-1px); }

/* ── Embedded ProfilePress registration form ── */
.ngs-register-form {
  max-width: 420px;
  margin: 0 auto;
  text-align: left;
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 20px 48px rgba(3,40,75,.18);
}
.ngs-register-form .pp-form-label,
.ngs-register-form label {
  color: var(--blue900);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
}
.ngs-register-form input[type="text"],
.ngs-register-form input[type="email"],
.ngs-register-form input[type="password"] {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 15px;
  margin-bottom: 16px;
}
.ngs-register-form button[type="submit"],
.ngs-register-form input[type="submit"] {
  width: 100%;
  background: var(--blue900);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 14px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: opacity .2s;
}
.ngs-register-form button[type="submit"]:hover,
.ngs-register-form input[type="submit"]:hover { opacity: .85; }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .ngs-ethos-grid    { grid-template-columns: 1fr; }
  .ngs-benefit-grid  { grid-template-columns: 1fr; }
  .ngs-meaning       { grid-template-columns: 1fr; }
  .ngs-meaning-plus  { display: none; }
}
