.main-nav a:first-child::after {
  width: 0;
}

.main-nav a:first-child:hover::after,
.main-nav a.is-current::after {
  width: 30px;
}

.main-nav a.is-current {
  color: #fff;
  text-shadow: 0 0 18px rgba(39, 217, 255, 0.34);
}

.sub-hero {
  position: relative;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(460px, 1.05fr);
  align-items: center;
  gap: 28px;
  padding: 72px clamp(18px, 4vw, 76px) 54px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 30%, rgba(39, 217, 255, 0.18), transparent 30%),
    linear-gradient(90deg, rgba(2, 9, 20, 0.99), rgba(4, 21, 45, 0.86));
  border-bottom: 1px solid rgba(43, 157, 255, 0.22);
}

.sub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(57, 139, 255, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(57, 139, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

.sub-hero-copy,
.sub-hero-art {
  position: relative;
  z-index: 2;
}

.sub-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(34px, 3.7vw, 54px);
  line-height: 1.08;
  font-weight: 1000;
}

.sub-hero p:not(.eyebrow) {
  max-width: 760px;
  color: #d6e7ff;
  font-size: 19px;
  line-height: 1.85;
  font-weight: 700;
}

.sub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}

.sub-hero-art {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sub-hero-art img {
  width: min(760px, 56vw);
  max-width: none;
  filter: drop-shadow(0 34px 70px rgba(0, 119, 255, 0.28));
}

.sub-hero-art img[src*="solution-"][src$="-alpha.png"] {
  width: min(660px, 48vw);
  filter: drop-shadow(0 30px 68px rgba(0, 119, 255, 0.3));
}

.sub-hero-art img[src$=".jpg"] {
  width: min(520px, 40vw);
  height: 320px;
  max-width: 100%;
  object-fit: cover;
  border: 1px solid rgba(43, 157, 255, 0.28);
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(0, 119, 255, 0.22);
  filter: saturate(1.08) contrast(1.06);
  opacity: .88;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 92%, transparent 100%);
}

.sub-section {
  max-width: 1500px;
  margin: 0 auto;
  padding: 76px clamp(18px, 4vw, 64px);
}

.sub-copy {
  max-width: 980px;
  margin: -18px auto 30px;
  color: var(--muted);
  text-align: center;
  font-size: 17px;
  line-height: 1.8;
}

.metric-strip {
  max-width: 1380px;
  margin: -34px auto 0;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0 clamp(18px, 4vw, 64px);
}

.metric-strip article,
.sub-card,
.case-card,
.faq-list details,
.contact-panel,
.route-node,
.process-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(43, 157, 255, 0.26);
  border-radius: 8px;
  background: rgba(5, 20, 42, 0.78);
  text-align: center;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.metric-strip article {
  min-height: 112px;
  padding: 22px;
  background: rgba(5, 20, 42, 0.92);
}

.metric-strip b {
  display: block;
  color: #fff;
  font-size: 32px;
}

.metric-strip span,
.sub-card p,
.case-card p,
.faq-list p,
.contact-panel p,
.route-node p,
.process-card p {
  color: var(--muted);
  line-height: 1.8;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.sub-card {
  min-height: 238px;
  padding: 26px 22px;
}

.sub-card img {
  width: 100%;
  height: 130px;
  object-fit: contain;
  margin-bottom: 18px;
  filter: drop-shadow(0 20px 32px rgba(0, 119, 255, 0.24));
}

.sub-card span,
.process-card span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--cyan);
  font-size: 25px;
  font-weight: 1000;
}

.sub-card h3,
.case-card h3,
.route-node h3,
.process-card h3,
.contact-panel h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.route-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 20px;
  align-items: stretch;
}

.route-list {
  display: grid;
  gap: 14px;
}

.route-node {
  padding: 24px;
}

.route-map {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(43, 157, 255, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 48%, rgba(39, 217, 255, 0.16), transparent 30%),
    linear-gradient(90deg, rgba(57, 139, 255, 0.07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(57, 139, 255, 0.05) 1px, transparent 1px),
    rgba(5, 20, 42, 0.72);
  background-size: auto, 78px 78px, 78px 78px, auto;
  overflow: hidden;
}

.route-map::before,
.route-map::after {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(39, 217, 255, 0.32);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.route-map::after {
  inset: 27% 12%;
  transform: rotate(16deg);
}

.map-city {
  position: absolute;
  min-width: 92px;
  padding: 9px 12px;
  border: 1px solid rgba(39, 217, 255, 0.48);
  border-radius: 999px;
  background: rgba(4, 18, 39, 0.86);
  color: #fff;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 0 28px rgba(39, 217, 255, 0.16);
}

.map-city.core {
  left: 45%;
  top: 45%;
  transform: translate(-50%, -50%);
  min-width: 116px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(9, 109, 255, 0.28);
}

.map-city.tokyo { right: 13%; top: 28%; }
.map-city.osaka { left: 20%; top: 38%; }
.map-city.cn { left: 12%; top: 18%; }
.map-city.sea { right: 16%; bottom: 18%; }
.map-city.us { left: 10%; bottom: 18%; }

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.case-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 22px;
  align-items: center;
  padding: 20px;
  text-align: left;
}

.case-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(43, 157, 255, 0.22);
}

.case-card h3,
.case-card p {
  text-align: left;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-row span {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid rgba(39, 217, 255, 0.28);
  border-radius: 999px;
  color: #bceeff;
  font-size: 13px;
  font-weight: 900;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.faq-list details {
  padding: 22px;
}

.faq-list summary {
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 19px;
  font-weight: 1000;
  list-style-position: inside;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-panel {
  padding: 30px;
}

.contact-panel a {
  display: inline-flex;
  color: #fff;
  font-weight: 900;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-card {
  min-height: 220px;
  padding: 26px 22px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.product-card {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: 18px;
  border: 1px solid rgba(43, 157, 255, 0.26);
  border-radius: 8px;
  background: rgba(5, 20, 42, 0.78);
  text-align: center;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.product-card .plan-type {
  display: inline-flex;
  padding: 7px 11px;
  color: #bceeff;
  background: rgba(39, 217, 255, 0.12);
  border: 1px solid rgba(39, 217, 255, 0.3);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.product-card h3 {
  max-width: 92%;
  margin: 18px auto 8px;
  font-size: 21px;
  line-height: 1.35;
}

.product-card .desc {
  min-height: 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.product-card .price {
  margin: 8px 0 14px;
  font-size: 28px;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  margin: 14px 0 18px;
}

.spec-list span {
  padding: 8px;
  border: 1px solid rgba(43, 157, 255, 0.18);
  background: rgba(1, 9, 20, 0.32);
  color: #dbeaff;
  font-size: 14px;
  text-align: center;
}

.product-card .buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 7px;
  background: var(--blue);
  font-weight: 900;
  transition: transform .2s ease, filter .2s ease;
}

.product-card .buy:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.wide-cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 70px clamp(18px, 5vw, 90px);
  border-top: 1px solid rgba(43, 157, 255, 0.28);
  border-bottom: 1px solid rgba(43, 157, 255, 0.28);
  background:
    radial-gradient(circle at 80% 30%, rgba(39, 217, 255, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(10, 42, 84, 0.96), rgba(2, 9, 20, 0.98));
}

.wide-cta p {
  margin: 0 0 12px;
  color: var(--cyan);
  font-weight: 1000;
  text-transform: uppercase;
}

.wide-cta h2 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.22;
}

.metric-strip article::after,
.sub-card::after,
.case-card::after,
.faq-list details::after,
.contact-panel::after,
.route-node::after,
.process-card::after,
.product-card::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -70%;
  width: 42%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: rotate(18deg);
  opacity: 0;
  pointer-events: none;
}

.metric-strip article:hover,
.sub-card:hover,
.case-card:hover,
.faq-list details:hover,
.contact-panel:hover,
.route-node:hover,
.process-card:hover,
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(39, 217, 255, 0.62);
  background-color: rgba(8, 35, 70, 0.9);
  box-shadow: 0 22px 52px rgba(0, 116, 255, 0.18);
}

.metric-strip article:hover::after,
.sub-card:hover::after,
.case-card:hover::after,
.faq-list details:hover::after,
.contact-panel:hover::after,
.route-node:hover::after,
.process-card:hover::after,
.product-card:hover::after {
  animation: shineSweep .85s ease forwards;
}

@media (max-width: 1180px) {
  .sub-hero,
  .route-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .sub-hero-art {
    min-height: 300px;
  }

  .sub-hero-art img {
    width: min(840px, 108vw);
  }

  .sub-hero-art img[src*="solution-"][src$="-alpha.png"] {
    width: min(720px, 96vw);
  }

  .sub-hero-art img[src$=".jpg"] {
    width: min(620px, 86vw);
    height: 300px;
  }

  .metric-strip,
  .card-grid,
  .card-grid.three,
  .faq-list,
  .process-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .sub-hero {
    min-height: 0;
    padding-top: 52px;
  }

  .sub-hero h1 {
    font-size: 34px;
  }

  .sub-hero p:not(.eyebrow) {
    font-size: 17px;
  }

  .sub-hero-art img[src$=".jpg"] {
    width: 100%;
    height: 220px;
  }

  .sub-hero-art img[src*="solution-"][src$="-alpha.png"] {
    width: 100%;
  }

  .sub-actions .btn {
    width: 100%;
  }

  .metric-strip,
  .card-grid,
  .card-grid.three,
  .case-grid,
  .faq-list,
  .process-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .metric-strip {
    margin-top: 0;
  }

  .case-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .case-card h3,
  .case-card p {
    text-align: center;
  }

  .tag-row {
    justify-content: center;
  }

  .route-map {
    min-height: 430px;
  }

  .wide-cta {
    display: block;
    text-align: center;
  }

  .wide-cta .btn {
    width: 100%;
    margin-top: 22px;
  }
}
