.home-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-deep);
}

.hero-background, .hero-video, .hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-background, .hero-video {
  object-fit: cover;
  object-position: center;
}

.hero-background {
  opacity: 0.38;
}

.hero-video {
  display: none;
  opacity: 0.85;
}

.hero-video.is-playing {
  display: block;
}

.hero-shade {
  background: linear-gradient(90deg, rgb(6 20 47 / 97%) 0%, rgb(6 20 47 / 80%) 38%, rgb(6 20 47 / 12%) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 92px 90px;
}

.hero-copy {
  max-width: 710px;
}

.home-hero .eyebrow {
  margin-bottom: 28px;
  color: #8bb9fa;
}

.hero-title {
  font-size: clamp(42px, 5.2vw, 68px);
  letter-spacing: -0.05em;
  line-height: 1.27;
  animation: hero-enter 600ms both;
}

.hero-title .accent {
  color: #89b9ff;
}

.hero-description {
  max-width: 530px;
  margin-top: 27px;
  color: #b6c7e0;
  font-size: 17px;
  line-height: 1.95;
  animation: hero-enter 600ms 100ms both;
}

.home-hero .button-row {
  margin-top: 36px;
  animation: hero-enter 600ms 160ms both;
}

.hero-footnote {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 62px;
  color: #849cc0;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-footnote span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-footnote span::before {
  width: 4px;
  height: 4px;
  background: #5d82bd;
  content: "";
}

.hero-coordinate {
  position: absolute;
  right: 0;
  bottom: 90px;
  padding-left: 20px;
  border-left: 1px solid #57709a;
  color: #829cc2;
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 2;
}

.home-stats {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.home-stats .stats-row {
  padding-block: 12px;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.system-item {
  display: block;
  padding: 31px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 180ms;
}

.system-item:hover {
  background: var(--surface);
}

.system-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.system-icon {
  width: 31px;
  height: 31px;
  color: var(--blue);
}

.system-index {
  color: #99a8bf;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.system-item h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 20px;
}

.system-item h3 .arrow {
  color: var(--blue);
}

.system-item p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.terminal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.terminal-visual {
  padding: 22px;
  border: 1px solid #d6e0f0;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 22px 22px 0 #e7edf6;
}

.visual-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 17px;
  color: #8090a9;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.visual-dots {
  display: flex;
  gap: 5px;
}

.visual-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c4d0e3;
}

.terminal-visual img {
  width: 100%;
  border-radius: 3px;
}

.pda-section {
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.pda-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 90px;
}

.pda-section .eyebrow {
  color: #89b9ff;
}

.pda-section .section-description, .pda-section .check-list li {
  color: #b5c6df;
}

.pda-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding-block: 24px;
}

.pda-visual::before {
  position: absolute;
  width: 375px;
  height: 375px;
  border: 1px solid #274673;
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgb(39 70 115 / 20%);
  content: "";
}

.phone-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 190px;
  flex-shrink: 0;
  border: 6px solid #122c56;
  border-radius: 18px;
  background: #122c56;
  box-shadow: 0 25px 45px rgb(0 0 0 / 25%);
}

.phone-frame + .phone-frame {
  transform: translateY(30px);
}

.phone-frame img {
  width: 100%;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin-top: 45px;
}

.advantage-item {
  padding-top: 23px;
  border-top: 2px solid var(--blue);
}

.advantage-item span {
  color: #8b9cb4;
  font-size: 11px;
}

.advantage-item h3 {
  margin-top: 15px;
  font-size: 18px;
}

.advantage-item p {
  margin-top: 13px;
  color: var(--muted);
  font-size: 14px;
}

.partners-section {
  padding-top: 0;
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .hero-content {
    padding-block: 74px 62px;
  }

  .hero-copy {
    max-width: 670px;
  }

  .hero-video, .hero-coordinate {
    display: none;
  }

  .hero-footnote {
    margin-top: 46px;
  }

  .system-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .terminal-grid, .pda-grid {
    gap: 45px;
  }

  .phone-frame {
    width: 145px;
  }

  .pda-visual {
    gap: 18px;
  }

  .pda-visual::before {
    width: 250px;
    height: 250px;
  }

  .advantage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .terminal-grid, .pda-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .terminal-visual {
    padding: 16px;
    margin-right: 14px;
    box-shadow: 14px 14px 0 #e7edf6;
  }

  .pda-visual {
    min-height: 355px;
    padding-bottom: 35px;
  }

  .phone-frame {
    width: min(41%, 180px);
  }
}

@media (max-width: 600px) {
  .hero-content {
    padding-block: 60px 44px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-footnote {
    gap: 16px;
    margin-top: 38px;
    font-size: 9px;
    letter-spacing: 0.04em;
  }

  .system-grid {
    grid-template-columns: 1fr;
  }

  .system-item {
    padding: 26px 24px;
  }

  .system-item-top {
    margin-bottom: 22px;
  }

  .advantage-grid {
    gap: 28px 20px;
  }

  .advantage-item h3 {
    font-size: 17px;
  }

  .advantage-item p {
    font-size: 13px;
  }

  .partners-section {
    padding-top: 0;
  }
}
