/* ============================================================
   RECON-EX 2026 — Registration Page Stylesheet
   ============================================================ */

:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --dark: #0D0D0D;
  --dark-2: #141414;
  --dark-3: #1C1C1C;
  --offwhite: #F5F0E8;
  --text-muted: #9A9A8A;
  --red: #e05252;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--dark); color: var(--offwhite); min-height: 100vh; }

nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 60px;
  background: rgba(13,13,13,0.98);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  position: sticky; top: 0; z-index: 50;
}
.nav-logo { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 900; color: var(--gold); text-decoration: none; }
.nav-logo span { color: var(--offwhite); }
.back-link { color: var(--text-muted); text-decoration: none; font-size: 0.82rem; letter-spacing: 1px; transition: color 0.2s; }
.back-link:hover { color: var(--gold); }

.page-wrapper { display: grid; grid-template-columns: 340px 1fr; min-height: calc(100vh - 61px); }

.reg-info {
  background: linear-gradient(160deg, #1a1508 0%, #0f0f0f 70%);
  border-right: 1px solid rgba(201,168,76,0.15);
  padding: 52px 40px;
  position: sticky; top: 61px; height: calc(100vh - 61px); overflow-y: auto;
}
.eyebrow { font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content:''; width: 28px; height: 1px; background: var(--gold); }
.reg-info h1 { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 900; line-height: 1.1; margin-bottom: 10px; }
.reg-info h1 em { color: var(--gold); font-style: normal; }
.reg-info .tagline { color: rgba(245,240,232,0.55); font-size: 0.86rem; line-height: 1.6; margin-bottom: 28px; }
.free-badge { display: inline-block; background: var(--gold); color: var(--dark); font-weight: 700; font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase; padding: 7px 18px; border-radius: 2px; margin-bottom: 28px; }
.info-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.info-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.83rem; color: rgba(245,240,232,0.6); line-height: 1.5; }
.info-item .ico { flex-shrink: 0; margin-top: 1px; }
.info-item .ico svg { width: 14px; height: 14px; stroke: var(--gold); fill: none; stroke-width: 2; }
.divider { height: 1px; background: rgba(201,168,76,0.15); margin: 22px 0; }
.what-you-get h4 { font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.benefit { display: flex; gap: 9px; align-items: flex-start; margin-bottom: 10px; font-size: 0.81rem; color: rgba(245,240,232,0.58); line-height: 1.4; }
.benefit::before { content: '\2713'; color: var(--gold); font-weight: 700; flex-shrink: 0; }

.reg-form-wrap { padding: 52px 60px; background: var(--dark-2); }
.form-header { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid rgba(201,168,76,0.12); }
.form-header h2 { font-family: 'Playfair Display', serif; font-size: 1.8rem; margin-bottom: 6px; }
.form-header p { font-size: 0.86rem; color: var(--text-muted); }

.form-section { margin-bottom: 40px; }
.form-section-title {
  font-size: 0.68rem; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(201,168,76,0.15);
  display: flex; align-items: center; gap: 10px;
}
.form-section-title .num {
  background: var(--gold); color: var(--dark);
  width: 19px; height: 19px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem; font-weight: 700; flex-shrink: 0;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }

label { font-size: 0.77rem; color: rgba(245,240,232,0.7); letter-spacing: 0.2px; }
label .req { color: var(--red); margin-left: 2px; }
label .hint { font-weight: 300; color: var(--text-muted); }

input[type="text"], input[type="email"], input[type="tel"], select {
  background: var(--dark-3);
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: 3px; color: var(--offwhite);
  font-family: 'DM Sans', sans-serif; font-size: 0.88rem;
  padding: 11px 12px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%; appearance: none;
}
input::placeholder { color: rgba(154,154,138,0.42); }
input:focus, select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.07); }
select option { background: #1C1C1C; }
input.invalid, select.invalid { border-color: var(--red) !important; }

.phone-row { display: grid; grid-template-columns: 145px 1fr; gap: 8px; }
.error-msg { font-size: 0.72rem; color: var(--red); margin-top: 3px; display: none; }

.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 24px; }
.checkbox-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 9px 20px; }
.cb-item { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.cb-item input[type="checkbox"] { width: 14px; height: 14px; flex-shrink: 0; accent-color: var(--gold); cursor: pointer; margin: 0; }
.cb-item span { font-size: 0.8rem; color: rgba(245,240,232,0.62); line-height: 1.3; }

.seniority-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.radio-pill input[type="radio"] { display: none; }
.radio-pill label {
  display: block; cursor: pointer;
  background: var(--dark-3); border: 1px solid rgba(201,168,76,0.15);
  border-radius: 3px; padding: 10px;
  font-size: 0.77rem; color: rgba(245,240,232,0.6);
  text-align: center; line-height: 1.3;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.radio-pill input:checked + label { border-color: var(--gold); background: rgba(201,168,76,0.1); color: var(--offwhite); }
.radio-pill label:hover { border-color: rgba(201,168,76,0.38); }

.consent-block { display: flex; gap: 9px; align-items: flex-start; margin-bottom: 12px; }
.consent-block input[type="checkbox"] { width: 14px; height: 14px; flex-shrink: 0; margin-top: 3px; accent-color: var(--gold); }
.consent-block label { font-size: 0.79rem; color: rgba(245,240,232,0.52); line-height: 1.5; cursor: pointer; }
.consent-block label a { color: var(--gold); text-decoration: none; }

.submit-area { padding-top: 28px; border-top: 1px solid rgba(201,168,76,0.12); }
.btn-submit {
  background: var(--gold); color: var(--dark); border: none; cursor: pointer;
  padding: 14px 50px; border-radius: 2px;
  font-family: 'DM Sans', sans-serif; font-size: 0.88rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
}
.btn-submit:hover { background: var(--gold-light); transform: translateY(-2px); }
.secure-note { font-size: 0.74rem; color: var(--text-muted); margin-top: 10px; }

.success-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(13,13,13,0.97); z-index: 999;
  flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px;
}
.success-overlay.show { display: flex; }
.success-icon { width: 72px; height: 72px; border-radius: 50%; background: rgba(201,168,76,0.12); border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.success-icon svg { width: 32px; height: 32px; stroke: var(--gold); fill: none; stroke-width: 2.5; }
.success-overlay h2 { font-family: 'Playfair Display', serif; font-size: 2.3rem; margin-bottom: 12px; }
.success-overlay h2 em { color: var(--gold); font-style: normal; }
.success-overlay p { color: rgba(245,240,232,0.62); max-width: 440px; line-height: 1.7; margin-bottom: 28px; }
.btn-back { display: inline-block; background: var(--gold); color: var(--dark); padding: 13px 38px; border-radius: 2px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; font-size: 0.86rem; }

@media (max-width: 1000px) {
  .page-wrapper { grid-template-columns: 1fr; }
  .reg-info { position: static; height: auto; }
  nav, .reg-form-wrap { padding-left: 24px; padding-right: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .checkbox-grid, .checkbox-grid-3, .seniority-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .checkbox-grid, .checkbox-grid-3, .seniority-grid { grid-template-columns: 1fr; }
}