/* Home page hero infographic — used on Product Tour page */

.home-hero-block {
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: rgba(255, 255, 255, 0.5);
}

.home-hero-block .hero-section {
  text-align: center;
  padding: 0 20px;
  background: transparent;
  position: relative;
  z-index: 1;
}

.home-hero-block .hero-section h1 {
  font-size: 36px;
  color: #003366;
}

.home-hero-block .hero-section p {
  font-size: 23px;
  font-weight: 400;
  margin: 20px 0;
  color: #546371;
  line-height: 1.6;
  padding: 15px 20px;
  border-radius: 10px;
}

.home-hero-block .container {
  position: relative;
  width: 100%;
  max-width: 460px;
  height: 460px;
  margin: 120px auto 80px;
}

.home-hero-block .ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px dashed rgba(0, 119, 204, 0.3);
  border-radius: 50%;
  animation: home-hero-rotate 20s linear infinite;
}

.home-hero-block .dots {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: home-hero-rotate 20s linear infinite;
  pointer-events: none;
  z-index: 6;
}

.home-hero-block .dot {
  --n: 12;
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  margin: -4px 0 0 -4px;
  transform: rotate(calc(360deg / var(--n) * var(--i))) translate(230px) rotate(calc(-360deg / var(--n) * var(--i)));
  box-shadow: 0 0 8px rgba(0, 74, 173, 0.9);
}

.home-hero-block .center-image {
  position: absolute;
  top: 48%;
  left: 53%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 354px;
  border-radius: 50%;
  z-index: 1;
}

.home-hero-block .card {
  position: absolute;
  top: 50%;
  left: 50%;
  background: linear-gradient(135deg, #ffffff, #c8d7ed);
  border-radius: 50%;
  padding: 20px;
  width: 130px;
  height: 130px;
  box-shadow: 0 4px 25px rgba(0, 74, 173, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  text-align: center;
  color: #004aad;
  font-weight: 600;
  transition: transform 0.3s ease;
  animation: home-hero-zoomIn 1s ease forwards;
  pointer-events: auto;
  z-index: 20;
  flex-direction: column;
  transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(0.9);
}

.home-hero-block .card i {
  color: #004aad;
  font-size: 28px;
  margin-bottom: 10px;
}

.home-hero-block .card1 { --x: -217px; --y: -125px; }
.home-hero-block .card2 { --x: -207px; --y: 87px; }
.home-hero-block .card3 { --x: 2px; --y: -258px; }
.home-hero-block .card4 { --x: 209px; --y: -126px; }
.home-hero-block .card5 { --x: 205px; --y: 88px; }
.home-hero-block .card6 { --x: -15px; --y: 240px; }

@keyframes home-hero-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes home-hero-zoomIn {
  from { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(0.5); }
  to { opacity: 1; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(0.9); }
}

@media (max-width: 479px) {
  .home-hero-block .hero-section h1 { font-size: 22px; }
  .home-hero-block .hero-section p { font-size: 16px; }
  .home-hero-block .container { transform: scale(0.65); margin: 60px auto; }
}

@media (min-width: 480px) and (max-width: 767px) {
  .home-hero-block .hero-section h1 { font-size: 26px; }
  .home-hero-block .hero-section p { font-size: 18px; }
  .home-hero-block .container { transform: scale(0.8); margin: 90px auto; }
}

@media (min-width: 768px) and (max-width: 991px) {
  .home-hero-block .hero-section h1 { font-size: 30px; }
  .home-hero-block .hero-section p { font-size: 20px; }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .home-hero-block .hero-section h1 { font-size: 32px; }
  .home-hero-block .hero-section p { font-size: 21px; }
}

@media (min-width: 1200px) {
  .home-hero-block .hero-section h1 { font-size: 36px; }
  .home-hero-block .hero-section p { font-size: 23px; }
}
