@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #07152d;
  --navy-soft: #0d2142;
  --cyan: #20c8f5;
  --blue: #2875f5;
  --text: #18263b;
  --muted: #748198;
  --line: #e4eaf2;
  --surface: #ffffff;
}
* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: #f3f6fb;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 21, 45, .97);
  border-bottom: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 8px 25px rgba(5,17,38,.12);
}
.nav-wrap {
  width: min(1240px, calc(100% - 40px));
  min-height: 78px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { display: block; width: 190px; max-width: 100%; height: 48px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.main-nav > a, .nav-drop-toggle {
  color: #dce7f7; font-size: 13px; font-weight: 600; white-space: nowrap;
  transition: color .2s ease;
}
.main-nav > a:hover, .nav-drop-toggle:hover { color: var(--cyan); }
.nav-dropdown { position: relative; }
.nav-drop-toggle {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 0;
  border: 0; background: transparent; cursor: pointer;
}
.nav-drop-toggle i { font-size: 10px; }
.dropdown-panel {
  display: none; position: absolute; top: calc(100% + 8px); left: -14px;
  min-width: 205px; padding: 8px; border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; background: #0c1c37; box-shadow: 0 18px 40px rgba(0,0,0,.25);
}
.nav-dropdown.open .dropdown-panel { display: block; }
.dropdown-panel a { display: block; padding: 10px 12px; border-radius: 7px; color: #dce7f7; font-size: 13px; }
.dropdown-panel a:hover { color: var(--cyan); background: rgba(255,255,255,.06); }
.main-nav .nav-cta {
  padding: 11px 18px; border-radius: 8px; color: #07152d;
  background: linear-gradient(110deg, #20c8f5, #64e1ff); font-weight: 800;
}
.main-nav .nav-cta:hover { color: #07152d; filter: brightness(1.06); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid rgba(255,255,255,.15); border-radius: 9px; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 4px 0; border-radius: 3px; background: white; }

.register-page {
  min-height: calc(100vh - 78px);
  padding: 54px 20px 24px;
  background:
    radial-gradient(ellipse at 9% 8%, rgba(32,200,245,.12), transparent 35%),
    radial-gradient(ellipse at 96% 85%, rgba(40,117,245,.10), transparent 32%),
    #f3f6fb;
}
.register-layout {
  width: min(1160px, 100%); margin: 0 auto;
  display: grid; grid-template-columns: .88fr 1.12fr; align-items: stretch;
  overflow: hidden; border-radius: 22px; background: var(--surface);
  box-shadow: 0 22px 70px rgba(20,42,79,.13);
  border: 1px solid rgba(221,229,240,.85);
}
.welcome-panel {
  position: relative; overflow: hidden; padding: 52px 42px;
  color: #fff; background: linear-gradient(145deg, #07152d 0%, #0b2851 58%, #0c3b61 100%);
  display: flex; flex-direction: column; justify-content: center;
}
.welcome-panel::before, .welcome-panel::after {
  content: ""; position: absolute; border: 1px solid rgba(32,200,245,.15); border-radius: 50%; pointer-events: none;
}
.welcome-panel::before { width: 330px; height: 330px; right: -170px; top: -100px; }
.welcome-panel::after { width: 230px; height: 230px; right: -100px; top: -50px; }
.eyebrow, .section-kicker { color: #24d0f8; font-size: 10px; font-weight: 800; letter-spacing: 1.8px; }
.eyebrow { display: flex; align-items: center; gap: 9px; position: relative; z-index: 1; }
.eyebrow-dot, .status-pulse { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(32,200,245,.12); }
.welcome-panel h1 { position: relative; z-index: 1; max-width: 390px; margin: 22px 0 16px; font-size: clamp(32px, 3.2vw, 43px); line-height: 1.13; letter-spacing: -1.6px; }
.welcome-panel h1 span { color: var(--cyan); }
.welcome-copy { position: relative; z-index: 1; max-width: 390px; margin: 0; color: #b9c8dd; font-size: 14px; line-height: 1.8; }
.welcome-points { position: relative; z-index: 1; display: grid; gap: 23px; margin-top: 38px; }
.welcome-point { display: flex; align-items: flex-start; gap: 14px; }
.point-icon { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(32,200,245,.25); border-radius: 12px; color: var(--cyan); background: rgba(32,200,245,.09); }
.welcome-point h3 { margin: 1px 0 5px; font-size: 13px; font-weight: 700; }
.welcome-point p { margin: 0; color: #aebed4; font-size: 11px; line-height: 1.65; }
.welcome-foot { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #aebed4; font-size: 10px; line-height: 1.6; }
.status-pulse { flex: 0 0 7px; }
.form-panel { padding: 43px clamp(24px, 4vw, 54px) 38px; }
.form-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 28px; }
.form-mark { display: grid; flex: 0 0 48px; width: 48px; height: 48px; place-items: center; border-radius: 14px; color: #087da8; background: #e4f9ff; font-size: 18px; }
.section-kicker { margin: 0 0 7px; color: #138eaf; font-size: 9px; }
.form-heading h2 { margin: 0; color: #10213b; font-size: 26px; letter-spacing: -.7px; }
.form-subtitle { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.register-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px 16px; }
.field { min-width: 0; }
.full-field { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; color: #2a3950; font-size: 11px; font-weight: 700; }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-icon { position: absolute; left: 14px; z-index: 1; color: #8290a5; font-size: 13px; pointer-events: none; }
.input-wrap input, .input-wrap select {
  display: block; width: 100%; min-width: 0; height: 47px; padding: 0 40px 0 41px;
  border: 1px solid var(--line); border-radius: 9px; outline: none;
  background: #fbfcfe; color: #20314a; font-size: 12px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.input-wrap input::placeholder { color: #a4afbf; }
.input-wrap select { appearance: none; cursor: pointer; padding-right: 38px; }
.input-wrap select:invalid { color: #8491a5; }
.input-wrap input:focus, .input-wrap select:focus { border-color: #24bde8; background: #fff; box-shadow: 0 0 0 3px rgba(32,200,245,.13); }
.select-chevron { position: absolute; right: 14px; color: #8290a5; font-size: 10px; pointer-events: none; }
.password-toggle { position: absolute; right: 10px; display: grid; width: 29px; height: 29px; place-items: center; border: 0; border-radius: 6px; color: #8390a3; background: transparent; cursor: pointer; }
.password-toggle:hover { color: #078db5; background: #eafaff; }
.form-note { display: flex; align-items: flex-start; gap: 8px; margin: -2px 0 0; color: #718198; font-size: 10px; line-height: 1.6; }
.form-note i { margin-top: 2px; color: #149fc4; }
.submit-btn {
  display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 49px;
  padding: 13px 18px; border: 0; border-radius: 9px; color: #06172f;
  background: linear-gradient(110deg, #20c8f5 0%, #62e0ff 100%);
  box-shadow: 0 9px 20px rgba(32,200,245,.2); font-size: 12px; font-weight: 800; cursor: pointer;
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.submit-btn:hover { transform: translateY(-1px); filter: brightness(1.02); box-shadow: 0 12px 24px rgba(32,200,245,.28); }
.submit-btn i { font-size: 12px; }
.login-prompt { margin: -2px 0 0; text-align: center; color: #748198; font-size: 11px; }
.login-prompt a { color: #078db5; font-weight: 800; }
.login-prompt a:hover { text-decoration: underline; }
.page-footer { width: min(1160px, 100%); margin: 20px auto 0; text-align: center; color: #8793a6; font-size: 10px; line-height: 1.6; }

@media (max-width: 1050px) {
  .nav-wrap { width: min(100% - 32px, 1240px); gap: 16px; }
  .brand img { width: 160px; }
  .main-nav { gap: 14px; }
  .main-nav > a, .nav-drop-toggle { font-size: 12px; }
  .welcome-panel { padding: 42px 30px; }
  .form-panel { padding: 38px 30px; }
}
@media (max-width: 850px) {
  .nav-wrap { min-height: 70px; }
  .brand img { width: 170px; }
  .menu-toggle { display: block; flex: 0 0 auto; }
  .main-nav {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    max-height: calc(100vh - 80px); overflow-y: auto; padding: 14px 20px 20px;
    align-items: stretch; gap: 3px; flex-direction: column;
    background: #07152d; border-top: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 18px 28px rgba(0,0,0,.2);
  }
  .main-nav.open { display: flex; }
  .main-nav > a, .nav-drop-toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 12px 9px; font-size: 13px; }
  .main-nav .nav-cta { justify-content: center; margin-top: 8px; }
  .dropdown-panel { position: static; min-width: 0; margin: 0 0 5px 8px; box-shadow: none; background: rgba(255,255,255,.04); }
  .register-page { padding-top: 28px; }
  .register-layout { grid-template-columns: 1fr; max-width: 650px; }
  .welcome-panel { padding: 32px; }
  .welcome-panel h1 { max-width: 520px; font-size: 34px; }
  .welcome-copy { max-width: 550px; }
  .welcome-points { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 15px; margin-top: 28px; }
  .welcome-point { display: block; }
  .point-icon { margin-bottom: 11px; }
  .welcome-foot { margin-top: 25px; }
  .form-panel { padding: 34px 32px; }
}
@media (max-width: 520px) {
  .nav-wrap { width: calc(100% - 28px); min-height: 64px; }
  .brand img { width: 150px; height: 42px; }
  .main-nav { top: 64px; }
  .register-page { padding: 18px 12px 20px; }
  .register-layout { border-radius: 16px; }
  .welcome-panel { padding: 27px 22px 24px; }
  .welcome-panel h1 { margin-top: 17px; font-size: 30px; letter-spacing: -1px; }
  .welcome-copy { font-size: 12px; }
  .welcome-points { grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
  .welcome-point { display: flex; gap: 12px; }
  .point-icon { flex-basis: 38px; width: 38px; height: 38px; margin: 0; border-radius: 10px; }
  .welcome-point h3 { font-size: 12px; }
  .welcome-point p { font-size: 10px; }
  .welcome-foot { margin-top: 22px; padding-top: 15px; font-size: 9px; }
  .form-panel { padding: 27px 20px 25px; }
  .form-heading { gap: 12px; margin-bottom: 24px; }
  .form-mark { flex-basis: 42px; width: 42px; height: 42px; border-radius: 12px; }
  .form-heading h2 { font-size: 22px; }
  .form-subtitle { font-size: 11px; }
  .register-form { grid-template-columns: 1fr; gap: 16px; }
  .field, .full-field { grid-column: 1 / -1; }
  .input-wrap input, .input-wrap select { height: 46px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
