/*
 * shorthand_signup.css — BHV dark-theme landing styles
 * ALL rules are scoped under .bhv-* to prevent leakage into normal Hydra UI.
 */

@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Inter:wght@400;600;700&display=swap');

/* =========================================================
   Reset / page base
   ========================================================= */
.bhv-page {
  min-height: 100vh;
  background: #0b0f14;
  color: #e8edf2;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

.bhv-page *,
.bhv-page *::before,
.bhv-page *::after {
  box-sizing: border-box;
}

/* =========================================================
   Nav bar
   ========================================================= */
.bhv-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: #0e1419;
  border-bottom: 1px solid #1e2d3d;
}

.bhv-nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.bhv-nav__logo-img {
  height: 46px;
  width: auto;
}

/* =========================================================
   Hero section
   ========================================================= */
.bhv-hero {
  position: relative;
  padding: 5rem 2rem 4rem;
  background: linear-gradient(135deg, #0d3b38 0%, #0b2034 60%, #0b0f14 100%);
  overflow: hidden;
}

/* subtle hex / circuit pattern overlay */
.bhv-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      60deg,
      transparent,
      transparent 28px,
      rgba(61, 220, 151, 0.04) 28px,
      rgba(61, 220, 151, 0.04) 29px
    ),
    repeating-linear-gradient(
      -60deg,
      transparent,
      transparent 28px,
      rgba(61, 220, 151, 0.04) 28px,
      rgba(61, 220, 151, 0.04) 29px
    );
  pointer-events: none;
}

.bhv-hero__inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.bhv-hero__back {
  display: inline-block;
  font-size: 0.85rem;
  color: #8899aa;
  text-decoration: none;
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

.bhv-hero__back:hover {
  color: #3ddc97;
}

.bhv-hero__title {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.1;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.bhv-hero__title span {
  color: #3ddc97;
}

.bhv-hero__tagline {
  font-size: 1.05rem;
  color: #b0c4d4;
  max-width: 560px;
  margin: 0;
}

/* =========================================================
   Content wrapper
   ========================================================= */
.bhv-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

/* =========================================================
   Sign-up form card
   ========================================================= */
.bhv-card {
  background: #111822;
  border: 1px solid #1e2d3d;
  border-radius: 8px;
  padding: 2rem 2.5rem;
}

.bhv-card__heading {
  font-family: 'Share Tech Mono', monospace;
  font-size: 1.1rem;
  color: #3ddc97;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 1.75rem;
  border-bottom: 1px solid #1e2d3d;
  padding-bottom: 0.75rem;
}

/* ---- field rows ---- */
.bhv-field {
  margin-bottom: 1.25rem;
}

.bhv-field__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #8899aa;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.bhv-field__input {
  display: block;
  width: 100%;
  padding: 0.6rem 0.85rem;
  background: #0b0f14;
  border: 1px solid #2a3f55;
  border-radius: 4px;
  color: #e8edf2;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  outline: none;
}

.bhv-field__input::placeholder {
  color: #3d5166;
}

.bhv-field__input:focus {
  border-color: #3ddc97;
  box-shadow: 0 0 0 3px rgba(61, 220, 151, 0.12);
}

.bhv-field__input.bhv-field__input--password {
  letter-spacing: 0.1em;
}

.bhv-field__errors {
  list-style: none;
  padding: 0;
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: #f97c7c;
}

.bhv-field__errors li::before {
  content: '⚠ ';
}

/* ---- honeypot (visually hidden, kept for bots) ---- */
.bhv-honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ---- optional field label hint ---- */
.bhv-field__label-hint {
  opacity: 0.55;
  font-weight: 400;
  text-transform: none;
}

/* ---- submit button ---- */
.bhv-btn-primary {
  display: inline-block;
  padding: 0.7rem 2rem;
  background: #3ddc97;
  color: #0b0f14;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.15s ease, transform 0.1s ease;
  margin-top: 0.5rem;
}

.bhv-btn-primary:hover {
  background: #5de8aa;
}

.bhv-btn-primary:active {
  transform: translateY(1px);
}

/* ---- non-field errors ---- */
.bhv-form-errors {
  background: rgba(249, 124, 124, 0.08);
  border: 1px solid rgba(249, 124, 124, 0.3);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: #f97c7c;
  list-style: none;
}

/* =========================================================
   Registered / confirmation card
   ========================================================= */
.bhv-confirm {
  background: #111822;
  border: 1px solid #1e2d3d;
  border-radius: 8px;
  padding: 2.5rem;
  text-align: center;
}

.bhv-confirm__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.bhv-confirm__message {
  font-size: 1.1rem;
  color: #b0c4d4;
  max-width: 480px;
  margin: 0 auto;
}

/* =========================================================
   Footer
   ========================================================= */
.bhv-footer {
  background: #0e1419;
  border-top: 1px solid #1e2d3d;
  padding: 2.5rem 2rem 1.5rem;
}

.bhv-footer__inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}

.bhv-footer__brand {
  flex: 0 0 auto;
}

.bhv-footer__logo-img {
  height: 34px;
  width: auto;
  opacity: 0.85;
}

.bhv-footer__tagline {
  font-size: 0.8rem;
  color: #566880;
  margin: 0.5rem 0 0;
  max-width: 220px;
}

.bhv-footer__links {
  flex: 1;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.bhv-footer__col-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #8899aa;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
}

.bhv-footer__col a {
  display: block;
  font-size: 0.85rem;
  color: #566880;
  text-decoration: none;
  line-height: 1.8;
}

.bhv-footer__col a:hover {
  color: #3ddc97;
}

.bhv-footer__bottom {
  max-width: 720px;
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid #1a2635;
  font-size: 0.75rem;
  color: #3d5166;
  text-align: center;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 600px) {
  .bhv-nav {
    padding: 0.75rem 1rem;
  }

  .bhv-hero {
    padding: 3.5rem 1rem 2.5rem;
  }

  .bhv-content {
    padding: 2rem 1rem 3rem;
  }

  .bhv-card {
    padding: 1.5rem 1.25rem;
  }

  .bhv-footer__links {
    justify-content: flex-start;
  }
}
