:root {
  --navy-950: #021723;
  --navy-900: #032636;
  --navy-800: #06394a;
  --teal-500: #12d8c4;
  --teal-400: #43f0d7;
  --green-400: #59dc8b;
  --white: #ffffff;
  --muted: #bcd7dc;
  --danger: #ffb4b4;
  --shadow: 0 30px 80px rgba(0, 12, 23, .42);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 16%, rgba(57, 238, 210, .20), transparent 28rem),
    radial-gradient(circle at 10% 72%, rgba(40, 211, 156, .12), transparent 30rem),
    linear-gradient(135deg, #021722 0%, #063443 52%, #03212f 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  opacity: .22;
  background-image:
    linear-gradient(rgba(82, 244, 223, .15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82, 244, 223, .15) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 75% 35%, black, transparent 58%);
}

body::after {
  background: linear-gradient(90deg, transparent 0 70%, rgba(90, 255, 213, .04) 70% 71%, transparent 71%);
}

a { color: inherit; }

button, input, select { font: inherit; }

.page-shell {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 22px clamp(18px, 4vw, 62px) 24px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 5px 0 28px;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: clamp(2.15rem, 3.2vw, 3.35rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.07em;
  color: #07162d;
  -webkit-text-stroke: 1px rgba(105, 255, 235, .85);
  filter: drop-shadow(0 0 12px rgba(45, 245, 220, .45));
}

.brand-check {
  position: absolute;
  left: 1.65rem;
  top: -1.18rem;
  color: var(--teal-400);
  font-size: 2.35rem;
  -webkit-text-stroke: 0;
}

.brand-claim {
  color: #d8f2f1;
  font-size: .96rem;
  font-weight: 650;
  text-align: right;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .82fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: center;
  min-height: calc(100vh - 140px);
  padding: 16px 0 34px;
}

.hero-copy {
  max-width: 790px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 9px 14px;
  border: 1px solid rgba(73, 244, 218, .45);
  border-radius: 999px;
  background: rgba(3, 31, 44, .56);
  color: #b9fff5;
  font-size: .84rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff4d5f;
  box-shadow: 0 0 0 7px rgba(255, 77, 95, .15);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(.8); opacity: .65; }
}

h1 {
  margin: 0;
  font-size: clamp(2.45rem, 5.2vw, 5rem);
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
  text-shadow: 0 8px 35px rgba(0,0,0,.30);
}

.lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: #d2e7e9;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.68;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.meta-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(79, 248, 220, .26);
  border-radius: 14px;
  background: rgba(1, 21, 34, .45);
  color: #e9ffff;
  font-size: .91rem;
  backdrop-filter: blur(10px);
}

.meta-icon {
  color: var(--teal-400);
  font-size: 1.1rem;
}

.topics {
  margin-top: 28px;
  padding: 22px 24px;
  border-left: 4px solid var(--teal-500);
  border-radius: 0 20px 20px 0;
  background: linear-gradient(90deg, rgba(5, 70, 78, .58), rgba(2, 26, 40, .23));
}

.topics h2 {
  margin: 0 0 12px;
  font-size: 1rem;
  color: #9ff9eb;
  letter-spacing: .02em;
}

.topics ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #efffff;
}

.topics li {
  position: relative;
  padding-left: 22px;
  line-height: 1.45;
}

.topics li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal-400);
  font-weight: 900;
}

.speaker {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 24px;
}

.speaker-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--teal-500), var(--green-400));
  color: #022235;
  font-size: 1.35rem;
  font-weight: 950;
  box-shadow: 0 12px 28px rgba(23, 211, 176, .25);
}

.speaker div { display: grid; gap: 2px; }
.speaker strong { font-size: 1rem; }
.speaker span:last-child { color: var(--muted); font-size: .9rem; }

.registration-area {
  position: relative;
  width: min(100%, 520px);
  justify-self: end;
  padding-top: 115px;
}

.mascot-wrap {
  position: absolute;
  z-index: 0;
  top: -72px;
  right: 50%;
  width: 330px;
  transform: translateX(50%);
  filter: drop-shadow(0 30px 35px rgba(0, 15, 25, .48));
}

.mascot-wrap img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 50%;
}

.form-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 32px;
  border: 1px solid rgba(101, 255, 229, .46);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(5, 47, 61, .96), rgba(2, 27, 41, .96));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.form-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-500), var(--green-400));
}

.form-header { margin-bottom: 23px; }

.form-kicker {
  color: var(--teal-400);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.form-header h2 {
  margin: 7px 0 8px;
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -.03em;
}

.form-header p {
  margin: 0;
  color: #bdd9dd;
  font-size: .93rem;
  line-height: 1.55;
}

#liveForm {
  display: grid;
  gap: 15px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: #eaffff;
  font-size: .86rem;
  font-weight: 750;
}

input,
select {
  width: 100%;
  height: 50px;
  border: 1px solid rgba(140, 233, 224, .24);
  border-radius: 13px;
  outline: none;
  background: rgba(0, 18, 30, .62);
  color: #fff;
  padding: 0 14px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

input::placeholder { color: #7696a0; }

select { cursor: pointer; }

input:focus,
select:focus {
  border-color: var(--teal-400);
  box-shadow: 0 0 0 4px rgba(59, 238, 216, .11);
}

input[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: #ff8f9a;
}

.field-error {
  min-height: 0;
  color: var(--danger);
  font-size: .75rem;
  line-height: 1.3;
}

.field-error:empty { display: none; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #c4dade;
  font-size: .78rem;
  line-height: 1.45;
  cursor: pointer;
}

.consent input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  accent-color: var(--teal-500);
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
}

.submit-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-height: 54px;
  margin-top: 2px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(135deg, #31efd1, #5cdd8d);
  color: #032139;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(38, 224, 183, .25);
  transition: transform .18s ease, filter .18s ease;
}

.submit-btn:hover { transform: translateY(-2px); filter: brightness(1.04); }
.submit-btn:active { transform: translateY(0); }
.submit-btn:disabled { cursor: wait; opacity: .72; transform: none; }

.btn-loader {
  display: none;
  width: 23px;
  height: 23px;
  border: 3px solid rgba(3, 33, 57, .24);
  border-top-color: #032139;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

.submit-btn.loading .btn-label { display: none; }
.submit-btn.loading .btn-loader { display: block; }

@keyframes spin { to { transform: rotate(360deg); } }

.form-status {
  display: none;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: .86rem;
  line-height: 1.45;
}

.form-status.error {
  display: block;
  color: #ffe4e4;
  background: rgba(146, 29, 45, .35);
  border: 1px solid rgba(255, 143, 154, .30);
}

.form-status.success {
  display: block;
  color: #dcfff8;
  background: rgba(10, 121, 99, .34);
  border: 1px solid rgba(74, 241, 211, .28);
}

.privacy-note {
  margin: -2px 0 0;
  color: #789ba4;
  font-size: .72rem;
  text-align: center;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(111, 239, 220, .14);
  color: #87aeb4;
  font-size: .78rem;
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy { max-width: 880px; }
  .registration-area { justify-self: center; margin-top: 35px; }
}

@media (max-width: 680px) {
  .page-shell { padding-inline: 16px; }
  .topbar { align-items: flex-start; }
  .brand-claim { max-width: 190px; font-size: .78rem; }
  .hero { gap: 24px; padding-top: 8px; }
  h1 { font-size: clamp(2.35rem, 12vw, 3.35rem); }
  .topics ul { grid-template-columns: 1fr; }
  .registration-area { padding-top: 88px; }
  .mascot-wrap { top: -58px; width: 250px; }
  .form-card { padding: 27px 20px 24px; border-radius: 23px; }
  footer { flex-direction: column; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
