/* ============================================================
   NULLIFY 2027 — Shared Component Styles
   File: css/shared.css
   Used by: register.html, sponsor.html
   ============================================================ */


:root {
  --navy: #0f2d52; --navy-mid: #1a4070; --navy-light: #e8f0f9;
  --blue: #1967d2; --blue-hover: #1558c0; --blue-light: #e3eeff;
  --teal: #0a7a7e; --teal-light: #e0f4f5;
  --amber: #d97706; --amber-light: #fef3c7;
  --white: #ffffff; --snow: #f7f9fc; --stone: #f0f2f6;
  --border: #dde3ed; --text: #1c2b3a; --text-mid: #4a637f; --text-light: #7a96b0;
  --green: #15803d; --green-light: #dcfce7;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--snow); color: var(--text); overflow-x: hidden; line-height: 1.6; font-size: 15px; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--stone); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

/* ── NAV ── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem; height: 60px;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(15,45,82,0.07);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-synerg-logo { height: 28px; width: auto; object-fit: contain; display: block; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.82rem; font-weight: 500; color: var(--text-mid); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-cta { font-size: 0.8rem; font-weight: 700; padding: 0.52rem 1.2rem; background: var(--blue); color: var(--white); text-decoration: none; border-radius: 4px; transition: background 0.2s; }
.nav-cta:hover { background: var(--navy); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.8rem; background: var(--blue); color: var(--white);
  font-size: 0.85rem; font-weight: 700; text-decoration: none; border-radius: 4px;
  border: none; cursor: pointer; font-family: 'Inter', sans-serif;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--blue-hover); transform: translateY(-1px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.8rem; background: var(--white); color: var(--navy);
  font-size: 0.85rem; font-weight: 700; text-decoration: none; border-radius: 4px;
  border: 1.5px solid var(--border); cursor: pointer; font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
.btn-outline-white {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.8rem; border: 1.5px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.8);
  background: transparent; font-size: 0.85rem; font-weight: 600;
  text-decoration: none; border-radius: 4px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline-white:hover { border-color: white; color: white; }

/* ── FORMS ── */
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label { font-size: 0.78rem; font-weight: 600; color: var(--text); letter-spacing: 0.02em; }
.req { color: var(--blue); }
.form-label .req { margin-left: 2px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 0.7rem 0.95rem;
  border: 1.5px solid var(--border); border-radius: 4px; background: var(--white);
  font-family: 'Inter', sans-serif; font-size: 0.88rem; color: var(--text);
  transition: border-color 0.18s, box-shadow 0.18s; outline: none; appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(25,103,210,0.1); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-light); }
.form-textarea { resize: vertical; min-height: 110px; }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a637f' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.2rem; cursor: pointer; }
.form-hint { font-size: 0.73rem; color: var(--text-light); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-checkbox-group { display: flex; flex-direction: column; gap: 0.55rem; }
.form-checkbox { display: flex; align-items: flex-start; gap: 0.6rem; cursor: pointer; }
.form-checkbox input[type="checkbox"] { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; accent-color: var(--blue); cursor: pointer; }
.form-checkbox-label { font-size: 0.82rem; color: var(--text-mid); line-height: 1.45; }
.form-checkbox-label a { color: var(--blue); }
.form-radio-group { display: flex; flex-direction: column; gap: 0.55rem; }
.form-radio { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; padding: 0.7rem 1rem; border: 1.5px solid var(--border); border-radius: 4px; background: var(--white); transition: border-color 0.18s, background 0.18s; }
.form-radio:hover { border-color: var(--blue); background: var(--blue-light); }
.form-radio input[type="radio"] { accent-color: var(--blue); flex-shrink: 0; cursor: pointer; }
.form-radio-label { font-size: 0.85rem; color: var(--text); font-weight: 500; }
.form-divider { border: none; border-top: 1px solid var(--border); margin: 0.5rem 0; }
.form-section-title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.05rem; color: var(--navy); margin-bottom: 1rem; padding-bottom: 0.6rem; border-bottom: 2px solid var(--navy-light); }

/* ── PAGE HERO ── */
.page-hero { background: var(--navy); padding: 5.5rem 3rem 3rem; }
.page-hero-inner { max-width: 1160px; margin: 0 auto; }
.page-eyebrow { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 0.7rem; display: block; }
.page-title { font-family: 'Playfair Display', serif; font-weight: 800; font-size: clamp(2rem, 4vw, 3.2rem); color: var(--white); line-height: 1.12; margin-bottom: 0.7rem; }
.page-title span { color: #93c5fd; }
.page-subtitle { font-size: 1rem; color: rgba(255,255,255,0.55); max-width: 580px; line-height: 1.75; }

/* ── FOOTER ── */
.site-footer { background: #07162b; border-top: 1px solid rgba(255,255,255,0.06); }
.site-footer .footer-inner { max-width: 1160px; margin: 0 auto; padding: 3rem 3rem 2rem; display: grid; grid-template-columns: 240px 1fr; gap: 3rem; align-items: start; }
.footer-synerg-logo { height: 34px; width: auto; object-fit: contain; margin-bottom: 1rem; display: block; }
.footer-disclaimer { font-size: 0.78rem; color: rgba(255,255,255,0.45); line-height: 1.65; margin-bottom: 0.6rem; font-style: italic; }
.footer-org { font-size: 0.7rem; color: rgba(255,255,255,0.25); letter-spacing: 0.04em; }
.footer-links-group { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.footer-col-title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 0.78rem; color: white; margin-bottom: 0.9rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.footer-links a { font-size: 0.76rem; color: rgba(255,255,255,0.38); text-decoration: none; transition: color 0.18s; }
.footer-links a:hover { color: #93c5fd; }
.site-footer .footer-bottom { max-width: 1160px; margin: 0 auto; padding: 1.2rem 3rem; border-top: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem; }
.f-logo { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 0.9rem; color: white; }
.f-logo span { color: #93c5fd; }
.f-note { font-size: 0.68rem; color: rgba(255,255,255,0.2); }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(96,165,250,0.25); } 50% { box-shadow: 0 0 0 6px rgba(96,165,250,0.1); } }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.45s ease, transform 0.45s ease; }
.reveal.vis { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .site-nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .page-hero { padding: 5rem 1.5rem 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .site-footer .footer-inner { grid-template-columns: 1fr; padding: 2.5rem 1.5rem 1.5rem; }
  .footer-links-group { grid-template-columns: repeat(2,1fr); }
  .site-footer .footer-bottom { padding: 1rem 1.5rem; }
}
@media (max-width: 580px) { .footer-links-group { grid-template-columns: 1fr 1fr; } }
