.email-hero {
  isolation: isolate;
  overflow: hidden;
  background-color: #dcecff;
}

.email-hero::before {
  height: 100%;
  background-color: #dcecff;
  background-image: url("/dev-v2/page-assets/img/backgrounds/email-infrastructure-tunnel-v3.webp?v=20260825");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: .58;
}

.email-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(220, 236, 255, .52) 0%, rgba(226, 241, 255, .36) 34%, rgba(226, 241, 255, .28) 66%, rgba(220, 236, 255, .46) 100%);
}

@media (min-width: 1200px) {
  .email-hosting-page .header__menu > .header__menu-item > .header__link {
    color: #294766;
    font-weight: 650;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .72);
  }

  .email-hosting-page .header__menu > .header__menu-item:hover > .header__link,
  .email-hosting-page .header__menu > .header__menu-item:focus-within > .header__link {
    color: #005eb7;
  }
}

.email-hero__depth {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  perspective: 1100px;
  opacity: .28;
}

.email-hero__route {
  position: absolute;
  height: 2px;
  background: #5dbde5;
  transform-origin: left center;
  opacity: .34;
}

.email-hero__route::after {
  content: "";
  position: absolute;
  right: -5px;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #09b9e8;
  box-shadow: 0 0 0 6px rgba(9, 185, 232, .12);
}

.email-hero__route--one { width: 36%; left: 7%; top: 28%; transform: rotate(11deg); }
.email-hero__route--two { width: 31%; right: 8%; top: 22%; transform: rotate(-18deg); }
.email-hero__route--three { width: 44%; right: 3%; top: 70%; transform: rotate(8deg); }

.email-hero__packet {
  position: absolute;
  display: grid;
  place-items: center;
  width: 78px;
  aspect-ratio: 1;
  border: 1px solid rgba(17, 115, 186, .2);
  border-radius: 8px;
  background: rgba(255,255,255,.58);
  box-shadow: 0 20px 35px rgba(0, 52, 112, .12);
  transform: rotateY(-22deg) rotateX(8deg);
  animation: email-packet-float 7s ease-in-out infinite;
}

.email-hero__packet img { width: 34px; height: 34px; }
.email-hero__packet--one { left: 4%; top: 48%; }
.email-hero__packet--two { right: 7%; top: 17%; animation-delay: -2.2s; }
.email-hero__packet--three { right: 32%; bottom: 8%; animation-delay: -4.5s; }

.email-hero__server {
  position: absolute;
  width: 128px;
  height: 214px;
  border: 1px solid rgba(7, 52, 111, .15);
  border-radius: 6px;
  background: repeating-linear-gradient(to bottom, rgba(7,52,111,.13) 0 14px, rgba(255,255,255,.25) 14px 19px);
  box-shadow: 0 25px 50px rgba(0, 52, 112, .12);
  transform: rotateY(38deg) rotateX(4deg);
  opacity: .16;
}

.email-hero__server--one { left: 17%; bottom: -45px; }
.email-hero__server--two { right: 1%; bottom: -68px; transform: rotateY(-38deg) rotateX(4deg); }

.email-hero .hero__wrapper,
.email-hero .container { position: relative; z-index: 2; }
.email-hero .hero__content {
  position: relative;
  z-index: 3;
}
.email-hero .hero__thumb {
  position: relative;
  z-index: 3;
}
.email-hero .hero__thumb img { filter: drop-shadow(0 26px 28px rgba(0, 39, 93, .2)); }
.email-hero .tag-btns strong { color: #006fc4; }
.email-hero .hero__lotus-img { display: none !important; }

.device-guide {
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid #d6e5f2;
  border-radius: 8px;
  background: #fff;
}

.device-guide__heading { max-width: 760px; margin-bottom: 26px; }
.device-guide__heading > span {
  display: block;
  margin-bottom: 7px;
  color: #0878c9;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.device-guide__heading h3 { margin-bottom: 8px; color: #072c61; font-size: clamp(24px, 3vw, 34px); }
.device-guide__heading p { margin: 0; color: #53677e; font-size: 16px; line-height: 1.65; }
.device-guide__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 26px;
  padding: 0;
  counter-reset: device-step;
  list-style: none;
}
.device-guide__steps li {
  position: relative;
  min-height: 150px;
  padding: 22px 20px 20px 58px;
  border: 1px solid #d8e6f2;
  border-radius: 6px;
  background: #f6faff;
  counter-increment: device-step;
}
.device-guide__steps li::before {
  content: counter(device-step);
  position: absolute;
  top: 20px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #08b9e8;
  color: #fff;
  font-weight: 700;
}
.device-guide__steps strong,
.device-guide__steps span { display: block; }
.device-guide__steps strong { margin-bottom: 7px; color: #082f64; }
.device-guide__steps span { color: #5f7185; font-size: 14px; line-height: 1.55; }
.device-guide__settings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 26px; }
.device-guide__settings > div { padding: 20px; border-left: 3px solid #0cb7e7; background: #f5faff; }
.device-guide__settings span,
.device-guide__settings strong,
.device-guide__settings small { display: block; }
.device-guide__settings span { color: #55708b; font-size: 13px; text-transform: uppercase; }
.device-guide__settings strong { margin: 5px 0 2px; color: #072f64; font-size: 22px; }
.device-guide__settings small { color: #14875a; }

/* Keep the four compatibility features compact and easy to scan. */
.email-hosting-page .email-feature-card {
  padding: 20px 22px;
}
.email-hosting-page .email-feature-card > .d-flex {
  gap: 14px !important;
  margin-bottom: 10px !important;
}
.email-hosting-page .email-feature-card__icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
}
.email-hosting-page .email-feature-card__icon-box img {
  width: 38px;
  height: 38px;
}
.email-hosting-page .email-feature-card .text-light-blue {
  margin-bottom: 3px;
  font-size: 16px !important;
  line-height: 1.3;
}
.email-hosting-page .email-feature-card h3 {
  font-size: 23px;
  line-height: 1.2;
}
.email-hosting-page .email-feature-card > p {
  font-size: 16px !important;
  line-height: 1.5;
}

@keyframes email-packet-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

@media (max-width: 767px) {
  .email-hosting-page .email-feature-card h3 { font-size: 20px; }
  .email-hosting-page .email-feature-card .text-light-blue,
  .email-hosting-page .email-feature-card > p { font-size: 15px !important; }
  .email-hero::before {
    background-image: url("/dev-v2/page-assets/img/backgrounds/email-infrastructure-hero-v2.webp?v=20260825");
    background-position: 62% center;
    background-size: auto 100%;
    opacity: .34;
  }
  .email-hero::after { background: rgba(224, 240, 255, .38); }
  .email-hero__depth { opacity: .22; }
  .email-hero__packet { width: 54px; }
  .email-hero__packet img { width: 25px; height: 25px; }
  .email-hero__packet--one { left: -12px; top: 47%; }
  .email-hero__packet--two { right: -10px; top: 35%; }
  .email-hero__packet--three,
  .email-hero__server--one { display: none; }
  .email-hero__server--two { right: -52px; bottom: 2%; opacity: .26; }
  .email-hero .hero__thumb {
    margin-top: -22px;
  }
  .email-hero .searchbox { align-items: stretch !important; }
  .email-hero .searchbox .theme-btn { min-width: 76px; font-size: 0; }
  .email-hero .searchbox .theme-btn::after { content: "Start"; font-size: 14px; }
  .device-guide__steps,
  .device-guide__settings { grid-template-columns: 1fr; }
  .device-guide__steps li { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .email-hero__packet { animation: none; }
}
