/* ============================================================
   PURPOSEJOY — growth-layer.css v1
   Hero capture · Modal · Ticker · Share row · YT strip
   Tokens inherit from styles.css :root
   ============================================================ */

/* ── HERO CAPTURE FORM ── */
.gl-hero-capture {
  margin-top: 2.2rem;
  background: rgba(0,0,0,0.82);
  border: 1px solid rgba(212,175,55,0.28);
  border-radius: 6px;
  padding: 1.4rem 1.6rem 1.2rem;
  max-width: 420px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.gl-hero-form { display: flex; flex-direction: column; gap: 0.75rem; }
.gl-hero-input {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 4px;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.92rem;
  padding: 0.78rem 1rem;
  outline: none;
  transition: border-color 0.25s ease;
  width: 100%;
}
.gl-hero-input::placeholder { color: rgba(255,255,255,0.42); }
.gl-hero-input:focus { border-color: #D4AF37; }
/* ── SMS TOGGLE ── */
.gl-sms-toggle {
  display: flex; align-items: center; gap: 0.55rem;
  cursor: pointer; font-size: 0.82rem; color: rgba(255,255,255,0.65);
  user-select: none;
}
.gl-sms-toggle input[type="checkbox"] {
  width: 15px; height: 15px; accent-color: #D4AF37; cursor: pointer;
}
.gl-phone-wrap { display: none; }
.gl-phone-wrap.visible { display: block; }

/* ── HERO CAPTURE BUTTON ── */
.gl-hero-btn {
  background: linear-gradient(135deg, #D4AF37 0%, #a8860a 100%);
  border: none; border-radius: 4px; color: #0A0500;
  cursor: pointer; font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em;
  padding: 0.85rem 1.6rem; text-transform: uppercase;
  transition: all 0.3s ease; width: 100%;
  box-shadow: 0 4px 22px rgba(212,175,55,0.35);
}
.gl-hero-btn:hover {
  background: linear-gradient(135deg, #FFD750 0%, #D4AF37 100%);
  box-shadow: 0 6px 32px rgba(212,175,55,0.55);
  transform: translateY(-1px);
}
.gl-hero-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.gl-form-note { font-size: 0.74rem; color: rgba(255,255,255,0.38); text-align: center; }

/* ── MODAL OVERLAY ── */
.gl-modal-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(10,5,0,0.88);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; transition: opacity 0.35s ease;
  pointer-events: none;
}
.gl-modal-overlay.gl-visible {
  opacity: 1; pointer-events: all;
}
.gl-modal {
  background: #140A05;
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 8px;
  max-width: 480px; width: 100%;
  padding: 2.4rem 2rem 2rem;
  position: relative;
  transform: translateY(22px); transition: transform 0.35s ease;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
}
.gl-modal-overlay.gl-visible .gl-modal { transform: translateY(0); }
.gl-modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; color: rgba(255,255,255,0.45);
  cursor: pointer; font-size: 1.4rem; line-height: 1;
  transition: color 0.2s; padding: 0.25rem 0.5rem;
}
.gl-modal-close:hover { color: #D4AF37; }
.gl-modal-eyebrow {
  font-family: 'Montserrat', sans-serif; font-size: 0.65rem;
  font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: #D4AF37; margin-bottom: 0.6rem;
}
.gl-modal-title {
  font-family: 'Montserrat', sans-serif; font-size: 1.55rem;
  font-weight: 900; line-height: 1.15; margin-bottom: 0.8rem;
}
.gl-modal-sub {
  font-size: 0.9rem; color: rgba(255,255,255,0.68);
  line-height: 1.65; margin-bottom: 1.4rem;
}
.gl-modal-form { display: flex; flex-direction: column; gap: 0.75rem; }
.gl-modal-input {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 4px; color: #fff;
  font-family: 'Open Sans', sans-serif; font-size: 0.92rem;
  padding: 0.78rem 1rem; outline: none; width: 100%;
  transition: border-color 0.25s ease;
}
.gl-modal-input::placeholder { color: rgba(255,255,255,0.42); }
.gl-modal-input:focus { border-color: #D4AF37; }

/* ── SOCIAL PROOF TICKER ── */
.gl-ticker {
  position: fixed; bottom: 1.4rem; left: 1.2rem; z-index: 8000;
  background: rgba(10,5,0,0.9);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 50px;
  padding: 0.6rem 1.1rem 0.6rem 0.85rem;
  display: flex; align-items: center; gap: 0.6rem;
  max-width: 300px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transform: translateY(10px);
}
.gl-ticker.gl-ticker-in {
  opacity: 1 !important; transform: translateY(0);
}
.gl-ticker-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #D4AF37; flex-shrink: 0;
  animation: glPulse 2s ease-in-out infinite;
}
@keyframes glPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(212,175,55,0.5); }
  50% { box-shadow: 0 0 0 5px rgba(212,175,55,0); }
}
.gl-ticker-text {
  font-size: 0.78rem; color: rgba(255,255,255,0.82);
  font-family: 'Open Sans', sans-serif; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}

/* ── SHARE ROW ── */
.gl-share-section {
  padding: 2.8rem 0;
  border-top: 1px solid rgba(212,175,55,0.1);
}
.gl-share-label {
  font-family: 'Montserrat', sans-serif; font-size: 0.7rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 1.1rem; text-align: center;
}
.gl-share-row {
  display: flex; align-items: center; justify-content: center;
  gap: 0.75rem; flex-wrap: wrap;
}
.gl-share-btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,175,55,0.22);
  border-radius: 50px; color: rgba(255,255,255,0.75);
  cursor: pointer; font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  padding: 0.6rem 1.2rem; text-transform: uppercase;
  text-decoration: none; transition: all 0.25s ease;
}
.gl-share-btn:hover {
  background: rgba(212,175,55,0.1);
  border-color: #D4AF37; color: #D4AF37;
  transform: translateY(-1px);
}
.gl-share-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.gl-copy-confirm { color: #D4AF37 !important; }

/* ── YOUTUBE RED SUBSCRIBE STRIP ── */
.gl-yt-strip {
  background: #FF0000;
  padding: 1.1rem 0;
}
.gl-yt-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: center;
  gap: 1.2rem; flex-wrap: wrap; text-align: center;
}
.gl-yt-strip svg { width: 26px; height: 26px; flex-shrink: 0; fill: #fff; }
.gl-yt-text {
  font-family: 'Montserrat', sans-serif; font-weight: 600;
  font-size: 0.85rem; letter-spacing: 0.06em; color: #fff;
}
.gl-yt-btn {
  background: #fff; border-radius: 4px; color: #CC0000;
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.55rem 1.4rem; text-decoration: none;
  transition: all 0.25s ease; white-space: nowrap;
}
.gl-yt-btn:hover { background: #f0f0f0; transform: translateY(-1px); }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .gl-hero-capture { max-width: 100%; }
  .gl-modal { padding: 2rem 1.4rem 1.6rem; }
  .gl-modal-title { font-size: 1.3rem; }
  .gl-ticker { max-width: calc(100vw - 2.4rem); }
  .gl-yt-inner { gap: 0.8rem; }
}
