:root {
  --bg: #eef3ff;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --ink: #0d1b4d;
  --ink-soft: #4a5d8e;
  --line: rgba(76, 98, 171, 0.18);
  --primary: #233f9b;
  --primary-strong: #162866;
  --primary-soft: #dbe5ff;
  --indigo-mid: #20367c;
  --indigo-light: #6b84d6;
  --cyan: #42d5d0;
  --success: #69d68d;
  --amber: #f2c36c;
  --shadow-xl: 0 30px 80px rgba(12, 20, 56, 0.18);
  --shadow-lg: 0 20px 50px rgba(18, 30, 79, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --container: min(1180px, calc(100% - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(107, 132, 214, 0.22), transparent 32%),
    radial-gradient(circle at top right, rgba(66, 213, 208, 0.12), transparent 20%),
    linear-gradient(180deg, #f7f9ff 0%, #edf2ff 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 112px 0;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(35, 63, 155, 0.04), rgba(35, 63, 155, 0.02)),
    rgba(255, 255, 255, 0.7);
}

.section-deep {
  background:
    radial-gradient(circle at top right, rgba(66, 213, 208, 0.12), transparent 28%),
    linear-gradient(135deg, #0b1640 0%, #182c6a 54%, #20367c 100%);
  color: #f4f7ff;
}

.section-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(80, 109, 201, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-deep .section-kicker,
.final-cta-panel .section-kicker {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #dfe7ff;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}

.section-deep .section-heading p {
  color: rgba(234, 240, 255, 0.82);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(245, 248, 255, 0.68);
  border-bottom: 1px solid rgba(93, 119, 193, 0.12);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-badge {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, #5374d9 100%);
  color: #fff;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 10px 24px rgba(35, 63, 155, 0.28);
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.16em;
}

.brand-copy small {
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 0.94rem;
  color: var(--ink-soft);
  transition: color 180ms ease;
}

.main-nav a:hover {
  color: var(--primary);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #4d6dd2 100%);
  color: #fff;
  box-shadow: 0 16px 36px rgba(34, 56, 132, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 20px 42px rgba(34, 56, 132, 0.32);
}

.button-secondary,
.button-ghost {
  border-color: rgba(73, 99, 184, 0.24);
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary-strong);
}

.button-ghost {
  backdrop-filter: blur(10px);
}

.hero-section {
  position: relative;
  overflow: clip;
  padding: 64px 0 88px;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(12, 26, 79, 0.96) 0%, rgba(26, 50, 124, 0.9) 40%, rgba(101, 123, 206, 0.42) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
  mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 24%, rgba(66, 213, 208, 0.2), transparent 18%),
    radial-gradient(circle at 22% 16%, rgba(140, 162, 248, 0.18), transparent 22%),
    radial-gradient(circle at 65% 68%, rgba(255, 255, 255, 0.1), transparent 24%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: 56px;
}

.hero-copy {
  color: #f7f9ff;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.eyebrow-pill {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-text {
  color: rgba(236, 241, 255, 0.84);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero-subheadline {
  margin: 24px 0 16px;
  max-width: 720px;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.35;
  color: #e9efff;
}

.hero-support {
  margin: 0;
  max-width: 660px;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(232, 239, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-trustbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.trust-item {
  min-width: 150px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.trust-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.25rem;
}

.trust-item span {
  color: rgba(233, 239, 255, 0.76);
  font-size: 0.9rem;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.dashboard-window {
  width: min(100%, 560px);
  border: 1px solid rgba(200, 215, 255, 0.24);
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  box-shadow: 0 36px 70px rgba(5, 12, 35, 0.4);
  backdrop-filter: blur(18px);
}

.window-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.window-title,
.window-pill {
  color: rgba(235, 240, 255, 0.84);
  font-size: 0.78rem;
}

.window-pill {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(66, 213, 208, 0.14);
  color: #aff7f0;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 112px 1fr;
  min-height: 580px;
}

.dashboard-sidebar {
  padding: 22px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 17, 48, 0.45);
}

.sidebar-brand {
  margin-bottom: 22px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #dbe6ff;
}

.sidebar-link {
  margin-bottom: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(222, 232, 255, 0.72);
  font-size: 0.82rem;
}

.sidebar-link.active,
.sidebar-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.dashboard-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
}

.widget {
  padding: 16px;
  border: 1px solid rgba(221, 229, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.widget-wide {
  grid-column: 1 / -1;
}

.widget-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.widget-label {
  display: block;
  margin-bottom: 8px;
  color: rgba(234, 239, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.widget h3 {
  margin: 0;
  color: #f8fbff;
  font-size: 1rem;
}

.status-pill,
.kpi-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
}

.status-pill.positive {
  background: rgba(105, 214, 141, 0.16);
  color: #b9f0c9;
}

.kpi-chip {
  background: rgba(255, 255, 255, 0.12);
  color: #e6eeff;
}

.kpi-chip.cyan {
  background: rgba(66, 213, 208, 0.14);
  color: #a9faf3;
}

.kpi-chip.amber {
  background: rgba(242, 195, 108, 0.16);
  color: #ffe0ac;
}

.app-pill-grid,
.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.app-pill-grid span,
.mini-grid span {
  padding: 12px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #f2f6ff;
  font-size: 0.8rem;
  text-align: center;
}

.launchpad-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bar-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.bar-list div {
  display: grid;
  gap: 6px;
}

.bar-list span {
  color: rgba(233, 239, 255, 0.78);
  font-size: 0.82rem;
}

.bar-list b {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7d97ea, #42d5d0);
}

.line-chart {
  position: relative;
  margin-top: 20px;
  height: 72px;
  border-radius: 14px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 100% 24px, 24px 100%;
}

.line-chart span {
  position: absolute;
  inset: 12px 8px 10px;
  background: linear-gradient(180deg, rgba(66, 213, 208, 0.22), transparent 85%);
  clip-path: polygon(0 70%, 12% 64%, 20% 68%, 35% 42%, 48% 48%, 62% 24%, 75% 34%, 88% 12%, 100% 22%, 100% 100%, 0 100%);
}

.chart-legend {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  color: rgba(234, 239, 255, 0.7);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.stat-row div {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.stat-row strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
}

.stat-row span {
  color: rgba(234, 239, 255, 0.76);
  font-size: 0.82rem;
}

.widget-workforce .stat-row {
  grid-template-columns: 1fr;
  gap: 6px;
  margin-top: 14px;
}

.widget-workforce .stat-row div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
}

.widget-workforce .stat-row strong {
  font-size: 1rem;
  line-height: 1.1;
  margin-bottom: 0;
}

.widget-workforce .stat-row span {
  font-size: 0.76rem;
  line-height: 1.25;
}

.widget-progress .mini-grid {
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 14px;
}

.widget-progress .mini-grid span {
  justify-content: flex-start;
  min-height: 36px;
  padding: 8px 10px;
  font-size: 0.72rem;
  line-height: 1.2;
  text-align: left;
}

.feature-strip,
.portal-grid,
.outcomes-grid {
  display: grid;
  gap: 24px;
}

.feature-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.portal-panel,
.outcome-panel,
.app-card,
.audience-card,
.final-cta-panel,
.benefit-item {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.info-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
}

.info-icon {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--indigo-light);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.info-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.info-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.portal-grid,
.outcomes-grid {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.portal-panel,
.outcome-panel,
.final-cta-panel {
  padding: 28px;
  border-radius: var(--radius-xl);
}

.portal-panel {
  display: grid;
  gap: 16px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 26px 54px rgba(6, 11, 33, 0.24);
}

.portal-stat {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.portal-stat strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.portal-stat p {
  margin: 0;
  color: rgba(234, 240, 255, 0.78);
  line-height: 1.65;
}

.applications-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.app-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 247, 255, 0.92));
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.app-card:hover {
  transform: translateY(-8px);
  border-color: rgba(55, 91, 193, 0.24);
  box-shadow: var(--shadow-xl);
}

.card-topline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.app-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(35, 63, 155, 0.14), rgba(66, 213, 208, 0.12));
  color: var(--primary);
}

.app-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.app-acronym {
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.app-card h3 {
  margin: 0 0 14px;
  font-size: 1.44rem;
  line-height: 1.25;
}

.app-card p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  line-height: 1.72;
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.capability-list li {
  position: relative;
  padding-left: 18px;
  color: var(--ink);
  font-size: 0.92rem;
}

.capability-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.metric-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-size: 0.8rem;
  font-weight: 700;
}

.text-link {
  color: var(--primary);
  font-weight: 700;
}

.text-link:hover {
  color: var(--indigo-mid);
}

.benefits-band {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.benefit-item {
  padding: 24px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
}

.benefit-item strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
}

.benefit-item p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.outcome-panel {
  background: linear-gradient(180deg, rgba(16, 28, 79, 0.98), rgba(25, 45, 115, 0.96));
  color: #f5f8ff;
}

.outcome-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.outcome-row:last-child {
  border-bottom: 0;
}

.outcome-row span {
  color: rgba(236, 240, 255, 0.78);
}

.outcome-row b {
  color: #fff;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.audience-card {
  padding: 24px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(7, 11, 33, 0.16);
  text-align: center;
}

.audience-card span {
  color: #f6f8ff;
  font-weight: 600;
  line-height: 1.6;
}

.final-cta {
  padding-top: 96px;
}

.final-cta-panel {
  background:
    radial-gradient(circle at top right, rgba(66, 213, 208, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(10, 20, 60, 0.98), rgba(29, 51, 128, 0.96));
  color: #f6f8ff;
  text-align: center;
}

.final-cta-panel p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(233, 239, 255, 0.84);
  line-height: 1.8;
}

.final-cta-panel .hero-actions {
  justify-content: center;
}

.site-footer {
  padding: 28px 0 40px;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(95, 118, 193, 0.16);
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0.16em;
}

.site-footer p,
.footer-meta span {
  color: var(--ink-soft);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .hero-grid,
  .portal-grid,
  .outcomes-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-content: center;
  }

  .benefits-band,
  .audience-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .main-nav,
  .nav-cta {
    display: none;
  }

  .hero-section {
    padding-top: 36px;
  }

  .feature-strip,
  .applications-grid,
  .benefits-band,
  .audience-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .sidebar-brand {
    width: 100%;
    margin-bottom: 4px;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 84px 0;
  }

  .hero-copy h1 {
    font-size: 2.9rem;
  }

  .hero-subheadline {
    font-size: 1.08rem;
  }

  .feature-strip,
  .applications-grid,
  .benefits-band,
  .audience-grid,
  .capability-list,
  .dashboard-main,
  .app-pill-grid,
  .mini-grid,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .window-topbar,
  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .window-pill {
    align-self: flex-start;
  }

  .footer-meta {
    justify-content: flex-start;
  }

  .trust-item {
    width: 100%;
  }

  .app-card,
  .portal-panel,
  .outcome-panel,
  .final-cta-panel,
  .info-card,
  .benefit-item,
  .audience-card {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.login-body {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(107, 132, 214, 0.22), transparent 28%),
    radial-gradient(circle at bottom right, rgba(66, 213, 208, 0.12), transparent 22%),
    linear-gradient(135deg, #0b1640 0%, #182c6a 54%, #20367c 100%);
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}

.login-shell {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  align-items: stretch;
  min-height: calc(100vh - 40px);
  max-height: calc(100vh - 40px);
}

.login-brand-panel,
.login-card {
  border: 1px solid rgba(219, 229, 255, 0.14);
  border-radius: 28px;
  backdrop-filter: blur(18px);
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
}

.login-brand-panel {
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  color: #f4f7ff;
  box-shadow: 0 30px 80px rgba(6, 10, 30, 0.28);
}

.login-brand-panel .brand-mark {
  margin-bottom: 18px;
}

.login-brand-panel h1 {
  margin: 0 0 12px;
  font-size: clamp(2.1rem, 3.4vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.login-brand-panel p {
  max-width: 520px;
  margin: 0;
  color: rgba(235, 240, 255, 0.82);
  line-height: 1.6;
}

.login-highlight-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.login-highlight {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.login-highlight strong {
  display: block;
  margin-bottom: 6px;
}

.login-highlight span {
  color: rgba(235, 240, 255, 0.78);
  line-height: 1.45;
}

.login-card {
  padding: 26px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 60px rgba(14, 24, 67, 0.18);
  display: flex;
  flex-direction: column;
}

.login-card-header h2 {
  margin: 0 0 8px;
  font-size: 1.65rem;
  letter-spacing: -0.04em;
}

.login-card-header p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

.login-form {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  min-height: 0;
}

.module-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 4px;
}

.module-option {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(73, 99, 184, 0.18);
  border-radius: 18px;
  background: rgba(244, 247, 255, 0.96);
  color: var(--ink);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    background-color 180ms ease;
}

.module-option:hover,
.module-option:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(35, 63, 155, 0.34);
  box-shadow: 0 12px 28px rgba(26, 44, 111, 0.1);
}

.module-option.is-selected {
  border-color: rgba(35, 63, 155, 0.52);
  background: linear-gradient(135deg, rgba(35, 63, 155, 0.12), rgba(66, 213, 208, 0.08));
  box-shadow: 0 0 0 4px rgba(35, 63, 155, 0.08);
}

.module-option strong {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.module-option span {
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.35;
}

.selected-module-banner {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(35, 63, 155, 0.08);
  border: 1px solid rgba(35, 63, 155, 0.12);
}

.selected-module-label {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.selected-module-banner strong {
  font-size: 1rem;
}

.selected-module-banner span:last-child {
  color: var(--ink-soft);
  line-height: 1.45;
}

.login-form label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
}

.login-form input[type="email"],
.login-form input[type="password"] {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(73, 99, 184, 0.18);
  border-radius: 16px;
  background: rgba(244, 247, 255, 0.96);
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.login-form input[type="email"]:focus,
.login-form input[type="password"]:focus {
  border-color: rgba(35, 63, 155, 0.52);
  box-shadow: 0 0 0 4px rgba(35, 63, 155, 0.12);
  background: #fff;
}

.error-message {
  display: block;
  min-height: 18px;
  margin-top: 6px;
  color: #d73232;
  font-size: 0.76rem;
}

.input-error {
  border-color: #d73232 !important;
  box-shadow: 0 0 0 4px rgba(215, 50, 50, 0.08) !important;
}

.login-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 6px;
}

.checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-weight: 500;
}

.checkbox-row input {
  accent-color: var(--primary);
}

.login-helper {
  margin: -2px 0 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.4;
}

.link-inline-button {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.login-submit {
  width: 100%;
  margin-top: 4px;
}

.login-status {
  min-height: 22px;
  margin: 6px 0 0;
  color: var(--primary);
  font-size: 0.84rem;
  line-height: 1.5;
}

.login-card-footer {
  margin-top: 12px;
}

.otp-shell {
  width: min(560px, 100%);
}

.otp-card {
  padding: 34px;
  border: 1px solid rgba(219, 229, 255, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 60px rgba(14, 24, 67, 0.18);
}

.otp-card h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.otp-copy {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.otp-form {
  margin-top: 24px;
}

.otp-inputs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.otp-inputs input {
  width: 100%;
  min-height: 60px;
  border: 1px solid rgba(73, 99, 184, 0.18);
  border-radius: 16px;
  background: rgba(244, 247, 255, 0.96);
  color: var(--ink);
  font: inherit;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.otp-inputs input:focus {
  border-color: rgba(35, 63, 155, 0.52);
  box-shadow: 0 0 0 4px rgba(35, 63, 155, 0.12);
  background: #fff;
}

.otp-message {
  min-height: 24px;
  margin-top: 12px;
}

.otp-submit {
  width: 100%;
}

.otp-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(11, 22, 64, 0.52);
  backdrop-filter: blur(10px);
  z-index: 1200;
}

.modal-backdrop.hidden {
  display: none;
}

.modal-dialog {
  width: min(100%, 520px);
  padding: 30px 28px 26px;
  border: 1px solid rgba(219, 229, 255, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 80px rgba(6, 10, 30, 0.28);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.modal-kicker {
  display: inline-flex;
  padding: 6px 10px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(35, 63, 155, 0.1);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.65rem;
  letter-spacing: -0.04em;
}

.modal-close {
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(35, 63, 155, 0.08);
  color: var(--primary-strong);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
}

.modal-close:hover,
.modal-close:focus-visible {
  transform: none;
  background: rgba(35, 63, 155, 0.16);
}

.modal-subtitle {
  margin: 0 0 18px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.reset-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.step-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(35, 63, 155, 0.08);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.step-pill.active {
  background: linear-gradient(135deg, var(--primary) 0%, #4d6dd2 100%);
  color: #fff;
}

.reset-step {
  display: none;
}

.reset-step.active {
  display: block;
}

.reset-step label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 0.95rem;
}

.reset-step input {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid rgba(73, 99, 184, 0.18);
  border-radius: 16px;
  background: rgba(244, 247, 255, 0.96);
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.reset-step input:focus {
  border-color: rgba(35, 63, 155, 0.52);
  box-shadow: 0 0 0 4px rgba(35, 63, 155, 0.12);
  background: #fff;
}

.reset-step + .reset-step label:first-child,
.reset-step.active label:not(:first-child) {
  margin-top: 12px;
}

.modal-message {
  min-height: 22px;
  margin: 8px 0 0;
  color: var(--primary);
  font-size: 0.84rem;
  line-height: 1.5;
}

.modal-message.error {
  color: #d73232;
}

.modal-actions {
  margin-top: 10px;
}

@media (max-width: 920px) {
  .login-body {
    overflow: auto;
  }

  .login-shell {
    grid-template-columns: 1fr;
    min-height: auto;
    max-height: none;
  }
}

@media (max-width: 680px) {
  .login-brand-panel,
  .login-card {
    padding: 24px;
    max-height: none;
  }

  .otp-card {
    padding: 24px;
  }

  .module-selector {
    grid-template-columns: 1fr;
  }

  .login-form-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .modal-backdrop {
    padding: 16px;
  }

  .modal-dialog {
    padding: 24px 20px 22px;
    border-radius: 22px;
  }

  .otp-inputs {
    gap: 8px;
  }

  .otp-inputs input {
    min-height: 52px;
    font-size: 1.2rem;
  }

  .otp-actions {
    flex-direction: column;
  }
}
