/* Background + base */
body {
  background: url("/images/pdx_ai_skyline.webp") center/cover no-repeat fixed;
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #0f172a;
}

/* Hero */
.gh-hero {
  max-width: 1100px;
  margin: 24px auto 0;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 10px 28px rgba(2, 8, 23, 0.08);
}
.gh-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3.8vw, 40px);
}
.gh-hero p {
  margin: 0;
  color: #334155;
}

/* Card container */
.gh-card {
  max-width: 980px;
  margin: 16px auto 28px;
  padding: 16px 16px 22px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(2, 8, 23, 0.08);
  overflow: visible;
}

/* Make sure Zoho wrapper fills the card */
.gh-card > [id^="sf3z98f"] {
  width: 100%;
}
#customForm {
  width: 100%;
}

/* Form layout */
.gh-form {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.gh-form .full {
  grid-column: 1 / -1;
}

label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #0b1324;
  display: block;
  margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #0f172a;
  font-size: 1rem;
  outline: none;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
  border-color: #88c9ff;
  box-shadow: 0 0 0 3px rgba(30, 165, 247, 0.15);
}

/* Captcha */
.recaptcha.captcha-wrap,
.captcha-wrap {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px;
}
.captcha-head {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 8px;
}
.cap-refresh {
  appearance: none;
  border: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 6px 10px;
  cursor: pointer;
}
.cap-refresh:hover {
  filter: brightness(1.05);
}

#captchaDiv {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px;
  min-height: 120px; /* ensures the image has space on first render */
}
#captchaText {
  margin-top: 10px;
  width: 100%;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}
#capRequired {
  color: #b40000;
  font-size: 11px;
  margin-left: 6px;
}

/* CTA button row */
.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 12px;
}
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 9999px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  transition: transform 0.15s, filter 0.15s, box-shadow 0.15s, background-color 0.15s, border-color 0.15s;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, #1ea5f7 0%, #8c5ae8 100%);
  box-shadow: 0 6px 16px rgba(30, 165, 247, 0.25);
  border: 0;
}
.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

/* Success note + privacy note */
#Zc_SignupSuccess {
  margin: 8px 0 14px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  border-radius: 12px;
  padding: 10px 14px;
}
.note {
  font-size: 0.9rem;
  color: #64748b;
  text-align: center;
  margin-top: 8px;
}

/* Responsive */
@media (max-width: 860px) {
  .gh-form {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}
