/* =====================================================================
   VMS product explore — Figma "product 4" #246:1942
   Dark canvas, glass cards, shared nav/pill tokens from figma-home.css.
   ===================================================================== */

body.vms-page {
  --vms-purple: #492e81;
  --vms-purple-deep: #241743;
  --vms-purple-glow: #9871dd;
  background: var(--vms-purple-deep);
  color: var(--light-blue);
  overflow-x: hidden;
}

.vms-page .nav-links a[data-nav="products"].is-active,
.vms-page .nav-links a[data-nav="products"] {
  color: var(--dark-blue);
}
.vms-page .nav-links a[data-nav="products"]::after {
  transform: scaleX(1);
}

.vms-canvas {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 70% 20%, rgba(152, 113, 221, 0.26), transparent 60%),
    radial-gradient(ellipse 60% 40% at 10% 80%, rgba(105, 68, 170, 0.22), transparent 55%),
    var(--vms-purple);
}

.vms-glow {
  position: absolute;
  border-radius: 50%;
  background: var(--vms-purple-glow);
  opacity: 0.08;
  filter: blur(110.95px);
  pointer-events: none;
}
.vms-glow-a { width: 941px; height: 1080px; right: -280px; top: -120px; }
.vms-glow-b { width: 1173px; height: 1113px; left: -520px; top: 720px; }
.vms-glow-c { width: 900px; height: 900px; right: -200px; bottom: 200px; }

.vms-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 168px 116px 0;
}

/* ---- Hero ---------------------------------------------------------- */

.vms-hero {
  display: grid;
  grid-template-columns: 1fr 398px;
  gap: 64px;
  align-items: start;
  min-height: 520px;
}

.vms-hero-copy h1 {
  font-family: var(--font-display, 'Montserrat', sans-serif);
  font-weight: 600;
  font-size: 64px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--light-blue);
  margin-bottom: 18px;
}

.vms-hero-copy .tagline {
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  color: var(--light-blue);
  margin-bottom: 22px;
}

.vms-hero-copy .lead {
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  color: rgba(242, 250, 255, 0.82);
  max-width: 549px;
  white-space: pre-line;
  margin-bottom: 36px;
}

.vms-hero-copy .pill-lg {
  background: var(--light-blue);
  color: var(--dark-blue);
}

/* 4 stacked frosted cards */
.vms-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.glass-card {
  background: rgba(242, 250, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-radius: 24px;
}

.stack-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  min-height: 92px;
}

.stack-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(242, 250, 255, 0.08);
}

.stack-card h3 {
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  color: var(--light-blue);
  margin-bottom: 4px;
}

.stack-card p {
  font-weight: 300;
  font-size: 13px;
  line-height: 18px;
  color: rgba(242, 250, 255, 0.75);
}

/* ---- Numbered why row ---------------------------------------------- */

.vms-section {
  margin-top: 88px;
}

.vms-section h2 {
  font-weight: 700;
  font-size: 40px;
  line-height: 1.1;
  color: var(--light-blue);
  margin-bottom: 28px;
}

.num-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.num-card {
  padding: 28px 26px 32px;
  min-height: 220px;
}

.num-card .num {
  display: block;
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  color: var(--light-blue);
  opacity: 0.95;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.num-card h3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  color: var(--light-blue);
  margin-bottom: 10px;
}

.num-card p {
  font-weight: 300;
  font-size: 14px;
  line-height: 22px;
  color: rgba(242, 250, 255, 0.78);
}

/* ---- Icon cards ---------------------------------------------------- */

.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.icon-card {
  padding: 32px 28px 36px;
  min-height: 240px;
}

.icon-card .icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(242, 250, 255, 0.08);
  margin-bottom: 22px;
}

.icon-card h3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  color: var(--light-blue);
  margin-bottom: 10px;
}

.icon-card p {
  font-weight: 300;
  font-size: 14px;
  line-height: 22px;
  color: rgba(242, 250, 255, 0.78);
}

/* ---- Dark footer --------------------------------------------------- */

.vms-footer {
  position: relative;
  z-index: 1;
  margin-top: 96px;
  padding: 56px 116px 40px;
  background: var(--vms-purple-deep);
  color: var(--light-blue);
}

.vms-footer-inner {
  max-width: 1440px;
  margin: 0 auto;
}

.news {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(242, 250, 255, 0.18);
}

.news h2 {
  font-weight: 700;
  font-size: 32px;
  line-height: 1.15;
  max-width: 420px;
}

.news-form {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  max-width: 560px;
}

.news-form input {
  flex: 1;
  height: 50px;
  padding: 0 22px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(242, 250, 255, 0.08);
  color: var(--light-blue);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
}

.news-form input::placeholder { color: rgba(242, 250, 255, 0.45); }
.news-form input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(4, 159, 254, 0.25);
}

.news-form .pill-lg {
  background: var(--light-blue);
  color: var(--dark-blue);
  flex: 0 0 197px;
}

.news-status {
  min-height: 18px;
  margin-top: 8px;
  font-size: 13px;
  color: #f8b4b4;
}

.foot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 36px 0 28px;
}

.foot-col h3 {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 14px;
}

.foot-col a,
.foot-col p {
  display: block;
  font-weight: 300;
  font-size: 14px;
  line-height: 24px;
  color: rgba(242, 250, 255, 0.72);
  text-decoration: none;
}

.foot-col a:hover { color: var(--light-blue); }

.foot-contact {
  padding-top: 8px;
  border-top: 1px solid rgba(242, 250, 255, 0.18);
}

.foot-contact h2 {
  font-weight: 700;
  font-size: 28px;
  margin: 20px 0 12px;
}

.foot-copy {
  margin-top: 28px;
  font-weight: 300;
  font-size: 14px;
  color: rgba(242, 250, 255, 0.5);
}

@media (max-width: 1180px) {
  .vms-wrap,
  .vms-footer { padding-left: 40px; padding-right: 40px; }
  .vms-hero { grid-template-columns: 1fr 340px; gap: 36px; }
}

@media (max-width: 860px) {
  .vms-hero,
  .num-grid,
  .icon-grid,
  .foot-grid,
  .news {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }
  .vms-hero { display: flex; }
  .news-form { max-width: none; width: 100%; flex-wrap: wrap; }
  .vms-hero-copy h1 { font-size: 48px; }
}
