/* =============================================================================
   Flexidao Evening in Amsterdam: save-the-date landing page styles
   Dark ("midnight") variant of the Client Summit landing page system.
   Brand tokens + webfonts come from design-system/colors_and_type.css.
   ========================================================================== */

/* ---- Reset / base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--fx-font-body);
  color: var(--fx-white);
  background: var(--fx-midnight);          /* #000722 */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }

/* `hidden` must win over component display rules (e.g. .form { display:flex }) */
[hidden] { display: none !important; }

.container { max-width: 1180px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }

/* Eyebrow / section brow */
.brow {
  font-family: var(--fx-font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--fx-purple-tint);
  margin-bottom: 18px;
}

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--fx-font-display);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 200ms, border-color 200ms;
}
.btn--primary { background: var(--fx-gradient-purple-blue); color: #fff; }
.btn--primary:hover { opacity: 0.9; }

.btn--ghost {
  background: rgba(0, 7, 34, 0.25);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.btn--ghost:hover { border-color: var(--fx-purple-tint); }

.btn--nav   { font-size: 16px; padding: 13px 24px; }
.btn--lg    { font-size: 18px; padding: 17px 34px; }
.btn--ghost.btn--lg { padding: 17px 30px; }   /* slightly tighter than filled */
.btn--block { display: block; width: 100%; font-size: 18px; padding: 17px; margin-top: 6px; text-align: center; }

/* =============================================================================
   HERO: Amsterdam at dusk, melting into midnight
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
}

.hero__photo {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("assets/hero/amsterdam-night.jpg");
  background-size: cover;
  background-position: center 30%;
}

/* Scrim: keeps the copy readable and dissolves the photo into the page bg */
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 7, 34, 0.62) 0%, rgba(0, 7, 34, 0.30) 55%, rgba(0, 7, 34, 0.20) 100%),
    linear-gradient(180deg, rgba(0, 7, 34, 0.42) 0%, rgba(0, 7, 34, 0.30) 40%, rgba(0, 7, 34, 0.82) 78%, var(--fx-midnight) 100%);
}

.hero__glow { position: absolute; border-radius: 50%; filter: blur(8px); pointer-events: none; }
.hero__glow--purple {
  width: 920px; height: 920px; right: -300px; top: -340px;
  background: radial-gradient(circle, rgba(146, 50, 255, 0.28) 0%, rgba(146, 50, 255, 0.08) 42%, transparent 66%);
}
.hero__glow--blue {
  width: 760px; height: 760px; left: -260px; bottom: -360px;
  background: radial-gradient(circle, rgba(15, 98, 251, 0.22) 0%, rgba(15, 98, 251, 0.07) 42%, transparent 66%);
}

.nav {
  position: relative;
  width: 100%;
  padding-top: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo { height: 34px; width: auto; }

.hero__content {
  position: relative;
  width: 100%;
  margin-top: auto;
  padding-top: 96px;
  padding-bottom: 110px;
}

.hero__brow {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #d9c8ff;
  text-shadow: 0 1px 3px rgba(0, 7, 34, 0.9), 0 2px 18px rgba(0, 7, 34, 0.7);
  margin-bottom: 22px;
}

.hero__title {
  font-family: var(--fx-font-display);
  font-weight: 400;
  font-size: 92px;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0;
  max-width: 1000px;
  text-wrap: balance;
}
.hero__title-accent {
  background-image: linear-gradient(180deg, #C7A2FF 0%, #A871FF 52%, #9232FF 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.hero__subtitle {
  font-size: 23px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  max-width: 660px;
  margin: 28px 0 0;
}

/* date / location chips: dark glass */
.chips { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.chip {
  display: flex; align-items: center; gap: 12px;
  background: rgba(0, 7, 34, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  padding: 12px 22px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.chip__label {
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--fx-purple-tint);
}
.chip__value { font-size: 17px; font-weight: 500; color: #fff; }

.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 44px; }
.hero__note { font-size: 15px; color: rgba(255, 255, 255, 0.6); }

/* =============================================================================
   REGISTER
   ========================================================================== */
.register {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--fx-midnight) 0%, #030d2e 55%, var(--fx-midnight) 100%);
}
.register__glow {
  position: absolute; width: 820px; height: 820px; right: -280px; top: -320px;
  border-radius: 50%; filter: blur(8px); pointer-events: none;
  background: radial-gradient(circle, rgba(146, 50, 255, 0.20) 0%, rgba(146, 50, 255, 0.06) 44%, transparent 66%);
}
.register__inner {
  position: relative;
  padding-top: 96px; padding-bottom: 110px;
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start;
}
.register__copy { padding-top: 8px; }
.register__title {
  font-family: var(--fx-font-display);
  font-weight: 400; font-size: 44px; line-height: 1.08; letter-spacing: -0.03em;
  color: #fff; margin: 0; text-wrap: balance;
}
.register__text {
  font-size: 20px; line-height: 1.6; color: rgba(255, 255, 255, 0.66); margin: 22px 0 0;
}
.register__facts { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.register__facts li { display: flex; align-items: center; gap: 14px; font-size: 17px; color: rgba(255, 255, 255, 0.88); }
.register__facts .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fx-purple-tint); flex: none; }

/* ---- Form card ----------------------------------------------------------- */
.card {
  background: var(--fx-card-dark);            /* #0c1c39 */
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.form { display: flex; flex-direction: column; gap: 18px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__field { min-width: 0; }
.form__label {
  display: block; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.92); margin-bottom: 7px;
}
.req { color: var(--fx-purple-tint); }

.form__input {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--fx-font-body);
  font-size: 16px;
  color: #fff;
  outline: none;
  transition: border-color 150ms, background-color 150ms;
}
.form__input::placeholder { color: rgba(255, 255, 255, 0.35); }
.form__input:focus { border-color: var(--fx-purple-tint); background: rgba(255, 255, 255, 0.08); }

.form__error { font-size: 13px; color: #ffb4a8; margin-top: 6px; }
.form__error:empty { display: none; }
.form__error--tight { margin-top: -10px; }

.check { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; }
.check__box { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--fx-purple); flex: none; }
.check__label { font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, 0.72); }
.check__label a { color: var(--fx-purple-tint); text-decoration: none; }
.check__label a:hover { text-decoration: underline; }

/* ---- Attendance choice (radio cards) ------------------------------------- */
.form__fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form__fieldset legend.form__label { padding: 0; }
.choices { display: flex; flex-direction: column; gap: 10px; }
.choice {
  display: flex; align-items: flex-start; gap: 11px; cursor: pointer;
  padding: 13px 15px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 8px;
  transition: border-color 150ms, background-color 150ms;
}
.choice:hover { border-color: var(--fx-purple-tint); }
.choice:has(input:checked) { border-color: var(--fx-purple-tint); background: rgba(146, 50, 255, 0.14); }
.choice__radio { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--fx-purple); flex: none; }
.choice__label { font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, 0.85); }

/* ---- Success state ------------------------------------------------------- */
.success { padding: 34px 8px; text-align: center; }
.success__icon {
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(146, 50, 255, 0.16);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.success__title {
  font-family: var(--fx-font-display);
  font-weight: 400; font-size: 30px; letter-spacing: -0.02em;
  color: #fff; margin: 0 0 12px;
}
.success__text {
  font-size: 18px; line-height: 1.55; color: rgba(255, 255, 255, 0.68);
  margin: 0 auto; max-width: 420px;
}

/* =============================================================================
   FOOTER
   ========================================================================== */
.footer { background: #010517; border-top: 1px solid var(--fx-midnight-tint); }
.footer__inner {
  padding-top: 56px; padding-bottom: 56px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.footer__logo { height: 30px; width: auto; }
.footer__meta { font-size: 15px; color: rgba(255, 255, 255, 0.5); text-align: right; line-height: 1.5; }

/* =============================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 960px) {
  .hero__title { font-size: clamp(52px, 10vw, 92px); }
  .hero__content { padding-top: 72px; padding-bottom: 84px; }

  .register__inner { grid-template-columns: 1fr; gap: 40px; }
  .register__copy { padding-top: 0; }
  .register__text { max-width: none; }
}

@media (max-width: 600px) {
  .container { padding-left: 22px; padding-right: 22px; }

  .nav { padding-top: 24px; }
  .nav .btn--nav { display: none; }   /* hero CTA covers it on small screens */
  .hero { min-height: 100vh; }
  .hero__title { font-size: clamp(42px, 12vw, 60px); }
  .hero__subtitle { font-size: 19px; }
  .hero__content { padding-bottom: 64px; }
  .hero__ctas .btn { width: 100%; text-align: center; }
  .hero__note { text-align: center; width: 100%; }
  .chip { width: 100%; justify-content: flex-start; }

  .register__title { font-size: 32px; }

  .register__inner { padding-top: 64px; padding-bottom: 72px; }
  .card { padding: 24px; }
  .form__grid { grid-template-columns: 1fr; }

  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__meta { text-align: left; }
}
