/* Cloud & Infra — Load Balancing & Application Delivery */

@import url("https://api.fontshare.com/v2/css?f[]=general-sans@300,400,500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Mulish:wght@400;600;700;800&display=swap");

.apit-lb-page {
  margin: 0;
  background: #ffffff;
  color: #0b1b2b;
}

.apit-lb-hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  color: #0b1b2b;
  font-family: "General Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  padding:
    calc(var(--apit-announce-h, 40px) + var(--apit-header-h, 80px) + 2.5rem)
    4.5vw 4.75rem;
  background:
    radial-gradient(ellipse 50% 45% at 100% 0%, rgba(0, 136, 204, 0.1), transparent 55%),
    linear-gradient(180deg, #f7fafc 0%, #ffffff 58%);
}

.apit-lb-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(1.75rem, 3.5vw, 3.5rem);
  max-width: 1240px;
  margin: 0 auto;
}

.apit-lb-hero-copy {
  max-width: 40rem;
}

.apit-lb-hero-eyebrow {
  margin: 0 0 0.95rem;
  font-family: Mulish, sans-serif;
  font-size: clamp(0.65rem, 0.8vw, 0.74rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0088cc;
}

.apit-lb-hero-title {
  margin: 0;
  font-family: "General Sans", sans-serif;
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: #0b1b2b;
}

.apit-lb-hero-body {
  margin: 1.1rem 0 0;
  font-family: "General Sans", sans-serif;
  font-size: clamp(0.92rem, 1.05vw, 1.02rem);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(11, 27, 43, 0.78);
}

.apit-lb-hero-body + .apit-lb-hero-body {
  margin-top: 0.85rem;
}

.apit-lb-hero-media {
  position: relative;
  max-width: 28rem;
  width: 100%;
  margin-left: auto;
  min-height: clamp(15rem, 26vw, 20rem);
  border-radius: 1.35rem;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(0, 136, 204, 0.1), rgba(10, 61, 122, 0.06)),
    #eef3f8;
  box-shadow: 0 22px 48px rgba(10, 61, 122, 0.1);
}

.apit-lb-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(15rem, 26vw, 20rem);
  object-fit: cover;
  object-position: center;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.apit-lb-hero-media:hover img {
  transform: scale(1.04);
}

@media (max-width: 1023.98px) {
  .apit-lb-hero {
    padding:
      calc(var(--apit-announce-h, 40px) + var(--apit-header-h, 72px) + 1.75rem)
      1.25rem 3.25rem;
  }

  .apit-lb-hero-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .apit-lb-hero-media {
    min-height: 14rem;
    max-width: 24rem;
    margin: 0 auto;
    order: -1;
  }

  .apit-lb-hero-media img {
    min-height: 14rem;
  }

  .apit-lb-hero-title {
    font-size: clamp(1.7rem, 6.2vw, 2.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .apit-lb-hero-media img {
    transition: none;
  }

  .apit-lb-hero-media:hover img {
    transform: none;
  }
}

/* —— Key Benefits (traffic track) —— */
.apit-lb-ben {
  position: relative;
  overflow: hidden;
  padding: 5rem 4.5vw 5.75rem;
  font-family: "General Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #e8f1f8;
  background:
    radial-gradient(ellipse 55% 50% at 50% 0%, rgba(0, 136, 204, 0.24), transparent 55%),
    linear-gradient(165deg, #050d16 0%, #0b1b2b 48%, #0a2840 100%);
}

.apit-lb-ben::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 136, 204, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 136, 204, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 85%);
  pointer-events: none;
}

.apit-lb-ben-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
}

.apit-lb-ben-header {
  max-width: 36rem;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.apit-lb-ben-title {
  margin: 0 0 1rem;
  font-family: "General Sans", sans-serif;
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.apit-lb-ben-support {
  margin: 0 auto;
  font-size: clamp(0.96rem, 1.05vw, 1.05rem);
  line-height: 1.68;
  color: rgba(232, 241, 248, 0.72);
}

.apit-lb-ben-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.apit-lb-ben-track::before {
  content: "";
  position: absolute;
  top: 3.2rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 180, 255, 0.55),
    rgba(0, 180, 255, 0.55),
    transparent
  );
  box-shadow: 0 0 18px rgba(0, 136, 204, 0.35);
  pointer-events: none;
}

.apit-lb-ben-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  padding: 0 0.4rem;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.apit-lb-ben-node:hover {
  transform: translateY(-8px);
}

.apit-lb-ben-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6.25rem;
  height: 6.25rem;
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(0, 136, 204, 0.35), rgba(8, 28, 48, 0.95)),
    #0d2236;
  border: 2px solid rgba(0, 180, 255, 0.45);
  box-shadow:
    0 0 0 10px rgba(0, 136, 204, 0.08),
    0 0 32px rgba(0, 136, 204, 0.35),
    0 16px 36px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
  transition:
    border-color 0.35s ease,
    box-shadow 0.4s ease,
    transform 0.4s ease;
}

.apit-lb-ben-node:hover .apit-lb-ben-icon {
  border-color: #3ec4ff;
  transform: scale(1.05);
  box-shadow:
    0 0 0 12px rgba(0, 136, 204, 0.12),
    0 0 40px rgba(62, 196, 255, 0.45),
    0 20px 44px rgba(0, 0, 0, 0.4);
}

.apit-lb-ben-icon img {
  display: block;
  width: 2.9rem;
  height: 2.9rem;
  object-fit: contain;
}

.apit-lb-ben-num {
  font-family: Mulish, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #3ec4ff;
}

.apit-lb-ben-name {
  margin: 0.15rem 0 0;
  font-family: "General Sans", sans-serif;
  font-size: clamp(1.05rem, 1.15vw, 1.16rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: #ffffff;
}

.apit-lb-ben-text {
  margin: 0;
  font-size: clamp(0.86rem, 0.94vw, 0.92rem);
  line-height: 1.58;
  color: rgba(232, 241, 248, 0.68);
}

@media (max-width: 1023.98px) {
  .apit-lb-ben {
    padding: 3.5rem 1.25rem 3.85rem;
  }

  .apit-lb-ben-header {
    margin-bottom: 2.5rem;
    text-align: left;
    max-width: none;
  }

  .apit-lb-ben-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.25rem;
  }

  .apit-lb-ben-track::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .apit-lb-ben-track {
    grid-template-columns: 1fr;
  }

  .apit-lb-ben-node {
    align-items: flex-start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apit-lb-ben-node,
  .apit-lb-ben-icon {
    transition: none;
  }

  .apit-lb-ben-node:hover {
    transform: none;
  }

  .apit-lb-ben-node:hover .apit-lb-ben-icon {
    transform: none;
  }
}

/* —— Advantages —— */
.apit-lb-adv {
  position: relative;
  overflow: hidden;
  padding: 5rem 4.5vw 5.75rem;
  font-family: "General Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #0b1b2b;
  background:
    radial-gradient(ellipse 60% 50% at 50% -10%, rgba(0, 136, 204, 0.1), transparent 55%),
    linear-gradient(180deg, #eef5fa 0%, #ffffff 60%);
}

.apit-lb-adv-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.apit-lb-adv-header {
  margin: 0 0 3rem;
  text-align: center;
}

.apit-lb-adv-title {
  margin: 0;
  font-family: "General Sans", sans-serif;
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #0b1b2b;
}

.apit-lb-adv-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.apit-lb-adv-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
  padding: 2rem 1.55rem 1.85rem;
  border-radius: 1.45rem;
  background: #ffffff;
  border: 1px solid rgba(10, 61, 122, 0.08);
  box-shadow: 0 16px 40px rgba(10, 61, 122, 0.06);
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.35s ease;
}

.apit-lb-adv-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, #0088cc, rgba(0, 136, 204, 0));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.apit-lb-adv-card:hover {
  transform: translateY(-7px);
  border-color: rgba(0, 136, 204, 0.26);
  box-shadow: 0 26px 54px rgba(10, 61, 122, 0.12);
}

.apit-lb-adv-card:hover::after {
  opacity: 1;
}

.apit-lb-adv-num {
  position: absolute;
  top: 1rem;
  right: 1.15rem;
  font-family: Mulish, sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(0, 136, 204, 0.1);
  pointer-events: none;
}

.apit-lb-adv-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 1.35rem;
  background:
    linear-gradient(145deg, rgba(0, 136, 204, 0.12), rgba(10, 61, 122, 0.04)),
    #f3f8fc;
  border: 1px solid rgba(0, 136, 204, 0.14);
  flex-shrink: 0;
}

.apit-lb-adv-icon img {
  display: block;
  width: 2.9rem;
  height: 2.9rem;
  object-fit: contain;
}

.apit-lb-adv-name {
  margin: 0;
  font-family: "General Sans", sans-serif;
  font-size: clamp(1.1rem, 1.2vw, 1.22rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: #0b1b2b;
}

.apit-lb-adv-text {
  margin: 0;
  font-size: clamp(0.9rem, 0.98vw, 0.96rem);
  line-height: 1.6;
  color: rgba(11, 27, 43, 0.68);
}

@media (max-width: 1023.98px) {
  .apit-lb-adv {
    padding: 3.5rem 1.25rem 3.85rem;
  }

  .apit-lb-adv-header {
    margin-bottom: 2rem;
    text-align: left;
  }

  .apit-lb-adv-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apit-lb-adv-card {
    transition: none;
  }

  .apit-lb-adv-card:hover {
    transform: none;
  }
}

/* —— Expertise (skyline vault) —— */
.apit-lb-exp {
  position: relative;
  overflow: hidden;
  padding: 5.25rem 4.5vw 6rem;
  font-family: "General Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #e8f1f8;
  background:
    radial-gradient(ellipse 55% 50% at 10% 20%, rgba(0, 136, 204, 0.28), transparent 55%),
    radial-gradient(ellipse 40% 40% at 95% 90%, rgba(0, 180, 255, 0.12), transparent 50%),
    linear-gradient(160deg, #050d16 0%, #0b1b2b 48%, #0a3d7a 120%);
}

.apit-lb-exp::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 136, 204, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 136, 204, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 88%);
  pointer-events: none;
}

.apit-lb-exp-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
}

.apit-lb-exp-header {
  margin: 0 0 3.5rem;
}

.apit-lb-exp-title {
  margin: 0;
  font-family: "General Sans", sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.apit-lb-exp-vault {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  align-items: end;
}

.apit-lb-exp-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: 2.5rem 1.4rem 1.8rem;
  border-radius: 1.5rem 1.5rem 0.5rem 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 180, 255, 0.18);
  overflow: visible;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.45s ease;
}

.apit-lb-exp-panel:nth-child(1) {
  min-height: 20rem;
}

.apit-lb-exp-panel:nth-child(2) {
  min-height: 24.5rem;
}

.apit-lb-exp-panel:nth-child(3) {
  min-height: 18.5rem;
}

.apit-lb-exp-panel:hover {
  transform: translateY(-10px);
  background: rgba(0, 136, 204, 0.14);
  border-color: rgba(62, 196, 255, 0.45);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(0, 136, 204, 0.15);
}

.apit-lb-exp-num {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  font-family: Mulish, sans-serif;
  font-size: clamp(2.6rem, 3.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(62, 196, 255, 0.12);
  pointer-events: none;
  transition: color 0.35s ease;
}

.apit-lb-exp-panel:hover .apit-lb-exp-num {
  color: rgba(62, 196, 255, 0.28);
}

.apit-lb-exp-icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.5rem;
  height: 5.5rem;
  margin-top: -3.4rem;
  border-radius: 1.35rem;
  background:
    linear-gradient(145deg, #0d2a42, #071825),
    #0d2236;
  border: 1px solid rgba(0, 180, 255, 0.4);
  box-shadow:
    0 0 0 6px rgba(5, 13, 22, 0.9),
    0 12px 32px rgba(0, 136, 204, 0.35);
  flex-shrink: 0;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.35s ease;
}

.apit-lb-exp-panel:hover .apit-lb-exp-icon {
  transform: scale(1.06) rotate(-3deg);
  border-color: #3ec4ff;
  box-shadow:
    0 0 0 6px rgba(5, 13, 22, 0.9),
    0 16px 40px rgba(62, 196, 255, 0.4);
}

.apit-lb-exp-icon img {
  display: block;
  width: 2.85rem;
  height: 2.85rem;
  object-fit: contain;
}

.apit-lb-exp-copy {
  margin-top: auto;
  display: grid;
  gap: 0.55rem;
}

.apit-lb-exp-name {
  margin: 0;
  font-family: "General Sans", sans-serif;
  font-size: clamp(1.1rem, 1.2vw, 1.22rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: #ffffff;
}

.apit-lb-exp-text {
  margin: 0;
  font-size: clamp(0.88rem, 0.96vw, 0.94rem);
  line-height: 1.58;
  color: rgba(232, 241, 248, 0.68);
}

@media (max-width: 1023.98px) {
  .apit-lb-exp {
    padding: 3.5rem 1.25rem 4rem;
  }

  .apit-lb-exp-header {
    margin-bottom: 3rem;
  }

  .apit-lb-exp-vault {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    align-items: stretch;
  }

  .apit-lb-exp-panel:nth-child(n) {
    min-height: 0;
    padding-top: 2.5rem;
  }

  .apit-lb-exp-icon {
    margin-top: -3.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apit-lb-exp-panel,
  .apit-lb-exp-icon,
  .apit-lb-exp-num {
    transition: none;
  }

  .apit-lb-exp-panel:hover {
    transform: none;
  }

  .apit-lb-exp-panel:hover .apit-lb-exp-icon {
    transform: none;
  }
}

/* —— Boost Performance CTA —— */
.apit-lb-boost {
  position: relative;
  overflow: hidden;
  padding: 5rem 4.5vw 5.25rem;
  font-family: "General Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #ffffff;
  background:
    radial-gradient(ellipse 50% 70% at 100% 0%, rgba(255, 255, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 40% 55% at 0% 100%, rgba(0, 180, 255, 0.2), transparent 50%),
    linear-gradient(135deg, #0088cc 0%, #0a6fa8 42%, #0a3d7a 100%);
}

.apit-lb-boost::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 75% 65% at 40% 40%, #000 15%, transparent 75%);
  pointer-events: none;
}

.apit-lb-boost-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
}

.apit-lb-boost-copy {
  max-width: 44rem;
}

.apit-lb-boost-title {
  margin: 0;
  max-width: 18ch;
  font-family: "General Sans", sans-serif;
  font-size: clamp(1.65rem, 2.8vw, 2.5rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.apit-lb-boost-body {
  margin: 1.15rem 0 0;
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.88);
}

.apit-lb-boost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.75rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  background: #ffffff;
  color: #0a3d7a;
  text-decoration: none;
  font-family: Mulish, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 14px 36px rgba(8, 40, 72, 0.22);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.apit-lb-boost-btn:hover {
  transform: translateY(-2px);
  background: #f2f8fc;
  box-shadow: 0 18px 42px rgba(8, 40, 72, 0.28);
}

.apit-lb-boost-btn span {
  font-size: 1.1em;
  line-height: 1;
  transition: transform 0.25s ease;
}

.apit-lb-boost-btn:hover span {
  transform: translateX(3px);
}

@media (max-width: 1023.98px) {
  .apit-lb-boost {
    padding: 3.25rem 1.25rem 3.5rem;
  }

  .apit-lb-boost-title {
    max-width: none;
  }

  .apit-lb-boost-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apit-lb-boost-btn,
  .apit-lb-boost-btn span {
    transition: none;
  }

  .apit-lb-boost-btn:hover {
    transform: none;
  }

  .apit-lb-boost-btn:hover span {
    transform: none;
  }
}
