/* ============================================================
   SAVADUB — GRC DEN PAGE  |  grc-den.css
   Builds on main.css tokens. Only custom rules that BS5 and
   main.css genuinely cannot produce.
   main.css already provides:
     — page-hero via .hero-section / .hero-bg-grid / .hero-orb
     — .section-eyebrow, .section-title, .section-subtitle, .body-text
     — .btn-savadub-primary / outline / ghost
     — .py-section, .bg-deep, .z-2, .text-accent-red/blue
     — .cta-banner / .cta-banner__bg
   ============================================================ */

/* ── HERO wrapper (inner page — not full-vh like .hero-section) ── */
.grc-hero {
  position: relative;
  overflow: hidden;
  background: var(--clr-bg-deep);
}

/* ── FORM CARD ───────────────────────────────────────────────
   The signup card on the right side of the hero.
   BS5 handles: border, rounded-4, p-4, d-flex, flex-column.
   Custom needed: brand dark surface bg, header gradient strip. */
.grc-form-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.grc-form-card__header {
  padding: 28px 32px 24px;
  background: linear-gradient(135deg,
    rgba(221,51,51,0.09) 0%,
    rgba(102,169,191,0.06) 100%);
  border-bottom: 1px solid var(--clr-border);
}

.grc-form-card__header h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: white;
  margin-bottom: 6px;
  line-height: 1.25;
}

.grc-form-card__header p {
  font-size: 0.85rem;
  color: var(--clr-muted);
  margin: 0;
  line-height: 1.6;
}

/* Form body padding — separate from header */
.grc-form-card form {
  padding: 28px 32px 32px;
}

/* ── FORM INPUTS ─────────────────────────────────────────────
   BS5 .form-control / .form-select give structure.
   Custom needed: brand dark background + white text + border
   colour on focus that matches our design token.             */
.grc-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-muted);
  margin-bottom: 6px;
}

.grc-input {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid var(--clr-border) !important;
  border-radius: var(--radius-sm) !important;
  color: white !important;
  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
  padding: 11px 14px !important;
  transition: border-color var(--transition-fast) !important;
}

.grc-input::placeholder {
  color: rgba(255,255,255,0.22) !important;
}

.grc-input:focus {
  border-color: var(--clr-light-blue) !important;
  box-shadow: 0 0 0 3px rgba(102,169,191,0.12) !important;
  background: rgba(255,255,255,0.07) !important;
  outline: none !important;
}

/* Select option background (can't be white on dark) */
.grc-input option {
  background: #0d1880;
  color: white;
}

/* ── HONEYPOT — visually hidden from real users ─────────────
   BS5 has no honeypot utility.                              */
.grc-honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  tabindex: -1;
}

/* ── FEEDBACK MESSAGE ────────────────────────────────────────
   BS5 .alert gives shape — we add brand colour overrides.   */
.grc-msg--success {
  background: rgba(46,204,113,0.12);
  border: 1px solid rgba(46,204,113,0.3);
  color: #2ecc71;
}

.grc-msg--error {
  background: rgba(221,51,51,0.1);
  border: 1px solid rgba(221,51,51,0.3);
  color: var(--clr-red);
}

/* ── MOBILE ──────────────────────────────────────────────────
   BS5 handles column stacking via col-lg-* breakpoints.
   Custom needed: reduce padding inside form card on small
   screens (BS5 p-4 is 24px; we need a bit less).           */
@media (max-width: 767.98px) {
  .grc-form-card__header { padding: 22px 20px 18px; }
  .grc-form-card form    { padding: 20px 20px 24px; }
  .grc-form-card__header h2 { font-size: 1.15rem; }
}
