html {
  scroll-behavior: smooth;
}

.nuviops-page {
  --nuviops-ink: #172033;
  --nuviops-muted: #667085;
  --nuviops-soft: #f1fbf8;
  --nuviops-line: #dcebe7;
  --nuviops-gradient: linear-gradient(135deg, #004d40 0%, #00796b 48%, #26a69a 100%);
  color: var(--nuviops-ink);
  font-family: var(--font-body);
}

.nuviops-page .nuviops-hero {
  background: var(--nuviops-gradient);
  padding: 88px 0 78px;
}

.nuviops-page .nuviops-hero::before {
  width: 340px;
  height: 340px;
  top: -90px;
  right: -70px;
  background: rgba(255,255,255,0.08);
}

.nuviops-page .nuviops-hero::after {
  width: 260px;
  height: 260px;
  bottom: -90px;
  left: -80px;
  background: rgba(255,255,255,0.07);
}

.nuviops-page .nuviops-hero-inner {
  max-width: 820px;
}

.nuviops-page .nuviops-hero h1 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.nuviops-page .nuviops-hero p {
  color: rgba(255,255,255,0.92);
  font-size: 1.08rem;
}

.nuviops-page .nuviops-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 2px;
  margin-bottom: 0;
}

.nuviops-page .section h2,
.nuviops-page .section-primary-light h2 {
  color: var(--nuviops-ink);
  letter-spacing: -0.025em;
}

.nuviops-page .section-subtitle {
  color: var(--nuviops-muted);
}

.nuviops-page .services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.nuviops-page .nuviops-service-card {
  border-top: 3px solid transparent;
}

.nuviops-page .nuviops-service-card:hover {
  border-top-color: var(--color-primary);
}

.nuviops-page .nuviops-service-card ul,
.nuviops-page .platform-card ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nuviops-page .nuviops-service-card li,
.nuviops-page .platform-card li {
  position: relative;
  padding-left: 18px;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.55;
}

.nuviops-page .nuviops-service-card li::before,
.nuviops-page .platform-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--color-primary);
}

.nuviops-page .platform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.nuviops-page .platform-card {
  background: transparent;
  border-left: 3px solid var(--color-primary);
  padding: 2px 4px 2px 22px;
  min-height: 0;
}

.nuviops-page .platform-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: 1.35rem;
}

.nuviops-page .platform-card h3 {
  color: var(--nuviops-ink);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.nuviops-page .platform-footnote {
  margin-top: 28px;
  color: var(--nuviops-muted);
  font-size: 0.92rem;
  text-align: center;
}

.nuviops-page .nuviops-engage {
  background: #fff;
}

.nuviops-page .nuviops-engage .section-header h2 {
  color: var(--color-primary-dark);
}

.nuviops-page .nuviops-engage .section-subtitle {
  color: #4f6f69;
  font-weight: 500;
}

.nuviops-page .timeline {
  --phase-duration: 20s;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  position: relative;
  margin-bottom: 38px;
  padding-top: 8px;
}

.nuviops-page .timeline-track {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 51px;
  height: 4px;
  border-radius: 999px;
  background: #141b2d;
  overflow: hidden;
  z-index: 2;
}

.nuviops-page .timeline-track span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #00a884 0%, #33d69f 70%, #b7f7dc 100%);
  box-shadow: 0 0 18px rgba(0,168,132,0.65);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  animation: phaseLine var(--phase-duration) linear infinite;
}

.nuviops-page .timeline-step {
  position: relative;
  z-index: 3;
  padding: 0 10px;
  text-align: center;
  transition: transform var(--transition);
}

.nuviops-page .timeline-step:hover {
  transform: translateY(-5px);
}

.nuviops-page .timeline-step-accent {
  color: var(--color-secondary);
}

.nuviops-page .tl-week {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 18px;
  min-height: 18px;
  margin-bottom: 14px;
}

.nuviops-page .tl-dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 1rem;
  color: #fff;
  background: #141b2d;
  font-weight: 700;
  position: relative;
  z-index: 4;
  margin: 0 auto 16px;
  box-shadow: 0 8px 18px rgba(20,27,45,0.18);
  transform: scale(1);
  transition: transform 0.25s ease;
  animation: phaseDot var(--phase-duration) linear infinite;
}

.nuviops-page .timeline-step:hover .tl-dot {
  transform: scale(1.14);
}

.nuviops-page .timeline-step-accent .tl-dot {
  background: #141b2d;
}

.nuviops-page .timeline-step-accent .tl-week {
  color: var(--color-secondary);
}

.nuviops-page .tl-title {
  color: var(--nuviops-ink);
  font-family: var(--font-heading);
  font-size: 1.06rem;
  font-weight: 700;
  margin-bottom: 9px;
  opacity: 0;
  transform: translateY(10px);
  animation: phaseText var(--phase-duration) linear infinite;
}

.nuviops-page .tl-desc {
  color: var(--nuviops-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  animation: phaseDesc var(--phase-duration) steps(22, end) infinite;
}

.nuviops-page .timeline-step:nth-of-type(3) .tl-dot,
.nuviops-page .timeline-step:nth-of-type(3) .tl-title,
.nuviops-page .timeline-step:nth-of-type(3) .tl-desc {
  animation-delay: 4s;
}

.nuviops-page .timeline-step:nth-of-type(4) .tl-dot,
.nuviops-page .timeline-step:nth-of-type(4) .tl-title,
.nuviops-page .timeline-step:nth-of-type(4) .tl-desc {
  animation-delay: 8s;
}

.nuviops-page .timeline-step:nth-of-type(5) .tl-dot,
.nuviops-page .timeline-step:nth-of-type(5) .tl-title,
.nuviops-page .timeline-step:nth-of-type(5) .tl-desc {
  animation-delay: 12s;
}

.nuviops-page .timeline-step:nth-of-type(6) .tl-dot,
.nuviops-page .timeline-step:nth-of-type(6) .tl-title,
.nuviops-page .timeline-step:nth-of-type(6) .tl-desc {
  animation-delay: 16s;
}

.nuviops-page .flex-box {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--nuviops-line);
  background: var(--nuviops-soft);
  text-align: center;
}

.nuviops-page .flex-box p {
  margin: 0;
  color: #36524d;
  font-size: 0.98rem;
}

.nuviops-page .nuviops-cta {
  background: var(--nuviops-gradient);
}

@keyframes phaseLine {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }
  2% {
    opacity: 1;
    transform: scaleX(0);
  }
  20% {
    opacity: 1;
    transform: scaleX(0.25);
  }
  40% {
    opacity: 1;
    transform: scaleX(0.5);
  }
  60% {
    opacity: 1;
    transform: scaleX(0.75);
  }
  80% {
    opacity: 1;
    transform: scaleX(1);
  }
  90% {
    opacity: 1;
    transform: scaleX(1);
  }
  96% {
    opacity: 0;
    transform: scaleX(1);
  }
  100% {
    opacity: 0;
    transform: scaleX(0);
  }
}

@keyframes phaseDot {
  0%, 17% {
    background: var(--color-primary);
    box-shadow: 0 0 0 8px rgba(0,121,107,0.12), 0 0 26px rgba(0,168,132,0.7);
  }
  22%, 100% {
    background: #141b2d;
    box-shadow: 0 8px 18px rgba(20,27,45,0.18);
  }
}

@keyframes phaseText {
  0%, 2%, 22%, 100% {
    opacity: 0;
    transform: translateY(10px);
  }
  5%, 18% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes phaseDesc {
  0%, 6%, 22%, 100% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }
  12%, 18% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nuviops-page .timeline-track span,
  .nuviops-page .tl-dot,
  .nuviops-page .tl-title,
  .nuviops-page .tl-desc,
  .nuviops-page .timeline-step {
    animation: none;
  }

  .nuviops-page .timeline-track span {
    transform: scaleX(1);
  }

  .nuviops-page .tl-title,
  .nuviops-page .tl-desc {
    opacity: 1;
    transform: none;
    clip-path: none;
  }
}

@media (max-width: 1100px) {
  .nuviops-page .services-grid,
  .nuviops-page .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nuviops-page .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nuviops-page .timeline-track {
    display: none;
  }
}

@media (max-width: 768px) {
  .nuviops-page .nuviops-hero {
    padding: 58px 0 52px;
  }

  .nuviops-page .services-grid,
  .nuviops-page .platform-grid,
  .nuviops-page .timeline {
    grid-template-columns: 1fr;
  }

  .nuviops-page .platform-card {
    padding-left: 18px;
  }
}