.seo247-hero-banner {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #0b1534;
  color: #f8faff;
  padding: 56px clamp(18px, 4vw, 48px) 48px;
  padding-top: calc(56px + 100px);
  margin-top: -100px;
  font-family: "Be Vietnam Pro", sans-serif;
  min-height: 78vh;
}

.seo247-hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(6, 18, 52, 0.74) 0%, rgba(10, 30, 76, 0.66) 45%, rgba(8, 24, 62, 0.74) 100%),
    url("http://localhost/DichVuSEO247/wp-content/uploads/2026/03/Ai.jpg") center center / cover no-repeat;
  z-index: 0;
  transform: scale(1.02);
}

.seo247-hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 32% 42%, rgba(255, 255, 255, 0.08), transparent 42%);
  z-index: 0;
}

.seo247-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 3vw, 42px);
  align-items: center;
}

.seo247-hero-content {
  max-width: 760px;
}

.seo247-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 16px;
  margin-bottom: 18px;
}

.seo247-hero-content h1 {
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-size: clamp(36px, 5.1vw, 62px);
  line-height: 1.06;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 15ch;
}

.seo247-desc {
  font-family: "Be Vietnam Pro", sans-serif;
  max-width: 640px;
  color: #c9d4f5;
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.55;
  margin: 0 0 30px;
  font-weight: 500;
}

.seo247-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.seo247-actions a {
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 17px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.seo247-actions a:hover {
  transform: translateY(-2px);
}

.seo247-actions .btn-primary {
  background: #ffb703;
  color: #171f2f;
  box-shadow: 0 12px 26px rgba(255, 183, 3, 0.28);
}

.seo247-actions .btn-outline {
  color: #f8faff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.seo247-stats {
  display: flex;
  gap: clamp(18px, 3vw, 40px);
  flex-wrap: wrap;
}

.seo247-stats .stat-item strong {
  font-family: "Be Vietnam Pro", sans-serif !important;
  display: block;
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1;
  color: #ffffff;
  margin-bottom: 6px;
}

.seo247-stats .stat-item span {
  font-family: "Be Vietnam Pro", sans-serif;
  color: #c9d4f5;
  font-size: 16px;
  font-weight: 600;
}

.seo247-hero-globe {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
  position: relative;
}

.seo247-globe-wrap {
  position: relative;
  width: min(560px, 92vw);
  height: min(560px, 92vw);
  filter: drop-shadow(0 0 26px rgba(255, 255, 255, 0.45));
}

#seo247-cobe-canvas {
  width: 100%;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  opacity: 1;
}

/* ── Marker Labels (blue rectangles like the sample) ── */
.seo247-marker-label {
  position: absolute;
  bottom: anchor(top);
  left: anchor(center);
  translate: -50% -10px;
  background: #1243ff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  border-radius: 2px;
  padding: 6px 11px;
  font-size: 10px;
  letter-spacing: 0.08em;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  text-transform: uppercase;
  box-shadow: 0 7px 15px rgba(18, 67, 255, 0.24);
  transition: opacity 0.25s ease;
  z-index: 10;
  opacity: 0;
  will-change: transform, opacity;
}

/* Pointer line going down from label to the dot */
.seo247-marker-label::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 100%;
  width: 28px;
  height: 1px;
  background: #1243ff;
  opacity: 0.8;
}

/* ── Arc Labels (white rounded badges like SF → TOKYO) ── */
.seo247-arc-label {
  position: absolute;
  bottom: anchor(top);
  left: anchor(center);
  translate: -50% -12px;
  padding: 5px 10px;
  background: #ffffff;
  color: #1243ff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(10, 23, 65, 0.18);
  transition: opacity 0.25s ease;
  z-index: 9;
  opacity: 0;
  will-change: transform, opacity;
}

@supports not (anchor-name: --test) {
  .seo247-marker-label,
  .seo247-arc-label {
    display: none;
  }
}

/* ── Globe center text (SEO 247) ── */
.seo247-globe-center-text {
  position: absolute;
  left: 2%;
  top: 52%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.02em;
  color: #1f4dff;
  font-family: "Be Vietnam Pro", "Segoe UI", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 7;
  text-shadow: 0 0 1px rgba(31, 77, 255, 0.18);
}

.seo247-globe-center-text .seo247-word {
  font-size: clamp(88px, 15vw, 168px);
  letter-spacing: 0.02em;
  line-height: 0.86;
}

.seo247-globe-center-text .seo247-num {
  font-size: clamp(110px, 18vw, 210px);
  letter-spacing: 0.01em;
  line-height: 0.82;
}

/* ── Orbit text ── */
.seo247-globe-orbit-text {
  position: absolute;
  inset: -26px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 6;
}

.seo247-orbit-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: seo247-orbit-rotate 36s linear infinite;
}

.seo247-orbit-svg text {
  fill: #1f4dff;
  font-size: 4.6px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.seo247-orbit-svg textPath {
  dominant-baseline: middle;
}

.seo247-globe-orbit-text span {
  position: absolute;
  inset: 0;
  display: none;
}

@keyframes seo247-orbit-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

body.home .hero-banner {
  display: none !important;
}

@media (max-width: 980px) {
  .seo247-hero-banner {
    min-height: auto;
    padding: 42px 18px 38px;
    padding-top: calc(42px + 84px);
    margin-top: -84px;
  }

  .seo247-hero-banner::before {
    background:
      linear-gradient(180deg, rgba(6, 18, 52, 0.78) 0%, rgba(8, 23, 60, 0.78) 100%),
      url("http://localhost/DichVuSEO247/wp-content/uploads/2026/03/Ai.jpg") center center / cover no-repeat;
  }

  .seo247-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .seo247-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .seo247-actions,
  .seo247-stats {
    justify-content: center;
  }

  .seo247-hero-content h1 {
    max-width: none;
  }

  .seo247-globe-center-text {
    left: 8%;
    top: 54%;
  }

  .seo247-globe-center-text .seo247-word {
    font-size: clamp(68px, 14vw, 110px);
  }

  .seo247-globe-center-text .seo247-num {
    font-size: clamp(80px, 16vw, 136px);
  }
}
