:root {
  --ink: #0b1324;
  --muted: #5d6a7e;
  --line: #dce2eb;
  --paper: #ffffff;
  --canvas: #f4f7fb;
  --night: #07111f;
  --night-soft: #0d1b2e;
  --blue: #1f5eff;
  --blue-dark: #1444bd;
  --cyan: #21c6d6;
  --orange: #ffb547;
  --red: #e44d61;
  --green: #19a474;
  --violet: #7758d5;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

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

svg {
  width: 1em;
  height: 1em;
  stroke-width: 1.8;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: var(--blue);
  border-radius: 6px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  color: #fff;
  background: rgba(7, 17, 31, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
}

.header-inner {
  width: min(1280px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(128, 147, 174, 0.32);
  box-shadow: 0 4px 14px rgba(2, 11, 25, 0.18);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transform: scale(1.36);
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 17px;
}

.brand-copy small {
  margin-top: 5px;
  color: currentColor;
  font-size: 10px;
  opacity: 0.62;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.desktop-nav a {
  position: relative;
  padding: 24px 0;
  color: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.78;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  background: var(--cyan);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  opacity: 1;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.menu-button:focus-visible,
.mobile-nav a:focus-visible {
  outline: 3px solid rgba(33, 198, 214, 0.42);
  outline-offset: 3px;
}

.button-primary {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 12px 28px rgba(31, 94, 255, 0.28);
}

.button-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.button-light {
  min-height: 38px;
  padding: 0 16px;
  color: var(--ink);
  background: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.is-scrolled .button-light,
.menu-visible .button-light {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.button-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.55);
}

.menu-button {
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 7px;
  cursor: pointer;
}

.mobile-nav {
  position: absolute;
  top: var(--header-height);
  right: 0;
  left: 0;
  height: calc(100svh - var(--header-height));
  padding: 24px;
  color: var(--ink);
  background: #fff;
  border-top: 1px solid var(--line);
}

.mobile-nav:not([hidden]) {
  display: grid;
  align-content: start;
}

.mobile-nav a {
  padding: 17px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.mobile-nav .mobile-login {
  margin-top: 18px;
  padding: 14px;
  color: #fff;
  text-align: center;
  background: var(--blue);
  border: 0;
  border-radius: 7px;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--night);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("./supervision-dashboard.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.025);
  animation: hero-settle 1.2s ease-out both;
}

.hero-overlay {
  background: rgba(4, 12, 24, 0.78);
  box-shadow: inset 0 -120px 140px rgba(2, 10, 19, 0.56);
}

.hero::before {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: calc(50% - 590px);
  width: 3px;
  background: var(--cyan);
  content: "";
  opacity: 0.9;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 112px;
  padding-bottom: 78px;
}

.hero-copy {
  max-width: 720px;
  padding-left: 32px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #aeeef4;
}

.eyebrow span {
  width: 34px;
  height: 2px;
  background: var(--cyan);
}

.hero h1 {
  margin: 0;
  font-size: 76px;
  font-weight: 800;
  line-height: 1;
}

.hero-lead {
  max-width: 680px;
  margin: 26px 0 0;
  color: #e7edf6;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-actions .button {
  min-height: 50px;
  padding: 0 23px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  color: #bfcada;
  font-size: 13px;
  font-weight: 600;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-points svg {
  color: var(--cyan);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

.scroll-cue svg {
  font-size: 18px;
  animation: cue 1.7s ease-in-out infinite;
}

.section {
  padding: 112px 0;
}

.section h2,
.cta-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.25;
}

.section p {
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: 66px;
}

.section-copy > p:not(.section-kicker) {
  margin: 26px 0 0;
  font-size: 16px;
  line-height: 1.9;
}

.product-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 38px 0 0;
}

.product-facts div {
  padding: 0 18px;
  border-left: 1px solid var(--line);
}

.product-facts div:first-child {
  padding-left: 0;
  border-left: 0;
}

.product-facts dt {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.product-facts dd {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.product-visual {
  position: relative;
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--night);
  border: 1px solid #c7d1df;
  border-radius: 8px;
  box-shadow: 0 26px 60px rgba(14, 31, 55, 0.16);
}

.product-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.product-visual figcaption {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 18px;
  color: #b9c7d8;
  background: var(--night-soft);
  font-size: 11px;
}

.product-visual figcaption span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.product-visual figcaption span:first-child {
  color: #7be1e9;
}

.capabilities-section {
  background: var(--canvas);
  border-top: 1px solid #e7ebf1;
  border-bottom: 1px solid #e7ebf1;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 54px;
}

.section-heading > p {
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.85;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.capability-card {
  position: relative;
  min-height: 250px;
  padding: 28px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.capability-card:hover {
  border-color: #aebbd0;
  box-shadow: 0 18px 38px rgba(24, 46, 79, 0.1);
  transform: translateY(-4px);
}

.capability-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 23px;
}

.capability-icon.blue { color: var(--blue); background: #e9efff; }
.capability-icon.teal { color: #087f8a; background: #dff7f8; }
.capability-icon.orange { color: #a65d00; background: #fff1d9; }
.capability-icon.red { color: #bd3349; background: #ffebee; }
.capability-icon.violet { color: var(--violet); background: #eeeafa; }
.capability-icon.green { color: #0d7d57; background: #e0f6ed; }

.capability-number {
  position: absolute;
  top: 26px;
  right: 26px;
  color: #bac4d3;
  font-family: Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
}

.capability-card h3 {
  margin: 26px 0 10px;
  font-size: 20px;
}

.capability-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
}

.workflow-section {
  color: #fff;
  background: var(--night);
}

.workflow-intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: end;
}

.workflow-intro .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -50px;
  color: var(--cyan);
}

.workflow-intro h2 {
  color: #fff;
}

.workflow-intro > p:last-child {
  margin: 0 0 4px;
  color: #aebbd0;
  font-size: 15px;
  line-height: 1.85;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 68px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #34445c;
}

.workflow-list li {
  position: relative;
  min-height: 210px;
  padding: 38px 24px 18px 0;
  border-right: 1px solid #34445c;
}

.workflow-list li:not(:first-child) {
  padding-left: 24px;
}

.workflow-list li:last-child {
  border-right: 0;
}

.workflow-list li::before {
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--cyan);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 6px rgba(33, 198, 214, 0.13);
}

.workflow-list li:not(:first-child)::before {
  left: 24px;
}

.workflow-list > li > svg {
  margin-top: 24px;
  color: var(--cyan);
  font-size: 30px;
}

.step-index {
  color: #7e8ca2;
  font-family: Consolas, monospace;
  font-size: 11px;
}

.workflow-list h3 {
  margin: 16px 0 6px;
  font-size: 19px;
}

.workflow-list p {
  margin: 0;
  color: #93a3b8;
  font-size: 13px;
}

.security-section {
  background: var(--paper);
}

.security-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
  align-items: center;
}

.security-copy > p:not(.section-kicker) {
  margin: 25px 0 0;
  font-size: 16px;
  line-height: 1.9;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover svg {
  transform: translateX(3px);
}

.text-link svg {
  transition: transform 150ms ease;
}

.security-list {
  border-top: 1px solid var(--line);
}

.security-list article {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 20px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}

.security-list article > svg {
  width: 42px;
  height: 42px;
  padding: 10px;
  color: var(--blue);
  background: #eaf0ff;
  border-radius: 8px;
}

.security-list h3 {
  margin: 0;
  font-size: 18px;
}

.security-list p {
  margin: 6px 0 0;
  font-size: 13px;
}

.cta-section {
  padding: 76px 0;
  background: #eef3ff;
  border-top: 1px solid #d9e3fb;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.cta-section h2 {
  max-width: 780px;
  font-size: 34px;
}

.site-footer {
  color: #fff;
  background: #050b15;
}

.footer-grid {
  min-height: 136px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 70px;
}

.footer-links {
  display: flex;
  gap: 26px;
}

.footer-links a,
.footer-login {
  color: #9eacbf;
  font-size: 13px;
  text-decoration: none;
}

.footer-links a:hover,
.footer-login:hover {
  color: #fff;
}

.footer-login {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-weight: 700;
}

.footer-bottom {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #66758a;
  border-top: 1px solid #1a2637;
  font-size: 11px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-settle {
  from { opacity: 0.72; transform: scale(1.08); }
  to { opacity: 1; transform: scale(1.025); }
}

@keyframes cue {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

@media (max-width: 1000px) {
  .desktop-nav {
    gap: 22px;
  }

  .product-grid,
  .security-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .workflow-intro {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .workflow-intro .section-kicker {
    grid-column: auto;
    margin-bottom: -4px;
  }

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

  .workflow-list li:nth-child(2) {
    border-right: 0;
  }

  .workflow-list li:nth-child(n + 3) {
    border-top: 1px solid #34445c;
  }

  .footer-grid {
    gap: 30px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 64px;
  }

  .container,
  .header-inner {
    width: min(100% - 32px, 1180px);
  }

  .desktop-nav,
  .header-actions .button-light {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero::before {
    left: 16px;
  }

  .hero-media {
    background-position: 55% center;
  }

  .hero-overlay {
    background: rgba(4, 12, 24, 0.82);
  }

  .hero-inner {
    padding-top: 96px;
    padding-bottom: 64px;
  }

  .hero-copy {
    padding-left: 16px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero-lead {
    font-size: 19px;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding: 82px 0;
  }

  .section h2,
  .cta-section h2 {
    font-size: 34px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
  }

  .footer-links {
    display: none;
  }
}

@media (max-width: 580px) {
  .brand-copy strong {
    font-size: 16px;
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-lead {
    font-size: 17px;
    line-height: 1.7;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .hero-points {
    gap: 12px 18px;
  }

  .section h2,
  .cta-section h2 {
    font-size: 30px;
  }

  .product-facts {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-facts div,
  .product-facts div:first-child {
    padding: 0 0 0 14px;
    border-left: 2px solid var(--blue);
  }

  .product-visual figcaption span:last-child {
    display: none;
  }

  .capability-grid,
  .workflow-list {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: 224px;
  }

  .workflow-list {
    border-top: 0;
  }

  .workflow-list li,
  .workflow-list li:not(:first-child) {
    min-height: auto;
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 18px;
    padding: 25px 0;
    border-top: 1px solid #34445c;
    border-right: 0;
  }

  .workflow-list li::before,
  .workflow-list li:not(:first-child)::before {
    top: -5px;
    left: 0;
  }

  .workflow-list > li > svg {
    grid-row: 1 / 3;
    margin-top: 26px;
  }

  .workflow-list .step-index {
    grid-column: 2;
  }

  .workflow-list div {
    grid-column: 2;
  }

  .workflow-list h3 {
    margin-top: 4px;
  }

  .security-list article {
    grid-template-columns: 42px 1fr;
    gap: 14px;
  }

  .security-list article > svg {
    width: 38px;
    height: 38px;
  }

  .cta-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 28px;
  }

  .footer-grid {
    min-height: 152px;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 20px;
  }

  .footer-bottom {
    min-height: 76px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
