/* ======================================
   ANNUAL MAINTENANCE PAGE
====================================== */

.am-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background: #06162e;
}

.am-section .container,
.am-final-cta .container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.am-eyebrow {
  display: inline-block;
  color: #25c4df;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 17px;
}

.am-section h2,
.am-final-cta h2 {
  color: #fff;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.16;
  margin: 0 0 20px;
}

.am-section h2 em,
.am-final-cta h2 em {
  color: #25c4df;
  font-style: normal;
}

.am-section p {
  color: #aebfd1;
  line-height: 1.85;
  font-size: 14px;
}

/* Scroll reveal */

.am-reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}

.am-reveal.am-visible {
  opacity: 1;
  transform: translateY(0);
}

/* INTRO */

.am-intro {
  background:
    radial-gradient(circle at 80% 50%, rgba(30,190,220,.13), transparent 35%),
    #071a33;
}

.am-intro-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 65px;
}

.am-intro-copy h2 {
  max-width: 650px;
}

.am-intro-copy p {
  max-width: 580px;
  margin-bottom: 28px;
}

.am-text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: #26c6e0;
  font-weight: 700;
  text-decoration: none;
  transition: gap .3s ease;
}

.am-text-link:hover {
  gap: 20px;
}

/* Animated maintenance visual */

.am-visual {
  min-height: 390px;
  position: relative;
  display: grid;
  place-items: center;
}

.am-visual-ring {
  position: absolute;
  width: 310px;
  height: 310px;
  border: 1px dashed rgba(38,196,223,.35);
  border-radius: 50%;
  animation: amRotate 24s linear infinite;
}

.am-ring-two {
  width: 245px;
  height: 245px;
  border-style: solid;
  opacity: .6;
  animation-direction: reverse;
}

.am-visual-core {
  position: relative;
  z-index: 2;
  width: 205px;
  height: 205px;
  border: 1px solid rgba(38,196,223,.5);
  border-radius: 50%;
  background: linear-gradient(145deg, #153858, #081b32);
  box-shadow: 0 0 65px rgba(38,196,223,.15);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 13px;
}

.am-visual-core i {
  color: #25c6e0;
  font-size: 48px;
  animation: amToolFloat 3s ease-in-out infinite;
}

.am-visual-core strong {
  color: white;
  font-size: 17px;
}

.am-visual-core span {
  color: #9db4ca;
  font-size: 10px;
}

.am-float-icon {
  position: absolute;
  z-index: 3;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(38,196,223,.4);
  border-radius: 15px;
  background: #102d4b;
  color: #29c8e1;
  font-size: 19px;
  animation: amFloat 3.5s ease-in-out infinite;
}

.am-float-one { top: 8%; left: 15%; }
.am-float-two { top: 10%; right: 13%; animation-delay: .5s; }
.am-float-three { bottom: 10%; left: 13%; animation-delay: 1s; }
.am-float-four { bottom: 8%; right: 15%; animation-delay: 1.5s; }

/* SERVICES */

.am-services {
  background: #091e39;
}

.am-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.am-heading p {
  max-width: 620px;
}

.am-service-list {
  border-top: 1px solid rgba(160,190,215,.2);
}

.am-service-row {
  display: grid;
  grid-template-columns: 50px 65px 1fr 25px;
  align-items: center;
  gap: 25px;
  padding: 29px 10px;
  border-bottom: 1px solid rgba(160,190,215,.2);
  transition: padding .35s ease, background .35s ease;
}

.am-service-row:hover {
  padding-left: 22px;
  background: rgba(35,190,220,.055);
}

.am-number {
  color: #28c6df;
  font-size: 14px;
  font-weight: 800;
}

.am-service-icon {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  color: #29c7e0;
  border: 1px solid rgba(41,199,224,.35);
  border-radius: 50%;
  font-size: 22px;
  transition: .35s ease;
}

.am-service-row:hover .am-service-icon {
  color: #06162e;
  background: #29c7e0;
  transform: rotateY(180deg);
}

.am-service-content h3 {
  color: white;
  font-size: 20px;
  margin: 0 0 8px;
}

.am-service-content p {
  max-width: 760px;
  margin: 0 0 9px;
}

.am-service-content > span {
  color: #27c3dd;
  font-size: 11px;
  letter-spacing: .3px;
}

.am-service-arrow {
  color: #8ba6bf;
  transition: .3s ease;
}

.am-service-row:hover .am-service-arrow {
  color: #27c3dd;
  transform: translateX(6px);
}

/* SCOPE */

.am-scope {
  background: #06162e;
}

.am-scope-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.am-scope-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 75px;
  align-items: center;
}

.am-scope-main {
  min-height: 330px;
  padding: 38px;
  border-left: 3px solid #25c5df;
  background: linear-gradient(135deg, rgba(31,183,215,.13), rgba(12,39,67,.3));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.am-scope-main-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  color: #25c5df;
  font-size: 33px;
  margin-bottom: 25px;
}

.am-scope-main > span {
  color: #28c6df;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.7px;
}

.am-scope-main h3 {
  color: white;
  font-size: 25px;
  margin: 14px 0;
}

.am-scope-side {
  border-top: 1px solid rgba(160,190,215,.2);
}

.am-scope-line {
  display: flex;
  gap: 23px;
  align-items: flex-start;
  padding: 23px 5px;
  border-bottom: 1px solid rgba(160,190,215,.2);
  transition: padding .3s ease;
}

.am-scope-line:hover {
  padding-left: 15px;
}

.am-scope-line > i {
  color: #27c5df;
  font-size: 24px;
  min-width: 30px;
  margin-top: 4px;
}

.am-scope-line h3 {
  color: white;
  font-size: 17px;
  margin: 0 0 5px;
}

.am-scope-line p {
  margin: 0;
  font-size: 13px;
}

/* MAINTENANCE CYCLE */

.am-cycle {
  background:
    radial-gradient(circle at 50% 100%, rgba(25,183,215,.1), transparent 45%),
    #0a203b;
}

.am-cycle-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-top: 20px;
}

.am-cycle-progress {
  position: absolute;
  top: 53px;
  left: 9%;
  right: 9%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #25c5df, #25c5df, transparent);
}

.am-cycle-step {
  position: relative;
  z-index: 1;
  padding: 0 10px;
}

.am-cycle-number {
  width: 65px;
  height: 65px;
  display: grid;
  place-items: center;
  border: 8px solid #0a203b;
  border-radius: 50%;
  color: #06162e;
  background: #25c5df;
  box-shadow: 0 0 0 1px rgba(37,197,223,.55);
  font-weight: 900;
  margin-bottom: 28px;
}

.am-cycle-step > i {
  display: block;
  color: #25c5df;
  font-size: 23px;
  margin-bottom: 15px;
}

.am-cycle-step h3 {
  color: white;
  font-size: 20px;
  margin: 12px 0;
}

.am-cycle-step p {
  font-size: 13px;
}

/* BENEFITS */

.am-benefits {
  background: #06162e;
}

.am-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.am-benefits-copy p {
  max-width: 600px;
}

.am-benefit-list {
  list-style: none;
  padding: 0;
  margin: 25px 0 0;
}

.am-benefit-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #d4e1ed;
  font-size: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(160,190,215,.15);
}

.am-benefit-list i {
  color: #28c7df;
}

/* Illustrative dashboard */

.am-benefits-visual {
  padding: 25px;
  background: radial-gradient(circle, rgba(34,185,218,.13), transparent 70%);
}

.am-dashboard {
  padding: 28px;
  border: 1px solid rgba(40,195,223,.3);
  border-radius: 20px;
  background: linear-gradient(145deg, #102d4b, #091b32);
  box-shadow: 0 25px 70px rgba(0,0,0,.25);
  animation: amDashboardFloat 5s ease-in-out infinite;
}

.am-dashboard-top {
  display: flex;
  justify-content: space-between;
  color: #9db5ca;
  font-size: 11px;
  letter-spacing: 1.2px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(160,190,215,.18);
}

.am-dashboard-status {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 25px 0;
}

.am-status-dot {
  width: 12px;
  height: 12px;
  background: #32d4a1;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(50,212,161,.7);
  animation: amStatusPulse 2s infinite;
}

.am-dashboard-status strong,
.am-dashboard-status small {
  display: block;
}

.am-dashboard-status strong {
  color: white;
  font-size: 15px;
}

.am-dashboard-status small {
  color: #9db5ca;
  margin-top: 5px;
  font-size: 11px;
}

.am-dashboard-bars > div {
  margin: 19px 0;
}

.am-dashboard-bars span {
  display: block;
  color: #c4d5e4;
  font-size: 12px;
  margin-bottom: 9px;
}

.am-dashboard-bars i {
  display: block;
  height: 6px;
  border-radius: 10px;
  background: rgba(150,180,205,.15);
  overflow: hidden;
}

.am-dashboard-bars b {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, #169fc4, #37d2e6);
  transition: width 1.5s ease;
}

.am-visible .am-dashboard-bars div:nth-child(1) b { width: 90%; }
.am-visible .am-dashboard-bars div:nth-child(2) b { width: 75%; }
.am-visible .am-dashboard-bars div:nth-child(3) b { width: 85%; }
.am-visible .am-dashboard-bars div:nth-child(4) b { width: 68%; }

.am-dashboard-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(160,190,215,.18);
  color: #8faac1;
  font-size: 11px;
}

.am-dashboard-bottom i {
  color: #25c5df;
  font-size: 17px;
}

/* FINAL CTA */

.am-final-cta {
  padding: 35px 0 100px;
  background: #06162e;
}

.am-final-inner {
  padding: 60px;
  border: 1px solid rgba(37,197,223,.3);
  border-radius: 22px;
  background:
    radial-gradient(circle at 85% 20%, rgba(25,185,215,.2), transparent 35%),
    linear-gradient(120deg, #102d4b, #0a203b);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.am-final-inner > div {
  max-width: 700px;
}

.am-final-inner p {
  color: #b6c8d9;
  line-height: 1.8;
  font-size: 14px;
}

.am-final-inner .btn {
  flex-shrink: 0;
}

/* ANIMATIONS */

@keyframes amRotate {
  to { transform: rotate(360deg); }
}

@keyframes amFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes amToolFloat {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-8px) rotate(5deg); }
}

@keyframes amDashboardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes amStatusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(50,212,161,.4); }
  50% { box-shadow: 0 0 0 9px rgba(50,212,161,0); }
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .am-intro-grid,
  .am-benefits-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .am-visual {
    min-height: 340px;
  }

  .am-scope-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .am-cycle-track {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }

  .am-cycle-progress {
    display: none;
  }
}

@media (max-width: 600px) {
  .am-section {
    padding: 70px 0;
  }

  .am-service-row {
    grid-template-columns: 35px 45px 1fr;
    gap: 12px;
    padding: 24px 0;
  }

  .am-service-icon {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .am-service-content h3 {
    font-size: 16px;
  }

  .am-service-content p {
    font-size: 12px;
  }

  .am-service-arrow {
    display: none;
  }

  .am-scope-main {
    min-height: auto;
    padding: 28px;
  }

  .am-cycle-track {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .am-cycle-step {
    display: grid;
    grid-template-columns: 60px 1fr;
    column-gap: 15px;
  }

  .am-cycle-number {
    grid-row: span 3;
    margin-bottom: 0;
  }

  .am-cycle-step > i {
    margin-top: 5px;
  }

  .am-cycle-step h3 {
    margin: 5px 0;
  }

  .am-cycle-step p {
    margin-top: 5px;
  }

  .am-benefits-visual {
    padding: 0;
  }

  .am-dashboard {
    padding: 20px;
  }

  .am-final-cta {
    padding: 20px 0 70px;
  }

  .am-final-inner {
    padding: 35px 25px;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .am-reveal,
  .am-visual-ring,
  .am-visual-core i,
  .am-float-icon,
  .am-dashboard,
  .am-status-dot {
    animation: none !important;
    transition: none !important;
  }

  .am-reveal {
    opacity: 1;
    transform: none;
  }

  .am-dashboard-bars b {
    width: 100%;
  }
}