/* Kvmidc V3 homepage additions. All rules are scoped to avoid the production hero. */
html.v3-home-root,
body.v3-home-page {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body.v3-home-page .rev_slider_wrapper,
body.v3-home-page rs-module-wrap,
body.v3-home-page rs-module,
body.v3-home-page .v3-console-layout > *,
body.v3-home-page .v3-console-main > * {
  max-width: 100%;
  min-width: 0;
}

.v3-home,
.v3-footer {
  --v3-blue: #087cf0;
  --v3-blue-dark: #066bd0;
  --v3-navy: #142149;
  --v3-text: #233456;
  --v3-muted: #687895;
  --v3-line: #dfe8f3;
  --v3-soft: #f5f8fc;
  font-family: Roboto, "Microsoft JhengHei", Arial, sans-serif;
  color: var(--v3-text);
  letter-spacing: 0;
}

.v3-home {
  overflow-x: clip;
  background: #fff;
}

.v3-home *,
.v3-footer * {
  box-sizing: border-box;
}

.v3-home h2,
.v3-home h3,
.v3-home p,
.v3-footer h3,
.v3-footer p {
  margin-top: 0;
  letter-spacing: 0;
}

.v3-home h2 {
  margin-bottom: 18px;
  color: var(--v3-navy);
  font-size: 38px;
  line-height: 1.3;
  font-weight: 700;
}

.v3-home h3 {
  color: var(--v3-navy);
  font-size: 20px;
  line-height: 1.45;
  font-weight: 600;
}

.v3-home p {
  color: var(--v3-muted);
  font-size: 16px;
  line-height: 1.9;
}

.v3-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.v3-section-head {
  max-width: 680px;
  margin: 0 auto 58px;
  text-align: center;
}

.v3-section-head p {
  margin-bottom: 0;
}

.v3-eyebrow {
  display: inline-block;
  margin-bottom: 17px;
  color: var(--v3-blue);
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
}

.v3-text-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--v3-blue);
  font-size: 15px;
  font-weight: 500;
}

.v3-text-link:hover {
  color: var(--v3-blue-dark);
}

.v3-text-link b {
  display: inline-block;
  font-size: 20px;
  font-weight: 400;
  transition: transform .25s ease;
}

.v3-text-link:hover b {
  transform: translateX(5px);
}

.v3-sprite {
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  background-image: url("../images/v3/ui-icons.webp");
  background-repeat: no-repeat;
  background-size: 400% 300%;
}

.v3-lightning { background-position: 0 0; }
.v3-shield { background-position: 33.333% 0; }
.v3-monitor { background-position: 66.666% 0; }
.v3-route { background-position: 100% 0; }
.v3-building { background-position: 0 50%; }
.v3-globe { background-position: 33.333% 50%; }
.v3-cloud { background-position: 66.666% 50%; }
.v3-ddos { background-position: 100% 50%; }
.v3-rack { background-position: 0 100%; }
.v3-stat-shield { background-position: 33.333% 100%; }
.v3-headset { background-position: 66.666% 100%; }
.v3-stat-lightning { background-position: 100% 100%; }

/* Advantages */
.v3-advantages {
  background: #fff;
}

.v3-advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 70px;
  row-gap: 54px;
}

.v3-advantage {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 20px;
  min-width: 0;
}

.v3-icon,
.v3-product-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background: #eef6ff;
}

.v3-advantage h3 {
  margin: 3px 0 8px;
}

.v3-advantage p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.8;
}

/* Products */
.v3-products {
  background: var(--v3-soft);
}

.v3-products-layout {
  display: grid;
  grid-template-columns: minmax(260px, .36fr) minmax(0, .64fr);
  gap: 74px;
  align-items: start;
}

.v3-products-copy {
  padding-top: 25px;
}

.v3-products-copy p {
  margin-bottom: 27px;
}

.v3-product-list {
  display: grid;
  gap: 12px;
}

.v3-product {
  position: relative;
  display: grid;
  grid-template-columns: 60px minmax(145px, 1fr) minmax(240px, 1.3fr) 28px;
  gap: 20px;
  align-items: center;
  min-height: 100px;
  padding: 18px 24px;
  border: 1px solid var(--v3-line);
  border-radius: 8px;
  background: #fff;
  color: var(--v3-text);
  text-decoration: none !important;
  box-shadow: 0 12px 34px rgba(32, 65, 115, .06);
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.v3-product:hover,
.v3-product:focus,
.v3-product:focus-visible {
  color: var(--v3-text);
  text-decoration: none !important;
  border-color: var(--v3-blue);
  outline: 0;
  background: #f4f9ff;
  box-shadow: 0 0 0 1px rgba(8, 124, 240, .16), 0 14px 32px rgba(32, 93, 172, .1);
}

.v3-product:hover *,
.v3-product:focus *,
.v3-product:focus-visible * {
  text-decoration: none !important;
}

.v3-product .v3-arrow {
  transition: transform .2s ease;
}

.v3-product:hover .v3-arrow,
.v3-product:focus .v3-arrow,
.v3-product:focus-visible .v3-arrow {
  transform: translateX(4px);
}

.v3-product.v3-featured::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 18px;
  bottom: 18px;
  width: 3px;
  background: var(--v3-blue);
}

.v3-product-name {
  min-width: 0;
}

.v3-product-name strong,
.v3-product-name small {
  display: block;
}

.v3-product-name strong {
  margin-bottom: 5px;
  color: var(--v3-navy);
  font-size: 17px;
  line-height: 1.4;
  font-weight: 600;
}

.v3-product-name small {
  color: var(--v3-blue);
  font-size: 13px;
}

.v3-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.v3-specs em {
  padding: 5px 9px;
  border-radius: 4px;
  background: #f2f6fb;
  color: #677794;
  font-size: 12px;
  line-height: 1;
  font-style: normal;
  white-space: nowrap;
}

.v3-arrow {
  color: var(--v3-blue);
  font-size: 22px;
  font-weight: 400;
}

/* Global network */
.v3-network {
  background: #fff;
}

.v3-network-layout {
  display: grid;
  grid-template-columns: minmax(0, .62fr) minmax(300px, .38fr);
  gap: 75px;
  align-items: center;
}

.v3-network-map {
  position: relative;
  aspect-ratio: 1056 / 511;
  min-height: 0;
}

.v3-network-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #dbeaff;
  -webkit-mask: url("../images/v3/world-map.png") center / contain no-repeat;
  mask: url("../images/v3/world-map.png") center / contain no-repeat;
}

.v3-node {
  position: absolute;
  z-index: 1;
  display: block;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%);
}

.v3-node i {
  position: relative;
  display: block;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--v3-blue);
  box-shadow: 0 0 0 3px rgba(8, 124, 240, .18);
  animation: v3-node-pulse 2.3s ease-out infinite;
}

.v3-node i::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(8, 124, 240, .5);
  border-radius: 50%;
  animation: v3-node-ring 2.3s ease-out infinite;
}

.v3-node:nth-child(2n) i,
.v3-node:nth-child(2n) i::after { animation-delay: .5s; }
.v3-node:nth-child(3n) i,
.v3-node:nth-child(3n) i::after { animation-delay: 1s; }

.v3-node b {
  position: absolute;
  top: 50%;
  left: 17px;
  transform: translateY(-50%);
  padding: 3px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .9);
  color: #405476;
  box-shadow: 0 4px 14px rgba(37, 76, 130, .08);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 500;
  white-space: nowrap;
}

.v3-node.v3-kr b,
.v3-node.v3-hk b {
  right: 17px;
  left: auto;
}

.v3-node.v3-us { left: 19.4%; top: 45.3%; }
.v3-node.v3-kr { left: 80.8%; top: 42.8%; }
.v3-node.v3-jp { left: 85.3%; top: 39.4%; }
.v3-node.v3-tw { left: 80.1%; top: 51.2%; }
.v3-node.v3-hk { left: 77.6%; top: 52.8%; }
.v3-node.v3-sg { left: 78.3%; top: 65.6%; }

@keyframes v3-node-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 3px rgba(8, 124, 240, .16); }
  50% { transform: scale(1.28); box-shadow: 0 0 0 6px rgba(8, 124, 240, .08); }
}

@keyframes v3-node-ring {
  0% { transform: scale(.45); opacity: 0; }
  30% { opacity: .8; }
  100% { transform: scale(1.45); opacity: 0; }
}

.v3-network-copy p {
  margin-bottom: 25px;
}

.v3-checks {
  margin: 0 0 29px;
  padding: 0;
  list-style: none;
}

.v3-checks li {
  position: relative;
  margin: 13px 0;
  padding-left: 25px;
  color: #52637f;
  font-size: 14px;
  line-height: 1.65;
}

.v3-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--v3-blue);
  font-weight: 700;
}

/* Metrics */
.v3-metrics {
  padding: 33px 0;
  background: var(--v3-navy);
}

.v3-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.v3-metric {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 70px;
  border-right: 1px solid rgba(255, 255, 255, .13);
}

.v3-metric:last-child {
  border-right: 0;
}

.v3-metric-icon {
  display: block;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  background-image: url("../images/v3/metrics-icons.svg?v=2");
  background-repeat: no-repeat;
  background-size: 400% 100%;
}

.v3-metric-shield { background-position: 0 0; }
.v3-metric-support { background-position: 33.333% 0; }
.v3-metric-response { background-position: 66.666% 0; }
.v3-metric-dc { background-position: 100% 0; }

.v3-metric strong,
.v3-metric span {
  display: block;
}

.v3-metric strong {
  color: #fff;
  font-size: 27px;
  line-height: 1.1;
  font-weight: 600;
}

.v3-metric span {
  margin-top: 6px;
  color: #bac8dc;
  font-size: 13px;
}

/* Console */
.v3-console {
  padding: 110px 0;
  background: #f7f9fc;
}

.v3-console-layout {
  display: grid;
  grid-template-columns: minmax(300px, .36fr) minmax(0, .64fr);
  gap: 66px;
  align-items: center;
}

.v3-console-copy p {
  margin-bottom: 22px;
}

.v3-console-copy h2 {
  font-size: 32px;
  line-height: 1.35;
}

html:not([lang="en"]) .v3-console-copy h2 {
  white-space: nowrap;
}

.v3-console-frame {
  min-width: 0;
  padding: 10px;
  border: 1px solid #d7e3f1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 26px 65px rgba(25, 63, 117, .14);
}

.v3-console-frame {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  min-height: 430px;
  overflow: hidden;
  border-radius: 5px;
  background: #f5f8fc;
}

.v3-console-frame aside {
  padding: 25px 12px;
  background: #172750;
}

.v3-console-frame aside > strong {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 10px 28px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.v3-console-frame aside > strong i {
  width: 19px;
  height: 19px;
  border-radius: 5px;
  background: var(--v3-blue);
  box-shadow: 10px 4px 0 -6px #56bdff;
}

.v3-console-frame aside > span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 39px;
  margin-bottom: 5px;
  padding: 0 12px;
  border-radius: 5px;
  color: #aebbd1;
  font-size: 12px;
}

.v3-console-frame aside > span.active {
  background: rgba(8, 124, 240, .2);
  color: #fff;
}

.v3-console-frame aside i.ion {
  width: 18px;
  color: #66b5ff;
  font-size: 18px;
  text-align: center;
}

.v3-console-frame aside b {
  font-weight: 400;
}

.v3-console-main {
  min-width: 0;
  padding: 24px;
}

.v3-console-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 19px;
}

.v3-console-bar strong {
  color: var(--v3-navy);
  font-size: 17px;
}

.v3-console-bar span {
  padding: 5px 9px;
  border-radius: 4px;
  background: #e5f6eb;
  color: #249653;
  font-size: 10px;
}

.v3-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 13px;
}

.v3-kpis > div,
.v3-chart-panel,
.v3-server-row {
  border: 1px solid #e2e9f2;
  border-radius: 5px;
  background: #fff;
}

.v3-kpis > div {
  min-width: 0;
  padding: 12px;
}

.v3-kpis span,
.v3-kpis strong {
  display: block;
}

.v3-kpis span {
  overflow: hidden;
  color: #7d8ba2;
  font-size: 9px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.v3-kpis strong {
  margin-top: 7px;
  color: var(--v3-navy);
  font-size: 18px;
}

.v3-charts {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(150px, .75fr);
  gap: 12px;
  margin-bottom: 12px;
}

.v3-chart-panel {
  min-width: 0;
  height: 150px;
  padding: 14px;
}

.v3-chart-panel > b {
  display: block;
  color: #586781;
  font-size: 10px;
  font-weight: 500;
}

.v3-chart-panel svg {
  width: 100%;
  height: 105px;
}

.v3-chart-panel .grid {
  fill: none;
  stroke: #e9eef5;
  stroke-width: 1;
}

.v3-chart-panel .line {
  fill: none;
  stroke: var(--v3-blue);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 460;
  stroke-dashoffset: 460;
}

.v3-console-frame.is-visible .v3-chart-panel .line {
  animation: v3-line-draw 1.4s .45s ease forwards;
}

@keyframes v3-line-draw {
  to { stroke-dashoffset: 0; }
}

.v3-bars {
  padding-top: 14px;
}

.v3-bars > span {
  display: grid;
  grid-template-columns: 29px minmax(40px, 1fr) 28px;
  gap: 6px;
  align-items: center;
  margin: 12px 0;
  color: #77869d;
  font-size: 9px;
}

.v3-bars i {
  display: block;
  height: 5px;
  overflow: hidden;
  border-radius: 3px;
  background: #edf1f6;
}

.v3-bars i b {
  display: block;
  width: 0 !important;
  height: 100%;
  border-radius: inherit;
  background: var(--v3-blue);
  transition: width 1s .55s ease;
}

.v3-console-frame.is-visible .v3-bars > span:nth-child(1) i b { width: 28% !important; }
.v3-console-frame.is-visible .v3-bars > span:nth-child(2) i b { width: 46% !important; }
.v3-console-frame.is-visible .v3-bars > span:nth-child(3) i b { width: 61% !important; }

.v3-bars em {
  font-style: normal;
  text-align: right;
}

.v3-server-row {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) minmax(90px, 1fr) 48px;
  gap: 12px;
  align-items: center;
  min-height: 39px;
  margin-top: 7px;
  padding: 7px 12px;
  color: #77869d;
  font-size: 9px;
}

.v3-server-row strong {
  overflow: hidden;
  color: #3c4d69;
  font-size: 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.v3-server-row em {
  color: #249653;
  font-style: normal;
  text-align: right;
}

/* Footer */
.v3-footer {
  padding-top: 68px;
  background: #101c3e;
}

.v3-footer-grid {
  display: grid;
  grid-template-columns: 1.55fr repeat(3, minmax(135px, .7fr));
  gap: 60px;
  padding-bottom: 55px;
}

.v3-footer-brand img {
  width: 146px;
  height: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.v3-footer p {
  max-width: 340px;
  margin-bottom: 19px;
  color: #aab7cd;
  font-size: 13px;
  line-height: 1.85;
}

.v3-footer h3 {
  margin-bottom: 22px;
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
}

.v3-footer a {
  display: block;
  margin: 10px 0;
  color: #aab7cd;
  font-size: 13px;
  line-height: 1.55;
  transition: color .2s ease;
}

.v3-footer a:hover {
  color: #fff;
}

.v3-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 67px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #8290aa;
  font-size: 12px;
}

.v3-footer-bottom span:last-child {
  display: flex;
  gap: 23px;
}

.v3-footer-bottom a {
  margin: 0;
  font-size: 12px;
}

/* Scroll reveal: content enters from the right in a restrained stagger. */
.v3-ready .v3-reveal {
  opacity: 0;
  transform: translate3d(86px, 12px, 0);
  filter: blur(3px);
  transition: opacity .72s ease, transform .82s cubic-bezier(.2, .8, .2, 1), filter .72s ease;
  transition-delay: var(--v3-delay, 0ms);
  will-change: transform, opacity;
}

.v3-ready .v3-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

@media (max-width: 1199px) {
  .v3-section { padding: 82px 0; }
  .v3-advantage-grid { column-gap: 38px; }
  .v3-products-layout,
  .v3-network-layout,
  .v3-console-layout { gap: 45px; }
  .v3-console-frame { grid-template-columns: 122px minmax(0, 1fr); }
  .v3-console-main { padding: 19px; }
  .v3-product { grid-template-columns: 54px minmax(130px, 1fr) minmax(190px, 1.2fr) 24px; gap: 15px; }
}

@media (max-width: 991px) {
  .v3-home h2 { font-size: 32px; }
  .v3-section-head { margin-bottom: 45px; }
  .v3-advantage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v3-products-layout,
  .v3-network-layout,
  .v3-console-layout { grid-template-columns: 1fr; }
  .v3-products-copy { max-width: 620px; padding-top: 0; }
  .v3-network-copy { order: -1; max-width: 650px; }
  .v3-network-map { min-height: 0; }
  .v3-console-copy { max-width: 650px; }
  .v3-console-frame { max-width: 760px; }
  .v3-metric { gap: 11px; }
  .v3-metric strong { font-size: 23px; }
  .v3-footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
}

@media (max-width: 767px) {
  .v3-section { padding: 68px 0; }
  .v3-home h2 { font-size: 27px; }
  .v3-home p { font-size: 15px; }
  .v3-section-head { margin-bottom: 38px; text-align: left; }
  .v3-advantage-grid { grid-template-columns: 1fr; row-gap: 32px; }
  .v3-advantage { grid-template-columns: 56px minmax(0, 1fr); gap: 17px; }
  .v3-icon,
  .v3-product-icon { width: 56px; height: 56px; }
  .v3-product { grid-template-columns: 56px minmax(0, 1fr) 24px; padding: 16px; }
  .v3-product .v3-specs { grid-column: 2 / 4; }
  .v3-product .v3-arrow { grid-column: 3; grid-row: 1; }
  .v3-network-map { min-height: 0; }
  .v3-network-map .v3-node b { display: none; }
  .v3-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v3-metric { border-bottom: 1px solid rgba(255, 255, 255, .13); }
  .v3-metric:nth-child(2) { border-right: 0; }
  .v3-metric:nth-child(3),
  .v3-metric:nth-child(4) { border-bottom: 0; }
  .v3-console { padding: 75px 0; }
  .v3-console-frame { grid-template-columns: 82px minmax(0, 1fr); min-height: 390px; padding: 7px; overflow: hidden; }
  .v3-console-frame aside { padding: 18px 7px; }
  .v3-console-frame aside > strong { margin: 0 5px 23px; font-size: 0; }
  .v3-console-frame aside > span { justify-content: center; padding: 0; }
  .v3-console-frame aside b { display: none; }
  .v3-console-main { padding: 14px; }
  .v3-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v3-charts { grid-template-columns: 1fr; }
  .v3-chart-panel:last-child { display: none; }
  .v3-server-row { grid-template-columns: minmax(75px, 1fr) 48px; }
  .v3-server-row > span { display: none; }
  .v3-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 28px; }
  .v3-footer-brand { grid-column: 1 / -1; }
  .v3-footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 10px; padding: 18px 15px; }
}

@media (max-width: 479px) {
  .v3-home h2 { font-size: 25px; }
  .v3-products-layout,
  .v3-network-layout,
  .v3-console-layout { gap: 36px; }
  .v3-network-map { min-height: 0; }
  .v3-metric { justify-content: flex-start; padding-left: 18px; }
  .v3-metric-icon { width: 46px; height: 46px; flex-basis: 46px; }
  .v3-metric strong { font-size: 20px; }
  .v3-console-frame { grid-template-columns: 58px minmax(0, 1fr); }
  .v3-console-frame aside > strong { margin-left: 2px; }
  .v3-console-bar span { display: none; }
  .v3-console-main { padding: 11px; }
  .v3-chart-panel { height: 135px; padding: 11px; }
  .v3-chart-panel svg { height: 92px; }
  .v3-footer-grid { grid-template-columns: 1fr 1fr; }
  .v3-footer-grid > div:last-child { grid-column: 1 / -1; }
}
