@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --navy-950: #03091d;
  --navy-900: #071334;
  --navy-800: #0b2450;
  --blue-600: #157cf1;
  --blue-500: #159cf4;
  --cyan-400: #43d7f7;
  --ink: #0a1022;
  --muted: #687085;
  --line: #dfe4ec;
  --panel-line: rgba(161, 188, 234, 0.19);
  --white: #ffffff;
  --slide-duration: 7000ms;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f6f8fc;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body { min-width: 320px; }
button, input { font: inherit; }
button, a, input, label { -webkit-tap-highlight-color: transparent; }

.login-shell {
  display: grid;
  grid-template-columns: minmax(580px, 1.12fr) minmax(470px, 0.88fr);
  min-height: 100vh;
  overflow: hidden;
}

/* ---------- left information panel ---------- */
.information-panel {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 14%, rgba(35, 100, 224, 0.35), transparent 34%),
    radial-gradient(circle at 88% 88%, rgba(20, 174, 237, 0.23), transparent 34%),
    linear-gradient(135deg, #081a48 0%, var(--navy-950) 56%, #041125 100%);
}
.grid-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(167, 199, 255, 0.65) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 199, 255, 0.65) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to right, black, transparent 88%);
  mask-image: linear-gradient(to right, black, transparent 88%);
  pointer-events: none;
}
.glow {
  position: absolute;
  width: 470px;
  height: 470px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
  pointer-events: none;
}
.glow-top { top: -280px; left: -170px; background: #1f6cff; }
.glow-bottom { right: -300px; bottom: -210px; background: #00c6ff; }

.information-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 780px);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(42px, 6vh, 70px) clamp(38px, 7vw, 62px) 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  padding: 6px 11px 6px 7px;
  color: #c9dcff;
  border: 1px solid rgba(119, 176, 255, 0.33);
  border-radius: 999px;
  background: rgba(48, 106, 194, 0.17);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.eyebrow-mark {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  color: #86eaff;
  border: 1px solid rgba(76, 214, 255, 0.45);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
}

.title-block { margin-top: clamp(25px, 3.2vh, 36px); }
.section-kicker,
.carousel-kicker {
  margin: 0;
  color: #67c9ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.title-block h1 {
  max-width: 620px;
  margin: 7px 0 12px;
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.045em;
}
.intro-copy {
  max-width: 600px;
  margin: 0;
  color: #aebed9;
  font-size: clamp(14px, 1vw, 15.5px);
  font-weight: 500;
  line-height: 1.55;
}

/* ---------- carousel ---------- */
.carousel {
  position: relative;
  width: 100%;
  margin-top: clamp(24px, 3.5vh, 36px);
  border: 1px solid var(--panel-line);
  border-radius: 23px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(28, 76, 124, 0.17));
  box-shadow: 0 30px 80px rgba(0, 3, 17, 0.32);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.carousel-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 24px 0;
}
.carousel-count {
  margin: 7px 0 0;
  color: #7f91ae;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.carousel-count span { color: #f3f7ff; font-weight: 800; }
.pause-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  color: #aabbd6;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 11px;
  cursor: pointer;
}
.pause-button:hover,
.pause-button:focus-visible { color: #ffffff; background: rgba(255, 255, 255, 0.08); outline: none; }
.pause-bars { display: inline-flex; gap: 3px; align-items: center; height: 10px; }
.pause-bars::before,
.pause-bars::after {
  content: "";
  display: block;
  width: 3px;
  height: 10px;
  border-radius: 2px;
  background: currentColor;
}
.carousel.is-paused .pause-bars::before { width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid currentColor; border-radius: 0; }
.carousel.is-paused .pause-bars::after { display: none; }

.slides-viewport {
  position: relative;
  min-height: 248px;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 58px 1fr;
  align-content: start;
  gap: 16px;
  padding: 20px 24px 8px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease, visibility .35s;
}
.slide.is-active { position: relative; visibility: visible; opacity: 1; transform: none; }
.slide-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #7fe7ff;
  border: 1px solid rgba(92, 196, 255, 0.3);
  border-radius: 17px;
  background: rgba(22, 111, 205, 0.17);
}
.slide-icon svg { width: 25px; height: 25px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.slide-copy h2 {
  margin: 2px 0 8px;
  color: #f5f8ff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.slide-copy p,
.slide-copy li {
  margin: 0;
  color: #aebed9;
  font-size: 12.5px;
  line-height: 1.6;
}
.slide-copy p + p { margin-top: 7px; }
.slide-copy ul { margin: 0; padding: 0 0 0 16px; }
.slide-copy li + li { margin-top: 5px; }
.slide-copy strong { color: #d7e7ff; font-weight: 700; }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 24px 20px;
}
.carousel-dots { display: flex; align-items: center; gap: 5px; }
.dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #465569;
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.dot.is-active { width: 22px; background: linear-gradient(90deg, #1986f6, #49e5f5); }
.arrow-controls { display: flex; gap: 6px; }
.arrow-button {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: #b9cbe6;
  border: 1px solid rgba(161, 188, 234, 0.2);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 14px;
  cursor: pointer;
}
.arrow-button:hover { color: #ffffff; border-color: rgba(92, 206, 255, 0.45); background: rgba(17, 126, 224, 0.17); }
.progress-track {
  position: absolute;
  left: 24px;
  bottom: 14px;
  width: 98px;
  height: 2px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(151, 180, 224, 0.19);
}
.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #1986f6, #49e5f5);
  animation: zx-slide-progress var(--slide-duration) linear forwards;
}
.carousel.is-paused .progress-track span { animation-play-state: paused; }
@keyframes zx-slide-progress { to { width: 100%; } }

/* ---------- left footer ---------- */
.connection-card {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  margin-top: 14px;
  padding: 8px 11px;
  color: #a9bbd7;
  border: 1px solid rgba(156, 188, 232, 0.15);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.045);
  font-size: 10.5px;
}
.connection-card svg { width: 15px; height: 15px; color: #70d8ff; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.connection-card strong { color: #70d8ff; font-weight: 700; }
.site-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: auto 0 0;
  padding-top: 28px;
  color: #65748f;
  font-size: 11px;
}
.copyright { margin: 0; color: #65748f; font-size: 11px; }
.footer-divider { width: 1px; height: 12px; background: rgba(139, 188, 255, 0.32); }
.developer-credit { margin: 0; color: #65748f; font-size: 11px; }

/* ---------- right form panel ---------- */
.form-panel {
  display: grid;
  min-height: 100vh;
  padding: 48px;
  place-items: center;
  background: radial-gradient(circle at 50% 40%, #ffffff 0%, #fbfcff 43%, #f3f6fb 100%);
}
.form-column { width: min(100%, 515px); }
.form-card {
  width: 100%;
  padding: 33px 38px 28px;
  border: 1px solid #dfe3ea;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 24px 70px rgba(27, 49, 87, 0.08);
}
.brand-logo {
  display: block;
  width: min(100%, 250px);
  height: 84px;
  margin: 0 auto 4px;
  object-fit: contain;
}
.form-heading { text-align: center; }
.form-heading h2 {
  margin: 6px 0 5px;
  color: #0a1022;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.form-heading p {
  max-width: 330px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}
.divider { height: 1px; margin: 19px 0 22px; background: var(--line); }

form > label,
.password-label-row label {
  display: block;
  color: #171b26;
  font-size: 13px;
  font-weight: 700;
}
input[type="text"],
input[type="password"],
input[type="number"] {
  width: 100%;
  height: 43px;
  margin-top: 8px;
  padding: 0 12px;
  color: var(--ink);
  border: 1px solid #d9dee7;
  border-radius: 10px;
  background: #ffffff;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
#username { margin-bottom: 21px; }
input::placeholder { color: #8b91a0; }
input[type="text"]:focus,
input[type="password"]:focus,
input[type="number"]:focus {
  border-color: #2d7cf0;
  box-shadow: 0 0 0 3px rgba(45, 124, 240, 0.12);
}
.password-label-row { display: flex; align-items: center; justify-content: space-between; }
.password-label-row a { color: #2768ec; font-size: 11.5px; font-weight: 600; text-decoration: none; }
.password-label-row a:hover { text-decoration: underline; }
.password-field { position: relative; }
.password-field input { padding-right: 44px; }
.show-password {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  width: 31px;
  height: 31px;
  margin-top: 4px;
  padding: 0;
  place-items: center;
  color: #7b8494;
  border: 0;
  border-radius: 7px;
  background: transparent;
  transform: translateY(-50%);
  cursor: pointer;
}
.show-password:hover { color: #2768ec; background: #f1f5fb; }
.eye-icon { position: relative; display: block; width: 17px; height: 17px; }
.eye-icon::before {
  position: absolute;
  top: 2px;
  left: 1px;
  width: 13px;
  height: 13px;
  border: 1.7px solid currentColor;
  border-radius: 75% 0 75% 0;
  transform: rotate(45deg);
  content: "";
}
.eye-icon::after {
  position: absolute;
  top: 7px;
  left: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.captcha-label { display: block; margin-top: 20px; color: #171b26; font-size: 13px; font-weight: 700; }
.captcha-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 10px;
  margin-top: 8px;
  align-items: stretch;
}
.captcha-row input { margin-top: 0 !important; }
.captcha-image {
  display: block;
  width: 100%;
  height: 43px;
  border: 1px solid #d9dee7;
  border-radius: 10px;
  background: #f8fafc;
  object-fit: cover;
  cursor: pointer;
}
.captcha-hint { display: block; margin-top: 6px; color: #8b91a0; font-size: 10.5px; }

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 17px 0 0;
  cursor: pointer;
}
.checkbox-row input { width: 16px; height: 16px; margin: 0; accent-color: #2768ec; }
.checkbox-row span { color: #20232b; font-size: 13px; font-weight: 600; }

.form-message {
  min-height: 17px;
  margin: 8px 0 0;
  color: #c73737;
  font-size: 11.5px;
  opacity: 0;
  transition: opacity .15s ease;
}
.form-message.show { opacity: 1; }

.signin-button {
  width: 100%;
  height: 44px;
  color: #ffffff;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(95deg, #125ddf, #1e98f4);
  box-shadow: 0 9px 24px rgba(27, 110, 231, 0.2);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: box-shadow 180ms ease, transform 180ms ease, opacity 180ms ease;
}
.signin-button:hover { box-shadow: 0 12px 28px rgba(27, 110, 231, 0.3); transform: translateY(-1px); }
.signin-button:active { transform: translateY(0); }
.signin-button:disabled { opacity: .7; cursor: wait; transform: none; }

.security-note {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: start;
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.security-note strong { color: #151923; font-size: 12.5px; }
.security-note p { margin: 3px 0 0; color: #777d8b; font-size: 11.5px; line-height: 1.45; }
.security-lock {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #6f7888;
  border: 1px solid #edf0f5;
  border-radius: 11px;
  background: #f3f5f8;
}
.security-lock svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1120px) {
  .login-shell { grid-template-columns: 1fr 0.84fr; }
  .information-content { padding-inline: 42px; }
  .form-panel { padding: 28px; }
  .form-card { padding-inline: 28px; }
}

@media (min-width: 901px) and (max-height: 800px) {
  .information-content { padding-top: 30px; padding-bottom: 24px; }
  .title-block { margin-top: 20px; }
  .title-block h1 { font-size: clamp(36px, 3.5vw, 46px); }
  .carousel { margin-top: 24px; }
  .slides-viewport { min-height: 236px; }
  .site-footer { padding-top: 19px; }
  .form-panel { padding-top: 24px; padding-bottom: 24px; }
  .form-card { padding-top: 24px; padding-bottom: 20px; }
  .brand-logo { height: 72px; }
  .divider { margin-top: 15px; margin-bottom: 18px; }
}

@media (max-width: 900px) {
  .login-shell { display: flex; flex-direction: column; min-height: 100vh; }
  .information-panel { order: 2; min-height: auto; }
  .information-content { width: 100%; min-height: auto; padding: 42px 30px 34px; }
  .form-panel { order: 1; min-height: 100vh; padding: 42px 22px; }
}

@media (max-width: 540px) {
  .information-content { padding: 34px 18px 28px; }
  .title-block h1 { font-size: 34px; }
  .slides-viewport { min-height: 330px; }
  .slide { grid-template-columns: 1fr; gap: 12px; padding-inline: 19px; }
  .carousel-topline { padding-inline: 19px; }
  .carousel-controls { padding-inline: 19px; }
  .progress-track { left: 19px; }
  .site-footer { flex-wrap: wrap; row-gap: 5px; padding-top: 24px; }
  .form-panel { padding: 28px 14px; }
  .form-card { padding: 27px 20px 23px; }
  .brand-logo { width: 220px; height: 76px; }
  .captcha-row { grid-template-columns: 1fr; }
  .captcha-image { height: 50px; }
}

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

/* ---------- Zaynix charcoal-and-gold palette ---------- */
:root {
  --navy-950: #090a0c;
  --navy-900: #121316;
  --navy-800: #201b11;
  --blue-600: #9a6700;
  --blue-500: #c08a0a;
  --cyan-400: #ffd34d;
  --ink: #17181b;
  --muted: #6d6f78;
  --line: #e7e3d8;
  --panel-line: rgba(214, 184, 100, 0.24);
  background: #f7f5ef;
}
.information-panel {
  background:
    radial-gradient(circle at 12% 14%, rgba(214, 164, 32, 0.28), transparent 34%),
    radial-gradient(circle at 88% 88%, rgba(154, 103, 0, 0.22), transparent 34%),
    linear-gradient(135deg, #17140d 0%, var(--navy-950) 56%, #050506 100%);
}
.grid-overlay {
  background-image:
    linear-gradient(rgba(231, 185, 62, 0.42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231, 185, 62, 0.42) 1px, transparent 1px);
}
.glow-top { background: #c08a0a; }
.glow-bottom { background: #ffd34d; }
.eyebrow {
  color: #f4df9f;
  border-color: rgba(231, 185, 62, 0.34);
  background: rgba(154, 103, 0, 0.16);
}
.eyebrow-mark {
  color: #ffd76a;
  border-color: rgba(255, 211, 77, 0.5);
}
.section-kicker,
.carousel-kicker { color: #e7b93e; }
.intro-copy,
.slide-copy,
.carousel-count,
.pause-button,
.connection-card { color: #c9c1b0; }
.carousel {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(92, 68, 12, 0.18));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.carousel-count span,
.slide-index { color: #fff7de; }
.slide-title,
.slide-copy strong { color: #f4eee0; }
.carousel-tag,
.slide-tag {
  color: #ffd76a;
  border-color: rgba(231, 185, 62, 0.3);
  background: rgba(154, 103, 0, 0.17);
}
.dot { background: #4b4942; }
.dot.is-active,
.progress-fill { background: linear-gradient(90deg, #b78103, #ffd34d); }
.arrow-button {
  color: #d6cdb9;
  border-color: rgba(214, 184, 100, 0.22);
}
.arrow-button:hover {
  color: #ffffff;
  border-color: rgba(255, 211, 77, 0.5);
  background: rgba(154, 103, 0, 0.2);
}
.carousel-controls,
.site-footer,
.copyright,
.developer-credit { color: #a7a093; }
.connection-card svg,
.connection-card strong { color: #ffd76a; }
.footer-divider { background: rgba(214, 184, 100, 0.34); }
.form-panel {
  background: radial-gradient(circle at 50% 40%, #ffffff 0%, #fbf9f3 43%, #f3eee2 100%);
}
.form-card {
  border-color: #e6dfd0;
  box-shadow: 0 24px 70px rgba(55, 43, 18, 0.09);
}
.password-label-row a,
.show-password:hover { color: #9a6700; }
input:focus {
  border-color: #b78103;
  box-shadow: 0 0 0 3px rgba(183, 129, 3, 0.14);
}
.show-password:hover { background: #faf5e8; }
.captcha-image,
.captcha-row input { border-color: #d9d2c2; }
.captcha-row input,
.security-lock { background: #faf7ef; }
.checkbox-row input { accent-color: #9a6700; }
.signin-button {
  background: linear-gradient(95deg, #5b4008, #b78103);
  box-shadow: 0 9px 24px rgba(122, 79, 0, 0.22);
}
.signin-button:hover { box-shadow: 0 12px 28px rgba(122, 79, 0, 0.3); }
.security-note strong { color: #1c1d20; }
.security-note p { color: #6d6f78; }
.security-lock { color: #8a6a1a; border-color: #ece5d6; }
