#hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  scroll-margin-top: 72px;
  overflow: hidden;
  border-bottom: 1px solid #e8e8ed;
}
#hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(245, 245, 247, 0.6) 50%,
    transparent
  );
  pointer-events: none;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(29, 29, 31, 0.55) 0%,
    rgba(29, 29, 31, 0.3) 50%,
    rgba(29, 29, 31, 0.55) 100%
  );
}
.hero-content {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid #3d3d3f;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}
.hero-greeting {
  font-size: 14px;
  font-weight: 500;
  color: #f5f5f7;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.hero-name {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 8px;
  color: #f5f5f7;
}
.hero-title {
  font-size: clamp(15px, 2.5vw, 22px);
  font-weight: 400;
  color: #f5f5f7;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.hero-desc {
  font-size: 16px;
  color: #f5f5f7;
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
@media (max-width: 768px) {
  #hero {
    min-height: 100dvh;
    padding: 100px 20px 80px;
  }
  .hero-avatar {
    width: 128px;
    height: 128px;
    margin-bottom: 18px;
  }
  .hero-name {
    font-size: clamp(28px, 7vw, 40px);
  }
  .hero-title {
    font-size: clamp(14px, 3vw, 18px);
  }
}
@media (max-width: 480px) {
  #hero {
    min-height: 100dvh;
    padding: 80px 16px 70px;
  }
  .hero-avatar {
    width: 108px;
    height: 108px;
    margin-bottom: 16px;
  }
  .hero-name {
    font-size: clamp(24px, 8vw, 32px);
  }
  .hero-title {
    font-size: 14px;
  }
  .hero-desc {
    font-size: 14px;
    max-width: 100%;
    margin-bottom: 24px;
  }
}
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  background: none;
}
.btn-primary {
  background: #1d1d1f;
  color: #ffffff;
}
.btn-primary:hover {
  background: #000000;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.btn-outline {
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  color: #1d1d1f;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-outline:hover {
  border-color: #1d1d1f;
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}
html.dark .btn-outline {
  border-color: rgba(255, 255, 255, 0.15);
  color: #f5f5f7;
  background: rgba(255, 255, 255, 0.08);
}
html.dark .btn-outline:hover {
  border-color: #f5f5f7;
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}
html.dark .btn-outline {
  border-color: #3d3d3f;
  color: #f5f5f7;
  background: #1d1d1f;
}
html.dark .btn-outline:hover {
  border-color: #f5f5f7;
  background: #000000;
  transform: translateY(-1px);
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  z-index: 2;
  animation: float 2s ease-in-out infinite;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
@keyframes float {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}
