:root {
  --bg: #07111f;
  --bg-deep: #030712;
  --panel: rgba(8, 18, 34, 0.78);
  --panel-strong: rgba(10, 23, 41, 0.92);
  --line: rgba(157, 194, 255, 0.18);
  --text: #eaf2ff;
  --muted: #afbed8;
  --accent: #ffd166;
  --accent-strong: #ff9e44;
  --cyan: #92d8ff;
  --crimson: #ff5d5d;
  --shadow: 0 24px 80px rgba(1, 6, 16, 0.45);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--text);
  background:
    linear-gradient(140deg, rgba(2, 8, 18, 0.94), rgba(11, 21, 41, 0.86)),
    radial-gradient(circle at top right, rgba(255, 76, 76, 0.35), transparent 24%),
    radial-gradient(circle at top left, rgba(89, 180, 255, 0.2), transparent 26%),
    url("assets/nicis-background.jpg") center top / cover no-repeat fixed,
    var(--bg-deep);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.topbar,
.hero,
.registration-section,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 14, 27, 0.55);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
}

.brand-mark {
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}

.brand-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.topbar-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-link,
.button,
.submit-button {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.primary-link {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 600;
}

.primary-link {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #10141e;
}

.primary-link:hover,
.button:hover,
.submit-button:hover {
  transform: translateY(-1px);
}

.hero {
  margin-bottom: 28px;
}

.hero-copy,
.form-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(9, 18, 34, 0.86), rgba(5, 13, 24, 0.96));
  box-shadow: var(--shadow);
}

.hero-success {
  max-width: 760px;
  margin: 0 auto;
}

.hero-success .hero-copy {
  text-align: center;
}

.hero-copy {
  padding: 44px;
  border-radius: var(--radius-xl);
}

.eyebrow,
.panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
}

.eyebrow::before,
.panel-kicker::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--crimson));
  box-shadow: 0 0 20px rgba(255, 109, 74, 0.55);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 18px;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.hero-lead,
.registration-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.05rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.highlight-card {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(175, 205, 255, 0.14);
}

.highlight-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.highlight-card span {
  display: block;
  color: var(--muted);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 700;
}

.button-primary {
  color: #0f1420;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.registration-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 28px;
  margin-bottom: 28px;
  align-items: start;
}

.registration-copy {
  position: sticky;
  top: 20px;
  padding: 12px 4px 0;
}

.registration-points {
  padding-left: 20px;
  margin: 22px 0 0;
  color: var(--text);
  line-height: 1.8;
}

.form-card {
  padding: 32px;
  border-radius: var(--radius-xl);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

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

.field[hidden] {
  display: none;
}

.field span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.field input,
.field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(168, 198, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  outline: none;
}

.field select {
  appearance: none;
}

.field input[type="file"] {
  padding: 12px 14px;
  cursor: pointer;
}

.field input:focus,
.field select:focus {
  border-color: rgba(255, 209, 102, 0.55);
  box-shadow: 0 0 0 4px rgba(255, 209, 102, 0.12);
}

.checkline {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.checkline {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.supporting-note {
  margin: 22px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(168, 198, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  line-height: 1.65;
}

.supporting-note a {
  color: var(--accent);
}

.fee-summary {
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 209, 102, 0.2);
  border-radius: 20px;
  background: rgba(255, 209, 102, 0.06);
}

.fee-summary-label,
.fee-summary-value,
.fee-summary-meta {
  margin: 0;
}

.fee-summary-label {
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
}

.fee-summary-value {
  margin-top: 10px;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
}

.fee-summary-meta {
  margin-top: 6px;
  color: var(--muted);
}

.checkline-required span {
  color: var(--text);
}

.checkline input {
  accent-color: var(--accent-strong);
  margin-top: 2px;
}

.submit-button {
  width: 100%;
  margin-top: 26px;
  min-height: 58px;
  border: 0;
  border-radius: 18px;
  font-weight: 800;
  color: #0f1420;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  cursor: pointer;
}

.footer {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
  padding: 26px 10px 0;
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1080px) {
  .registration-section {
    grid-template-columns: 1fr;
  }

  .registration-copy {
    position: static;
  }

  .hero-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 20px, 1200px);
    padding-top: 14px;
  }

  .topbar,
  .footer {
    flex-direction: column;
    align-items: stretch;
    border-radius: 28px;
  }

  .hero-copy,
  .form-card {
    padding: 24px;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: none;
  }
}
